diff --git a/.buildkite/ftr_oblt_stateful_configs.yml b/.buildkite/ftr_oblt_stateful_configs.yml index 3211c35f29e7a..381d4e7f24ba6 100644 --- a/.buildkite/ftr_oblt_stateful_configs.yml +++ b/.buildkite/ftr_oblt_stateful_configs.yml @@ -1,8 +1,8 @@ disabled: # Cypress configs, for now these are still run manually - - x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts - - x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts - - x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts + - x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts + - x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts + - x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts - x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config_run.ts - x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts - x-pack/plugins/observability_solution/inventory/e2e/ftr_config_run.ts diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 4e6b5d30cbc64..df4b51e7a4275 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -317,12 +317,12 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/shared-ux/, /^src\/core/, /^src\/plugins\/charts/, - /^src\/plugins\/controls/, + /^src\/platform\/plugins\/shared\/controls/, /^src\/plugins\/data/, /^src\/plugins\/data_views/, /^src\/plugins\/discover/, /^src\/plugins\/field_formats/, - /^src\/plugins\/inspector/, + /^src\/platform\/plugins\/shared\/inspector/, /^src\/plugins\/kibana_react/, /^src\/plugins\/kibana_utils/, /^src\/plugins\/saved_search/, diff --git a/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh b/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh index 802bb447f72d2..e9aefc1ed059f 100644 --- a/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh +++ b/.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh @@ -14,5 +14,5 @@ echo "--- Observability onboarding Cypress Tests" cd "$XPACK_DIR" -node plugins/observability_solution/observability_onboarding/scripts/test/e2e.js \ +node solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js \ --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ \ No newline at end of file diff --git a/.eslintignore b/.eslintignore index e2b06124e936a..39ad20f0c1e01 100644 --- a/.eslintignore +++ b/.eslintignore @@ -22,9 +22,9 @@ snapshots.js # plugin overrides /src/core/lib/kbn_internal_native_observable /src/plugins/data/common/es_query/kuery/ast/_generated_/** -/x-pack/plugins/canvas/canvas_plugin -/x-pack/plugins/canvas/shareable_runtime/build -/x-pack/plugins/canvas/storybook/build +/x-pack/platform/plugins/private/canvas/canvas_plugin +/x-pack/platform/plugins/private/canvas/shareable_runtime/build +/x-pack/platform/plugins/private/canvas/storybook/build /x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** /x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** /x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/** @@ -37,7 +37,7 @@ snapshots.js /packages/kbn-test/src/functional_test_runner/__tests__/fixtures/ /packages/kbn-test/src/functional_test_runner/lib/config/__tests__/fixtures/ /packages/kbn-ui-framework/dist -/packages/kbn-flot-charts/lib +/src/platform/packages/shared/kbn-flot-charts/lib /packages/kbn-monaco/src/**/antlr /src/platform/packages/shared/kbn-esql-ast/src/**/antlr diff --git a/.eslintrc.js b/.eslintrc.js index 93e3dabf3b861..a3c98d7105c2a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -296,7 +296,7 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/platform/plugins/private/canvas/**/*.{js,mjs,ts,tsx}'], rules: { 'jsx-a11y/click-events-have-key-events': 'off', }, @@ -989,7 +989,7 @@ module.exports = { 'x-pack/plugins/observability_solution/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/{streams,streams_app}/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'src/plugins/ai_assistant_management/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', - 'x-pack/packages/observability/logs_overview/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', + 'x-pack/platform/packages/shared/observability/logs_overview/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', ], rules: { '@kbn/i18n/strings_should_be_translated_with_i18n': 'warn', @@ -1692,7 +1692,7 @@ module.exports = { * Canvas overrides */ { - files: ['x-pack/plugins/canvas/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/**/*.js'], rules: { radix: 'error', @@ -1736,12 +1736,12 @@ module.exports = { }, { files: [ - 'x-pack/plugins/canvas/gulpfile.js', - 'x-pack/plugins/canvas/scripts/*.js', - 'x-pack/plugins/canvas/tasks/*.js', - 'x-pack/plugins/canvas/tasks/**/*.js', - 'x-pack/plugins/canvas/__tests__/**/*.js', - 'x-pack/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', + 'x-pack/platform/plugins/private/canvas/gulpfile.js', + 'x-pack/platform/plugins/private/canvas/scripts/*.js', + 'x-pack/platform/plugins/private/canvas/tasks/*.js', + 'x-pack/platform/plugins/private/canvas/tasks/**/*.js', + 'x-pack/platform/plugins/private/canvas/__tests__/**/*.js', + 'x-pack/platform/plugins/private/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', ], rules: { 'import/no-extraneous-dependencies': [ @@ -1755,17 +1755,17 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/canvas_plugin_src/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*.js'], globals: { canvas: true, $: true }, }, { - files: ['x-pack/plugins/canvas/public/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/public/**/*.js'], env: { browser: true, }, }, { - files: ['packages/kbn-flot-charts/lib/**/*.js'], + files: ['src/platform/packages/shared/kbn-flot-charts/lib/**/*.js'], env: { jquery: true, }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a6d5f85891f62..c62b8c0277cfa 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -54,22 +54,11 @@ packages/content-management/table_list_view @elastic/appex-sharedux packages/content-management/table_list_view_common @elastic/appex-sharedux packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux -packages/core/analytics/core-analytics-browser @elastic/kibana-core -packages/core/analytics/core-analytics-browser-internal @elastic/kibana-core packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core -packages/core/analytics/core-analytics-server @elastic/kibana-core -packages/core/analytics/core-analytics-server-internal @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core -packages/core/application/core-application-browser @elastic/kibana-core -packages/core/application/core-application-browser-internal @elastic/kibana-core packages/core/application/core-application-browser-mocks @elastic/kibana-core -packages/core/application/core-application-common @elastic/kibana-core -packages/core/apps/core-apps-browser-internal @elastic/kibana-core packages/core/apps/core-apps-browser-mocks @elastic/kibana-core -packages/core/apps/core-apps-server-internal @elastic/kibana-core -packages/core/base/core-base-browser-internal @elastic/kibana-core packages/core/base/core-base-browser-mocks @elastic/kibana-core -packages/core/base/core-base-common @elastic/kibana-core packages/core/base/core-base-common-internal @elastic/kibana-core packages/core/base/core-base-server-internal @elastic/kibana-core packages/core/base/core-base-server-mocks @elastic/kibana-core @@ -289,13 +278,13 @@ packages/kbn-babel-preset @elastic/kibana-operations packages/kbn-babel-register @elastic/kibana-operations packages/kbn-babel-transform @elastic/kibana-operations packages/kbn-bazel-runner @elastic/kibana-operations -packages/kbn-bfetch-error @elastic/appex-sharedux packages/kbn-calculate-auto @elastic/obs-ux-management-team packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core packages/kbn-cases-components @elastic/response-ops packages/kbn-cbor @elastic/kibana-operations packages/kbn-chart-icons @elastic/kibana-visualizations +packages/kbn-charts-theme @elastic/kibana-visualizations packages/kbn-check-mappings-update-cli @elastic/kibana-core packages/kbn-check-prod-native-modules-cli @elastic/kibana-operations packages/kbn-ci-stats-core @elastic/kibana-operations @@ -311,8 +300,6 @@ packages/kbn-config-schema @elastic/kibana-core packages/kbn-content-management-utils @elastic/kibana-data-discovery packages/kbn-crypto @elastic/kibana-security packages/kbn-crypto-browser @elastic/kibana-core -packages/kbn-custom-icons @elastic/obs-ux-logs-team -packages/kbn-custom-integrations @elastic/obs-ux-logs-team packages/kbn-cypress-config @elastic/kibana-operations packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-data-view-utils @elastic/kibana-data-discovery @@ -323,12 +310,10 @@ packages/kbn-dev-cli-errors @elastic/kibana-operations packages/kbn-dev-cli-runner @elastic/kibana-operations packages/kbn-dev-proc-runner @elastic/kibana-operations packages/kbn-dev-utils @elastic/kibana-operations -packages/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery packages/kbn-discover-utils @elastic/kibana-data-discovery packages/kbn-docs-utils @elastic/kibana-operations packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-ebt-tools @elastic/kibana-core -packages/kbn-elastic-agent-utils @elastic/obs-ux-logs-team packages/kbn-es @elastic/kibana-operations packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa packages/kbn-es-errors @elastic/kibana-core @@ -348,7 +333,6 @@ packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex- packages/kbn-field-types @elastic/kibana-data-discovery packages/kbn-field-utils @elastic/kibana-data-discovery packages/kbn-find-used-node-modules @elastic/kibana-operations -packages/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring packages/kbn-formatters @elastic/obs-ux-logs-team packages/kbn-ftr-common-functional-services @elastic/kibana-operations @elastic/appex-qa packages/kbn-ftr-common-functional-ui-services @elastic/appex-qa @@ -388,7 +372,6 @@ packages/kbn-management/settings/section_registry @elastic/appex-sharedux @elast packages/kbn-management/settings/setting_ids @elastic/appex-sharedux @elastic/kibana-management packages/kbn-management/storybook/config @elastic/kibana-management packages/kbn-manifest @elastic/kibana-core -packages/kbn-mapbox-gl @elastic/kibana-presentation packages/kbn-mock-idp-plugin @elastic/kibana-security packages/kbn-mock-idp-utils @elastic/kibana-security packages/kbn-monaco @elastic/appex-sharedux @@ -399,7 +382,6 @@ packages/kbn-openapi-generator @elastic/security-detection-rule-management packages/kbn-optimizer @elastic/kibana-operations packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations packages/kbn-palettes @elastic/kibana-visualizations -packages/kbn-panel-loader @elastic/kibana-presentation packages/kbn-peggy @elastic/kibana-operations packages/kbn-peggy-loader @elastic/kibana-operations packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing @@ -409,7 +391,6 @@ packages/kbn-plugin-generator @elastic/kibana-operations packages/kbn-plugin-helpers @elastic/kibana-operations packages/kbn-profiling-utils @elastic/obs-ux-infra_services-team packages/kbn-react-field @elastic/kibana-data-discovery -packages/kbn-react-hooks @elastic/obs-ux-logs-team packages/kbn-react-mute-legacy-root-warning @elastic/appex-sharedux packages/kbn-recently-accessed @elastic/appex-sharedux packages/kbn-relocate @elastic/kibana-core @@ -434,7 +415,6 @@ packages/kbn-reporting/server @elastic/appex-sharedux packages/kbn-resizable-layout @elastic/kibana-data-discovery packages/kbn-rison @elastic/kibana-operations packages/kbn-router-to-openapispec @elastic/kibana-core -packages/kbn-router-utils @elastic/obs-ux-logs-team packages/kbn-rrule @elastic/response-ops packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux @@ -468,7 +448,6 @@ packages/kbn-test-eui-helpers @elastic/kibana-visualizations packages/kbn-test-jest-helpers @elastic/kibana-operations @elastic/appex-qa packages/kbn-test-subj-selector @elastic/kibana-operations @elastic/appex-qa packages/kbn-timelion-grammar @elastic/kibana-visualizations -packages/kbn-timerange @elastic/obs-ux-logs-team packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations packages/kbn-transpose-utils @elastic/kibana-visualizations @@ -494,11 +473,8 @@ packages/kbn-visualization-ui-components @elastic/kibana-visualizations packages/kbn-visualization-utils @elastic/kibana-visualizations packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations -packages/kbn-xstate-utils @elastic/obs-ux-logs-team packages/kbn-yarn-lock-validator @elastic/kibana-operations packages/kbn-zod @elastic/kibana-core -packages/presentation/presentation_containers @elastic/kibana-presentation -packages/presentation/presentation_publishing @elastic/kibana-presentation packages/react/kibana_context/common @elastic/appex-sharedux packages/react/kibana_context/render @elastic/appex-sharedux packages/react/kibana_context/root @elastic/appex-sharedux @@ -566,6 +542,17 @@ packages/shared-ux/storybook/config @elastic/appex-sharedux packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core +src/core/packages/analytics/browser @elastic/kibana-core +src/core/packages/analytics/browser-internal @elastic/kibana-core +src/core/packages/analytics/server @elastic/kibana-core +src/core/packages/analytics/server-internal @elastic/kibana-core +src/core/packages/application/browser @elastic/kibana-core +src/core/packages/application/browser-internal @elastic/kibana-core +src/core/packages/application/common @elastic/kibana-core +src/core/packages/apps/browser-internal @elastic/kibana-core +src/core/packages/apps/server-internal @elastic/kibana-core +src/core/packages/base/browser-internal @elastic/kibana-core +src/core/packages/base/common @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management src/platform/packages/private/default-nav/ml @elastic/ml-ui @@ -574,6 +561,8 @@ src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/field_category @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management +src/platform/packages/private/kbn-mapbox-gl @elastic/kibana-presentation +src/platform/packages/private/kbn-panel-loader @elastic/kibana-presentation src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui @@ -581,10 +570,14 @@ src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management- src/platform/packages/shared/deeplinks/security @elastic/security-solution src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore +src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery src/platform/packages/shared/kbn-doc-links @elastic/docs +src/platform/packages/shared/kbn-elastic-agent-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql +src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management @@ -594,6 +587,8 @@ src/platform/packages/shared/kbn-management/settings/types @elastic/kibana-manag src/platform/packages/shared/kbn-management/settings/utilities @elastic/kibana-management src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule-management src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management +src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine @@ -606,19 +601,38 @@ src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-know src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team +src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management +src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management +src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation +src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management +src/platform/plugins/private/input_control_vis @elastic/kibana-presentation +src/platform/plugins/private/links @elastic/kibana-presentation +src/platform/plugins/private/maps_ems @elastic/kibana-presentation +src/platform/plugins/private/presentation_panel @elastic/kibana-presentation +src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management +src/platform/plugins/shared/controls @elastic/kibana-presentation +src/platform/plugins/shared/dashboard @elastic/kibana-presentation src/platform/plugins/shared/dev_tools @elastic/kibana-management +src/platform/plugins/shared/embeddable @elastic/kibana-presentation src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql +src/platform/plugins/shared/expression_error @elastic/kibana-presentation +src/platform/plugins/shared/expression_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_metric @elastic/kibana-presentation +src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_shape @elastic/kibana-presentation +src/platform/plugins/shared/inspector @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management +src/platform/plugins/shared/presentation_util @elastic/kibana-presentation src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management -src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations @@ -629,9 +643,7 @@ src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations src/plugins/charts @elastic/kibana-visualizations src/plugins/content_management @elastic/appex-sharedux -src/plugins/controls @elastic/kibana-presentation src/plugins/custom_integrations @elastic/fleet -src/plugins/dashboard @elastic/kibana-presentation src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/plugins/data_view_editor @elastic/kibana-data-discovery src/plugins/data_view_field_editor @elastic/kibana-data-discovery @@ -639,15 +651,8 @@ src/plugins/data_view_management @elastic/kibana-data-discovery src/plugins/data_views @elastic/kibana-data-discovery src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team -src/plugins/embeddable @elastic/kibana-presentation src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_error @elastic/kibana-presentation -src/plugins/expression_image @elastic/kibana-presentation -src/plugins/expression_metric @elastic/kibana-presentation -src/plugins/expression_repeat_image @elastic/kibana-presentation -src/plugins/expression_reveal_image @elastic/kibana-presentation -src/plugins/expression_shape @elastic/kibana-presentation src/plugins/expressions @elastic/kibana-visualizations src/plugins/field_formats @elastic/kibana-data-discovery src/plugins/files @elastic/appex-sharedux @@ -656,20 +661,14 @@ src/plugins/ftr_apis @elastic/kibana-core src/plugins/guided_onboarding @elastic/appex-sharedux src/plugins/home @elastic/appex-sharedux src/plugins/image_embeddable @elastic/appex-sharedux -src/plugins/input_control_vis @elastic/kibana-presentation -src/plugins/inspector @elastic/kibana-presentation src/plugins/interactive_setup @elastic/kibana-security src/plugins/kibana_overview @elastic/appex-sharedux src/plugins/kibana_react @elastic/appex-sharedux src/plugins/kibana_usage_collection @elastic/kibana-core src/plugins/kibana_utils @elastic/appex-sharedux -src/plugins/links @elastic/kibana-presentation -src/plugins/maps_ems @elastic/kibana-presentation src/plugins/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core src/plugins/no_data_page @elastic/appex-sharedux -src/plugins/presentation_panel @elastic/kibana-presentation -src/plugins/presentation_util @elastic/kibana-presentation src/plugins/saved_objects @elastic/appex-sharedux src/plugins/saved_objects_finder @elastic/kibana-data-discovery src/plugins/saved_objects_management @elastic/kibana-core @@ -688,7 +687,6 @@ src/plugins/unified_search @elastic/kibana-visualizations src/plugins/url_forwarding @elastic/kibana-visualizations src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_default_editor @elastic/kibana-visualizations -src/plugins/vis_type_markdown @elastic/kibana-presentation src/plugins/vis_types/gauge @elastic/kibana-visualizations src/plugins/vis_types/heatmap @elastic/kibana-visualizations src/plugins/vis_types/metric @elastic/kibana-visualizations @@ -765,9 +763,8 @@ x-pack/packages/kbn-ai-assistant @elastic/search-kibana x-pack/packages/kbn-alerting-comparators @elastic/response-ops x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations +x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team -x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation -x-pack/packages/observability/logs_overview @elastic/obs-ux-logs-team x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui x-pack/packages/observability/observability_utils/observability_utils_server @elastic/observability-ui @@ -783,6 +780,7 @@ x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team +x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui @@ -838,13 +836,19 @@ x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team +x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team +x-pack/platform/plugins/private/canvas @elastic/kibana-presentation x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui +x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management +x-pack/platform/plugins/private/logstash @elastic/logstash +x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring +x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring x-pack/platform/plugins/private/painless_lab @elastic/kibana-management x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management x-pack/platform/plugins/private/rollup @elastic/kibana-management @@ -856,11 +860,20 @@ x-pack/platform/plugins/private/watcher @elastic/kibana-management x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation +x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/index_management @elastic/kibana-management x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability x-pack/platform/plugins/shared/license_management @elastic/kibana-management +x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/maps @elastic/kibana-presentation x-pack/platform/plugins/shared/ml @elastic/ml-ui x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows @@ -869,7 +882,6 @@ x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management x-pack/plugins/actions @elastic/response-ops x-pack/plugins/alerting @elastic/response-ops x-pack/plugins/banners @elastic/appex-sharedux -x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core @@ -877,44 +889,26 @@ x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core x-pack/plugins/custom_branding @elastic/appex-sharedux -x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation -x-pack/plugins/data_quality @elastic/obs-ux-logs-team x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux -x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana x-pack/plugins/event_log @elastic/response-ops x-pack/plugins/features @elastic/kibana-core -x-pack/plugins/fields_metadata @elastic/obs-ux-logs-team -x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/plugins/fleet @elastic/fleet x-pack/plugins/global_search @elastic/appex-sharedux x-pack/plugins/global_search_bar @elastic/appex-sharedux x-pack/plugins/global_search_providers @elastic/appex-sharedux x-pack/plugins/graph @elastic/kibana-visualizations -x-pack/plugins/index_management @elastic/kibana-management x-pack/plugins/lens @elastic/kibana-visualizations x-pack/plugins/licensing @elastic/kibana-core -x-pack/plugins/logstash @elastic/logstash -x-pack/plugins/maps @elastic/kibana-presentation -x-pack/plugins/monitoring @elastic/stack-monitoring -x-pack/plugins/monitoring_collection @elastic/stack-monitoring x-pack/plugins/notifications @elastic/appex-sharedux x-pack/plugins/observability_solution/apm @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/apm_data_access @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/apm/ftr_e2e @elastic/obs-ux-infra_services-team -x-pack/plugins/observability_solution/dataset_quality @elastic/obs-ux-logs-team -x-pack/plugins/observability_solution/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/inventory @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/inventory/e2e @elastic/obs-ux-infra_services-team -x-pack/plugins/observability_solution/logs_data_access @elastic/obs-ux-logs-team -x-pack/plugins/observability_solution/logs_explorer @elastic/obs-ux-logs-team -x-pack/plugins/observability_solution/logs_shared @elastic/obs-ux-logs-team x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-ux-infra_services-team -x-pack/plugins/observability_solution/observability_logs_explorer @elastic/obs-ux-logs-team -x-pack/plugins/observability_solution/observability_onboarding @elastic/obs-ux-logs-team -x-pack/plugins/observability_solution/observability_onboarding/e2e @elastic/obs-ux-logs-team x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team @@ -942,16 +936,22 @@ x-pack/plugins/upgrade_assistant @elastic/kibana-core x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/investigate_app @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/logs_explorer @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant +x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team @@ -1282,26 +1282,26 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/functional/es_archives/infra @elastic/obs-ux-infra_services-team /x-pack/test_serverless/**/test_suites/observability/infra/ @elastic/obs-ux-infra_services-team /test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/common @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/docs @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/alerting @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/apps @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/common @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/components @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/containers @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/hooks @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/images @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/lib @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/pages @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/services @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/test_utils @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/public/utils @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/server/lib @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/server/routes @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/server/saved_objects @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/server/services @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/server/usage @elastic/obs-ux-infra_services-team -/x-pack/plugins/observability_solution/infra/server/utils @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/common @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/docs @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/alerting @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/apps @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/common @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/components @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/containers @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/hooks @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/images @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/lib @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/pages @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/services @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/test_utils @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/public/utils @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/server/lib @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/server/routes @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/server/saved_objects @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/server/services @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/server/usage @elastic/obs-ux-infra_services-team +/x-pack/solutions/observability/plugins/infra/server/utils @elastic/obs-ux-infra_services-team /x-pack/test_serverless/functional/test_suites/observability/infra @elastic/obs-ux-infra_services-team /x-pack/test/api_integration/services/infraops_source_configuration.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team # Assigned per https://github.com/elastic/kibana/pull/34916 @@ -1310,25 +1310,25 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/upgrade/apps/logs @elastic/obs-ux-logs-team /x-pack/test_serverless/functional/page_objects/svl_oblt_onboarding_stream_log_file.ts @elastic/obs-ux-logs-team /x-pack/test_serverless/functional/page_objects/svl_oblt_onboarding_page.ts @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/log_search_result @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/log_search_summary @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/log_text_scale @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/performance_tracing.ts @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/docs/state_machines @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/public/components/log_stream @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/public/components/logging @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/public/containers/logs @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/public/observability_logs @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/public/pages/logs @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/server/lib/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/server/routes/log_alerts @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/server/routes/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/observability_solution/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/log_analysis @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/log_search_result @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/log_search_summary @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/log_text_scale @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/performance_tracing.ts @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/docs/state_machines @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/public/apps/logs_app.tsx @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/public/components/log_stream @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/public/components/logging @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/public/containers/logs @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/public/observability_logs @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/public/pages/logs @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/server/routes/log_alerts @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis @elastic/obs-ux-logs-team +/x-pack/solutions/observability/plugins/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team /x-pack/test/common/utils/synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team # Assigned per https://github.com/elastic/kibana/blob/main/packages/kbn-apm-synthtrace/kibana.jsonc#L5 # Infra Monitoring tests @@ -1350,8 +1350,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/accessibility/apps/group3/observability.ts @elastic/obs-ux-management-team /x-pack/packages/observability/alert_details @elastic/obs-ux-management-team /x-pack/test/observability_functional @elastic/obs-ux-management-team -/x-pack/plugins/observability_solution/infra/public/alerting @elastic/obs-ux-management-team -/x-pack/plugins/observability_solution/infra/server/lib/alerting @elastic/obs-ux-management-team +/x-pack/solutions/observability/plugins/infra/public/alerting @elastic/obs-ux-management-team +/x-pack/solutions/observability/plugins/infra/server/lib/alerting @elastic/obs-ux-management-team /x-pack/test_serverless/**/test_suites/observability/custom_threshold_rule/ @elastic/obs-ux-management-team /x-pack/test_serverless/**/test_suites/observability/slos/ @elastic/obs-ux-management-team /x-pack/test_serverless/api_integration/test_suites/observability/es_query_rule @elastic/obs-ux-management-team @@ -2544,7 +2544,7 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat # Observability design /x-pack/plugins/fleet/**/*.scss @elastic/observability-design -/x-pack/plugins/monitoring/**/*.scss @elastic/observability-design +/x-pack/platform/plugins/private/monitoring/**/*.scss @elastic/observability-design # Ent. Search design /x-pack/plugins/enterprise_search/**/*.scss @elastic/search-design @@ -2562,7 +2562,7 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat /x-pack/test/functional/page_objects/logstash_page.ts @elastic/logstash /x-pack/test/functional/apps/logstash @elastic/logstash /x-pack/test/api_integration/apis/logstash @elastic/logstash -#CC# /x-pack/plugins/logstash/ @elastic/logstash +#CC# /x-pack/platform/plugins/private/logstash/ @elastic/logstash # EUI team /src/plugins/kibana_react/public/page_template/ @elastic/eui-team @elastic/appex-sharedux @@ -2910,7 +2910,6 @@ src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-apm-data-view @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-apm-utils @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows -src/platform/packages/shared/kbn-bfetch-error @elastic/appex-sharedux src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cbor @elastic/kibana-operations @@ -3090,7 +3089,6 @@ src/platform/plugins/private/vis_types/vega @elastic/kibana-visualizations src/platform/plugins/private/vis_types/vislib @elastic/kibana-visualizations src/platform/plugins/private/vis_types/xy @elastic/kibana-visualizations src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant -src/platform/plugins/shared/bfetch @elastic/appex-sharedux src/platform/plugins/shared/chart_expressions/expression_gauge @elastic/kibana-visualizations src/platform/plugins/shared/chart_expressions/expression_heatmap @elastic/kibana-visualizations src/platform/plugins/shared/chart_expressions/expression_legacy_metric @elastic/kibana-visualizations @@ -3298,10 +3296,10 @@ x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-manag x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team +x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-timerange @elastic/obs-ux-logs-team -x-pack/solutions/observability/packages/kbn-xstate-utils @elastic/obs-ux-logs-team +x-pack/solutions/observability/src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team +x-pack/solutions/observability/src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/logs_overview @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant @@ -3311,7 +3309,7 @@ x-pack/solutions/observability/packages/observability_utils/observability_utils_ x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/data_quality @elastic/obs-ux-logs-team +x-pack/solutions/observability/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/dataset_quality @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/entities_data_access @elastic/obs-entities x-pack/solutions/observability/plugins/entity_manager_app @elastic/obs-entities diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 3077ac0f51674..c37460f4717e1 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -73,7 +73,7 @@ paths-ignore: - packages/kbn-yarn-lock-validator - scripts - test - - x-pack/plugins/canvas/scripts + - x-pack/platform/plugins/private/canvas/scripts - x-pack/solutions/security/plugins/cloud_security_posture/common/scripts - x-pack/solutions/security/plugins/elastic_assistant/scripts - x-pack/plugins/event_log/scripts diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index bc67d3a6f6d93..ea9e406225260 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -1,10 +1,10 @@ --- - 'Feature:Embedding': - - 'src/plugins/embeddable/**/*.*' + - 'src/platform/plugins/shared/embeddable/**/*.*' - 'src/plugins/dashboard_embeddable_container/**/*.*' - 'Feature:Drilldowns': - 'x-pack/plugins/drilldowns/**/*.*' - - 'x-pack/plugins/dashboard_enhanced/public/services/drilldowns/**/*.*' + - 'x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/**/*.*' - 'Feature:ExpressionLanguage': - 'src/plugins/expressions/**/*.*' - 'src/plugins/bfetch/**/*.*' diff --git a/.i18nrc.json b/.i18nrc.json index 0e167c2b08b54..93baff9753457 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -8,8 +8,6 @@ "apmOss": "src/plugins/apm_oss", "autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src", "avcBanner": "src/platform/packages/shared/kbn-avc-banner/src", - "bfetch": "src/plugins/bfetch", - "bfetchError": "packages/kbn-bfetch-error", "cases": ["packages/kbn-cases-components"], "cellActions": "src/platform/packages/shared/kbn-cell-actions", "charts": "src/plugins/charts", @@ -17,11 +15,11 @@ "contentManagement": "packages/content-management", "core": ["src/core", "packages/core"], "customIntegrations": "src/plugins/custom_integrations", - "customIntegrationsPackage": "packages/kbn-custom-integrations", - "dashboard": "src/plugins/dashboard", + "customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations", + "dashboard": "src/platform/plugins/shared/dashboard", "cloud": "packages/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", - "controls": "src/plugins/controls", + "controls": "src/platform/plugins/shared/controls", "data": "src/plugins/data", "observabilityAlertDetails": "x-pack/solutions/observability/packages/alert_details", "dataViews": "src/plugins/data_views", @@ -30,29 +28,29 @@ "discover": [ "src/plugins/discover", "packages/kbn-discover-utils", - "packages/kbn-discover-contextual-components" + "src/platform/packages/shared/kbn-discover-contextual-components" ], "savedSearch": "src/plugins/saved_search", - "embeddableApi": "src/plugins/embeddable", - "presentationPanel": "src/plugins/presentation_panel", + "embeddableApi": "src/platform/plugins/shared/embeddable", + "presentationPanel": "src/platform/plugins/private/presentation_panel", "embeddableExamples": "examples/embeddable_examples", "esQuery": "packages/kbn-es-query/src", "kbnGridLayout": "packages/kbn-grid-layout", "esUi": "src/platform/plugins/shared/es_ui_shared", "expandableFlyout": "packages/kbn-expandable-flyout", - "expressionError": "src/plugins/expression_error", + "expressionError": "src/platform/plugins/shared/expression_error", "expressionGauge": "src/plugins/chart_expressions/expression_gauge", "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", - "expressionImage": "src/plugins/expression_image", - "expressionMetric": "src/plugins/expression_metric", + "expressionImage": "src/platform/plugins/shared/expression_image", + "expressionMetric": "src/platform/plugins/shared/expression_metric", "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", "expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric", "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", - "expressionRepeatImage": "src/plugins/expression_repeat_image", - "expressionRevealImage": "src/plugins/expression_reveal_image", + "expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image", + "expressionRevealImage": "src/platform/plugins/shared/expression_reveal_image", "expressions": "src/plugins/expressions", - "expressionShape": "src/plugins/expression_shape", + "expressionShape": "src/platform/plugins/shared/expression_shape", "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", "eventAnnotation": "src/plugins/event_annotation", "eventAnnotationListing": "src/plugins/event_annotation_listing", @@ -62,7 +60,7 @@ "fieldFormats": "src/plugins/field_formats", "files": "src/plugins/files", "filesManagement": "src/plugins/files_management", - "flot": "packages/kbn-flot-charts/lib", + "flot": "src/platform/packages/shared/kbn-flot-charts/lib", "generateCsv": "packages/kbn-generate-csv", "grouping": "packages/kbn-grouping/src", "alertsGrouping": "packages/kbn-alerts-grouping", @@ -73,8 +71,8 @@ "indexPatternEditor": "src/plugins/data_view_editor", "indexPatternFieldEditor": "src/plugins/data_view_field_editor", "indexPatternManagement": "src/plugins/data_view_management", - "inputControl": "src/plugins/input_control_vis", - "inspector": "src/plugins/inspector", + "inputControl": "src/platform/plugins/private/input_control_vis", + "inspector": "src/platform/plugins/shared/inspector", "inspectorViews": "src/legacy/core_plugins/inspector_views", "interactiveSetup": "src/plugins/interactive_setup", "interpreter": "src/legacy/core_plugins/interpreter", @@ -98,9 +96,9 @@ ], "monaco": "packages/kbn-monaco/src", "navigation": ["src/plugins/navigation", "packages/solution-nav"], - "links": "src/plugins/links", + "links": "src/platform/plugins/private/links", "newsfeed": "src/plugins/newsfeed", - "presentationUtil": "src/plugins/presentation_util", + "presentationUtil": "src/platform/plugins/shared/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", "reactPackages": "packages/react", "esqlEditor": "src/platform/packages/private/kbn-esql-editor", @@ -149,7 +147,7 @@ "visDefaultEditor": "src/plugins/vis_default_editor", "visTypeGauge": "src/plugins/vis_types/gauge", "visTypeHeatmap": "src/plugins/vis_types/heatmap", - "visTypeMarkdown": "src/plugins/vis_type_markdown", + "visTypeMarkdown": "src/platform/plugins/private/vis_type_markdown", "visTypeMetric": "src/plugins/vis_types/metric", "visTypePie": "src/plugins/vis_types/pie", "visTypeTable": "src/plugins/vis_types/table", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 7650aeb8dcfa5..ed30d3a8785d2 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index a05e689785452..e1e7620135214 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/ai_assistant_management_selection.mdx b/api_docs/ai_assistant_management_selection.mdx index 524fe1a91e50a..c8bc13dfea1bb 100644 --- a/api_docs/ai_assistant_management_selection.mdx +++ b/api_docs/ai_assistant_management_selection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementSelection title: "aiAssistantManagementSelection" image: https://source.unsplash.com/400x175/?github description: API docs for the aiAssistantManagementSelection plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection'] --- import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json'; diff --git a/api_docs/aiops.devdocs.json b/api_docs/aiops.devdocs.json index 1324a2c42ab89..0ca8b926bbcfa 100644 --- a/api_docs/aiops.devdocs.json +++ b/api_docs/aiops.devdocs.json @@ -254,13 +254,7 @@ "\nUsed to check capabilities for links to other plugins.\n`application.currentAppId$` is used to close the log pattern analysis flyout\nwhen user navigates out of the current plugin." ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 4f5f8b0e0b217..28135dd1f363e 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.devdocs.json b/api_docs/alerting.devdocs.json index 8ca11a439e4cd..94a5a9fe942e6 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -10599,6 +10599,36 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "alerting", + "id": "def-common.MAINTENANCE_WINDOW_DEFAULT_PER_PAGE", + "type": "number", + "tags": [], + "label": "MAINTENANCE_WINDOW_DEFAULT_PER_PAGE", + "description": [], + "signature": [ + "10" + ], + "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "alerting", + "id": "def-common.MAINTENANCE_WINDOW_DEFAULT_TABLE_ACTIVE_PAGE", + "type": "number", + "tags": [], + "label": "MAINTENANCE_WINDOW_DEFAULT_TABLE_ACTIVE_PAGE", + "description": [], + "signature": [ + "1" + ], + "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "alerting", "id": "def-common.MAINTENANCE_WINDOW_FEATURE_ID", diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 0724accf74a70..d52015939ad7b 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 872 | 1 | 839 | 50 | +| 874 | 1 | 841 | 50 | ## Client diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index 7cca1efb8acc4..c253f64e33b97 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/apm_data_access.mdx b/api_docs/apm_data_access.mdx index 08d867d06307f..ff3219230d45f 100644 --- a/api_docs/apm_data_access.mdx +++ b/api_docs/apm_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess title: "apmDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the apmDataAccess plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess'] --- import apmDataAccessObj from './apm_data_access.devdocs.json'; diff --git a/api_docs/asset_inventory.devdocs.json b/api_docs/asset_inventory.devdocs.json index 9816fc76f5fa7..246dfa2f2703a 100644 --- a/api_docs/asset_inventory.devdocs.json +++ b/api_docs/asset_inventory.devdocs.json @@ -31,7 +31,42 @@ "path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "assetInventory", + "id": "def-public.AssetInventoryPluginStart.getAssetInventoryPage", + "type": "Function", + "tags": [], + "label": "getAssetInventoryPage", + "description": [], + "signature": [ + "(assetInventoryStartDeps: ", + "AppPluginStartDependencies", + ") => JSX.Element" + ], + "path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "assetInventory", + "id": "def-public.AssetInventoryPluginStart.getAssetInventoryPage.$1", + "type": "Object", + "tags": [], + "label": "assetInventoryStartDeps", + "description": [], + "signature": [ + "AppPluginStartDependencies" + ], + "path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], "lifecycle": "start", "initialIsOpen": true } diff --git a/api_docs/asset_inventory.mdx b/api_docs/asset_inventory.mdx index b1c0b1fb82a09..13dc1a59b7e53 100644 --- a/api_docs/asset_inventory.mdx +++ b/api_docs/asset_inventory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetInventory title: "assetInventory" image: https://source.unsplash.com/400x175/?github description: API docs for the assetInventory plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetInventory'] --- import assetInventoryObj from './asset_inventory.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 6 | 0 | +| 8 | 0 | 8 | 1 | ## Client diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index f58051f5f9cc5..4453094da004c 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/canvas.devdocs.json b/api_docs/canvas.devdocs.json index 46283c742dff0..2a68b5c907c0a 100644 --- a/api_docs/canvas.devdocs.json +++ b/api_docs/canvas.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "WithKibanaProps", "description": [], - "path": "x-pack/plugins/canvas/public/index.ts", + "path": "x-pack/platform/plugins/private/canvas/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "CanvasServices", "; }; }" ], - "path": "x-pack/plugins/canvas/public/index.ts", + "path": "x-pack/platform/plugins/private/canvas/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -60,7 +60,7 @@ "signature": [ "CanvasApi" ], - "path": "x-pack/plugins/canvas/public/plugin.tsx", + "path": "x-pack/platform/plugins/private/canvas/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -76,7 +76,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/canvas/public/plugin.tsx", + "path": "x-pack/platform/plugins/private/canvas/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -107,7 +107,7 @@ "signature": [ "\"CANVAS_APP_LOCATOR\"" ], - "path": "x-pack/plugins/canvas/common/locator.ts", + "path": "x-pack/platform/plugins/private/canvas/common/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -137,7 +137,7 @@ }, ">" ], - "path": "x-pack/plugins/canvas/common/locator.ts", + "path": "x-pack/platform/plugins/private/canvas/common/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -152,7 +152,7 @@ "signature": [ "{ view: \"workpadPDF\"; id: string; page: number; }" ], - "path": "x-pack/plugins/canvas/common/locator.ts", + "path": "x-pack/platform/plugins/private/canvas/common/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -166,7 +166,7 @@ "tags": [], "label": "UI_SETTINGS", "description": [], - "path": "x-pack/plugins/canvas/common/index.ts", + "path": "x-pack/platform/plugins/private/canvas/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -177,7 +177,7 @@ "tags": [], "label": "ENABLE_LABS_UI", "description": [], - "path": "x-pack/plugins/canvas/common/index.ts", + "path": "x-pack/platform/plugins/private/canvas/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index f8e75cb086f1a..110c500a6df53 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.devdocs.json b/api_docs/cases.devdocs.json index b621e45205db3..8e6b04f4eaa00 100644 --- a/api_docs/cases.devdocs.json +++ b/api_docs/cases.devdocs.json @@ -47,21 +47,9 @@ "description": [], "signature": [ " = ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", ">({ basePath, extend, }: { basePath?: string | undefined; extend?: Partial React.JSX.Element" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "text": "ControlGroupRendererProps" } ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -59,7 +59,7 @@ "tags": [], "label": "ControlGroupCreationOptions", "description": [], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -89,7 +89,7 @@ }, ">> | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -110,7 +110,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false } @@ -124,7 +124,7 @@ "tags": [], "label": "ControlGroupRendererProps", "description": [], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -146,7 +146,7 @@ }, ") => void" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -166,7 +166,7 @@ "text": "ControlGroupRendererApi" } ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -284,7 +284,7 @@ }, ">>) | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -314,7 +314,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -405,7 +405,7 @@ }, ">>, controlId?: string | undefined) => void; }" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -430,7 +430,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -451,7 +451,7 @@ }, "[] | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -472,7 +472,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -493,7 +493,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -507,7 +507,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -521,7 +521,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false } @@ -545,7 +545,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -559,7 +559,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -573,7 +573,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -584,7 +584,7 @@ "tags": [], "label": "autoApplySelections", "description": [], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -605,7 +605,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -626,7 +626,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -647,7 +647,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -687,7 +687,7 @@ }, ">, \"initialChildControlState\">" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -709,7 +709,7 @@ }, " & { type: string; order: number; } & { id?: string | undefined; })[]" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -735,7 +735,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -757,7 +757,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -783,7 +783,7 @@ "ControlFactory", "" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -805,7 +805,7 @@ }, ") => boolean" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -825,7 +825,7 @@ "text": "DataViewField" } ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -845,7 +845,7 @@ "CustomOptionsComponentProps", "> | undefined" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false } @@ -876,7 +876,7 @@ "text": "DefaultControlState" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -887,7 +887,7 @@ "tags": [], "label": "dataViewId", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -898,7 +898,7 @@ "tags": [], "label": "fieldName", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -912,7 +912,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -939,7 +939,7 @@ ",", "OptionsListDisplaySettings" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -954,7 +954,7 @@ "OptionsListSearchTechnique", " | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -969,7 +969,7 @@ "OptionsListSortingType", " | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -984,7 +984,7 @@ "OptionsListSelection", "[] | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -998,7 +998,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1012,7 +1012,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1026,7 +1026,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1040,7 +1040,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false } @@ -1060,7 +1060,7 @@ "signature": [ "\"clearControl\"" ], - "path": "src/plugins/controls/public/actions/index.ts", + "path": "src/platform/plugins/shared/controls/public/actions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1075,7 +1075,7 @@ "signature": [ "\"deleteControl\"" ], - "path": "src/plugins/controls/public/actions/index.ts", + "path": "src/platform/plugins/shared/controls/public/actions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1090,7 +1090,7 @@ "signature": [ "\"editDataControl\"" ], - "path": "src/plugins/controls/public/actions/index.ts", + "path": "src/platform/plugins/shared/controls/public/actions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1105,7 +1105,7 @@ "signature": [ "\"control_group\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1365,7 +1365,7 @@ }, ") => void; }" ], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1657,7 +1657,7 @@ }, ">>; }" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1748,7 +1748,7 @@ }, ">>, controlId?: string | undefined) => void; }" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1763,7 +1763,7 @@ "signature": [ "State & { type: string; order: number; }" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1778,7 +1778,7 @@ "signature": [ "(newState: Partial, controlType: string) => Partial" ], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1793,7 +1793,7 @@ "signature": [ "{ [P in keyof State]?: State[P] | undefined; }" ], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1804,7 +1804,7 @@ "tags": [], "label": "controlType", "description": [], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -1970,7 +1970,7 @@ }, " & { untilFiltersReady: () => Promise; }" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1985,7 +1985,7 @@ "signature": [ "\"optionsListControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2000,7 +2000,7 @@ "signature": [ "\"rangeSliderControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2015,7 +2015,7 @@ "signature": [ "\"timeSlider\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2029,7 +2029,7 @@ "tags": [], "label": "controlGroupStateBuilder", "description": [], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2067,7 +2067,7 @@ }, ", controlId?: string | undefined) => Promise" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2097,7 +2097,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2118,7 +2118,7 @@ "text": "DefaultDataControlState" } ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2133,7 +2133,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2169,7 +2169,7 @@ "OptionsListControlState", ", controlId?: string | undefined) => void" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2199,7 +2199,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2214,7 +2214,7 @@ "signature": [ "OptionsListControlState" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2229,7 +2229,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2265,7 +2265,7 @@ "RangesliderControlState", ", controlId?: string | undefined) => void" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2295,7 +2295,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2310,7 +2310,7 @@ "signature": [ "RangesliderControlState" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2325,7 +2325,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2359,7 +2359,7 @@ }, ">>, controlId?: string | undefined) => void" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2389,7 +2389,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2404,7 +2404,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2433,7 +2433,7 @@ ") => ", "SerializableControlGroupState" ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2447,7 +2447,7 @@ "signature": [ "ControlGroupSavedObjectState" ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2473,7 +2473,7 @@ "text": "ControlGroupTelemetry" } ], - "path": "src/plugins/controls/server/control_group/control_group_telemetry.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2487,7 +2487,7 @@ "signature": [ "Record" ], - "path": "src/plugins/controls/server/control_group/control_group_telemetry.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2515,7 +2515,7 @@ ") => ", "ControlGroupSavedObjectState" ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2535,7 +2535,7 @@ "text": "SerializableRecord" } ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2553,7 +2553,7 @@ "tags": [], "label": "ControlGroupTelemetry", "description": [], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2564,7 +2564,7 @@ "tags": [], "label": "total", "description": [], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2578,7 +2578,7 @@ "signature": [ "{ [key: string]: number; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2592,7 +2592,7 @@ "signature": [ "{ [key: string]: number; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2606,7 +2606,7 @@ "signature": [ "{ [key: string]: number; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2620,7 +2620,7 @@ "signature": [ "{ [key: string]: { total: number; details: { [key: string]: number; }; }; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2645,7 +2645,7 @@ "description": [ "\n----------------------------------------------------------------\nControl group state\n----------------------------------------------------------------" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2659,7 +2659,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2673,7 +2673,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2687,7 +2687,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2702,7 +2702,7 @@ "FieldFilterPredicate", " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2726,7 +2726,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2740,7 +2740,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2754,7 +2754,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2765,7 +2765,7 @@ "tags": [], "label": "autoApplySelections", "description": [], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2786,7 +2786,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2807,7 +2807,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2828,7 +2828,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2868,7 +2868,7 @@ }, ">, \"initialChildControlState\">" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2890,7 @@ }, " & { type: string; order: number; } & { id?: string | undefined; })[]" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2916,7 +2916,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2938,7 +2938,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2952,7 +2952,7 @@ "tags": [], "label": "DefaultControlState", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2966,7 +2966,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2987,7 +2987,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3018,7 +3018,7 @@ "text": "DefaultControlState" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3029,7 +3029,7 @@ "tags": [], "label": "dataViewId", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3040,7 +3040,7 @@ "tags": [], "label": "fieldName", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3054,7 +3054,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3085,7 +3085,7 @@ "text": "SerializableRecord" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3099,7 +3099,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3113,7 +3113,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3127,7 +3127,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3141,7 +3141,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3172,7 +3172,7 @@ "text": "DefaultControlState" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3183,7 +3183,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3197,7 +3197,7 @@ "signature": [ "{ id: string; } & ControlStateType" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3217,7 +3217,7 @@ "signature": [ "\"control_group\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3232,7 +3232,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3247,7 +3247,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3262,7 +3262,7 @@ "signature": [ "State & { type: string; order: number; }" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3277,7 +3277,7 @@ "signature": [ "\"small\" | \"medium\" | \"large\"" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3292,7 +3292,7 @@ "signature": [ "true" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3307,7 +3307,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3319,7 +3319,7 @@ "tags": [], "label": "DEFAULT_CONTROL_GROW", "description": [], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3334,7 +3334,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3349,7 +3349,7 @@ "signature": [ "\"small\" | \"medium\" | \"large\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3364,7 +3364,7 @@ "signature": [ "\"optionsListControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3379,7 +3379,7 @@ "signature": [ "\"rangeSliderControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3394,7 +3394,7 @@ "signature": [ "\"timeSlider\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3411,7 +3411,7 @@ "signature": [ "{ readonly NONE: \"NONE\"; readonly HIERARCHICAL: \"HIERARCHICAL\"; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3426,7 +3426,7 @@ "signature": [ "{ readonly ONE_LINE: \"oneLine\"; readonly TWO_LINE: \"twoLine\"; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3441,7 +3441,7 @@ "signature": [ "{ readonly SMALL: \"small\"; readonly MEDIUM: \"medium\"; readonly LARGE: \"large\"; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3456,7 +3456,7 @@ "signature": [ "{ readonly ignoreFilters: false; readonly ignoreQuery: false; readonly ignoreTimerange: false; readonly ignoreValidations: false; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index c6222b60f3eb0..54c046d3e0bfa 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 2669ea99b01d3..65fb69408c6e7 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.devdocs.json b/api_docs/dashboard.devdocs.json index 990872bdeb3e6..a87c20026cbcf 100644 --- a/api_docs/dashboard.devdocs.json +++ b/api_docs/dashboard.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(stateObj: Record) => Record" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/locator.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "Record" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/locator.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46,7 +46,7 @@ "signature": [ "(id: string | undefined, editMode: boolean | undefined) => string" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -75,7 +75,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -96,7 +96,7 @@ "DashboardListingProps", ") => React.JSX.Element" ], - "path": "src/plugins/dashboard/public/dashboard_listing/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -110,7 +110,7 @@ "signature": [ "DashboardListingProps" ], - "path": "src/plugins/dashboard/public/dashboard_listing/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -131,7 +131,7 @@ "DashboardTopNavProps", ") => React.JSX.Element" ], - "path": "src/plugins/dashboard/public/dashboard_top_nav/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -145,7 +145,7 @@ "signature": [ "DashboardTopNavProps" ], - "path": "src/plugins/dashboard/public/dashboard_top_nav/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -236,7 +236,7 @@ }, ">" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -306,7 +306,7 @@ }, ">>>" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -327,7 +327,7 @@ "text": "DashboardDrilldownOptions" } ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -348,7 +348,7 @@ "DashboardRendererProps", ") => React.JSX.Element" ], - "path": "src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -362,7 +362,7 @@ "signature": [ "DashboardRendererProps" ], - "path": "src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -380,7 +380,7 @@ "tags": [], "label": "DashboardCreationOptions", "description": [], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -396,7 +396,7 @@ "DashboardState", ">) | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -420,7 +420,7 @@ }, " | undefined) | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -436,7 +436,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -476,7 +476,7 @@ }, ">; } | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -490,7 +490,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -504,7 +504,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -526,7 +526,7 @@ }, "; } | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -542,7 +542,7 @@ "LoadDashboardReturn", ") => \"valid\" | \"invalid\" | \"redirected\") | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -556,7 +556,7 @@ "signature": [ "LoadDashboardReturn" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -574,7 +574,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -588,7 +588,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -610,7 +610,7 @@ }, ") | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -624,7 +624,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -642,7 +642,7 @@ "tags": [], "label": "DashboardFeatureFlagConfig", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -653,7 +653,7 @@ "tags": [], "label": "allowByValueEmbeddables", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -677,7 +677,7 @@ }, "" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -693,7 +693,7 @@ "PanelPlacementSettings", ">" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -707,7 +707,7 @@ "signature": [ "InputType" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -722,7 +722,7 @@ "signature": [ "AttributesType | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -740,7 +740,7 @@ "tags": [], "label": "SearchDashboardsResponse", "description": [], - "path": "src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", + "path": "src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -751,7 +751,7 @@ "tags": [], "label": "total", "description": [], - "path": "src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", + "path": "src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", "deprecated": false, "trackAdoption": false }, @@ -765,7 +765,7 @@ "signature": [ "Readonly<{ error?: Readonly<{ metadata?: Readonly<{} & {}> | undefined; } & { error: string; message: string; statusCode: number; }> | undefined; version?: string | undefined; namespaces?: string[] | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; managed?: boolean | undefined; originId?: string | undefined; } & { id: string; type: string; attributes: Readonly<{} & { title: string; description: string; timeRestore: boolean; }>; references: Readonly<{} & { id: string; type: string; name: string; }>[]; }>[]" ], - "path": "src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", + "path": "src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", "deprecated": false, "trackAdoption": false } @@ -781,7 +781,7 @@ "tags": [], "label": "PanelPlacementStrategy", "description": [], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -798,7 +798,7 @@ "signature": [ "\"dashboards\"" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -813,7 +813,7 @@ "signature": [ "\"dashboard\"" ], - "path": "src/plugins/dashboard/public/dashboard_container/index.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -828,7 +828,7 @@ "signature": [ "48" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1076,7 +1076,23 @@ }, "; forceRefresh: () => void; getSettings: () => ", "DashboardSettings", - "; getDashboardPanelFromId: (id: string) => ", + "; getSerializedState: () => { attributes: ", + { + "pluginId": "dashboard", + "scope": "server", + "docId": "kibDashboardPluginApi", + "section": "def-server.DashboardAttributes", + "text": "DashboardAttributes" + }, + "; references: ", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, + "[]; }; getDashboardPanelFromId: (id: string) => ", { "pluginId": "dashboard", "scope": "common", @@ -1242,7 +1258,7 @@ }, ">; }" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1272,7 +1288,7 @@ }, ">" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/locator.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1329,7 +1345,7 @@ }, ") | undefined; }" ], - "path": "src/plugins/dashboard/public/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1344,7 +1360,7 @@ "signature": [ "\"dashboard\"" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1358,7 +1374,7 @@ "tags": [], "label": "DashboardSetup", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1379,7 +1395,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -1394,7 +1410,7 @@ "tags": [], "label": "DashboardStart", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1415,7 +1431,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -1435,7 +1451,7 @@ "text": "DashboardFeatureFlagConfig" } ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -1451,7 +1467,7 @@ "FindDashboardsService", ">" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1469,7 +1485,7 @@ "GetPanelPlacementSettings", ") => void" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1483,7 +1499,7 @@ "signature": [ "string" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1499,7 +1515,7 @@ "GetPanelPlacementSettings", "" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1586,7 +1602,7 @@ "DashboardPanel", "[]; }" ], - "path": "src/plugins/dashboard/server/content_management/v3/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1601,7 +1617,7 @@ "signature": [ "{ readonly version?: number | undefined; readonly timeRestore?: boolean | undefined; readonly refreshInterval?: Readonly<{ section?: number | undefined; display?: string | undefined; } & { value: number; pause: boolean; }> | undefined; readonly hits?: number | undefined; readonly timeFrom?: string | undefined; readonly timeTo?: string | undefined; readonly controlGroupInput?: Readonly<{ chainingSystem?: string | undefined; panelsJSON?: string | undefined; controlStyle?: string | undefined; ignoreParentSettingsJSON?: string | undefined; showApplySelections?: boolean | undefined; } & {}> | undefined; readonly optionsJSON?: string | undefined; readonly title: string; readonly description: string; readonly kibanaSavedObjectMeta: Readonly<{ searchSourceJSON?: string | undefined; } & {}>; readonly panelsJSON: string; }" ], - "path": "src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1616,7 +1632,7 @@ "signature": [ "\"/api/dashboards/dashboard\"" ], - "path": "src/plugins/dashboard/server/api/constants.ts", + "path": "src/platform/plugins/shared/dashboard/server/api/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1630,7 +1646,7 @@ "tags": [], "label": "DashboardPluginSetup", "description": [], - "path": "src/plugins/dashboard/server/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1644,7 +1660,7 @@ "tags": [], "label": "DashboardPluginStart", "description": [], - "path": "src/plugins/dashboard/server/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1673,7 +1689,9 @@ }, ", removeLegacyVersion?: boolean | undefined) => { panelRefName?: string | undefined; id?: string | undefined; title?: string | undefined; type: string; gridData: ", "GridData", - "; panelIndex: string; panelConfig: _.Omit & { id: string; }, \"id\" | \"title\" | \"savedObjectId\">; version?: string | undefined; }[]" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1703,7 +1721,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1718,7 +1736,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1746,7 +1764,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1761,7 +1779,7 @@ "DashboardPanel", "[] | undefined" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1812,7 +1830,7 @@ }, "[]; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1832,7 +1850,7 @@ "text": "EmbeddablePersistableStateService" } ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1882,7 +1900,7 @@ "text": "EmbeddableStateWithType" } ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1902,7 +1920,7 @@ "text": "EmbeddablePersistableStateService" } ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1932,7 +1950,7 @@ ") => ", "DashboardAttributesAndReferences" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1946,7 +1964,7 @@ "signature": [ "DashboardAttributesAndReferences" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1967,7 +1985,7 @@ "text": "InjectExtractDeps" } ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1976,6 +1994,101 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "dashboard", + "id": "def-common.generateNewPanelIds", + "type": "Function", + "tags": [], + "label": "generateNewPanelIds", + "description": [ + "\nWhen saving a dashboard as a copy, we should generate new IDs for all panels so that they are\nproperly refreshed when navigating between Dashboards" + ], + "signature": [ + "(panels: ", + { + "pluginId": "dashboard", + "scope": "common", + "docId": "kibDashboardPluginApi", + "section": "def-common.DashboardPanelMap", + "text": "DashboardPanelMap" + }, + ", references?: ", + { + "pluginId": "@kbn/content-management-utils", + "scope": "server", + "docId": "kibKbnContentManagementUtilsPluginApi", + "section": "def-server.Reference", + "text": "Reference" + }, + "[] | undefined) => { panels: ", + { + "pluginId": "dashboard", + "scope": "common", + "docId": "kibDashboardPluginApi", + "section": "def-common.DashboardPanelMap", + "text": "DashboardPanelMap" + }, + "; references: ", + { + "pluginId": "@kbn/content-management-utils", + "scope": "server", + "docId": "kibKbnContentManagementUtilsPluginApi", + "section": "def-server.Reference", + "text": "Reference" + }, + "[]; }" + ], + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "dashboard", + "id": "def-common.generateNewPanelIds.$1", + "type": "Object", + "tags": [], + "label": "panels", + "description": [], + "signature": [ + { + "pluginId": "dashboard", + "scope": "common", + "docId": "kibDashboardPluginApi", + "section": "def-common.DashboardPanelMap", + "text": "DashboardPanelMap" + } + ], + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "dashboard", + "id": "def-common.generateNewPanelIds.$2", + "type": "Array", + "tags": [], + "label": "references", + "description": [], + "signature": [ + { + "pluginId": "@kbn/content-management-utils", + "scope": "server", + "docId": "kibKbnContentManagementUtilsPluginApi", + "section": "def-server.Reference", + "text": "Reference" + }, + "[] | undefined" + ], + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "dashboard", "id": "def-common.injectReferences", @@ -2003,7 +2116,7 @@ "text": "DashboardAttributes" } ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2017,7 +2130,7 @@ "signature": [ "DashboardAttributesAndReferences" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2038,7 +2151,7 @@ "text": "InjectExtractDeps" } ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2073,7 +2186,7 @@ }, "[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2087,7 +2200,7 @@ "signature": [ "string" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2109,7 +2222,7 @@ }, "[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2127,7 +2240,7 @@ "tags": [], "label": "DashboardCapabilities", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2138,7 +2251,7 @@ "tags": [], "label": "showWriteControls", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2149,7 +2262,7 @@ "tags": [], "label": "saveQuery", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2160,7 +2273,7 @@ "tags": [], "label": "createNew", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2171,7 +2284,7 @@ "tags": [], "label": "show", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2185,7 +2298,7 @@ "signature": [ "[key: string]: boolean" ], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -2217,7 +2330,7 @@ }, ", \"viewMode\">" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2231,7 +2344,7 @@ "signature": [ "{ query: string | { [key: string]: any; }; language: string; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2252,7 +2365,7 @@ }, "[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2263,7 +2376,7 @@ "tags": [], "label": "timeRestore", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2284,7 +2397,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2298,7 +2411,7 @@ "signature": [ "[number, number] | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2319,7 +2432,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2330,7 +2443,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2344,7 +2457,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2358,7 +2471,7 @@ "signature": [ "\"edit\" | \"view\" | \"print\" | \"preview\"" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2372,7 +2485,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2394,7 +2507,7 @@ }, " | undefined; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2405,7 +2518,7 @@ "tags": [], "label": "hidePanelTitles", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2416,7 +2529,7 @@ "tags": [], "label": "syncTooltips", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2427,7 +2540,7 @@ "tags": [], "label": "useMargins", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2438,7 +2551,7 @@ "tags": [], "label": "syncColors", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2449,7 +2562,7 @@ "tags": [], "label": "syncCursor", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2469,7 +2582,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false } @@ -2483,7 +2596,7 @@ "tags": [], "label": "DashboardPanelMap", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2513,7 +2626,7 @@ }, ">" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false } @@ -2545,7 +2658,7 @@ }, "" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2559,7 +2672,7 @@ "signature": [ "Omit, \"i\"> & { readonly i: string; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2573,7 +2686,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2589,7 +2702,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2612,7 +2725,7 @@ }, "[] | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false } @@ -2626,7 +2739,7 @@ "tags": [], "label": "InjectExtractDeps", "description": [], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2655,7 +2768,7 @@ }, ">" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false } @@ -2681,7 +2794,7 @@ "text": "SavedObjectEmbeddableInput" } ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2756,7 +2869,7 @@ "DashboardPanel", "[] | undefined; }" ], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2770,7 +2883,7 @@ "tags": [], "label": "UI_SETTINGS", "description": [], - "path": "src/plugins/dashboard/common/index.ts", + "path": "src/platform/plugins/shared/dashboard/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2781,7 +2894,7 @@ "tags": [], "label": "ENABLE_LABS_UI", "description": [], - "path": "src/plugins/dashboard/common/index.ts", + "path": "src/platform/plugins/shared/dashboard/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index d0b1819abe88d..630441ac1d725 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kib | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 114 | 0 | 111 | 13 | +| 117 | 0 | 113 | 13 | ## Client diff --git a/api_docs/dashboard_enhanced.devdocs.json b/api_docs/dashboard_enhanced.devdocs.json index e983a159cfcf2..cea5cf0e0b3a6 100644 --- a/api_docs/dashboard_enhanced.devdocs.json +++ b/api_docs/dashboard_enhanced.devdocs.json @@ -43,7 +43,7 @@ }, ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -77,7 +77,7 @@ "text": "Params" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -92,7 +92,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false }, @@ -106,7 +106,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -132,7 +132,7 @@ "KibanaLocation", ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -152,7 +152,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -167,7 +167,7 @@ "signature": [ "Context" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -182,7 +182,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -200,7 +200,7 @@ "signature": [ "100" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false }, @@ -214,7 +214,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -230,7 +230,7 @@ "signature": [ "\"dashboardApp\"" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false }, @@ -268,7 +268,7 @@ }, ">>" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -313,7 +313,7 @@ "signature": [ "() => { useCurrentFilters: boolean; useCurrentDateRange: boolean; openInNewTab: boolean; dashboardId: string; }" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -344,7 +344,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -364,7 +364,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -390,7 +390,7 @@ }, ", context: Context) => Promise" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -410,7 +410,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -425,7 +425,7 @@ "signature": [ "Context" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -451,7 +451,7 @@ }, ", context: Context) => Promise" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -471,7 +471,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -486,7 +486,7 @@ "signature": [ "Context" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -519,7 +519,7 @@ }, ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false } @@ -536,7 +536,7 @@ "tags": [], "label": "Params", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -582,7 +582,7 @@ }, ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -598,7 +598,7 @@ "tags": [], "label": "SetupDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -618,7 +618,7 @@ "text": "SetupContract" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -638,7 +638,7 @@ "text": "EmbeddableSetup" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -686,7 +686,7 @@ }, ") => void; }" ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -700,7 +700,7 @@ "tags": [], "label": "StartDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -720,7 +720,7 @@ "text": "StartContract" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -740,7 +740,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -760,7 +760,7 @@ "text": "EmbeddableStart" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -800,7 +800,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -820,7 +820,7 @@ "text": "DashboardStart" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -847,7 +847,7 @@ "text": "DashboardDrilldownOptions" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -861,7 +861,7 @@ "tags": [], "label": "SetupContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -875,7 +875,7 @@ "tags": [], "label": "StartContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -894,7 +894,7 @@ "tags": [], "label": "SetupDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -914,7 +914,7 @@ "text": "UiActionsEnhancedServerSetup" } ], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -928,7 +928,7 @@ "tags": [], "label": "StartDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -942,7 +942,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -960,7 +960,7 @@ "tags": [], "label": "SetupContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -974,7 +974,7 @@ "tags": [], "label": "StartContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1019,7 +1019,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1030,7 +1030,7 @@ "tags": [], "label": "{\n drilldownId,\n}", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1041,7 +1041,7 @@ "tags": [], "label": "drilldownId", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false } @@ -1084,7 +1084,7 @@ "text": "SerializedEvent" } ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1095,7 +1095,7 @@ "tags": [], "label": "{\n drilldownId,\n}", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1106,7 +1106,7 @@ "tags": [], "label": "drilldownId", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false } @@ -1137,7 +1137,7 @@ "text": "DashboardDrilldownOptions" } ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1149,12 +1149,12 @@ "tags": [], "label": "EMBEDDABLE_TO_DASHBOARD_DRILLDOWN", "description": [ - "\nNOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS\nSTORED IN SAVED OBJECTS.\n\nAlso temporary dashboard drilldown migration code inside embeddable plugin relies on it\nx-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts" + "\nNOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS\nSTORED IN SAVED OBJECTS.\n\nAlso temporary dashboard drilldown migration code inside embeddable plugin relies on it\nx-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts" ], "signature": [ "\"DASHBOARD_TO_DASHBOARD_DRILLDOWN\"" ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 48fd54b0e6d1f..21fa251a5d112 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index 309d7d82ac4a8..b5af4110d7e9c 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -3917,11 +3917,11 @@ }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" } ], "children": [ @@ -9038,7 +9038,7 @@ "section": "def-common.MetricAggType", "text": "MetricAggType" }, - "[]; }; }; calculateAutoTimeExpression: (range: ", + "[]; }; }; calculateAutoTimeExpression: { (range: ", { "pluginId": "data", "scope": "common", @@ -9046,7 +9046,35 @@ "section": "def-common.TimeRange", "text": "TimeRange" }, - ") => string | undefined; createAggConfigs: (indexPattern: ", + "): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression?: true | undefined): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression: false): ", + "TimeBucketsInterval", + " | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval?: string | undefined, asExpression?: boolean | undefined): string | ", + "TimeBucketsInterval", + " | undefined; }; createAggConfigs: (indexPattern: ", { "pluginId": "dataViews", "scope": "common", @@ -11718,15 +11746,15 @@ }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + "path": "src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx" }, { "plugin": "securitySolution", @@ -12011,7 +12039,7 @@ "section": "def-server.DataPluginStart", "text": "DataPluginStart" }, - ">, { bfetch, expressions, usageCollection, fieldFormats }: ", + ">, { expressions, usageCollection, fieldFormats }: ", "DataPluginSetupDependencies", ") => { search: ", "ISearchSetup", @@ -12068,7 +12096,7 @@ "id": "def-server.DataServerPlugin.setup.$2", "type": "Object", "tags": [], - "label": "{ bfetch, expressions, usageCollection, fieldFormats }", + "label": "{ expressions, usageCollection, fieldFormats }", "description": [], "signature": [ "DataPluginSetupDependencies" @@ -12298,11 +12326,11 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -12664,10 +12692,6 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" @@ -12676,6 +12700,10 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" @@ -18833,11 +18861,11 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -19199,10 +19227,6 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" @@ -19211,6 +19235,10 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" diff --git a/api_docs/data.mdx b/api_docs/data.mdx index dae587e071950..5cdab1cb7e66a 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3209 | 31 | 2594 | 24 | +| 3208 | 31 | 2593 | 25 | ## Client diff --git a/api_docs/data_quality.devdocs.json b/api_docs/data_quality.devdocs.json index 30196189a1f55..95326b7de5f75 100644 --- a/api_docs/data_quality.devdocs.json +++ b/api_docs/data_quality.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "DataQualityPluginSetup", "description": [], - "path": "x-pack/plugins/data_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/data_quality/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "DataQualityPluginStart", "description": [], - "path": "x-pack/plugins/data_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/data_quality/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -60,7 +60,7 @@ "signature": [ "\"pageState\"" ], - "path": "x-pack/plugins/data_quality/common/url_schema/common.ts", + "path": "x-pack/platform/plugins/shared/data_quality/common/url_schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -75,7 +75,7 @@ "signature": [ "\"dataQuality\"" ], - "path": "x-pack/plugins/data_quality/common/index.ts", + "path": "x-pack/platform/plugins/shared/data_quality/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -90,7 +90,7 @@ "signature": [ "\"data_quality\"" ], - "path": "x-pack/plugins/data_quality/common/index.ts", + "path": "x-pack/platform/plugins/shared/data_quality/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -102,7 +102,7 @@ "tags": [], "label": "PLUGIN_NAME", "description": [], - "path": "x-pack/plugins/data_quality/common/index.ts", + "path": "x-pack/platform/plugins/shared/data_quality/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/data_quality.mdx b/api_docs/data_quality.mdx index dcaf1f5959d6d..37d5e40827072 100644 --- a/api_docs/data_quality.mdx +++ b/api_docs/data_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataQuality title: "dataQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the dataQuality plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataQuality'] --- import dataQualityObj from './data_quality.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 58cd2695f27a6..8aeb970390184 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3209 | 31 | 2594 | 24 | +| 3208 | 31 | 2593 | 25 | ## Client diff --git a/api_docs/data_search.devdocs.json b/api_docs/data_search.devdocs.json index 3c8f70ebd85b5..d919ab68e2b08 100644 --- a/api_docs/data_search.devdocs.json +++ b/api_docs/data_search.devdocs.json @@ -317,7 +317,7 @@ "section": "def-common.MetricAggType", "text": "MetricAggType" }, - "[]; }; }; calculateAutoTimeExpression: (range: ", + "[]; }; }; calculateAutoTimeExpression: { (range: ", { "pluginId": "data", "scope": "common", @@ -325,7 +325,35 @@ "section": "def-common.TimeRange", "text": "TimeRange" }, - ") => string | undefined; createAggConfigs: (indexPattern: ", + "): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression?: true | undefined): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression: false): ", + "TimeBucketsInterval", + " | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval?: string | undefined, asExpression?: boolean | undefined): string | ", + "TimeBucketsInterval", + " | undefined; }; createAggConfigs: (indexPattern: ", { "pluginId": "dataViews", "scope": "common", @@ -10437,11 +10465,11 @@ }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" } ], "children": [ @@ -11293,7 +11321,8 @@ "\nGet the interval for the buckets. If the\nnumber of buckets created by the interval set\nis larger than config:histogram:maxBars then the\ninterval will be scaled up. If the number of buckets\ncreated is less than one, the interval is scaled back.\n\nThe interval object returned is a moment.duration\nobject that has been decorated with the following\nproperties.\n\ninterval.description: a text description of the interval.\n designed to be used list \"field per {{ desc }}\".\n - \"minute\"\n - \"10 days\"\n - \"3 years\"\n\ninterval.expression: the elasticsearch expression that creates this\n interval. If the interval does not properly form an elasticsearch\n expression it will be forced into one.\n\ninterval.scaled: the interval was adjusted to\n accommodate the maxBars setting.\n\ninterval.scale: the number that y-values should be\n multiplied by" ], "signature": [ - "(useNormalizedEsInterval?: boolean) => TimeBucketsInterval" + "(useNormalizedEsInterval?: boolean) => ", + "TimeBucketsInterval" ], "path": "src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts", "deprecated": false, @@ -13274,7 +13303,33 @@ "label": "getCalculateAutoTimeExpression", "description": [], "signature": [ - "(getConfig: (key: string) => any) => (range: ", + "(getConfig: (key: string) => any) => { (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression?: true | undefined): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression: false): ", + "TimeBucketsInterval", + " | undefined; (range: ", { "pluginId": "data", "scope": "common", @@ -13282,7 +13337,9 @@ "section": "def-common.TimeRange", "text": "TimeRange" }, - ") => string | undefined" + ", interval?: string | undefined, asExpression?: boolean | undefined): string | ", + "TimeBucketsInterval", + " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts", "deprecated": false, @@ -24348,7 +24405,7 @@ "label": "calculateAutoTimeExpression", "description": [], "signature": [ - "(range: ", + "{ (range: ", { "pluginId": "data", "scope": "common", @@ -24356,28 +24413,39 @@ "section": "def-common.TimeRange", "text": "TimeRange" }, - ") => string | undefined" + "): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression?: true | undefined): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression: false): ", + "TimeBucketsInterval", + " | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval?: string | undefined, asExpression?: boolean | undefined): string | ", + "TimeBucketsInterval", + " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/types.ts", "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.AggsCommonStart.calculateAutoTimeExpression.$1", - "type": "Object", - "tags": [], - "label": "range", - "description": [], - "signature": [ - "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" - ], - "path": "src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts", - "deprecated": false, - "trackAdoption": false - } - ] + "trackAdoption": false }, { "parentPluginId": "data", @@ -29340,7 +29408,7 @@ "section": "def-common.MetricAggType", "text": "MetricAggType" }, - "[]; }; }; calculateAutoTimeExpression: (range: ", + "[]; }; }; calculateAutoTimeExpression: { (range: ", { "pluginId": "data", "scope": "common", @@ -29348,7 +29416,35 @@ "section": "def-common.TimeRange", "text": "TimeRange" }, - ") => string | undefined; createAggConfigs: (indexPattern: ", + "): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression?: true | undefined): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression: false): ", + "TimeBucketsInterval", + " | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval?: string | undefined, asExpression?: boolean | undefined): string | ", + "TimeBucketsInterval", + " | undefined; }; createAggConfigs: (indexPattern: ", { "pluginId": "dataViews", "scope": "common", @@ -31206,7 +31302,33 @@ "section": "def-common.MetricAggType", "text": "MetricAggType" }, - "[]; }; }; calculateAutoTimeExpression: (range: ", + "[]; }; }; calculateAutoTimeExpression: { (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression?: true | undefined): string | undefined; (range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ", interval: string, asExpression: false): ", + "TimeBucketsInterval", + " | undefined; (range: ", { "pluginId": "data", "scope": "common", @@ -31214,7 +31336,9 @@ "section": "def-common.TimeRange", "text": "TimeRange" }, - ") => string | undefined; createAggConfigs: (indexPattern: ", + ", interval?: string | undefined, asExpression?: boolean | undefined): string | ", + "TimeBucketsInterval", + " | undefined; }; createAggConfigs: (indexPattern: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 33200e190f3ff..1a8a6737baa08 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3209 | 31 | 2594 | 24 | +| 3208 | 31 | 2593 | 25 | ## Client diff --git a/api_docs/data_usage.mdx b/api_docs/data_usage.mdx index 4153e46e84436..d0324d7f22ab6 100644 --- a/api_docs/data_usage.mdx +++ b/api_docs/data_usage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataUsage title: "dataUsage" image: https://source.unsplash.com/400x175/?github description: API docs for the dataUsage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataUsage'] --- import dataUsageObj from './data_usage.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 68c9f0a6aca18..71e374c580cad 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 969caafef28ee..fa892ef3f8f51 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index e0e54bafe7aa5..a5c49022874b7 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index 09293c388bde7..061d43ca1c00e 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -89,11 +89,11 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -431,10 +431,6 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" @@ -443,6 +439,10 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" @@ -7963,11 +7963,11 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -8305,10 +8305,6 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" @@ -8317,6 +8313,10 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" @@ -12148,7 +12148,9 @@ "\nA record of capabilities (aggregations) for an index rollup job" ], "signature": [ - "[index: string]: { aggs?: _.Dictionary<", + "[index: string]: { aggs?: ", + "Dictionary", + "<", { "pluginId": "dataViews", "scope": "common", @@ -13974,10 +13976,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "data", - "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" - }, { "plugin": "data", "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts" @@ -13991,12 +13989,16 @@ "path": "src/plugins/data/common/search/tabify/response_writer.ts" }, { - "plugin": "@kbn/search-errors", - "path": "packages/kbn-search-errors/src/painless_error.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "@kbn/search-errors", + "path": "packages/kbn-search-errors/src/painless_error.tsx" }, { "plugin": "savedObjectsManagement", @@ -14018,6 +14020,10 @@ "plugin": "unifiedSearch", "path": "src/plugins/unified_search/public/dataview_picker/change_dataview.tsx" }, + { + "plugin": "controls", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts" + }, { "plugin": "@kbn/unified-field-list", "path": "packages/kbn-unified-field-list/src/services/field_stats/load_field_stats.ts" @@ -14030,10 +14036,6 @@ "plugin": "@kbn/unified-field-list", "path": "packages/kbn-unified-field-list/src/hooks/use_existing_fields.ts" }, - { - "plugin": "controls", - "path": "src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts" - }, { "plugin": "lens", "path": "x-pack/plugins/lens/public/data_views_service/loader.ts" @@ -14054,14 +14056,6 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" @@ -14146,6 +14140,10 @@ "plugin": "@kbn/ml-data-view-utils", "path": "x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts" }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" @@ -14194,26 +14192,14 @@ "plugin": "exploratoryView", "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/series_editor/columns/filter_value_btn.tsx" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/get_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, { "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts" }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx" @@ -14238,6 +14224,10 @@ "plugin": "timelines", "path": "x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.ts" }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" @@ -14246,6 +14236,18 @@ "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/get_fields.ts" + }, { "plugin": "uptime", "path": "x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.tsx" @@ -14318,14 +14320,6 @@ "plugin": "eventAnnotationListing", "path": "src/plugins/event_annotation_listing/public/components/table_list.tsx" }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - }, { "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" @@ -14338,10 +14332,6 @@ "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, { "plugin": "visTypeTimelion", "path": "src/plugins/vis_types/timelion/public/helpers/arg_value_suggestions.ts" @@ -14421,6 +14411,18 @@ { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts" } ] }, @@ -16486,11 +16488,11 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -16828,10 +16830,6 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" @@ -16840,6 +16838,10 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 6652562c5a484..0f28ab48a851b 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index f63f837f25114..e2678ef497263 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/dataset_quality.devdocs.json b/api_docs/dataset_quality.devdocs.json index d160859f49a93..10f2fdc7d0552 100644 --- a/api_docs/dataset_quality.devdocs.json +++ b/api_docs/dataset_quality.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "DatasetQualityPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "DatasetQualityPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46,7 +46,7 @@ "DatasetQualityProps", ">" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -64,7 +64,7 @@ "DatasetQualityController", ">" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -81,7 +81,7 @@ "DatasetQualityPublicState", "> | undefined; }" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/create_controller.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/create_controller.ts", "deprecated": false, "trackAdoption": false } @@ -101,7 +101,7 @@ "DatasetQualityDetailsProps", ">" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -119,7 +119,7 @@ "DatasetQualityDetailsController", ">" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/types.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -136,7 +136,7 @@ "DatasetQualityDetailsPublicStateUpdate", "; }" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/create_controller.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/create_controller.ts", "deprecated": false, "trackAdoption": false } @@ -168,7 +168,7 @@ "signature": [ "(dataStreamName: string) => { type: \"profiling\" | \"metrics\" | \"synthetics\" | \"traces\" | \"logs\"; dataset: string; namespace: string; }" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -182,7 +182,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -200,7 +200,7 @@ "tags": [], "label": "DatasetQualityConfig", "description": [], - "path": "x-pack/plugins/observability_solution/dataset_quality/common/plugin_config.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/common/plugin_config.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -589,7 +589,7 @@ }, " ? ClientRequestParamsOfType : TRouteParamsRT extends undefined ? {} : never : never" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/common/rest/create_call_dataset_quality_api.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/common/rest/create_call_dataset_quality_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -968,7 +968,7 @@ }, " | undefined; } | undefined> ? TWrappedResponseType : TReturnType : never" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/common/rest/create_call_dataset_quality_api.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/common/rest/create_call_dataset_quality_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -991,7 +991,7 @@ }, ", \"body\"> & { pathname: string; method?: string | undefined; body?: any; }" ], - "path": "x-pack/plugins/observability_solution/dataset_quality/common/fetch_options.ts", + "path": "x-pack/platform/plugins/shared/dataset_quality/common/fetch_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/dataset_quality.mdx b/api_docs/dataset_quality.mdx index c96b1a883fe0d..6b77cf90e56bf 100644 --- a/api_docs/dataset_quality.mdx +++ b/api_docs/dataset_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/datasetQuality title: "datasetQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the datasetQuality plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'datasetQuality'] --- import datasetQualityObj from './dataset_quality.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 7d75de5cb0133..b47e2a78aae27 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -17,13 +17,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | ml, stackAlerts | - | -| | data, @kbn/search-errors, savedObjectsManagement, unifiedSearch, @kbn/unified-field-list, controls, lens, @kbn/lens-embeddable-utils, triggersActionsUi, dataVisualizer, canvas, fleet, ml, enterpriseSearch, @kbn/ml-data-view-utils, graph, stackAlerts, upgradeAssistant, exploratoryView, visTypeTimeseries, maps, transform, securitySolution, timelines, uptime, ux, dataViewManagement, eventAnnotationListing, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega | - | +| | data, @kbn/search-errors, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, lens, @kbn/lens-embeddable-utils, triggersActionsUi, dataVisualizer, ml, enterpriseSearch, @kbn/ml-data-view-utils, fleet, graph, stackAlerts, upgradeAssistant, exploratoryView, canvas, transform, securitySolution, timelines, maps, visTypeTimeseries, uptime, ux, dataViewManagement, eventAnnotationListing, visDefaultEditor, visTypeTimelion, visTypeVega, inputControlVis | - | | | ml, securitySolution | - | -| | actions, savedObjectsTagging, ml, enterpriseSearch | - | -| | @kbn/core-http-router-server-internal, @kbn/core-http-server-internal, @kbn/core-metrics-server-internal, @kbn/core-status-server-internal, @kbn/core-i18n-server-internal, @kbn/core-rendering-server-internal, @kbn/core-capabilities-server-internal, @kbn/core-apps-server-internal, usageCollection, taskManager, security, monitoringCollection, files, banners, telemetry, cloudFullStory, customBranding, enterpriseSearch, securitySolution, @kbn/test-suites-xpack, interactiveSetup, mockIdpPlugin, spaces, ml | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core, visualizations, aiops, dataVisualizer, dashboardEnhanced, ml, graph, lens, securitySolution, eventAnnotation | - | -| | @kbn/core, embeddable, savedObjects, visualizations, canvas, graph, ml | - | -| | @kbn/core-saved-objects-base-server-internal, @kbn/core-saved-objects-migration-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-ui-settings-server-internal, @kbn/core-usage-data-server-internal, taskManager, dataViews, spaces, share, actions, data, alerting, dashboard, @kbn/core-saved-objects-migration-server-mocks, savedSearch, canvas, lens, cases, fleet, ml, graph, maps, apmDataAccess, apm, visualizations, infra, slo, lists, securitySolution, synthetics, uptime, cloudSecurityPosture, eventAnnotation, links, savedObjectsManagement, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | +| | actions, ml, savedObjectsTagging, enterpriseSearch | - | +| | @kbn/core-http-router-server-internal, @kbn/core-http-server-internal, @kbn/core-metrics-server-internal, @kbn/core-status-server-internal, @kbn/core-i18n-server-internal, @kbn/core-rendering-server-internal, @kbn/core-capabilities-server-internal, @kbn/core, usageCollection, taskManager, security, monitoringCollection, banners, files, telemetry, cloudFullStory, customBranding, enterpriseSearch, securitySolution, @kbn/test-suites-xpack, interactiveSetup, mockIdpPlugin, spaces, ml | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core, visualizations, aiops, dataVisualizer, ml, graph, lens, dashboardEnhanced, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | +| | @kbn/core, savedObjects, visualizations, graph, canvas, ml | - | +| | @kbn/core-saved-objects-base-server-internal, @kbn/core-saved-objects-migration-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-ui-settings-server-internal, @kbn/core-usage-data-server-internal, taskManager, spaces, actions, @kbn/core-saved-objects-migration-server-mocks, dataViews, share, data, alerting, dashboard, lens, cases, ml, fleet, graph, savedSearch, apmDataAccess, apm, canvas, maps, lists, securitySolution, visualizations, infra, slo, synthetics, uptime, cloudSecurityPosture, eventAnnotation, savedObjectsManagement, links, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | | | graph, stackAlerts, inputControlVis, securitySolution | - | | | dataVisualizer, stackAlerts, expressionPartitionVis | - | @@ -48,9 +48,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | securitySolution | - | | | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, fleet, graph, alerting, osquery, securitySolution, lists | - | -| | @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, @kbn/core, @kbn/alerting-types, alerting, actions, savedSearch, canvas, enterpriseSearch, taskManager, securitySolution, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core-saved-objects-browser-mocks, @kbn/core, savedObjectsTagging, home, canvas, savedObjectsTaggingOss, upgradeAssistant, securitySolution, lists, savedObjectsManagement, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-ui-settings-server-internal | - | -| | @kbn/core-saved-objects-migration-server-internal, dataViews, actions, data, alerting, dashboard, savedSearch, canvas, lens, cases, savedObjectsTagging, graph, maps, visualizations, lists, securitySolution, @kbn/core-test-helpers-so-type-serializer | - | +| | @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, @kbn/core, actions, @kbn/alerting-types, alerting, enterpriseSearch, savedSearch, taskManager, canvas, securitySolution, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, savedObjectsTagging, canvas, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, upgradeAssistant, securitySolution, lists, savedObjectsManagement, @kbn/core-ui-settings-server-internal | - | +| | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, dashboard, lens, cases, savedObjectsTagging, graph, savedSearch, canvas, maps, lists, securitySolution, visualizations, @kbn/core-test-helpers-so-type-serializer | - | | | integrationAssistant, @kbn/ecs-data-quality-dashboard, securitySolution, observabilityAIAssistantApp | - | | | security, cloudLinks, securitySolution, cases | - | | | security, cases, searchPlayground, securitySolution | - | @@ -68,12 +68,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | @kbn/monaco, securitySolution | - | | | cloudSecurityPosture, securitySolution | - | -| | alerting, observabilityAIAssistant, fleet, serverlessSearch, upgradeAssistant, entityManager, apm, transform, synthetics, cloudSecurityPosture, security | - | +| | alerting, observabilityAIAssistant, fleet, serverlessSearch, upgradeAssistant, entityManager, transform, synthetics, cloudSecurityPosture, security | - | | | actions, alerting | - | | | monitoring | - | | | monitoring, observabilityShared | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjectsManagement, savedObjects, visualizations, savedObjectsTagging, eventAnnotation, lens, maps, graph, dashboard, kibanaUtils, expressions, data, savedObjectsTaggingOss, embeddable, uiActionsEnhanced, controls, canvas, dashboardEnhanced, globalSearchProviders | - | -| | @kbn/core-saved-objects-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core, home, visualizations, lens, visTypeTimeseries | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjectsManagement, savedObjects, visualizations, savedObjectsTagging, eventAnnotation, lens, maps, graph, dashboard, kibanaUtils, expressions, data, savedObjectsTaggingOss, embeddable, uiActionsEnhanced, controls, globalSearchProviders, canvas, dashboardEnhanced | - | +| | @kbn/core-saved-objects-browser, @kbn/core-saved-objects-browser-internal, @kbn/core, home, visualizations, lens, visTypeTimeseries, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-browser-mocks, home, @kbn/core-saved-objects-browser-internal | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, visualizations | - | @@ -94,27 +94,27 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core, spaces, savedSearch, visualizations, lens, cases, maps, canvas, graph | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core, spaces, cases, savedSearch, visualizations, lens, maps, graph, canvas | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-lifecycle-browser, @kbn/core, visualizations, exploratoryView, transform | - | -| | @kbn/core-saved-objects-browser-mocks, @kbn/core-root-browser-internal | - | +| | @kbn/core-lifecycle-browser, @kbn/core-saved-objects-browser-internal, @kbn/core, visualizations, exploratoryView, transform, @kbn/core-saved-objects-browser-mocks | - | +| | @kbn/core-root-browser-internal, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-api-server-internal | - | | | @kbn/core-saved-objects-api-server-internal | - | | | @kbn/core-saved-objects-api-server-internal, canvas | - | | | @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-migration-server-internal, spaces, data, dashboard, savedSearch, visualizations, cloudSecurityPosture, @kbn/core-test-helpers-so-type-serializer | - | | | fleet, exploratoryView, osquery, synthetics | - | | | @kbn/security-plugin-types-server, telemetry, fleet, profiling, @kbn/security-authorization-core, security | - | -| | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, management, fleet, security, assetInventory, kibanaOverview, @kbn/core | - | +| | @kbn/core, @kbn/core-application-browser-mocks, management, fleet, security, kibanaOverview | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement | - | | | visualizations, graph | - | | | kubernetesSecurity, osquery, threatIntelligence | - | -| | @kbn/core-plugins-browser-internal, @kbn/core-root-browser-internal, home, unifiedSearch, visualizations, fileUpload, dashboardEnhanced, transform, discover, dataVisualizer | - | +| | @kbn/core-plugins-browser-internal, @kbn/core-root-browser-internal, home, unifiedSearch, visualizations, fileUpload, transform, dashboardEnhanced, discover, dataVisualizer | - | | | dataViews, maps | - | | | dataViews, dataViewManagement | - | | | dataViews, dataViewManagement | - | @@ -131,7 +131,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | unifiedSearch | - | | | unifiedSearch | - | | | @kbn/core, lens | - | -| | canvas | - | +| | enterpriseSearch | - | +| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | | | canvas | - | | | canvas | - | | | canvas | - | @@ -142,8 +143,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | canvas | - | | | canvas | - | | | canvas | - | -| | enterpriseSearch | - | -| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | | | uiActionsEnhanced | - | | | visTypeGauge | - | | | visTypePie | - | @@ -155,8 +154,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | indexLifecycleManagement | - | | | dashboard | - | | | dashboard | - | -| | @kbn/reporting-public, discover | - | -| | discover, @kbn/management-settings-field-definition | - | +| | discover, @kbn/reporting-public | - | +| | @kbn/management-settings-field-definition, discover | - | | | @kbn/content-management-table-list-view, filesManagement | - | | | @kbn/core | - | | | @kbn/core | - | @@ -170,7 +169,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | reporting | - | | | reporting | - | | | @kbn/reporting-export-types-pdf | - | -| | security, aiops, licenseManagement, ml, logstash, slo, crossClusterReplication, painlessLab, watcher, searchprofiler | 8.8.0 | +| | security, aiops, licenseManagement, ml, logstash, crossClusterReplication, painlessLab, watcher, searchprofiler, slo | 8.8.0 | | | spaces, security, actions, alerting, ml, graph, upgradeAssistant, remoteClusters, indexLifecycleManagement, painlessLab, rollup, snapshotRestore, transform, aiops, osquery, securitySolution, searchprofiler | 8.8.0 | | | fleet, apm, security, securitySolution | 8.8.0 | | | fleet, apm, security, securitySolution | 8.8.0 | @@ -204,8 +203,6 @@ Safe to remove. | | data | | | data | | | embeddable | -| | embeddable | -| | embeddable | | | expressionGauge | | | expressionGauge | | | expressions | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index bdcf1551df7d3..bddb33c4fa12e 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -32,7 +32,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=appBasePath) | - | +| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/src/core/packages/application/browser-internal/src/ui/app_container.tsx#:~:text=appBasePath), [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=appBasePath) | - | +| | [bundles_route.ts](https://github.com/elastic/kibana/tree/main/src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/src/core/packages/apps/server-internal/src/core_app.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/src/core/packages/apps/server-internal/src/core_app.ts#:~:text=authRequired) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SavedObjectsClientContract) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SimpleSavedObject) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SavedObjectsCreateOptions) | - | @@ -59,14 +60,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] -## @kbn/core-application-browser-internal - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=appBasePath) | - | - - - ## @kbn/core-application-browser-mocks | Deprecated API | Reference location(s) | Remove By | @@ -75,14 +68,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] -## @kbn/core-apps-server-internal - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [bundles_route.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-server-internal/src/core_app.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-server-internal/src/core_app.ts#:~:text=authRequired) | - | - - - ## @kbn/core-capabilities-server-internal | Deprecated API | Reference location(s) | Remove By | @@ -567,7 +552,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=authz) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=index) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes)+ 20 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [create.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/create.ts#:~:text=SavedObjectAttributes)+ 20 more | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=migrations) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=audit), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=audit) | - | @@ -607,7 +592,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client_factory.ts#:~:text=authc), [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc), [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client_factory.ts#:~:text=authc), [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc) | - | | | [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/usage/task.ts#:~:text=index) | - | | | [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion) | - | -| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes)+ 14 more | - | +| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes)+ 14 more | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/index.ts#:~:text=migrations) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | | | [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client_factory.ts#:~:text=audit) | - | @@ -620,7 +605,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | ---------------|-----------|-----------| | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts#:~:text=authc), [get_agent_keys_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts#:~:text=authc), [is_superuser.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts#:~:text=authc), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts#:~:text=authc), [get_agent_keys_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts#:~:text=authc), [is_superuser.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts#:~:text=authc) | - | | | [apm_service_groups.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts#:~:text=migrations) | - | @@ -633,14 +617,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] -## assetInventory - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/security/plugins/asset_inventory/public/application.tsx#:~:text=appBasePath) | - | - - - ## banners | Deprecated API | Reference location(s) | Remove By | @@ -653,26 +629,25 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/datasource/datasource_component.js#:~:text=title) | - | -| | [editor_menu.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx#:~:text=getEmbeddableFactories) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | -| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | -| | [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/types/state.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/types/state.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/plot/index.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/plot/index.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/pie.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/pie.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render)+ 2 more | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | -| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | -| | [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject) | - | -| | [workpad_route_context.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/workpad_route_context.ts#:~:text=migrationVersion) | - | -| | [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes)+ 2 more | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes) | - | -| | [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference) | - | -| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/workpad.ts#:~:text=migrations), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/custom_element.ts#:~:text=migrations), [workpad_template.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/workpad_template.ts#:~:text=migrations) | - | -| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/workpad.ts#:~:text=convertToMultiNamespaceTypeVersion), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/custom_element.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js#:~:text=title) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | +| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | +| | [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/types/state.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/types/state.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/pie.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/pie.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render)+ 2 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | +| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | +| | [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject) | - | +| | [workpad_route_context.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts#:~:text=migrationVersion) | - | +| | [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes)+ 2 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes) | - | +| | [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference) | - | +| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts#:~:text=migrations), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts#:~:text=migrations), [workpad_template.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts#:~:text=migrations) | - | +| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts#:~:text=convertToMultiNamespaceTypeVersion), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | @@ -739,8 +714,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [options_list_fetch_cache.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts#:~:text=title) | - | -| | [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [time_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/time_slider/time_slider_persistable_state.ts#:~:text=SavedObjectReference)+ 2 more | - | +| | [options_list_fetch_cache.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts#:~:text=title) | - | +| | [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [time_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts#:~:text=SavedObjectReference)+ 2 more | - | @@ -764,14 +739,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | -| | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference) | - | -| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=migrations) | - | -| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=schemas) | - | -| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | -| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms) | - | -| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms) | - | -| | [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms) | - | +| | [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| | [types.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference), [types.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference) | - | +| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=migrations) | - | +| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=schemas) | - | +| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms) | - | +| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms) | - | +| | [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms) | - | @@ -779,11 +754,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects) | - | -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=find) | - | -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=get) | - | -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject) | - | -| | [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=find) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=get) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject) | - | +| | [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference) | - | @@ -791,7 +766,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [get_display_value.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/query/filter_manager/lib/get_display_value.ts#:~:text=title), [get_search_params.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/fetch/get_search_params.ts#:~:text=title), [inspector_stats.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts#:~:text=title), [response_writer.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/tabify/response_writer.ts#:~:text=title), [field.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/param_types/field.ts#:~:text=title), [agg_config.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=title), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [rare_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/rare_terms.test.ts#:~:text=title)+ 3 more | - | +| | [get_search_params.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/fetch/get_search_params.ts#:~:text=title), [inspector_stats.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts#:~:text=title), [response_writer.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/tabify/response_writer.ts#:~:text=title), [field.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/param_types/field.ts#:~:text=title), [get_display_value.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/query/filter_manager/lib/get_display_value.ts#:~:text=title), [agg_config.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=title), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [rare_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/rare_terms.test.ts#:~:text=title)+ 3 more | - | | | [data_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions), [data_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions) | - | | | [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/filters/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/filters/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/filters/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/persistable_state.ts#:~:text=SavedObjectReference) | - | | | [query.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/server/saved_objects/query.ts#:~:text=migrations), [search_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/server/saved_objects/search_telemetry.ts#:~:text=migrations), [search_session.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/server/search/saved_objects/search_session.ts#:~:text=migrations) | - | @@ -862,8 +837,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes) | - | -| | [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference) | - | +| | [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference) | - | @@ -892,7 +866,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts#:~:text=authc) | - | +| | [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [uninstall_entity_definition.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [uninstall_entity_definition.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts#:~:text=authc)+ 2 more | - | @@ -944,7 +918,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [kibana_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/file_upload/public/kibana_services.ts#:~:text=savedObjects) | - | +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/file_upload/public/kibana_services.ts#:~:text=savedObjects) | - | @@ -1049,7 +1023,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [saved_object_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts#:~:text=migrations) | - | +| | [saved_object_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_type.ts#:~:text=migrations) | - | @@ -1057,10 +1031,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=title), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=title), [get_index_pattern_mock.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts#:~:text=title) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=title), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=title), [get_index_pattern_mock.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts#:~:text=title) | - | @@ -1141,8 +1115,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | -| | [links.ts](https://github.com/elastic/kibana/tree/main/src/plugins/links/server/saved_objects/links.ts#:~:text=migrations) | - | +| | [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| | [links.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/server/saved_objects/links.ts#:~:text=migrations) | - | @@ -1183,16 +1157,16 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | -| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | -| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | -| | [es_tooltip_property.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts#:~:text=title) | - | -| | [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable) | - | -| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject) | - | -| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference) | - | -| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts#:~:text=migrations) | - | -| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms) | - | +| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | +| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | +| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | +| | [es_tooltip_property.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts#:~:text=title) | - | +| | [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable) | - | +| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject) | - | +| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference) | - | +| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts#:~:text=migrations) | - | +| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms) | - | @@ -1266,7 +1240,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts#:~:text=legacy) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts#:~:text=legacy) | - | @@ -1304,7 +1278,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 5b317190a7433..b7c3acedca685 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -50,7 +50,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| presentationUtil | | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| presentationUtil | | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 55d01ef6a7e45..37ab53177ebf0 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.devdocs.json b/api_docs/discover.devdocs.json index fe9734b3de457..9995a3f5e3f6f 100644 --- a/api_docs/discover.devdocs.json +++ b/api_docs/discover.devdocs.json @@ -840,13 +840,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "src/plugins/discover/public/build_services.ts", "deprecated": false, @@ -1090,13 +1084,7 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | undefined" ], "path": "src/plugins/discover/public/build_services.ts", @@ -1145,7 +1133,7 @@ }, " | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -3384,13 +3372,7 @@ "text": "DiscoverServices" }, ">; scopedHistory: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; customizationCallbacks: ", { "pluginId": "discover", diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 242e1f9358ac7..29162d4e7a7ee 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index eac9f4d2cbaa0..f07773148a4f2 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/discover_shared.mdx b/api_docs/discover_shared.mdx index e1e1ec7875aa4..c70ce5972a478 100644 --- a/api_docs/discover_shared.mdx +++ b/api_docs/discover_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverShared title: "discoverShared" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverShared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverShared'] --- import discoverSharedObj from './discover_shared.devdocs.json'; diff --git a/api_docs/ecs_data_quality_dashboard.mdx b/api_docs/ecs_data_quality_dashboard.mdx index dcb709c16ecd2..627248b3c49e9 100644 --- a/api_docs/ecs_data_quality_dashboard.mdx +++ b/api_docs/ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ecsDataQualityDashboard title: "ecsDataQualityDashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the ecsDataQualityDashboard plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/elastic_assistant.devdocs.json b/api_docs/elastic_assistant.devdocs.json index 32dc636af1e75..527ca1428ae88 100644 --- a/api_docs/elastic_assistant.devdocs.json +++ b/api_docs/elastic_assistant.devdocs.json @@ -1713,13 +1713,7 @@ "label": "telemetry", "description": [], "signature": [ - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", " | undefined" ], "path": "x-pack/solutions/security/plugins/elastic_assistant/server/types.ts", diff --git a/api_docs/elastic_assistant.mdx b/api_docs/elastic_assistant.mdx index 255f59b64003d..7ccb3b114a271 100644 --- a/api_docs/elastic_assistant.mdx +++ b/api_docs/elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/elasticAssistant title: "elasticAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the elasticAssistant plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant'] --- import elasticAssistantObj from './elastic_assistant.devdocs.json'; diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index 58af1d117961f..d5a2d3a3eb310 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -27,7 +27,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -38,7 +38,7 @@ "tags": [], "label": "runtimeId", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -49,7 +49,7 @@ "tags": [], "label": "runtimeId", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -60,7 +60,7 @@ "tags": [], "label": "deferEmbeddableLoad", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -71,7 +71,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -82,7 +82,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -96,7 +96,7 @@ "signature": [ "Error | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -110,7 +110,7 @@ "signature": [ "TEmbeddableOutput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -124,7 +124,7 @@ "signature": [ "TEmbeddableInput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -144,7 +144,7 @@ "text": "RenderCompleteDispatcher" } ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -155,7 +155,7 @@ "tags": [], "label": "destroyed", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -169,7 +169,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -183,7 +183,7 @@ "signature": [ "TEmbeddableInput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -198,7 +198,7 @@ "signature": [ "TEmbeddableOutput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -216,7 +216,7 @@ "signature": [ "() => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -232,7 +232,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -250,7 +250,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -270,7 +270,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -288,7 +288,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -306,7 +306,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -322,7 +322,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -338,7 +338,7 @@ "signature": [ "(lastExplicitInput: Partial) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -352,7 +352,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -370,7 +370,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -386,7 +386,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -402,7 +402,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -418,7 +418,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -434,7 +434,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -450,7 +450,7 @@ "signature": [ "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -464,7 +464,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -482,7 +482,7 @@ "signature": [ "(el: HTMLElement) => void | TNode" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -496,7 +496,7 @@ "signature": [ "HTMLElement" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -526,7 +526,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -546,7 +546,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -562,7 +562,7 @@ "signature": [ "() => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -580,7 +580,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -596,7 +596,7 @@ "signature": [ "(outputChanges: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -610,7 +610,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -630,7 +630,7 @@ "signature": [ "(e: Error) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -646,7 +646,7 @@ "signature": [ "Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -664,7 +664,7 @@ "signature": [ "() => string[]" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -673,73 +673,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError", - "type": "Class", - "tags": [], - "label": "EmbeddableFactoryNotFoundError", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryNotFoundError", - "text": "EmbeddableFactoryNotFoundError" - }, - " extends Error" - ], - "path": "src/plugins/embeddable/public/lib/errors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError.code", - "type": "string", - "tags": [], - "label": "code", - "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/embeddable/public/lib/errors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/lib/errors.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddableStateTransfer", @@ -749,7 +682,7 @@ "description": [ "\nA wrapper around the session storage which provides strongly typed helper methods\nfor common incoming and outgoing states used by the embeddable infrastructure.\n" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -760,7 +693,7 @@ "tags": [], "label": "isTransferInProgress", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -774,7 +707,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -787,16 +720,10 @@ "description": [], "signature": [ "(appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -812,7 +739,7 @@ "Observable", "" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -826,16 +753,10 @@ "description": [], "signature": [ "ReadonlyMap | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -857,7 +778,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -877,7 +798,7 @@ "signature": [ "(appId: string) => string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -893,7 +814,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -921,7 +842,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -937,7 +858,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -954,7 +875,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -974,7 +895,7 @@ "signature": [ "(appId?: string | undefined) => void" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -990,7 +911,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1018,7 +939,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1034,7 +955,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1051,7 +972,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1079,7 +1000,7 @@ }, "; } | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1093,7 +1014,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1105,7 +1026,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1119,7 +1040,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1133,7 +1054,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1147,7 +1068,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1167,7 +1088,7 @@ "text": "EmbeddableEditorState" } ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false } @@ -1196,7 +1117,7 @@ }, "; } | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1210,7 +1131,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1222,7 +1143,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1236,7 +1157,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1256,7 +1177,7 @@ "text": "EmbeddablePackageState" } ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false } @@ -1309,7 +1230,7 @@ }, ", React.ReactNode>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1323,7 +1244,7 @@ "signature": [ "\"error\"" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -1337,7 +1258,7 @@ "signature": [ "string | Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -1351,7 +1272,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1365,7 +1286,7 @@ "signature": [ "string | Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1386,7 +1307,7 @@ "text": "EmbeddableInput" } ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1404,7 +1325,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1420,7 +1341,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1446,7 +1367,7 @@ }, " extends Error" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1457,7 +1378,7 @@ "tags": [], "label": "code", "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -1471,7 +1392,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1497,7 +1418,7 @@ }, " extends Error" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1508,7 +1429,7 @@ "tags": [], "label": "code", "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -1522,7 +1443,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1535,45 +1456,21 @@ "functions": [ { "parentPluginId": "embeddable", - "id": "def-public.defaultEmbeddableFactoryProvider", + "id": "def-public.isContextMenuTriggerContext", "type": "Function", "tags": [], - "label": "defaultEmbeddableFactoryProvider", + "label": "isContextMenuTriggerContext", "description": [], "signature": [ - " context is ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" + "section": "def-public.EmbeddableContext", + "text": "EmbeddableContext" }, - ", E extends ", + "<", { "pluginId": "embeddable", "scope": "public", @@ -1581,70 +1478,39 @@ "section": "def-public.IEmbeddable", "text": "IEmbeddable" }, - " = ", + "<", { "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ", T extends ", - { - "pluginId": "savedObjectsFinder", - "scope": "common", - "docId": "kibSavedObjectsFinderPluginApi", - "section": "def-common.FinderAttributes", - "text": "FinderAttributes" - }, - " = ", - { - "pluginId": "@kbn/core-saved-objects-common", "scope": "common", - "docId": "kibKbnCoreSavedObjectsCommonPluginApi", - "section": "def-common.SavedObjectAttributes", - "text": "SavedObjectAttributes" - }, - ">(def: ", - { - "pluginId": "embeddable", - "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" }, - ") => ", + ", ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" }, - "" + ", any>>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.defaultEmbeddableFactoryProvider.$1", - "type": "CompoundType", + "id": "def-public.isContextMenuTriggerContext.$1", + "type": "Unknown", "tags": [], - "label": "def", + "label": "context", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" - }, - "" + "unknown" ], - "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1655,76 +1521,50 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.genericEmbeddableInputIsEqual", + "id": "def-public.isMultiValueClickTriggerContext", "type": "Function", "tags": [], - "label": "genericEmbeddableInputIsEqual", + "label": "isMultiValueClickTriggerContext", "description": [], "signature": [ - "(currentInput: Partial<", + "(context: ", { "pluginId": "embeddable", - "scope": "common", + "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" }, - ">, lastInput: Partial<", + ") => context is ", { "pluginId": "embeddable", - "scope": "common", + "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">) => boolean" + "section": "def-public.MultiValueClickContext", + "text": "MultiValueClickContext" + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.genericEmbeddableInputIsEqual.$1", - "type": "Object", - "tags": [], - "label": "currentInput", - "description": [], - "signature": [ - "Partial<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.genericEmbeddableInputIsEqual.$2", - "type": "Object", + "id": "def-public.isMultiValueClickTriggerContext.$1", + "type": "CompoundType", "tags": [], - "label": "lastInput", + "label": "context", "description": [], "signature": [ - "Partial<", { "pluginId": "embeddable", - "scope": "common", + "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1735,61 +1575,50 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isContextMenuTriggerContext", + "id": "def-public.isRangeSelectTriggerContext", "type": "Function", "tags": [], - "label": "isContextMenuTriggerContext", + "label": "isRangeSelectTriggerContext", "description": [], "signature": [ - "(context: unknown) => context is ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableContext", - "text": "EmbeddableContext" - }, - "<", + "(context: ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" }, - ", ", + ") => context is ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>>" + "section": "def-public.RangeSelectContext", + "text": "RangeSelectContext" + } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isContextMenuTriggerContext.$1", - "type": "Unknown", + "id": "def-public.isRangeSelectTriggerContext.$1", + "type": "CompoundType", "tags": [], "label": "context", "description": [], "signature": [ - "unknown" + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" + } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1800,154 +1629,50 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isEmbeddable", + "id": "def-public.isRowClickTriggerContext", "type": "Function", "tags": [], - "label": "isEmbeddable", + "label": "isRowClickTriggerContext", "description": [], "signature": [ - "(x: unknown) => x is ", + "(context: ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" }, - "<", + ") => context is ", { - "pluginId": "embeddable", + "pluginId": "@kbn/ui-actions-browser", "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>" + "docId": "kibKbnUiActionsBrowserPluginApi", + "section": "def-common.RowClickContext", + "text": "RowClickContext" + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isEmbeddable.$1", - "type": "Unknown", + "id": "def-public.isRowClickTriggerContext.$1", + "type": "CompoundType", "tags": [], - "label": "x", - "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isErrorEmbeddable", - "type": "Function", - "tags": [], - "label": "isErrorEmbeddable", - "description": [], - "signature": [ - "(embeddable: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" - }, - " | TEmbeddable) => boolean" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isErrorEmbeddable.$1", - "type": "CompoundType", - "tags": [], - "label": "embeddable", + "label": "context", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" - }, - " | TEmbeddable" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isExplicitInputWithAttributes", - "type": "Function", - "tags": [], - "label": "isExplicitInputWithAttributes", - "description": [], - "signature": [ - "(value: Partial<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - "> | ", - "ExplicitInputWithAttributes", - ") => value is ", - "ExplicitInputWithAttributes" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isExplicitInputWithAttributes.$1", - "type": "CompoundType", - "tags": [], - "label": "value", - "description": [], - "signature": [ - "Partial<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - "> | ", - "ExplicitInputWithAttributes" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1958,49 +1683,10 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isFilterableEmbeddable", - "type": "Function", - "tags": [], - "label": "isFilterableEmbeddable", - "description": [ - "\nEnsure that embeddable supports filtering/querying" - ], - "signature": [ - "(incoming: unknown) => boolean" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isFilterableEmbeddable.$1", - "type": "Unknown", - "tags": [], - "label": "incoming", - "description": [ - "Embeddable that is being tested to check if it is a FilterableEmbeddable" - ], - "signature": [ - "unknown" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [ - "true if the incoming embeddable is a FilterableEmbeddable, false if it is not" - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isMultiValueClickTriggerContext", + "id": "def-public.isValueClickTriggerContext", "type": "Function", "tags": [], - "label": "isMultiValueClickTriggerContext", + "label": "isValueClickTriggerContext", "description": [], "signature": [ "(context: ", @@ -2016,17 +1702,17 @@ "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.MultiValueClickContext", - "text": "MultiValueClickContext" + "section": "def-public.ValueClickContext", + "text": "ValueClickContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isMultiValueClickTriggerContext.$1", + "id": "def-public.isValueClickTriggerContext.$1", "type": "CompoundType", "tags": [], "label": "context", @@ -2040,7 +1726,7 @@ "text": "ChartActionContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2051,53 +1737,81 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isRangeSelectTriggerContext", + "id": "def-public.openAddFromLibraryFlyout", "type": "Function", "tags": [], - "label": "isRangeSelectTriggerContext", + "label": "openAddFromLibraryFlyout", "description": [], "signature": [ - "(context: ", + "({ container, onClose, }: { container: ", { - "pluginId": "embeddable", + "pluginId": "@kbn/presentation-containers", "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.CanAddNewPanel", + "text": "CanAddNewPanel" }, - ") => context is ", + "; onClose?: (() => void) | undefined; }) => ", { - "pluginId": "embeddable", + "pluginId": "@kbn/core-mount-utils-browser", "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.RangeSelectContext", - "text": "RangeSelectContext" + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-public.OverlayRef", + "text": "OverlayRef" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isRangeSelectTriggerContext.$1", - "type": "CompoundType", + "id": "def-public.openAddFromLibraryFlyout.$1", + "type": "Object", "tags": [], - "label": "context", + "label": "{\n container,\n onClose,\n}", "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - } - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.openAddFromLibraryFlyout.$1.container", + "type": "Object", + "tags": [], + "label": "container", + "description": [], + "signature": [ + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.CanAddNewPanel", + "text": "CanAddNewPanel" + } + ], + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.openAddFromLibraryFlyout.$1.onClose", + "type": "Function", + "tags": [], + "label": "onClose", + "description": [], + "signature": [ + "(() => void) | undefined" + ], + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ] } ], "returnComment": [], @@ -2105,1499 +1819,380 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isReferenceOrValueEmbeddable", + "id": "def-public.ReactEmbeddableRenderer", "type": "Function", "tags": [], - "label": "isReferenceOrValueEmbeddable", - "description": [], + "label": "ReactEmbeddableRenderer", + "description": [ + "\nRenders a component from the React Embeddable registry into a Presentation Panel.\n\nTODO: Rename this to simply `Embeddable` when the legacy Embeddable system is removed." + ], "signature": [ - "(incoming: unknown) => boolean" + " = ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.DefaultEmbeddableApi", + "text": "DefaultEmbeddableApi" + }, + ", ParentApi extends ", + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.HasSerializedChildState", + "text": "HasSerializedChildState" + }, + " = ", + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.HasSerializedChildState", + "text": "HasSerializedChildState" + }, + ">({ type, maybeId, getParentApi, panelProps, onAnyStateChange, onApiAvailable, hidePanelChrome, }: { type: string; maybeId?: string | undefined; getParentApi: () => ParentApi; onApiAvailable?: ((api: Api) => void) | undefined; panelProps?: Pick<", + { + "pluginId": "presentationPanel", + "scope": "public", + "docId": "kibPresentationPanelPluginApi", + "section": "def-public.PresentationPanelProps", + "text": "PresentationPanelProps" + }, + ", \"showShadow\" | \"showBorder\" | \"showBadges\" | \"showNotifications\" | \"hideLoader\" | \"hideHeader\" | \"hideInspector\" | \"getActions\" | \"setDragHandles\"> | undefined; hidePanelChrome?: boolean | undefined; onAnyStateChange?: ((state: ", + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.SerializedPanelState", + "text": "SerializedPanelState" + }, + ") => void) | undefined; }) => React.JSX.Element" ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isReferenceOrValueEmbeddable.$1", - "type": "Unknown", + "id": "def-public.ReactEmbeddableRenderer.$1", + "type": "Object", "tags": [], - "label": "incoming", + "label": "{\n type,\n maybeId,\n getParentApi,\n panelProps,\n onAnyStateChange,\n onApiAvailable,\n hidePanelChrome,\n}", "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isRowClickTriggerContext", - "type": "Function", - "tags": [], - "label": "isRowClickTriggerContext", - "description": [], - "signature": [ - "(context: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - }, - ") => context is ", - { - "pluginId": "@kbn/ui-actions-browser", - "scope": "common", - "docId": "kibKbnUiActionsBrowserPluginApi", - "section": "def-common.RowClickContext", - "text": "RowClickContext" - } - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isRowClickTriggerContext.$1", - "type": "CompoundType", - "tags": [], - "label": "context", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - } - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isSavedObjectEmbeddableInput", - "type": "Function", - "tags": [], - "label": "isSavedObjectEmbeddableInput", - "description": [], - "signature": [ - "(input: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - " | ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.SavedObjectEmbeddableInput", - "text": "SavedObjectEmbeddableInput" - }, - ") => boolean" - ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isSavedObjectEmbeddableInput.$1", - "type": "CompoundType", - "tags": [], - "label": "input", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - " | ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.SavedObjectEmbeddableInput", - "text": "SavedObjectEmbeddableInput" - } - ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isValueClickTriggerContext", - "type": "Function", - "tags": [], - "label": "isValueClickTriggerContext", - "description": [], - "signature": [ - "(context: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - }, - ") => context is ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ValueClickContext", - "text": "ValueClickContext" - } - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isValueClickTriggerContext.$1", - "type": "CompoundType", - "tags": [], - "label": "context", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - } - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.omitGenericEmbeddableInput", - "type": "Function", - "tags": [], - "label": "omitGenericEmbeddableInput", - "description": [], - "signature": [ - " = Partial<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">>(input: I) => Omit" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.omitGenericEmbeddableInput.$1", - "type": "Uncategorized", - "tags": [], - "label": "input", - "description": [], - "signature": [ - "I" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.openAddFromLibraryFlyout", - "type": "Function", - "tags": [], - "label": "openAddFromLibraryFlyout", - "description": [], - "signature": [ - "({ container, onClose, }: { container: ", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.CanAddNewPanel", - "text": "CanAddNewPanel" - }, - "; onClose?: (() => void) | undefined; }) => ", - { - "pluginId": "@kbn/core-mount-utils-browser", - "scope": "public", - "docId": "kibKbnCoreMountUtilsBrowserPluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } - ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.openAddFromLibraryFlyout.$1", - "type": "Object", - "tags": [], - "label": "{\n container,\n onClose,\n}", - "description": [], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.openAddFromLibraryFlyout.$1.container", - "type": "Object", - "tags": [], - "label": "container", - "description": [], - "signature": [ - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.CanAddNewPanel", - "text": "CanAddNewPanel" - } - ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.openAddFromLibraryFlyout.$1.onClose", - "type": "Function", - "tags": [], - "label": "onClose", - "description": [], - "signature": [ - "(() => void) | undefined" - ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ] - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer", - "type": "Function", - "tags": [], - "label": "ReactEmbeddableRenderer", - "description": [ - "\nRenders a component from the React Embeddable registry into a Presentation Panel.\n\nTODO: Rename this to simply `Embeddable` when the legacy Embeddable system is removed." - ], - "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.DefaultEmbeddableApi", - "text": "DefaultEmbeddableApi" - }, - ", ParentApi extends ", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.HasSerializedChildState", - "text": "HasSerializedChildState" - }, - " = ", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.HasSerializedChildState", - "text": "HasSerializedChildState" - }, - ">({ type, maybeId, getParentApi, panelProps, onAnyStateChange, onApiAvailable, hidePanelChrome, }: { type: string; maybeId?: string | undefined; getParentApi: () => ParentApi; onApiAvailable?: ((api: Api) => void) | undefined; panelProps?: Pick<", - { - "pluginId": "presentationPanel", - "scope": "public", - "docId": "kibPresentationPanelPluginApi", - "section": "def-public.PresentationPanelProps", - "text": "PresentationPanelProps" - }, - ", \"showShadow\" | \"showBorder\" | \"showBadges\" | \"showNotifications\" | \"hideLoader\" | \"hideHeader\" | \"hideInspector\" | \"getActions\" | \"setDragHandles\"> | undefined; hidePanelChrome?: boolean | undefined; onAnyStateChange?: ((state: ", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.SerializedPanelState", - "text": "SerializedPanelState" - }, - ") => void) | undefined; }) => React.JSX.Element" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1", - "type": "Object", - "tags": [], - "label": "{\n type,\n maybeId,\n getParentApi,\n panelProps,\n onAnyStateChange,\n onApiAvailable,\n hidePanelChrome,\n}", - "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.maybeId", - "type": "string", - "tags": [], - "label": "maybeId", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.getParentApi", - "type": "Function", - "tags": [], - "label": "getParentApi", - "description": [], - "signature": [ - "() => ParentApi" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.onApiAvailable", - "type": "Function", - "tags": [], - "label": "onApiAvailable", - "description": [], - "signature": [ - "((api: Api) => void) | undefined" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.onApiAvailable.$1", - "type": "Uncategorized", - "tags": [], - "label": "api", - "description": [], - "signature": [ - "Api" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.panelProps", - "type": "Object", - "tags": [], - "label": "panelProps", - "description": [], - "signature": [ - "Pick<", - { - "pluginId": "presentationPanel", - "scope": "public", - "docId": "kibPresentationPanelPluginApi", - "section": "def-public.PresentationPanelProps", - "text": "PresentationPanelProps" - }, - ", \"showShadow\" | \"showBorder\" | \"showBadges\" | \"showNotifications\" | \"hideLoader\" | \"hideHeader\" | \"hideInspector\" | \"getActions\" | \"setDragHandles\"> | undefined" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.hidePanelChrome", - "type": "CompoundType", - "tags": [], - "label": "hidePanelChrome", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.onAnyStateChange", - "type": "Function", - "tags": [], - "label": "onAnyStateChange", - "description": [ - "\nThis `onAnyStateChange` callback allows the parent to keep track of the state of the embeddable\nas it changes. This is **not** expected to change over the lifetime of the component." - ], - "signature": [ - "((state: ", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.SerializedPanelState", - "text": "SerializedPanelState" - }, - ") => void) | undefined" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ReactEmbeddableRenderer.$1.onAnyStateChange.$1", - "type": "Object", - "tags": [], - "label": "state", - "description": [], - "signature": [ - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.SerializedPanelState", - "text": "SerializedPanelState" - }, - "" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - } - ] - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.runEmbeddableFactoryMigrations", - "type": "Function", - "tags": [], - "label": "runEmbeddableFactoryMigrations", - "description": [ - "\nA helper function that migrates an Embeddable Input to its latest version. Note that this function\nonly runs the embeddable factory's migrations." - ], - "signature": [ - "(initialInput: { version?: string | undefined; }, factory: { migrations?: ", - { - "pluginId": "kibanaUtils", - "scope": "common", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-common.MigrateFunctionsObject", - "text": "MigrateFunctionsObject" - }, - " | ", - { - "pluginId": "kibanaUtils", - "scope": "common", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-common.GetMigrationFunctionObjectFn", - "text": "GetMigrationFunctionObjectFn" - }, - " | undefined; latestVersion?: string | undefined; }) => { input: ToType; migrationRun: boolean; }" - ], - "path": "src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.runEmbeddableFactoryMigrations.$1", - "type": "Object", - "tags": [], - "label": "initialInput", - "description": [], - "path": "src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.runEmbeddableFactoryMigrations.$1.version", - "type": "string", - "tags": [], - "label": "version", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts", - "deprecated": false, - "trackAdoption": false - } - ] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.runEmbeddableFactoryMigrations.$2", - "type": "Object", - "tags": [], - "label": "factory", - "description": [], - "path": "src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.runEmbeddableFactoryMigrations.$2.migrations", - "type": "CompoundType", - "tags": [], - "label": "migrations", - "description": [], - "signature": [ - { - "pluginId": "kibanaUtils", - "scope": "common", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-common.MigrateFunctionsObject", - "text": "MigrateFunctionsObject" - }, - " | ", - { - "pluginId": "kibanaUtils", - "scope": "common", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-common.GetMigrationFunctionObjectFn", - "text": "GetMigrationFunctionObjectFn" - }, - " | undefined" - ], - "path": "src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.runEmbeddableFactoryMigrations.$2.latestVersion", - "type": "string", - "tags": [], - "label": "latestVersion", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts", - "deprecated": false, - "trackAdoption": false - } - ] - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.shouldFetch$", - "type": "Function", - "tags": [], - "label": "shouldFetch$", - "description": [], - "signature": [ - "(updated$: ", - "Observable", - ", getInput: () => TFilterableEmbeddableInput) => ", - "Observable", - "" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.shouldFetch$.$1", - "type": "Object", - "tags": [], - "label": "updated$", - "description": [], - "signature": [ - "Observable", - "" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.shouldFetch$.$2", - "type": "Function", - "tags": [], - "label": "getInput", - "description": [], - "signature": [ - "() => TFilterableEmbeddableInput" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.useAddFromLibraryTypes", - "type": "Function", - "tags": [], - "label": "useAddFromLibraryTypes", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "savedObjectsFinder", - "scope": "public", - "docId": "kibSavedObjectsFinderPluginApi", - "section": "def-public.SavedObjectMetaData", - "text": "SavedObjectMetaData" - }, - "<", - { - "pluginId": "savedObjectsFinder", - "scope": "common", - "docId": "kibSavedObjectsFinderPluginApi", - "section": "def-common.FinderAttributes", - "text": "FinderAttributes" - }, - ">[]" - ], - "path": "src/plugins/embeddable/public/add_from_library/registry.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.withEmbeddableSubscription", - "type": "Function", - "tags": [], - "label": "withEmbeddableSubscription", - "description": [], - "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ", ExtraProps = {}>(WrappedComponent: React.ComponentType<{ input: I; output: O; embeddable: E; } & ExtraProps>) => React.ComponentType<{ embeddable: E; } & ExtraProps>" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.withEmbeddableSubscription.$1", - "type": "CompoundType", - "tags": [], - "label": "WrappedComponent", - "description": [], - "signature": [ - "React.ComponentType<{ input: I; output: O; embeddable: E; } & ExtraProps>" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "embeddable", - "id": "def-public.DefaultEmbeddableApi", - "type": "Interface", - "tags": [], - "label": "DefaultEmbeddableApi", - "description": [ - "\nThe default embeddable API that all Embeddables must implement.\n\nBefore adding anything to this interface, please be certain that it belongs in *every* embeddable." - ], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.DefaultEmbeddableApi", - "text": "DefaultEmbeddableApi" - }, - " extends ", - "DefaultPresentationPanelApi", - ",", - { - "pluginId": "@kbn/presentation-publishing", - "scope": "public", - "docId": "kibKbnPresentationPublishingPluginApi", - "section": "def-public.HasType", - "text": "HasType" - }, - ",", - { - "pluginId": "@kbn/presentation-publishing", - "scope": "public", - "docId": "kibKbnPresentationPublishingPluginApi", - "section": "def-public.PublishesPhaseEvents", - "text": "PublishesPhaseEvents" - }, - ",Partial<", - { - "pluginId": "@kbn/presentation-publishing", - "scope": "public", - "docId": "kibKbnPresentationPublishingPluginApi", - "section": "def-public.PublishesUnsavedChanges", - "text": "PublishesUnsavedChanges" - }, - ">,", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.HasSerializableState", - "text": "HasSerializableState" - }, - ",", - { - "pluginId": "@kbn/presentation-containers", - "scope": "public", - "docId": "kibKbnPresentationContainersPluginApi", - "section": "def-public.HasSnapshottableState", - "text": "HasSnapshottableState" - }, - "" - ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableContext", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "EmbeddableContext", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableContext", - "text": "EmbeddableContext" - }, - "" - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": true, - "trackAdoption": false, - "references": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableContext.embeddable", - "type": "Uncategorized", - "tags": [], - "label": "embeddable", - "description": [], - "signature": [ - "T" - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableEditorState", - "type": "Interface", - "tags": [], - "label": "EmbeddableEditorState", - "description": [ - "\nA state package that contains information an editor will need to create or edit an embeddable then redirect back." - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableEditorState.originatingApp", - "type": "string", - "tags": [], - "label": "originatingApp", - "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableEditorState.originatingPath", - "type": "string", - "tags": [], - "label": "originatingPath", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableEditorState.embeddableId", - "type": "string", - "tags": [], - "label": "embeddableId", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableEditorState.valueInput", - "type": "Uncategorized", - "tags": [], - "label": "valueInput", - "description": [], - "signature": [ - "object | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableEditorState.searchSessionId", - "type": "string", - "tags": [], - "label": "searchSessionId", - "description": [ - "\nPass current search session id when navigating to an editor,\nEditors could use it continue previous search session" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory", - "type": "Interface", - "tags": [], - "label": "EmbeddableFactory", - "description": [ - "\nEmbeddableFactories create and initialize an embeddable instance" - ], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - " extends ", - { - "pluginId": "kibanaUtils", - "scope": "common", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-common.PersistableState", - "text": "PersistableState" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ">" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.latestVersion", - "type": "string", - "tags": [], - "label": "latestVersion", - "description": [ - "\nThe version of this Embeddable factory. This will be used in the client side migration system\nto ensure that input from any source is compatible with the latest version of this embeddable.\nIf the latest version is not defined, all clientside migrations will be skipped. If migrations\nare added to this factory but a latestVersion is not set, an error will be thrown on server start" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.isEditable", - "type": "Function", - "tags": [], - "label": "isEditable", - "description": [ - "\nReturns whether the current user should be allowed to edit this type of\nembeddable. Most of the time this should be based off the capabilities service, hence it's async." - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.savedObjectMetaData", - "type": "Object", - "tags": [], - "label": "savedObjectMetaData", - "description": [], - "signature": [ - { - "pluginId": "savedObjectsFinder", - "scope": "public", - "docId": "kibSavedObjectsFinderPluginApi", - "section": "def-public.SavedObjectMetaData", - "text": "SavedObjectMetaData" - }, - " | undefined" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.grouping", - "type": "Array", - "tags": [], - "label": "grouping", - "description": [ - "\nIndicates the grouping this factory should appear in a sub-menu. Example, this is used for grouping\noptions in the editors menu in Dashboard for creating new embeddables" - ], - "signature": [ - { - "pluginId": "@kbn/ui-actions-browser", - "scope": "common", - "docId": "kibKbnUiActionsBrowserPluginApi", - "section": "def-common.PresentableGrouping", - "text": "PresentableGrouping" - }, - " | undefined" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.isContainerType", - "type": "boolean", - "tags": [], - "label": "isContainerType", - "description": [ - "\nTrue if is this factory create embeddables that are Containers. Used in the add panel to\nconditionally show whether these can be added to another container. It's just not\nsupported right now, but once nested containers are officially supported we can probably get\nrid of this interface." - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getDisplayName", - "type": "Function", - "tags": [], - "label": "getDisplayName", - "description": [ - "\nReturns a display name for this type of embeddable. Used in \"Create new... \" options\nin the add panel for containers." - ], - "signature": [ - "() => string" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getIconType", - "type": "Function", - "tags": [], - "label": "getIconType", - "description": [ - "\nReturns an EUI Icon type to be displayed in a menu." - ], - "signature": [ - "() => string" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getDescription", - "type": "Function", - "tags": [], - "label": "getDescription", - "description": [ - "\nReturns a description about the embeddable." - ], - "signature": [ - "() => string" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.canCreateNew", - "type": "Function", - "tags": [], - "label": "canCreateNew", - "description": [ - "\nIf false, this type of embeddable can't be created with the \"createNew\" functionality. Instead,\nuse createFromSavedObject, where an existing saved object must first exist." - ], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getDefaultInput", - "type": "Function", - "tags": [], - "label": "getDefaultInput", - "description": [ - "\nCan be used to get the default input, to be passed in to during the creation process. Default\ninput will not be stored in a parent container, so all inherited input from a container will trump\ndefault input parameters." - ], - "signature": [ - "(partial: Partial) => Partial" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getDefaultInput.$1", - "type": "Object", - "tags": [], - "label": "partial", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getExplicitInput", - "type": "Function", - "tags": [], - "label": "getExplicitInput", - "description": [ - "\nCan be used to request explicit input from the user, to be passed in to `EmbeddableFactory:create`.\nExplicit input is stored on the parent container for this embeddable. It overrides all inherited\ninput passed down from the parent container.\n\nCan be used to edit an embeddable by re-requesting explicit input. Initial input can be provided to allow the editor to show the current state.\n\nIf saved object information is needed for creation use-cases, getExplicitInput can also return an unknown typed attributes object which will be passed\ninto the container's addNewEmbeddable function." - ], - "signature": [ - "(initialInput?: Partial | undefined, parent?: unknown) => Promise<", - "ExplicitInputWithAttributes", - " | Partial>" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getExplicitInput.$1", - "type": "Object", + "id": "def-public.ReactEmbeddableRenderer.$1.type", + "type": "string", "tags": [], - "label": "initialInput", + "label": "type", "description": [], - "signature": [ - "Partial | undefined" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, - "trackAdoption": false, - "isRequired": false + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.getExplicitInput.$2", - "type": "Unknown", + "id": "def-public.ReactEmbeddableRenderer.$1.maybeId", + "type": "string", "tags": [], - "label": "parent", + "label": "maybeId", "description": [], "signature": [ - "unknown" + "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.createFromSavedObject", - "type": "Function", - "tags": [], - "label": "createFromSavedObject", - "description": [ - "\nCreates a new embeddable instance based off the saved object id." - ], - "signature": [ - "(savedObjectId: string, input: Partial, parent?: unknown) => Promise<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" + "trackAdoption": false }, - " | TEmbeddable>" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.createFromSavedObject.$1", - "type": "string", + "id": "def-public.ReactEmbeddableRenderer.$1.getParentApi", + "type": "Function", "tags": [], - "label": "savedObjectId", + "label": "getParentApi", "description": [], "signature": [ - "string" + "() => ParentApi" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.createFromSavedObject.$2", - "type": "Object", + "id": "def-public.ReactEmbeddableRenderer.$1.onApiAvailable", + "type": "Function", "tags": [], - "label": "input", - "description": [ - "- some input may come from a parent, or user, if it's not stored with the saved object. For example, the time\nrange of the parent container." - ], + "label": "onApiAvailable", + "description": [], "signature": [ - "Partial" + "((api: Api) => void) | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.ReactEmbeddableRenderer.$1.onApiAvailable.$1", + "type": "Uncategorized", + "tags": [], + "label": "api", + "description": [], + "signature": [ + "Api" + ], + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.createFromSavedObject.$3", - "type": "Unknown", + "id": "def-public.ReactEmbeddableRenderer.$1.panelProps", + "type": "Object", "tags": [], - "label": "parent", + "label": "panelProps", "description": [], "signature": [ - "unknown" + "Pick<", + { + "pluginId": "presentationPanel", + "scope": "public", + "docId": "kibPresentationPanelPluginApi", + "section": "def-public.PresentationPanelProps", + "text": "PresentationPanelProps" + }, + ", \"showShadow\" | \"showBorder\" | \"showBadges\" | \"showNotifications\" | \"hideLoader\" | \"hideHeader\" | \"hideInspector\" | \"getActions\" | \"setDragHandles\"> | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreates an Embeddable instance, running the inital input through all registered migrations. Resolves to undefined if a new Embeddable\ncannot be directly created and the user will instead be redirected elsewhere." - ], - "signature": [ - "(initialInput: TEmbeddableInput, parent?: unknown) => Promise<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" + "trackAdoption": false }, - " | TEmbeddable | undefined>" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.create.$1", - "type": "Uncategorized", + "id": "def-public.ReactEmbeddableRenderer.$1.hidePanelChrome", + "type": "CompoundType", "tags": [], - "label": "initialInput", + "label": "hidePanelChrome", "description": [], "signature": [ - "TEmbeddableInput" + "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, - "trackAdoption": false, - "isRequired": true + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.create.$2", - "type": "Unknown", + "id": "def-public.ReactEmbeddableRenderer.$1.onAnyStateChange", + "type": "Function", "tags": [], - "label": "parent", - "description": [], + "label": "onAnyStateChange", + "description": [ + "\nThis `onAnyStateChange` callback allows the parent to keep track of the state of the embeddable\nas it changes. This is **not** expected to change over the lifetime of the component." + ], "signature": [ - "unknown" + "((state: ", + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.SerializedPanelState", + "text": "SerializedPanelState" + }, + ") => void) | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.ReactEmbeddableRenderer.$1.onAnyStateChange.$1", + "type": "Object", + "tags": [], + "label": "state", + "description": [], + "signature": [ + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.SerializedPanelState", + "text": "SerializedPanelState" + }, + "" + ], + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] } - ], - "returnComment": [] + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.useAddFromLibraryTypes", + "type": "Function", + "tags": [], + "label": "useAddFromLibraryTypes", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "savedObjectsFinder", + "scope": "public", + "docId": "kibSavedObjectsFinderPluginApi", + "section": "def-public.SavedObjectMetaData", + "text": "SavedObjectMetaData" + }, + "<", + { + "pluginId": "savedObjectsFinder", + "scope": "common", + "docId": "kibSavedObjectsFinderPluginApi", + "section": "def-common.FinderAttributes", + "text": "FinderAttributes" + }, + ">[]" + ], + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "embeddable", + "id": "def-public.DefaultEmbeddableApi", + "type": "Interface", + "tags": [], + "label": "DefaultEmbeddableApi", + "description": [ + "\nThe default embeddable API that all Embeddables must implement.\n\nBefore adding anything to this interface, please be certain that it belongs in *every* embeddable." + ], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.DefaultEmbeddableApi", + "text": "DefaultEmbeddableApi" + }, + " extends ", + "DefaultPresentationPanelApi", + ",", + { + "pluginId": "@kbn/presentation-publishing", + "scope": "public", + "docId": "kibKbnPresentationPublishingPluginApi", + "section": "def-public.HasType", + "text": "HasType" + }, + ",", + { + "pluginId": "@kbn/presentation-publishing", + "scope": "public", + "docId": "kibKbnPresentationPublishingPluginApi", + "section": "def-public.PublishesPhaseEvents", + "text": "PublishesPhaseEvents" + }, + ",Partial<", + { + "pluginId": "@kbn/presentation-publishing", + "scope": "public", + "docId": "kibKbnPresentationPublishingPluginApi", + "section": "def-public.PublishesUnsavedChanges", + "text": "PublishesUnsavedChanges" + }, + ">,", + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.HasSerializableState", + "text": "HasSerializableState" + }, + ",", + { + "pluginId": "@kbn/presentation-containers", + "scope": "public", + "docId": "kibKbnPresentationContainersPluginApi", + "section": "def-public.HasSnapshottableState", + "text": "HasSnapshottableState" + }, + "" + ], + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableContext", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "EmbeddableContext", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableContext", + "text": "EmbeddableContext" }, + "" + ], + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", + "deprecated": true, + "trackAdoption": false, + "references": [], + "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactory.order", - "type": "number", + "id": "def-public.EmbeddableContext.embeddable", + "type": "Uncategorized", "tags": [], - "label": "order", + "label": "embeddable", "description": [], "signature": [ - "number | undefined" + "T" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -3606,37 +2201,83 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableInstanceConfiguration", + "id": "def-public.EmbeddableEditorState", "type": "Interface", "tags": [], - "label": "EmbeddableInstanceConfiguration", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "label": "EmbeddableEditorState", + "description": [ + "\nA state package that contains information an editor will need to create or edit an embeddable then redirect back." + ], + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableInstanceConfiguration.id", + "id": "def-public.EmbeddableEditorState.originatingApp", "type": "string", "tags": [], - "label": "id", + "label": "originatingApp", + "description": [], + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableEditorState.originatingPath", + "type": "string", + "tags": [], + "label": "originatingPath", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "signature": [ + "string | undefined" + ], + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableInstanceConfiguration.savedObjectId", + "id": "def-public.EmbeddableEditorState.embeddableId", "type": "string", "tags": [], - "label": "savedObjectId", + "label": "embeddableId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableEditorState.valueInput", + "type": "Uncategorized", + "tags": [], + "label": "valueInput", "description": [], + "signature": [ + "object | undefined" + ], + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableEditorState.searchSessionId", + "type": "string", + "tags": [], + "label": "searchSessionId", + "description": [ + "\nPass current search session id when navigating to an editor,\nEditors could use it continue previous search session" + ], "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false } @@ -3650,7 +2291,7 @@ "tags": [], "label": "EmbeddableOutput", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3664,7 +2305,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3678,7 +2319,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3699,7 +2340,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3713,7 +2354,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3727,7 +2368,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3741,7 +2382,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3755,7 +2396,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3769,7 +2410,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3783,7 +2424,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3797,7 +2438,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3811,7 +2452,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3825,7 +2466,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3839,7 +2480,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -3853,7 +2494,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false } @@ -3869,7 +2510,7 @@ "description": [ "\nA state package that contains all fields necessary to create or update an embeddable by reference or by value in a container." ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3880,7 +2521,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3896,7 +2537,7 @@ "signature": [ "object" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3910,7 +2551,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3919,291 +2560,28 @@ "id": "def-public.EmbeddablePackageState.size", "type": "Object", "tags": [], - "label": "size", - "description": [], - "signature": [ - "{ width?: number | undefined; height?: number | undefined; } | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePackageState.searchSessionId", - "type": "string", - "tags": [], - "label": "searchSessionId", - "description": [ - "\nPass current search session id when navigating to an editor,\nEditors could use it continue previous search session" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableSetupDependencies", - "type": "Interface", - "tags": [], - "label": "EmbeddableSetupDependencies", - "description": [], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableSetupDependencies.uiActions", - "type": "Object", - "tags": [], - "label": "uiActions", - "description": [], - "signature": [ - "{ readonly registerTrigger: (trigger: ", - { - "pluginId": "@kbn/ui-actions-browser", - "scope": "common", - "docId": "kibKbnUiActionsBrowserPluginApi", - "section": "def-common.Trigger", - "text": "Trigger" - }, - ") => void; readonly registerAction: (definition: ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionDefinition", - "text": "ActionDefinition" - }, - ") => ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.Action", - "text": "Action" - }, - "; readonly unregisterAction: (actionId: string) => void; readonly attachAction: (triggerId: string, actionId: string) => void; readonly detachAction: (triggerId: string, actionId: string) => void; readonly addTriggerAction: (triggerId: string, action: ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionDefinition", - "text": "ActionDefinition" - }, - ") => void; }" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies", - "type": "Interface", - "tags": [], - "label": "EmbeddableStartDependencies", - "description": [], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies.uiActions", - "type": "Object", - "tags": [], - "label": "uiActions", - "description": [], - "signature": [ - "{ readonly registerTrigger: (trigger: ", - { - "pluginId": "@kbn/ui-actions-browser", - "scope": "common", - "docId": "kibKbnUiActionsBrowserPluginApi", - "section": "def-common.Trigger", - "text": "Trigger" - }, - ") => void; readonly hasTrigger: (triggerId: string) => boolean; readonly getTrigger: (triggerId: string) => ", - "TriggerContract", - "; readonly registerAction: (definition: ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionDefinition", - "text": "ActionDefinition" - }, - ") => ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.Action", - "text": "Action" - }, - "; readonly unregisterAction: (actionId: string) => void; readonly hasAction: (actionId: string) => boolean; readonly attachAction: (triggerId: string, actionId: string) => void; readonly detachAction: (triggerId: string, actionId: string) => void; readonly addTriggerAction: (triggerId: string, action: ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionDefinition", - "text": "ActionDefinition" - }, - ") => void; readonly getAction: (id: string) => ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.Action", - "text": "Action" - }, - "; readonly getTriggerActions: (triggerId: string) => ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.Action", - "text": "Action" - }, - "[]; readonly getTriggerCompatibleActions: (triggerId: string, context: object) => Promise<", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.Action", - "text": "Action" - }, - "[]>; readonly getFrequentlyChangingActionsForTrigger: (triggerId: string, context: object) => ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.FrequentCompatibilityChangeAction", - "text": "FrequentCompatibilityChangeAction" - }, - "[]; readonly executeTriggerActions: (triggerId: string, context: object) => Promise; readonly clear: () => void; readonly fork: () => ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.UiActionsService", - "text": "UiActionsService" - }, - "; }" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies.inspector", - "type": "Object", - "tags": [], - "label": "inspector", - "description": [], - "signature": [ - { - "pluginId": "inspector", - "scope": "public", - "docId": "kibInspectorPluginApi", - "section": "def-public.Start", - "text": "Start" - } - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies.usageCollection", - "type": "Object", - "tags": [], - "label": "usageCollection", - "description": [], - "signature": [ - { - "pluginId": "usageCollection", - "scope": "public", - "docId": "kibUsageCollectionPluginApi", - "section": "def-public.UsageCollectionStart", - "text": "UsageCollectionStart" - } - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies.contentManagement", - "type": "Object", - "tags": [], - "label": "contentManagement", - "description": [], - "signature": [ - { - "pluginId": "contentManagement", - "scope": "public", - "docId": "kibContentManagementPluginApi", - "section": "def-public.ContentManagementPublicStart", - "text": "ContentManagementPublicStart" - } - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies.savedObjectsManagement", - "type": "Object", - "tags": [], - "label": "savedObjectsManagement", + "label": "size", "description": [], "signature": [ - { - "pluginId": "savedObjectsManagement", - "scope": "public", - "docId": "kibSavedObjectsManagementPluginApi", - "section": "def-public.SavedObjectsManagementPluginStart", - "text": "SavedObjectsManagementPluginStart" - } + "{ width?: number | undefined; height?: number | undefined; } | undefined" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStartDependencies.savedObjectsTaggingOss", - "type": "Object", + "id": "def-public.EmbeddablePackageState.searchSessionId", + "type": "string", "tags": [], - "label": "savedObjectsTaggingOss", - "description": [], + "label": "searchSessionId", + "description": [ + "\nPass current search session id when navigating to an editor,\nEditors could use it continue previous search session" + ], "signature": [ - { - "pluginId": "savedObjectsTaggingOss", - "scope": "public", - "docId": "kibSavedObjectsTaggingOssPluginApi", - "section": "def-public.SavedObjectTaggingOssPluginStart", - "text": "SavedObjectTaggingOssPluginStart" - }, - " | undefined" + "string | undefined" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false } @@ -4235,7 +2613,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/enhancements/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4246,89 +2624,13 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/enhancements/types.ts", "deprecated": false, "trackAdoption": false } ], "initialIsOpen": false }, - { - "parentPluginId": "embeddable", - "id": "def-public.FilterableEmbeddable", - "type": "Interface", - "tags": [], - "label": "FilterableEmbeddable", - "description": [ - "\nAll embeddables that implement this interface should support being filtered\nand/or queried via the top navigation bar." - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.FilterableEmbeddable.getFilters", - "type": "Function", - "tags": [], - "label": "getFilters", - "description": [ - "\nGets the embeddable's local filters" - ], - "signature": [ - "() => ", - { - "pluginId": "@kbn/es-query", - "scope": "common", - "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.Filter", - "text": "Filter" - }, - "[]" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.FilterableEmbeddable.getQuery", - "type": "Function", - "tags": [], - "label": "getQuery", - "description": [ - "\nGets the embeddable's local query" - ], - "signature": [ - "() => ", - { - "pluginId": "@kbn/es-query", - "scope": "common", - "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.Query", - "text": "Query" - }, - " | ", - { - "pluginId": "@kbn/es-query", - "scope": "common", - "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.AggregateQuery", - "text": "AggregateQuery" - }, - " | undefined" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "embeddable", "id": "def-public.IEmbeddable", @@ -4346,7 +2648,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4359,7 +2661,7 @@ "description": [ "\nThe type of embeddable, this is what will be used to take a serialized\nembeddable and find the correct factory for which to create an instance of it." ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -4372,7 +2674,7 @@ "description": [ "\nA unique identifier for this embeddable. Mainly only used by containers to map their\nPanel States to a child embeddable instance." ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -4385,7 +2687,7 @@ "description": [ "\nIf set to true, defer embeddable load tells the container that this embeddable\ntype isn't completely loaded when the constructor returns. This embeddable\nwill have to manually call setChildLoaded on its parent when all of its initial\noutput is finalized. For instance, after loading a saved object." ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -4401,7 +2703,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -4417,7 +2719,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -4433,7 +2735,7 @@ "signature": [ "Error | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -4449,7 +2751,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4467,7 +2769,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4485,7 +2787,7 @@ "signature": [ "() => Readonly>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4503,7 +2805,7 @@ "signature": [ "() => Readonly>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4521,7 +2823,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4539,7 +2841,7 @@ "signature": [ "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4553,7 +2855,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4573,7 +2875,7 @@ "signature": [ "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4587,7 +2889,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4609,7 +2911,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4629,7 +2931,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4647,7 +2949,7 @@ "signature": [ "() => string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4665,7 +2967,7 @@ "signature": [ "() => string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4683,7 +2985,7 @@ "signature": [ "(domNode: HTMLElement | Element) => void | N" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4697,7 +2999,7 @@ "signature": [ "HTMLElement | Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4727,7 +3029,7 @@ }, ", domNode: HTMLElement | Element) => N | (() => void)) | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4747,7 +3049,7 @@ "text": "ErrorLike" } ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4762,7 +3064,7 @@ "signature": [ "HTMLElement | Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4784,7 +3086,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4812,7 +3114,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4832,7 +3134,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4850,7 +3152,7 @@ "signature": [ "() => string[]" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4868,7 +3170,7 @@ "signature": [ "(lastInput: Partial) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4882,7 +3184,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4900,7 +3202,7 @@ "signature": [ "() => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4909,41 +3211,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "embeddable", - "id": "def-public.OutputSpec", - "type": "Interface", - "tags": [], - "label": "OutputSpec", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.OutputSpec.Unnamed", - "type": "IndexSignature", - "tags": [], - "label": "[key: string]: PropertySpec", - "description": [], - "signature": [ - "[key: string]: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.PropertySpec", - "text": "PropertySpec" - } - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "embeddable", "id": "def-public.PropertySpec", @@ -4951,7 +3218,7 @@ "tags": [], "label": "PropertySpec", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4962,7 +3229,7 @@ "tags": [], "label": "displayName", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4973,7 +3240,7 @@ "tags": [], "label": "accessPath", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4984,7 +3251,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4995,7 +3262,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5009,7 +3276,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -5035,7 +3302,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5048,7 +3315,7 @@ "description": [ "\nA unique key for the type of this embeddable. The React Embeddable Renderer will use this type\nto find this factory." ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5080,7 +3347,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5101,7 +3368,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5141,7 +3408,7 @@ "SetReactEmbeddableApiRegistration", ") => Api, lastSavedRuntimeState: RuntimeState) => Promise<{ Component: React.FC<{}>; api: Api; }>" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5155,7 +3422,7 @@ "signature": [ "RuntimeState" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5188,7 +3455,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5203,7 +3470,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5218,7 +3485,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5235,7 +3502,7 @@ "SetReactEmbeddableApiRegistration", ") => Api" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5250,186 +3517,13 @@ "signature": [ "RuntimeState" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReferenceOrValueEmbeddable", - "type": "Interface", - "tags": [], - "label": "ReferenceOrValueEmbeddable", - "description": [ - "\nAll embeddables that implement this interface will be able to use input that is\neither by reference (backed by a saved object) OR by value, (provided\nby the container)." - ], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ReferenceOrValueEmbeddable", - "text": "ReferenceOrValueEmbeddable" - }, - "" - ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ReferenceOrValueEmbeddable.inputIsRefType", - "type": "Function", - "tags": [], - "label": "inputIsRefType", - "description": [ - "\ndetermines whether the input is by value or by reference." - ], - "signature": [ - "(input: ValTypeInput | RefTypeInput) => input is RefTypeInput" - ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ReferenceOrValueEmbeddable.inputIsRefType.$1", - "type": "CompoundType", - "tags": [], - "label": "input", - "description": [], - "signature": [ - "ValTypeInput | RefTypeInput" - ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReferenceOrValueEmbeddable.getInputAsValueType", - "type": "Function", - "tags": [], - "label": "getInputAsValueType", - "description": [ - "\nGets the embeddable's current input as its Value type" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ReferenceOrValueEmbeddable.getInputAsRefType", - "type": "Function", - "tags": [], - "label": "getInputAsRefType", - "description": [ - "\nGets the embeddable's current input as its Reference type" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.SavedObjectEmbeddableInput", - "type": "Interface", - "tags": [], - "label": "SavedObjectEmbeddableInput", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.SavedObjectEmbeddableInput", - "text": "SavedObjectEmbeddableInput" - }, - " extends ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - } - ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.SavedObjectEmbeddableInput.savedObjectId", - "type": "string", - "tags": [], - "label": "savedObjectId", - "description": [], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.SelfStyledEmbeddable", - "type": "Interface", - "tags": [], - "label": "SelfStyledEmbeddable", - "description": [ - "\nAll embeddables that implement this interface will be able to configure\nthe style of their containing panels" - ], - "path": "src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.SelfStyledEmbeddable.getSelfStyledOptions", - "type": "Function", - "tags": [], - "label": "getSelfStyledOptions", - "description": [ - "\nGets the embeddable's style configuration" - ], - "signature": [ - "() => ", - "SelfStyledOptions" - ], - "path": "src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] } ], "initialIsOpen": false @@ -5443,7 +3537,7 @@ "tags": [], "label": "ViewMode", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5460,7 +3554,7 @@ "signature": [ "\"CELL_VALUE_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5491,7 +3585,7 @@ }, " | undefined; }[]; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5536,7 +3630,7 @@ "text": "RowClickContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5544,45 +3638,14 @@ { "parentPluginId": "embeddable", "id": "def-public.CONTEXT_MENU_TRIGGER", - "type": "string", - "tags": [], - "label": "CONTEXT_MENU_TRIGGER", - "description": [], - "signature": [ - "\"CONTEXT_MENU_TRIGGER\"" - ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryDefinition", - "type": "Type", - "tags": [], - "label": "EmbeddableFactoryDefinition", - "description": [], - "signature": [ - "Pick<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - ", \"type\" | \"create\" | \"getDisplayName\" | \"latestVersion\" | \"isEditable\"> & Partial, \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"getIconType\" | \"grouping\" | \"createFromSavedObject\" | \"isContainerType\" | \"getExplicitInput\" | \"savedObjectMetaData\" | \"canCreateNew\" | \"getDefaultInput\" | \"getDescription\">>" + "type": "string", + "tags": [], + "label": "CONTEXT_MENU_TRIGGER", + "description": [], + "signature": [ + "\"CONTEXT_MENU_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5621,7 +3684,7 @@ }, " | undefined; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5636,7 +3699,7 @@ "signature": [ "\"MULTI_VALUE_CLICK_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5675,7 +3738,7 @@ }, " | undefined; }[]; timeFieldName?: string | undefined; negate?: boolean | undefined; }; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5690,7 +3753,7 @@ "signature": [ "\"PANEL_BADGE_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5705,7 +3768,7 @@ "signature": [ "\"PANEL_HOVER_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5720,7 +3783,7 @@ "signature": [ "\"PANEL_NOTIFICATION_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5751,7 +3814,7 @@ }, "; column: number; range: number[]; timeFieldName?: string | undefined; }; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5766,7 +3829,7 @@ "signature": [ "\"SELECT_RANGE_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5781,7 +3844,7 @@ "signature": [ "\"VALUE_CLICK_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5812,7 +3875,7 @@ }, ", \"columns\" | \"rows\">; column: number; row: number; value: any; }[]; timeFieldName?: string | undefined; negate?: boolean | undefined; }; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5826,7 +3889,7 @@ "tags": [], "label": "cellValueTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5837,7 +3900,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -5848,7 +3911,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -5859,7 +3922,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -5873,7 +3936,7 @@ "tags": [], "label": "COMMON_EMBEDDABLE_GROUPING", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5884,7 +3947,7 @@ "tags": [], "label": "annotation", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5895,7 +3958,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -5909,7 +3972,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5922,7 +3985,7 @@ "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -5935,7 +3998,7 @@ "tags": [], "label": "other", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5946,7 +4009,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -5960,7 +4023,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5976,7 +4039,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5989,7 +4052,7 @@ "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -6002,7 +4065,7 @@ "tags": [], "label": "legacy", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6013,7 +4076,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -6027,7 +4090,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6040,7 +4103,7 @@ "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -6056,7 +4119,7 @@ "tags": [], "label": "contextMenuTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6067,7 +4130,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6078,7 +4141,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6089,7 +4152,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -6103,7 +4166,7 @@ "tags": [], "label": "panelBadgeTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6114,7 +4177,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6125,7 +4188,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6136,7 +4199,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -6150,7 +4213,7 @@ "tags": [], "label": "panelHoverTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6161,7 +4224,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6172,7 +4235,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6183,7 +4246,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -6197,7 +4260,7 @@ "tags": [], "label": "panelNotificationTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6208,7 +4271,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6219,7 +4282,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -6230,48 +4293,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.shouldRefreshFilterCompareOptions", - "type": "Object", - "tags": [], - "label": "shouldRefreshFilterCompareOptions", - "description": [], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.shouldRefreshFilterCompareOptions.Unnamed", - "type": "Any", - "tags": [], - "label": "Unnamed", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.shouldRefreshFilterCompareOptions.state", - "type": "boolean", - "tags": [], - "label": "state", - "description": [ - "// do not compare $state to avoid refreshing when filter is pinned/unpinned (which does not impact results)" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -6286,7 +4308,7 @@ "tags": [], "label": "EmbeddableSetup", "description": [], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6360,7 +4382,7 @@ }, ") => string) | undefined; }) => void" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6425,7 +4447,7 @@ }, ") => string) | undefined; }" ], - "path": "src/plugins/embeddable/public/add_from_library/registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts", "deprecated": false, "trackAdoption": false } @@ -6467,7 +4489,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6479,7 +4501,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", "deprecated": false, "trackAdoption": false }, @@ -6501,7 +4523,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6509,135 +4531,6 @@ } ] }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableSetup.registerEmbeddableFactory", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "registerEmbeddableFactory", - "description": [], - "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(id: string, factory: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" - }, - ") => () => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - "" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": true, - "trackAdoption": false, - "references": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableSetup.registerEmbeddableFactory.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableSetup.registerEmbeddableFactory.$2", - "type": "CompoundType", - "tags": [], - "label": "factory", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" - }, - "" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddableSetup.registerEnhancement", @@ -6666,7 +4559,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -6701,7 +4594,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6746,189 +4639,10 @@ }, ">" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStart.getEmbeddableFactory", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getEmbeddableFactory", - "description": [], - "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(embeddableFactoryId: string) => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - " | undefined" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": true, - "trackAdoption": false, - "references": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStart.getEmbeddableFactory.$1", - "type": "string", - "tags": [], - "label": "embeddableFactoryId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStart.getEmbeddableFactories", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getEmbeddableFactories", - "description": [], - "signature": [ - "() => IterableIterator<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>, ", - { - "pluginId": "savedObjectsFinder", - "scope": "common", - "docId": "kibSavedObjectsFinderPluginApi", - "section": "def-common.FinderAttributes", - "text": "FinderAttributes" - }, - ">>" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": true, - "trackAdoption": false, - "references": [ - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx" - } - ], - "children": [], - "returnComment": [] - }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddableStart.getStateTransfer", @@ -6954,7 +4668,7 @@ "text": "EmbeddableStateTransfer" } ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6975,7 +4689,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/plugin.tsx", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7017,7 +4731,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7028,7 +4742,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -7060,7 +4774,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/server/types.ts", + "path": "src/platform/plugins/shared/embeddable/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7071,7 +4785,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/server/types.ts", + "path": "src/platform/plugins/shared/embeddable/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -7115,7 +4829,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7145,7 +4859,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7174,7 +4888,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7208,7 +4922,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7237,7 +4951,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7262,7 +4976,7 @@ "text": "MigrateFunctionsObject" } ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7297,7 +5011,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -7333,7 +5047,7 @@ }, ") => boolean" ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7361,7 +5075,7 @@ "text": "SavedObjectEmbeddableInput" } ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7379,7 +5093,7 @@ "tags": [], "label": "CommonEmbeddableStartContract", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7391,7 +5105,7 @@ "label": "getEmbeddableFactory", "description": [], "signature": [ - "(embeddableFactoryId: string) => ", + "((embeddableFactoryId: string) => ", { "pluginId": "kibanaUtils", "scope": "common", @@ -7407,9 +5121,9 @@ "section": "def-common.SerializableRecord", "text": "SerializableRecord" }, - "> & { isContainerType: boolean; }" + "> & { isContainerType: boolean; }) | undefined" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7423,7 +5137,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7457,7 +5171,7 @@ }, ">" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7471,7 +5185,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7507,7 +5221,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7518,7 +5232,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -7542,7 +5256,7 @@ }, "" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7553,7 +5267,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7567,7 +5281,7 @@ "signature": [ "Partial & { id: string; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -7598,7 +5312,7 @@ "text": "EmbeddableInput" } ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7609,7 +5323,7 @@ "tags": [], "label": "savedObjectId", "description": [], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false } @@ -7625,7 +5339,7 @@ "tags": [], "label": "ViewMode", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7666,7 +5380,7 @@ }, " | undefined; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7696,7 +5410,7 @@ }, ">" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7718,7 +5432,7 @@ }, " & { type: string; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index b027d17aa8b08..26dea1d85a308 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kib | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 374 | 1 | 289 | 4 | +| 280 | 0 | 222 | 2 | ## Client diff --git a/api_docs/embeddable_enhanced.devdocs.json b/api_docs/embeddable_enhanced.devdocs.json index c8578b855fb38..6b38cb44c2857 100644 --- a/api_docs/embeddable_enhanced.devdocs.json +++ b/api_docs/embeddable_enhanced.devdocs.json @@ -45,7 +45,7 @@ }, "; } | undefined>; }>>" ], - "path": "x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -59,7 +59,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -77,7 +77,7 @@ "tags": [], "label": "SetupDependencies", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -97,7 +97,7 @@ "text": "EmbeddableSetup" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -117,7 +117,7 @@ "text": "SetupContract" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -131,7 +131,7 @@ "tags": [], "label": "StartDependencies", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -151,7 +151,7 @@ "text": "EmbeddableStart" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -171,7 +171,7 @@ "text": "StartContract" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -223,7 +223,7 @@ }, "; } | undefined> | undefined; }" ], - "path": "x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -237,7 +237,7 @@ "tags": [], "label": "SetupContract", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -251,7 +251,7 @@ "tags": [], "label": "StartContract", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -268,7 +268,7 @@ ") => ", "ReactEmbeddableDynamicActionsApi" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -282,7 +282,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -297,7 +297,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -312,7 +312,7 @@ "signature": [ "DynamicActionsSerializedState" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 9424801e10e4f..d8e5fe95ee3da 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 8a7ccf3d46739..62fbe7f842352 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 94b06cb40b465..5b8819550af40 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/entities_data_access.mdx b/api_docs/entities_data_access.mdx index 51f1bac56a4b8..b24924b41f248 100644 --- a/api_docs/entities_data_access.mdx +++ b/api_docs/entities_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/entitiesDataAccess title: "entitiesDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the entitiesDataAccess plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entitiesDataAccess'] --- import entitiesDataAccessObj from './entities_data_access.devdocs.json'; diff --git a/api_docs/entity_manager.mdx b/api_docs/entity_manager.mdx index 5798730445cd0..e7303f3c38e75 100644 --- a/api_docs/entity_manager.mdx +++ b/api_docs/entity_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/entityManager title: "entityManager" image: https://source.unsplash.com/400x175/?github description: API docs for the entityManager plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entityManager'] --- import entityManagerObj from './entity_manager.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 43b6ecc5b8dad..47cc7ee0c6102 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/esql.devdocs.json b/api_docs/esql.devdocs.json index 4e418dcf36209..99ffc6bfa0791 100644 --- a/api_docs/esql.devdocs.json +++ b/api_docs/esql.devdocs.json @@ -412,6 +412,22 @@ "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "esql", + "id": "def-public.ESQLEditorProps.disableAutoFocus", + "type": "CompoundType", + "tags": [], + "label": "disableAutoFocus", + "description": [ + "The component by default focuses on the editor when it is mounted, this flag disables it" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/esql.mdx b/api_docs/esql.mdx index 6937c03a1bbae..e12b2fb340ab3 100644 --- a/api_docs/esql.mdx +++ b/api_docs/esql.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esql title: "esql" image: https://source.unsplash.com/400x175/?github description: API docs for the esql plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esql'] --- import esqlObj from './esql.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 25 | 0 | 9 | 0 | +| 26 | 0 | 9 | 0 | ## Client diff --git a/api_docs/esql_data_grid.mdx b/api_docs/esql_data_grid.mdx index 670ab9f9f0952..d80c44d8a17b6 100644 --- a/api_docs/esql_data_grid.mdx +++ b/api_docs/esql_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esqlDataGrid title: "esqlDataGrid" image: https://source.unsplash.com/400x175/?github description: API docs for the esqlDataGrid plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esqlDataGrid'] --- import esqlDataGridObj from './esql_data_grid.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 9438942498352..5a8668b7da3ce 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_annotation_listing.mdx b/api_docs/event_annotation_listing.mdx index 01fafb5af96bc..443136815fb67 100644 --- a/api_docs/event_annotation_listing.mdx +++ b/api_docs/event_annotation_listing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotationListing title: "eventAnnotationListing" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotationListing plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotationListing'] --- import eventAnnotationListingObj from './event_annotation_listing.devdocs.json'; diff --git a/api_docs/event_log.devdocs.json b/api_docs/event_log.devdocs.json index 109159af2d1bf..bc89d5f6bb443 100644 --- a/api_docs/event_log.devdocs.json +++ b/api_docs/event_log.devdocs.json @@ -1514,7 +1514,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ id?: string | undefined; type?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; version?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; uuid?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; action?: Readonly<{ id?: string | undefined; name?: string | undefined; type_id?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; usage?: Readonly<{ request_body_bytes?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_delayed_alerts?: string | number | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; backfill?: Readonly<{ id?: string | undefined; start?: string | undefined; interval?: string | undefined; } & {}> | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; flapping?: boolean | undefined; uuid?: string | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ id?: string | undefined; type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; start?: string | undefined; end?: string | undefined; outcome?: string | undefined; duration?: string | number | undefined; code?: string | undefined; severity?: string | number | undefined; category?: string[] | undefined; timezone?: string | undefined; risk_score?: number | undefined; url?: string | undefined; created?: string | undefined; provider?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; kind?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" + "(Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ id?: string | undefined; type?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; version?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; uuid?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; action?: Readonly<{ id?: string | undefined; name?: string | undefined; type_id?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; usage?: Readonly<{ request_body_bytes?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_delayed_alerts?: string | number | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; backfill?: Readonly<{ id?: string | undefined; start?: string | undefined; interval?: string | undefined; } & {}> | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; flapping?: boolean | undefined; uuid?: string | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; user_api_key?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined; event?: Readonly<{ id?: string | undefined; type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; start?: string | undefined; end?: string | undefined; outcome?: string | undefined; duration?: string | number | undefined; code?: string | undefined; severity?: string | number | undefined; category?: string[] | undefined; timezone?: string | undefined; risk_score?: number | undefined; url?: string | undefined; created?: string | undefined; provider?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; kind?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, @@ -1534,7 +1534,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial | undefined; error?: Readonly<{ id?: string | undefined; type?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; version?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; uuid?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; action?: Readonly<{ id?: string | undefined; name?: string | undefined; type_id?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; usage?: Readonly<{ request_body_bytes?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_delayed_alerts?: string | number | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; backfill?: Readonly<{ id?: string | undefined; start?: string | undefined; interval?: string | undefined; } & {}> | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; flapping?: boolean | undefined; uuid?: string | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ id?: string | undefined; type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; start?: string | undefined; end?: string | undefined; outcome?: string | undefined; duration?: string | number | undefined; code?: string | undefined; severity?: string | number | undefined; category?: string[] | undefined; timezone?: string | undefined; risk_score?: number | undefined; url?: string | undefined; created?: string | undefined; provider?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; kind?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial | undefined; error?: Readonly<{ id?: string | undefined; type?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; version?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; uuid?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; action?: Readonly<{ id?: string | undefined; name?: string | undefined; type_id?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; usage?: Readonly<{ request_body_bytes?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_delayed_alerts?: string | number | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; backfill?: Readonly<{ id?: string | undefined; start?: string | undefined; interval?: string | undefined; } & {}> | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; flapping?: boolean | undefined; uuid?: string | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; user_api_key?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined; event?: Readonly<{ id?: string | undefined; type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; start?: string | undefined; end?: string | undefined; outcome?: string | undefined; duration?: string | number | undefined; code?: string | undefined; severity?: string | number | undefined; category?: string[] | undefined; timezone?: string | undefined; risk_score?: number | undefined; url?: string | undefined; created?: string | undefined; provider?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; kind?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -1549,7 +1549,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ id?: string | undefined; type?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; version?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; uuid?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; action?: Readonly<{ id?: string | undefined; name?: string | undefined; type_id?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; usage?: Readonly<{ request_body_bytes?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_delayed_alerts?: string | number | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; backfill?: Readonly<{ id?: string | undefined; start?: string | undefined; interval?: string | undefined; } & {}> | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; flapping?: boolean | undefined; uuid?: string | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; } & {}> | undefined; event?: Readonly<{ id?: string | undefined; type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; start?: string | undefined; end?: string | undefined; outcome?: string | undefined; duration?: string | number | undefined; code?: string | undefined; severity?: string | number | undefined; category?: string[] | undefined; timezone?: string | undefined; risk_score?: number | undefined; url?: string | undefined; created?: string | undefined; provider?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; kind?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined" + "Readonly<{ log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; error?: Readonly<{ id?: string | undefined; type?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; message?: string | undefined; tags?: string[] | undefined; rule?: Readonly<{ id?: string | undefined; version?: string | undefined; name?: string | undefined; license?: string | undefined; description?: string | undefined; uuid?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; kibana?: Readonly<{ task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; action?: Readonly<{ id?: string | undefined; name?: string | undefined; type_id?: string | undefined; execution?: Readonly<{ source?: string | undefined; uuid?: string | undefined; gen_ai?: Readonly<{ usage?: Readonly<{ prompt_tokens?: string | number | undefined; completion_tokens?: string | number | undefined; total_tokens?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; usage?: Readonly<{ request_body_bytes?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ outcome?: string | undefined; status?: string | undefined; summary?: Readonly<{ recovered?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; new?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; ongoing?: Readonly<{ count?: string | number | undefined; } & {}> | undefined; } & {}> | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; revision?: string | number | undefined; execution?: Readonly<{ uuid?: string | undefined; status?: string | undefined; metrics?: Readonly<{ total_search_duration_ms?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_delayed_alerts?: string | number | undefined; number_of_searches?: string | number | undefined; es_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; persist_alerts_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; backfill?: Readonly<{ id?: string | undefined; start?: string | undefined; interval?: string | undefined; } & {}> | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; flapping?: boolean | undefined; uuid?: string | undefined; maintenance_window_ids?: string[] | undefined; } & {}> | undefined; space_ids?: string[] | undefined; server_uuid?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; space_agnostic?: boolean | undefined; } & {}>[] | undefined; user_api_key?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined; event?: Readonly<{ id?: string | undefined; type?: string[] | undefined; reason?: string | undefined; action?: string | undefined; start?: string | undefined; end?: string | undefined; outcome?: string | undefined; duration?: string | number | undefined; code?: string | undefined; severity?: string | number | undefined; category?: string[] | undefined; timezone?: string | undefined; risk_score?: number | undefined; url?: string | undefined; created?: string | undefined; provider?: string | undefined; dataset?: string | undefined; hash?: string | undefined; ingested?: string | undefined; kind?: string | undefined; module?: string | undefined; original?: string | undefined; reference?: string | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; user?: Readonly<{ id?: string | undefined; name?: string | undefined; } & {}> | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 1209ade510d6a..9bc73badb08e5 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/exploratory_view.devdocs.json b/api_docs/exploratory_view.devdocs.json index 3aed42a57a9a9..2b59138f91fdd 100644 --- a/api_docs/exploratory_view.devdocs.json +++ b/api_docs/exploratory_view.devdocs.json @@ -1159,23 +1159,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/solutions/observability/plugins/exploratory_view/public/plugin.ts", diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index 97cca38c29d83..b20ee54dd3dcc 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.devdocs.json b/api_docs/expression_error.devdocs.json index dba511e558d27..7cb2fd38a46d5 100644 --- a/api_docs/expression_error.devdocs.json +++ b/api_docs/expression_error.devdocs.json @@ -29,7 +29,7 @@ }, "" ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -49,7 +49,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -86,7 +86,7 @@ "ErrorRendererConfig", ">" ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -106,7 +106,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -141,7 +141,7 @@ }, "" ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -161,7 +161,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -198,7 +198,7 @@ "ErrorRendererConfig", ">" ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -218,7 +218,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -237,7 +237,7 @@ "signature": [ "React.LazyExoticComponent<({ payload }: { payload: unknown; }) => React.JSX.Element>" ], - "path": "src/plugins/expression_error/public/components/index.ts", + "path": "src/platform/plugins/shared/expression_error/public/components/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -271,7 +271,7 @@ "Props", ">>" ], - "path": "src/plugins/expression_error/public/components/index.ts", + "path": "src/platform/plugins/shared/expression_error/public/components/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -308,7 +308,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_error/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_error/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -339,7 +339,7 @@ "signature": [ "\"JSON\"" ], - "path": "src/plugins/expression_error/common/constants.ts", + "path": "src/platform/plugins/shared/expression_error/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -354,7 +354,7 @@ "signature": [ "\"expressionError\"" ], - "path": "src/plugins/expression_error/common/constants.ts", + "path": "src/platform/plugins/shared/expression_error/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -369,7 +369,7 @@ "signature": [ "\"expressionError\"" ], - "path": "src/plugins/expression_error/common/constants.ts", + "path": "src/platform/plugins/shared/expression_error/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 740b42397ba11..b0de834b23c63 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 9cb54778763c6..14ae0646acdb0 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 2086273333b5c..59c7de0938c79 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.devdocs.json b/api_docs/expression_image.devdocs.json index 3fc201e165956..36c2b8c410a48 100644 --- a/api_docs/expression_image.devdocs.json +++ b/api_docs/expression_image.devdocs.json @@ -37,7 +37,7 @@ }, ">" ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ }, ">" ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -144,7 +144,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_image/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_image/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -168,7 +168,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_image/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_image/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -186,7 +186,7 @@ "tags": [], "label": "ImageRendererConfig", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -200,7 +200,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -221,7 +221,7 @@ }, " | null" ], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -235,7 +235,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -246,7 +246,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -257,7 +257,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -271,7 +271,7 @@ "tags": [], "label": "Return", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -285,7 +285,7 @@ "signature": [ "\"image\"" ], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -296,7 +296,7 @@ "tags": [], "label": "mode", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -307,7 +307,7 @@ "tags": [], "label": "dataurl", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -323,7 +323,7 @@ "tags": [], "label": "ImageMode", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -340,7 +340,7 @@ "signature": [ "\"`base64`\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -355,7 +355,7 @@ "signature": [ "\"_context_\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -402,7 +402,7 @@ }, ">>" ], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -419,7 +419,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -434,7 +434,7 @@ "signature": [ "\"expressionImage\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -449,7 +449,7 @@ "signature": [ "\"expressionImage\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -464,7 +464,7 @@ "signature": [ "\"URL\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 9cc48aec8e672..a1ecb1b6f9e64 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 490a0f8123df1..1bb8b8da82531 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.devdocs.json b/api_docs/expression_metric.devdocs.json index a5d21f7749884..e6d60d3aa1b5c 100644 --- a/api_docs/expression_metric.devdocs.json +++ b/api_docs/expression_metric.devdocs.json @@ -37,7 +37,7 @@ }, ">" ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ }, ">" ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -144,7 +144,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_metric/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_metric/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -168,7 +168,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_metric/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_metric/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -220,7 +220,7 @@ }, "; metricFormat: string; }; }; }" ], - "path": "src/plugins/expression_metric/common/expression_functions/metric_function.ts", + "path": "src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -236,7 +236,7 @@ "tags": [], "label": "Arguments", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ "tags": [], "label": "label", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -267,7 +267,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -278,7 +278,7 @@ "tags": [], "label": "metricFormat", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -298,7 +298,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -312,7 +312,7 @@ "tags": [], "label": "MetricRendererConfig", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -325,7 +325,7 @@ "description": [ "The text to display under the metric" ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -347,7 +347,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -363,7 +363,7 @@ "signature": [ "string | number | null" ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -385,7 +385,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -398,7 +398,7 @@ "description": [ "NumeralJS format string" ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -412,7 +412,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -423,7 +423,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -434,7 +434,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -454,7 +454,7 @@ "signature": [ "\"CSS\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -525,7 +525,7 @@ }, ">>" ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -542,7 +542,7 @@ "signature": [ "\"`font-family`\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -557,7 +557,7 @@ "signature": [ "\"`font-weight`\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -579,7 +579,7 @@ }, "[]" ], - "path": "src/plugins/expression_metric/common/expression_functions/index.ts", + "path": "src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -594,7 +594,7 @@ "signature": [ "string | number | null" ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -609,7 +609,7 @@ "signature": [ "\"Numeral pattern\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -624,7 +624,7 @@ "signature": [ "\"expressionMetric\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -639,7 +639,7 @@ "signature": [ "\"expressionMetric\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 226086640e669..39bb334d2710a 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index bbf4b38ab4b38..f5c8cf32aaa5e 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 1f5d432c5618f..4ca4702898148 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.devdocs.json b/api_docs/expression_repeat_image.devdocs.json index 65a50ddeb3880..f9cfa54e40900 100644 --- a/api_docs/expression_repeat_image.devdocs.json +++ b/api_docs/expression_repeat_image.devdocs.json @@ -37,7 +37,7 @@ }, ">" ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ }, ">" ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -144,7 +144,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_repeat_image/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -168,7 +168,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_repeat_image/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -188,7 +188,7 @@ "signature": [ "() => { name: \"repeatImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; max: { types: (\"number\" | \"null\")[]; help: string; default: number; }; size: { types: \"number\"[]; default: number; help: string; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }" ], - "path": "src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -204,7 +204,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -215,7 +215,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -226,7 +226,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -240,7 +240,7 @@ "tags": [], "label": "RepeatImageRendererConfig", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -251,7 +251,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -262,7 +262,7 @@ "tags": [], "label": "count", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -273,7 +273,7 @@ "tags": [], "label": "emptyImage", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -284,7 +284,7 @@ "tags": [], "label": "image", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -295,7 +295,7 @@ "tags": [], "label": "size", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -309,7 +309,7 @@ "tags": [], "label": "Return", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -320,7 +320,7 @@ "tags": [], "label": "count", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -331,7 +331,7 @@ "tags": [], "label": "image", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -342,7 +342,7 @@ "tags": [], "label": "size", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -353,7 +353,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -367,7 +367,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -387,7 +387,7 @@ "signature": [ "\"`base64`\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -402,7 +402,7 @@ "signature": [ "\"_context_\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -449,7 +449,7 @@ }, ">>" ], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -473,7 +473,7 @@ }, "[]" ], - "path": "src/plugins/expression_repeat_image/common/expression_functions/index.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -488,7 +488,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -503,7 +503,7 @@ "signature": [ "\"expressionRepeatImage\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -518,7 +518,7 @@ "signature": [ "\"expressionRepeatImage\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -533,7 +533,7 @@ "signature": [ "\"URL\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 292d1ffbd2116..5353259bcb582 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.devdocs.json b/api_docs/expression_reveal_image.devdocs.json index cdda11e92d9f2..5d8e0e7fd2aad 100644 --- a/api_docs/expression_reveal_image.devdocs.json +++ b/api_docs/expression_reveal_image.devdocs.json @@ -31,7 +31,7 @@ "RevealImageRendererConfig", ">" ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -51,7 +51,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -88,7 +88,7 @@ "RevealImageRendererConfig", ">" ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -108,7 +108,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -132,7 +132,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_reveal_image/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -156,7 +156,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_reveal_image/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -180,7 +180,7 @@ "Origin", "; percent: number; }; }>; }" ], - "path": "src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -201,7 +201,7 @@ "signature": [ "\"`base64`\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -217,7 +217,7 @@ "ExpressionRevealImageFunction", "[]" ], - "path": "src/plugins/expression_reveal_image/common/expression_functions/index.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -232,7 +232,7 @@ "signature": [ "\"expressionRevealImage\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -247,7 +247,7 @@ "signature": [ "\"expressionRevealImage\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -262,7 +262,7 @@ "signature": [ "\"URL\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 98466b1c9401d..7143a25ca8af9 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.devdocs.json b/api_docs/expression_shape.devdocs.json index f1790eef4a61b..de61172343334 100644 --- a/api_docs/expression_shape.devdocs.json +++ b/api_docs/expression_shape.devdocs.json @@ -20,7 +20,7 @@ "text": "SvgConfig" } ], - "path": "src/plugins/expression_shape/public/components/reusable/utils.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -61,7 +61,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -81,7 +81,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -124,7 +124,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -144,7 +144,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -179,7 +179,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/public/components/progress/progress_drawer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -235,7 +235,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -255,7 +255,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -290,7 +290,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/public/components/shape/shape_drawer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -346,7 +346,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -366,7 +366,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -384,7 +384,7 @@ "tags": [], "label": "CircleParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -398,7 +398,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -412,7 +412,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -426,7 +426,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -440,7 +440,7 @@ "tags": [], "label": "Dimensions", "description": [], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -451,7 +451,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false }, @@ -462,7 +462,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false } @@ -476,7 +476,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -487,7 +487,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -498,7 +498,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -522,7 +522,7 @@ }, " extends Arguments" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -536,7 +536,7 @@ "signature": [ "\"shape\"" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -550,7 +550,7 @@ "tags": [], "label": "ParentNodeParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -561,7 +561,7 @@ "tags": [], "label": "borderOffset", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -572,7 +572,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -583,7 +583,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -597,7 +597,7 @@ "tags": [], "label": "PathParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -611,7 +611,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -625,7 +625,7 @@ "signature": [ "\"square\" | \"inherit\" | \"butt\" | \"round\" | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -639,7 +639,7 @@ "tags": [], "label": "PolygonParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -653,7 +653,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -667,7 +667,7 @@ "signature": [ "\"inherit\" | \"round\" | \"miter\" | \"bevel\" | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -681,7 +681,7 @@ "tags": [], "label": "ProgressArguments", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -692,7 +692,7 @@ "tags": [], "label": "barColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -703,7 +703,7 @@ "tags": [], "label": "barWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -723,7 +723,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -737,7 +737,7 @@ "signature": [ "string | boolean" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -748,7 +748,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -768,7 +768,7 @@ "text": "Progress" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -779,7 +779,7 @@ "tags": [], "label": "valueColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -790,7 +790,7 @@ "tags": [], "label": "valueWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -804,7 +804,7 @@ "tags": [], "label": "RectParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -818,7 +818,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -832,7 +832,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -846,7 +846,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -860,7 +860,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -874,7 +874,7 @@ "tags": [], "label": "ShapeAttributes", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -888,7 +888,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -902,7 +902,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -916,7 +916,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -930,7 +930,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -951,7 +951,7 @@ }, " | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -965,7 +965,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -979,7 +979,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -1010,7 +1010,7 @@ "text": "ShapeRendererConfig" } ], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1024,7 +1024,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1040,7 +1040,7 @@ "signature": [ "HTMLElement" ], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false } @@ -1054,7 +1054,7 @@ "tags": [], "label": "ShapeContentAttributes", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1068,7 +1068,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1082,7 +1082,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1096,7 +1096,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1110,7 +1110,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1124,7 +1124,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -1138,7 +1138,7 @@ "tags": [], "label": "ShapeRef", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1159,7 +1159,7 @@ "text": "SvgConfig" } ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1175,7 +1175,7 @@ "tags": [], "label": "ShapeRendererConfig", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1186,7 +1186,7 @@ "tags": [], "label": "border", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1197,7 +1197,7 @@ "tags": [], "label": "borderWidth", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1217,7 +1217,7 @@ "text": "Shape" } ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1228,7 +1228,7 @@ "tags": [], "label": "fill", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1239,7 +1239,7 @@ "tags": [], "label": "maintainAspect", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -1253,7 +1253,7 @@ "tags": [], "label": "SvgConfig", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1274,7 +1274,7 @@ }, " | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1294,7 +1294,7 @@ "text": "ViewBoxParams" } ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1323,7 +1323,7 @@ }, " & Readonly<{}> & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1344,7 +1344,7 @@ }, " | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -1358,7 +1358,7 @@ "tags": [], "label": "ViewBoxParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1369,7 +1369,7 @@ "tags": [], "label": "minX", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1380,7 +1380,7 @@ "tags": [], "label": "minY", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1391,7 +1391,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1402,7 +1402,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -1418,7 +1418,7 @@ "tags": [], "label": "Progress", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1430,7 +1430,7 @@ "tags": [], "label": "Shape", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1442,7 +1442,7 @@ "tags": [], "label": "SvgElementTypes", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1507,7 +1507,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1556,7 +1556,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1573,7 +1573,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1595,7 +1595,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1617,7 +1617,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1672,7 +1672,7 @@ }, " | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1743,7 +1743,7 @@ }, " | undefined; } & Readonly<{}> & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1790,7 +1790,7 @@ }, " | undefined; } & Readonly<{}> & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1821,7 +1821,7 @@ }, "; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/shape_factory.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1866,7 +1866,7 @@ "text": "PolygonParams" } ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1881,7 +1881,7 @@ "signature": [ "Partial & { x?: string | number | undefined; y?: string | number | undefined; textAnchor?: string | undefined; dominantBaseline?: string | number | undefined; dx?: string | number | undefined; dy?: string | number | undefined; } & { style?: React.CSSProperties | undefined; } & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1898,7 +1898,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_shape/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_shape/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1922,7 +1922,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_shape/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_shape/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1950,7 +1950,7 @@ }, "[]" ], - "path": "src/plugins/expression_shape/common/lib/available_shapes.ts", + "path": "src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1975,7 +1975,7 @@ }, "[]" ], - "path": "src/plugins/expression_shape/common/lib/available_shapes.ts", + "path": "src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1991,7 +1991,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2002,7 +2002,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2013,7 +2013,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2037,7 +2037,7 @@ }, " extends Arguments" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2051,7 +2051,7 @@ "signature": [ "\"shape\"" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -2065,7 +2065,7 @@ "tags": [], "label": "ParentNodeParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2076,7 +2076,7 @@ "tags": [], "label": "borderOffset", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2087,7 +2087,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2098,7 +2098,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2112,7 +2112,7 @@ "tags": [], "label": "ProgressArguments", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2123,7 +2123,7 @@ "tags": [], "label": "barColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2134,7 +2134,7 @@ "tags": [], "label": "barWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2154,7 +2154,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2168,7 +2168,7 @@ "signature": [ "string | boolean" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2179,7 +2179,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2199,7 +2199,7 @@ "text": "Progress" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2210,7 +2210,7 @@ "tags": [], "label": "valueColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2221,7 +2221,7 @@ "tags": [], "label": "valueWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -2235,7 +2235,7 @@ "tags": [], "label": "ShapeRendererConfig", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2246,7 +2246,7 @@ "tags": [], "label": "border", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2257,7 +2257,7 @@ "tags": [], "label": "borderWidth", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2277,7 +2277,7 @@ "text": "Shape" } ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2288,7 +2288,7 @@ "tags": [], "label": "fill", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2299,7 +2299,7 @@ "tags": [], "label": "maintainAspect", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2313,7 +2313,7 @@ "tags": [], "label": "ViewBoxParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2324,7 +2324,7 @@ "tags": [], "label": "minX", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2335,7 +2335,7 @@ "tags": [], "label": "minY", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2346,7 +2346,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2357,7 +2357,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2373,7 +2373,7 @@ "tags": [], "label": "Progress", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2385,7 +2385,7 @@ "tags": [], "label": "Shape", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2402,7 +2402,7 @@ "signature": [ "\"`false`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2417,7 +2417,7 @@ "signature": [ "\"`true`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2432,7 +2432,7 @@ "signature": [ "\"CSS\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2495,7 +2495,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2544,7 +2544,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2561,7 +2561,7 @@ "signature": [ "\"`font-family`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2576,7 +2576,7 @@ "signature": [ "\"`font-weight`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2591,7 +2591,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2606,7 +2606,7 @@ "signature": [ "\"expressionShape\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2621,7 +2621,7 @@ "signature": [ "\"expressionShape\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2643,7 +2643,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2665,7 +2665,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2680,7 +2680,7 @@ "signature": [ "\"SVG\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 5897f7a376a17..0958ac05854de 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index be3a609b4cfac..5c8c3bfa6e9e5 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index fdee5f5cfb728..a98bb77d022a4 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.devdocs.json b/api_docs/expressions.devdocs.json index 5ca47f1114d56..95cf04ba5e9f1 100644 --- a/api_docs/expressions.devdocs.json +++ b/api_docs/expressions.devdocs.json @@ -8665,31 +8665,31 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/common/functions/filters.ts" + "path": "x-pack/platform/plugins/private/canvas/common/functions/filters.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" } ] } @@ -13023,7 +13023,7 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" } ], "children": [ @@ -13088,15 +13088,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts" } ], "children": [ @@ -13146,15 +13146,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/application.tsx" + "path": "x-pack/platform/plugins/private/canvas/public/application.tsx" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" } ], "children": [], @@ -20142,31 +20142,31 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/common/functions/filters.ts" + "path": "x-pack/platform/plugins/private/canvas/common/functions/filters.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" } ] } @@ -33208,31 +33208,31 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/common/functions/filters.ts" + "path": "x-pack/platform/plugins/private/canvas/common/functions/filters.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" } ] } @@ -34121,7 +34121,7 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" } ], "children": [ @@ -34186,15 +34186,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts" } ], "children": [ @@ -34244,15 +34244,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/application.tsx" + "path": "x-pack/platform/plugins/private/canvas/public/application.tsx" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" } ], "children": [], @@ -38233,51 +38233,51 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/types/state.ts" + "path": "x-pack/platform/plugins/private/canvas/types/state.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/types/state.ts" + "path": "x-pack/platform/plugins/private/canvas/types/state.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/plot/index.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/plot/index.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/pie.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/pie.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/pie.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/pie.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" } ], "initialIsOpen": false @@ -39782,7 +39782,9 @@ "section": "def-common.SerializedDatatable", "text": "SerializedDatatable" }, - ") => { rows: _.Dictionary[]; type: \"datatable\"; columns: ", + ") => { rows: ", + "Dictionary", + "[]; type: \"datatable\"; columns: ", { "pluginId": "expressions", "scope": "common", diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 4b976ed559ad2..aa6879d848b89 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.devdocs.json b/api_docs/features.devdocs.json index afc982a1c2d43..4f7ddaa252709 100644 --- a/api_docs/features.devdocs.json +++ b/api_docs/features.devdocs.json @@ -681,13 +681,7 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - } + "AppCategory" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -2877,13 +2871,7 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - } + "AppCategory" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -4502,13 +4490,7 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - } + "AppCategory" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, diff --git a/api_docs/features.mdx b/api_docs/features.mdx index c2626182f8790..18c3790aa018d 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 1828a9aed6002..8d5a8cbf0074e 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/fields_metadata.devdocs.json b/api_docs/fields_metadata.devdocs.json index 987d36d475bf3..ca3be8edab5ee 100644 --- a/api_docs/fields_metadata.devdocs.json +++ b/api_docs/fields_metadata.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "FieldsMetadataPublicSetupDeps", "description": [], - "path": "x-pack/plugins/fields_metadata/public/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -24,7 +24,7 @@ "tags": [], "label": "FieldsMetadataPublicStartDeps", "description": [], - "path": "x-pack/plugins/fields_metadata/public/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -41,7 +41,7 @@ "tags": [], "label": "FieldsMetadataPublicSetup", "description": [], - "path": "x-pack/plugins/fields_metadata/public/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -55,7 +55,7 @@ "tags": [], "label": "FieldsMetadataPublicStart", "description": [], - "path": "x-pack/plugins/fields_metadata/public/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -71,7 +71,7 @@ "IFieldsMetadataClient", ">" ], - "path": "x-pack/plugins/fields_metadata/public/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -90,7 +90,7 @@ " | undefined, deps?: React.DependencyList | undefined) => ", "UseFieldsMetadataReturnType" ], - "path": "x-pack/plugins/fields_metadata/public/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -106,7 +106,7 @@ "FindFieldsMetadataRequestQuery", " | undefined" ], - "path": "x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts", "deprecated": false, "trackAdoption": false }, @@ -120,7 +120,7 @@ "signature": [ "React.DependencyList | undefined" ], - "path": "x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts", "deprecated": false, "trackAdoption": false } @@ -147,7 +147,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -162,7 +162,7 @@ "signature": [ "{ [x: string]: { name: string; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }; }" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -185,7 +185,7 @@ }, "; }" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -200,7 +200,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -214,7 +214,7 @@ "tags": [], "label": "FieldsMetadataServerSetup", "description": [], - "path": "x-pack/plugins/fields_metadata/server/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -230,7 +230,7 @@ "IntegrationFieldsExtractor", ") => void" ], - "path": "x-pack/plugins/fields_metadata/server/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -255,7 +255,7 @@ }, ">" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -270,7 +270,7 @@ "signature": [ "IntegrationFieldsSearchParams" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts", "deprecated": false, "trackAdoption": false } @@ -290,7 +290,7 @@ "IntegrationListExtractor", ") => void" ], - "path": "x-pack/plugins/fields_metadata/server/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -307,7 +307,7 @@ "ExtractedIntegration", "[]>" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -326,7 +326,7 @@ "tags": [], "label": "FieldsMetadataServerStart", "description": [], - "path": "x-pack/plugins/fields_metadata/server/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -350,7 +350,7 @@ "IFieldsMetadataClient", ">" ], - "path": "x-pack/plugins/fields_metadata/server/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -372,7 +372,7 @@ }, "" ], - "path": "x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false } @@ -392,7 +392,7 @@ "tags": [], "label": "FieldMetadata", "description": [], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -406,7 +406,7 @@ "signature": [ "(props: (\"source\" | \"type\" | \"normalize\" | \"short\" | \"format\" | \"name\" | \"index\" | \"description\" | \"pattern\" | \"doc_values\" | \"ignore_above\" | \"required\" | \"beta\" | \"level\" | \"allowed_values\" | \"dashed_name\" | \"example\" | \"expected_values\" | \"flat_name\" | \"input_format\" | \"multi_fields\" | \"object_type\" | \"original_fieldset\" | \"output_format\" | \"output_precision\" | \"scaling_factor\" | \"documentation_url\")[]) => { name?: string | undefined; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -420,7 +420,7 @@ "signature": [ "(\"source\" | \"type\" | \"normalize\" | \"short\" | \"format\" | \"name\" | \"index\" | \"description\" | \"pattern\" | \"doc_values\" | \"ignore_above\" | \"required\" | \"beta\" | \"level\" | \"allowed_values\" | \"dashed_name\" | \"example\" | \"expected_values\" | \"flat_name\" | \"input_format\" | \"multi_fields\" | \"object_type\" | \"original_fieldset\" | \"output_format\" | \"output_precision\" | \"scaling_factor\" | \"documentation_url\")[]" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -438,7 +438,7 @@ "signature": [ "() => { name: string; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -461,7 +461,7 @@ "text": "FieldMetadata" } ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -475,7 +475,7 @@ "signature": [ "{ name: string; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -493,7 +493,7 @@ "tags": [], "label": "FieldsMetadataDictionary", "description": [], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -508,7 +508,7 @@ "() => ", "FieldsMetadataMap" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -524,7 +524,7 @@ "signature": [ "(attributes: (\"source\" | \"type\" | \"normalize\" | \"short\" | \"format\" | \"name\" | \"index\" | \"description\" | \"pattern\" | \"doc_values\" | \"ignore_above\" | \"required\" | \"beta\" | \"level\" | \"allowed_values\" | \"dashed_name\" | \"example\" | \"expected_values\" | \"flat_name\" | \"input_format\" | \"multi_fields\" | \"object_type\" | \"original_fieldset\" | \"output_format\" | \"output_precision\" | \"scaling_factor\" | \"documentation_url\")[]) => Record" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -538,7 +538,7 @@ "signature": [ "(\"source\" | \"type\" | \"normalize\" | \"short\" | \"format\" | \"name\" | \"index\" | \"description\" | \"pattern\" | \"doc_values\" | \"ignore_above\" | \"required\" | \"beta\" | \"level\" | \"allowed_values\" | \"dashed_name\" | \"example\" | \"expected_values\" | \"flat_name\" | \"input_format\" | \"multi_fields\" | \"object_type\" | \"original_fieldset\" | \"output_format\" | \"output_precision\" | \"scaling_factor\" | \"documentation_url\")[]" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -556,7 +556,7 @@ "signature": [ "() => Record" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -581,7 +581,7 @@ "text": "FieldsMetadataDictionary" } ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -595,7 +595,7 @@ "signature": [ "FieldsMetadataMap" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -626,7 +626,7 @@ }, " extends { name: string; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -645,7 +645,7 @@ "signature": [ "string & {}" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -660,7 +660,7 @@ "signature": [ "\"@timestamp\" | \"event.sequence\" | \"event.start\" | \"event.end\" | \"event.provider\" | \"event.duration\" | \"event.action\" | \"message\" | \"event.outcome\" | \"tags\" | \"event.kind\" | \"event.original\" | \"agent.name\" | \"container.id\" | \"host.name\" | \"labels\" | \"service.environment\" | \"service.name\" | \"ecs.version\" | \"agent.build.original\" | \"agent.ephemeral_id\" | \"agent.id\" | \"agent.type\" | \"agent.version\" | \"client.address\" | \"client.as.number\" | \"client.as.organization.name\" | \"client.bytes\" | \"client.domain\" | \"client.geo.city_name\" | \"client.geo.continent_code\" | \"client.geo.continent_name\" | \"client.geo.country_iso_code\" | \"client.geo.country_name\" | \"client.geo.location\" | \"client.geo.name\" | \"client.geo.postal_code\" | \"client.geo.region_iso_code\" | \"client.geo.region_name\" | \"client.geo.timezone\" | \"client.ip\" | \"client.mac\" | \"client.nat.ip\" | \"client.nat.port\" | \"client.packets\" | \"client.port\" | \"client.registered_domain\" | \"client.subdomain\" | \"client.top_level_domain\" | \"client.user.domain\" | \"client.user.email\" | \"client.user.full_name\" | \"client.user.group.domain\" | \"client.user.group.id\" | \"client.user.group.name\" | \"client.user.hash\" | \"client.user.id\" | \"client.user.name\" | \"client.user.roles\" | \"cloud.account.id\" | \"cloud.account.name\" | \"cloud.availability_zone\" | \"cloud.instance.id\" | \"cloud.instance.name\" | \"cloud.machine.type\" | \"cloud.origin.account.id\" | \"cloud.origin.account.name\" | \"cloud.origin.availability_zone\" | \"cloud.origin.instance.id\" | \"cloud.origin.instance.name\" | \"cloud.origin.machine.type\" | \"cloud.origin.project.id\" | \"cloud.origin.project.name\" | \"cloud.origin.provider\" | \"cloud.origin.region\" | \"cloud.origin.service.name\" | \"cloud.project.id\" | \"cloud.project.name\" | \"cloud.provider\" | \"cloud.region\" | \"cloud.service.name\" | \"cloud.target.account.id\" | \"cloud.target.account.name\" | \"cloud.target.availability_zone\" | \"cloud.target.instance.id\" | \"cloud.target.instance.name\" | \"cloud.target.machine.type\" | \"cloud.target.project.id\" | \"cloud.target.project.name\" | \"cloud.target.provider\" | \"cloud.target.region\" | \"cloud.target.service.name\" | \"container.cpu.usage\" | \"container.disk.read.bytes\" | \"container.disk.write.bytes\" | \"container.image.hash.all\" | \"container.image.name\" | \"container.image.tag\" | \"container.labels\" | \"container.memory.usage\" | \"container.name\" | \"container.network.egress.bytes\" | \"container.network.ingress.bytes\" | \"container.runtime\" | \"container.security_context.privileged\" | \"destination.address\" | \"destination.as.number\" | \"destination.as.organization.name\" | \"destination.bytes\" | \"destination.domain\" | \"destination.geo.city_name\" | \"destination.geo.continent_code\" | \"destination.geo.continent_name\" | \"destination.geo.country_iso_code\" | \"destination.geo.country_name\" | \"destination.geo.location\" | \"destination.geo.name\" | \"destination.geo.postal_code\" | \"destination.geo.region_iso_code\" | \"destination.geo.region_name\" | \"destination.geo.timezone\" | \"destination.ip\" | \"destination.mac\" | \"destination.nat.ip\" | \"destination.nat.port\" | \"destination.packets\" | \"destination.port\" | \"destination.registered_domain\" | \"destination.subdomain\" | \"destination.top_level_domain\" | \"destination.user.domain\" | \"destination.user.email\" | \"destination.user.full_name\" | \"destination.user.group.domain\" | \"destination.user.group.id\" | \"destination.user.group.name\" | \"destination.user.hash\" | \"destination.user.id\" | \"destination.user.name\" | \"destination.user.roles\" | \"device.id\" | \"device.manufacturer\" | \"device.model.identifier\" | \"device.model.name\" | \"dll.code_signature.digest_algorithm\" | \"dll.code_signature.exists\" | \"dll.code_signature.signing_id\" | \"dll.code_signature.status\" | \"dll.code_signature.subject_name\" | \"dll.code_signature.team_id\" | \"dll.code_signature.timestamp\" | \"dll.code_signature.trusted\" | \"dll.code_signature.valid\" | \"dll.hash.md5\" | \"dll.hash.sha1\" | \"dll.hash.sha256\" | \"dll.hash.sha384\" | \"dll.hash.sha512\" | \"dll.hash.ssdeep\" | \"dll.hash.tlsh\" | \"dll.name\" | \"dll.path\" | \"dll.pe.architecture\" | \"dll.pe.company\" | \"dll.pe.description\" | \"dll.pe.file_version\" | \"dll.pe.go_import_hash\" | \"dll.pe.go_imports\" | \"dll.pe.go_imports_names_entropy\" | \"dll.pe.go_imports_names_var_entropy\" | \"dll.pe.go_stripped\" | \"dll.pe.imphash\" | \"dll.pe.import_hash\" | \"dll.pe.imports\" | \"dll.pe.imports_names_entropy\" | \"dll.pe.imports_names_var_entropy\" | \"dll.pe.original_file_name\" | \"dll.pe.pehash\" | \"dll.pe.product\" | \"dll.pe.sections\" | \"dns.answers\" | \"dns.header_flags\" | \"dns.id\" | \"dns.op_code\" | \"dns.question.class\" | \"dns.question.name\" | \"dns.question.registered_domain\" | \"dns.question.subdomain\" | \"dns.question.top_level_domain\" | \"dns.question.type\" | \"dns.resolved_ip\" | \"dns.response_code\" | \"dns.type\" | \"email.attachments\" | \"file.extension\" | \"file.hash.md5\" | \"file.hash.sha1\" | \"file.hash.sha256\" | \"file.hash.sha384\" | \"file.hash.sha512\" | \"file.hash.ssdeep\" | \"file.hash.tlsh\" | \"file.mime_type\" | \"file.name\" | \"file.size\" | \"email.bcc.address\" | \"email.cc.address\" | \"email.content_type\" | \"email.delivery_timestamp\" | \"email.direction\" | \"email.from.address\" | \"email.local_id\" | \"email.message_id\" | \"email.origination_timestamp\" | \"email.reply_to.address\" | \"email.sender.address\" | \"email.subject\" | \"email.to.address\" | \"email.x_mailer\" | \"error.code\" | \"error.id\" | \"error.message\" | \"error.stack_trace\" | \"error.type\" | \"event.agent_id_status\" | \"event.category\" | \"event.code\" | \"event.created\" | \"event.dataset\" | \"event.hash\" | \"event.id\" | \"event.ingested\" | \"event.module\" | \"event.reason\" | \"event.reference\" | \"event.risk_score\" | \"event.risk_score_norm\" | \"event.severity\" | \"event.timezone\" | \"event.type\" | \"event.url\" | \"faas.coldstart\" | \"faas.execution\" | \"faas.id\" | \"faas.name\" | \"faas.version\" | \"file.accessed\" | \"file.attributes\" | \"file.code_signature.digest_algorithm\" | \"file.code_signature.exists\" | \"file.code_signature.signing_id\" | \"file.code_signature.status\" | \"file.code_signature.subject_name\" | \"file.code_signature.team_id\" | \"file.code_signature.timestamp\" | \"file.code_signature.trusted\" | \"file.code_signature.valid\" | \"file.created\" | \"file.ctime\" | \"file.device\" | \"file.directory\" | \"file.drive_letter\" | \"file.elf.architecture\" | \"file.elf.byte_order\" | \"file.elf.cpu_type\" | \"file.elf.creation_date\" | \"file.elf.exports\" | \"file.elf.go_import_hash\" | \"file.elf.go_imports\" | \"file.elf.go_imports_names_entropy\" | \"file.elf.go_imports_names_var_entropy\" | \"file.elf.go_stripped\" | \"file.elf.header.abi_version\" | \"file.elf.header.class\" | \"file.elf.header.data\" | \"file.elf.header.entrypoint\" | \"file.elf.header.object_version\" | \"file.elf.header.os_abi\" | \"file.elf.header.type\" | \"file.elf.header.version\" | \"file.elf.import_hash\" | \"file.elf.imports\" | \"file.elf.imports_names_entropy\" | \"file.elf.imports_names_var_entropy\" | \"file.elf.sections\" | \"file.elf.segments\" | \"file.elf.shared_libraries\" | \"file.elf.telfhash\" | \"file.fork_name\" | \"file.gid\" | \"file.group\" | \"file.inode\" | \"file.macho.go_import_hash\" | \"file.macho.go_imports\" | \"file.macho.go_imports_names_entropy\" | \"file.macho.go_imports_names_var_entropy\" | \"file.macho.go_stripped\" | \"file.macho.import_hash\" | \"file.macho.imports\" | \"file.macho.imports_names_entropy\" | \"file.macho.imports_names_var_entropy\" | \"file.macho.sections\" | \"file.macho.symhash\" | \"file.mode\" | \"file.mtime\" | \"file.owner\" | \"file.path\" | \"file.pe.architecture\" | \"file.pe.company\" | \"file.pe.description\" | \"file.pe.file_version\" | \"file.pe.go_import_hash\" | \"file.pe.go_imports\" | \"file.pe.go_imports_names_entropy\" | \"file.pe.go_imports_names_var_entropy\" | \"file.pe.go_stripped\" | \"file.pe.imphash\" | \"file.pe.import_hash\" | \"file.pe.imports\" | \"file.pe.imports_names_entropy\" | \"file.pe.imports_names_var_entropy\" | \"file.pe.original_file_name\" | \"file.pe.pehash\" | \"file.pe.product\" | \"file.pe.sections\" | \"file.target_path\" | \"file.type\" | \"file.uid\" | \"file.x509.alternative_names\" | \"file.x509.issuer.common_name\" | \"file.x509.issuer.country\" | \"file.x509.issuer.distinguished_name\" | \"file.x509.issuer.locality\" | \"file.x509.issuer.organization\" | \"file.x509.issuer.organizational_unit\" | \"file.x509.issuer.state_or_province\" | \"file.x509.not_after\" | \"file.x509.not_before\" | \"file.x509.public_key_algorithm\" | \"file.x509.public_key_curve\" | \"file.x509.public_key_exponent\" | \"file.x509.public_key_size\" | \"file.x509.serial_number\" | \"file.x509.signature_algorithm\" | \"file.x509.subject.common_name\" | \"file.x509.subject.country\" | \"file.x509.subject.distinguished_name\" | \"file.x509.subject.locality\" | \"file.x509.subject.organization\" | \"file.x509.subject.organizational_unit\" | \"file.x509.subject.state_or_province\" | \"file.x509.version_number\" | \"group.domain\" | \"group.id\" | \"group.name\" | \"host.architecture\" | \"host.boot.id\" | \"host.cpu.usage\" | \"host.disk.read.bytes\" | \"host.disk.write.bytes\" | \"host.domain\" | \"host.geo.city_name\" | \"host.geo.continent_code\" | \"host.geo.continent_name\" | \"host.geo.country_iso_code\" | \"host.geo.country_name\" | \"host.geo.location\" | \"host.geo.name\" | \"host.geo.postal_code\" | \"host.geo.region_iso_code\" | \"host.geo.region_name\" | \"host.geo.timezone\" | \"host.hostname\" | \"host.id\" | \"host.ip\" | \"host.mac\" | \"host.network.egress.bytes\" | \"host.network.egress.packets\" | \"host.network.ingress.bytes\" | \"host.network.ingress.packets\" | \"host.os.family\" | \"host.os.full\" | \"host.os.kernel\" | \"host.os.name\" | \"host.os.platform\" | \"host.os.type\" | \"host.os.version\" | \"host.pid_ns_ino\" | \"host.risk.calculated_level\" | \"host.risk.calculated_score\" | \"host.risk.calculated_score_norm\" | \"host.risk.static_level\" | \"host.risk.static_score\" | \"host.risk.static_score_norm\" | \"host.type\" | \"host.uptime\" | \"http.request.body.bytes\" | \"http.request.body.content\" | \"http.request.bytes\" | \"http.request.id\" | \"http.request.method\" | \"http.request.mime_type\" | \"http.request.referrer\" | \"http.response.body.bytes\" | \"http.response.body.content\" | \"http.response.bytes\" | \"http.response.mime_type\" | \"http.response.status_code\" | \"http.version\" | \"log.file.path\" | \"log.level\" | \"log.logger\" | \"log.origin.file.line\" | \"log.origin.file.name\" | \"log.origin.function\" | \"log.syslog\" | \"network.application\" | \"network.bytes\" | \"network.community_id\" | \"network.direction\" | \"network.forwarded_ip\" | \"network.iana_number\" | \"network.inner\" | \"network.name\" | \"network.packets\" | \"network.protocol\" | \"network.transport\" | \"network.type\" | \"network.vlan.id\" | \"network.vlan.name\" | \"observer.egress\" | \"observer.geo.city_name\" | \"observer.geo.continent_code\" | \"observer.geo.continent_name\" | \"observer.geo.country_iso_code\" | \"observer.geo.country_name\" | \"observer.geo.location\" | \"observer.geo.name\" | \"observer.geo.postal_code\" | \"observer.geo.region_iso_code\" | \"observer.geo.region_name\" | \"observer.geo.timezone\" | \"observer.hostname\" | \"observer.ingress\" | \"observer.ip\" | \"observer.mac\" | \"observer.name\" | \"observer.os.family\" | \"observer.os.full\" | \"observer.os.kernel\" | \"observer.os.name\" | \"observer.os.platform\" | \"observer.os.type\" | \"observer.os.version\" | \"observer.product\" | \"observer.serial_number\" | \"observer.type\" | \"observer.vendor\" | \"observer.version\" | \"orchestrator.api_version\" | \"orchestrator.cluster.id\" | \"orchestrator.cluster.name\" | \"orchestrator.cluster.url\" | \"orchestrator.cluster.version\" | \"orchestrator.namespace\" | \"orchestrator.organization\" | \"orchestrator.resource.annotation\" | \"orchestrator.resource.id\" | \"orchestrator.resource.ip\" | \"orchestrator.resource.label\" | \"orchestrator.resource.name\" | \"orchestrator.resource.parent.type\" | \"orchestrator.resource.type\" | \"orchestrator.type\" | \"organization.id\" | \"organization.name\" | \"package.architecture\" | \"package.build_version\" | \"package.checksum\" | \"package.description\" | \"package.install_scope\" | \"package.installed\" | \"package.license\" | \"package.name\" | \"package.path\" | \"package.reference\" | \"package.size\" | \"package.type\" | \"package.version\" | \"process.args\" | \"process.args_count\" | \"process.code_signature.digest_algorithm\" | \"process.code_signature.exists\" | \"process.code_signature.signing_id\" | \"process.code_signature.status\" | \"process.code_signature.subject_name\" | \"process.code_signature.team_id\" | \"process.code_signature.timestamp\" | \"process.code_signature.trusted\" | \"process.code_signature.valid\" | \"process.command_line\" | \"process.elf.architecture\" | \"process.elf.byte_order\" | \"process.elf.cpu_type\" | \"process.elf.creation_date\" | \"process.elf.exports\" | \"process.elf.go_import_hash\" | \"process.elf.go_imports\" | \"process.elf.go_imports_names_entropy\" | \"process.elf.go_imports_names_var_entropy\" | \"process.elf.go_stripped\" | \"process.elf.header.abi_version\" | \"process.elf.header.class\" | \"process.elf.header.data\" | \"process.elf.header.entrypoint\" | \"process.elf.header.object_version\" | \"process.elf.header.os_abi\" | \"process.elf.header.type\" | \"process.elf.header.version\" | \"process.elf.import_hash\" | \"process.elf.imports\" | \"process.elf.imports_names_entropy\" | \"process.elf.imports_names_var_entropy\" | \"process.elf.sections\" | \"process.elf.segments\" | \"process.elf.shared_libraries\" | \"process.elf.telfhash\" | \"process.end\" | \"process.entity_id\" | \"process.entry_leader.args\" | \"process.entry_leader.args_count\" | \"process.entry_leader.attested_groups.name\" | \"process.entry_leader.attested_user.id\" | \"process.entry_leader.attested_user.name\" | \"process.entry_leader.command_line\" | \"process.entry_leader.entity_id\" | \"process.entry_leader.entry_meta.source.ip\" | \"process.entry_leader.entry_meta.type\" | \"process.entry_leader.executable\" | \"process.entry_leader.group.id\" | \"process.entry_leader.group.name\" | \"process.entry_leader.interactive\" | \"process.entry_leader.name\" | \"process.entry_leader.parent.entity_id\" | \"process.entry_leader.parent.pid\" | \"process.entry_leader.parent.session_leader.entity_id\" | \"process.entry_leader.parent.session_leader.pid\" | \"process.entry_leader.parent.session_leader.start\" | \"process.entry_leader.parent.session_leader.vpid\" | \"process.entry_leader.parent.start\" | \"process.entry_leader.parent.vpid\" | \"process.entry_leader.pid\" | \"process.entry_leader.real_group.id\" | \"process.entry_leader.real_group.name\" | \"process.entry_leader.real_user.id\" | \"process.entry_leader.real_user.name\" | \"process.entry_leader.same_as_process\" | \"process.entry_leader.saved_group.id\" | \"process.entry_leader.saved_group.name\" | \"process.entry_leader.saved_user.id\" | \"process.entry_leader.saved_user.name\" | \"process.entry_leader.start\" | \"process.entry_leader.supplemental_groups.id\" | \"process.entry_leader.supplemental_groups.name\" | \"process.entry_leader.tty\" | \"process.entry_leader.user.id\" | \"process.entry_leader.user.name\" | \"process.entry_leader.vpid\" | \"process.entry_leader.working_directory\" | \"process.env_vars\" | \"process.executable\" | \"process.exit_code\" | \"process.group_leader.args\" | \"process.group_leader.args_count\" | \"process.group_leader.command_line\" | \"process.group_leader.entity_id\" | \"process.group_leader.executable\" | \"process.group_leader.group.id\" | \"process.group_leader.group.name\" | \"process.group_leader.interactive\" | \"process.group_leader.name\" | \"process.group_leader.pid\" | \"process.group_leader.real_group.id\" | \"process.group_leader.real_group.name\" | \"process.group_leader.real_user.id\" | \"process.group_leader.real_user.name\" | \"process.group_leader.same_as_process\" | \"process.group_leader.saved_group.id\" | \"process.group_leader.saved_group.name\" | \"process.group_leader.saved_user.id\" | \"process.group_leader.saved_user.name\" | \"process.group_leader.start\" | \"process.group_leader.supplemental_groups.id\" | \"process.group_leader.supplemental_groups.name\" | \"process.group_leader.tty\" | \"process.group_leader.user.id\" | \"process.group_leader.user.name\" | \"process.group_leader.vpid\" | \"process.group_leader.working_directory\" | \"process.hash.md5\" | \"process.hash.sha1\" | \"process.hash.sha256\" | \"process.hash.sha384\" | \"process.hash.sha512\" | \"process.hash.ssdeep\" | \"process.hash.tlsh\" | \"process.interactive\" | \"process.io\" | \"process.macho.go_import_hash\" | \"process.macho.go_imports\" | \"process.macho.go_imports_names_entropy\" | \"process.macho.go_imports_names_var_entropy\" | \"process.macho.go_stripped\" | \"process.macho.import_hash\" | \"process.macho.imports\" | \"process.macho.imports_names_entropy\" | \"process.macho.imports_names_var_entropy\" | \"process.macho.sections\" | \"process.macho.symhash\" | \"process.name\" | \"process.parent.args\" | \"process.parent.args_count\" | \"process.parent.code_signature.digest_algorithm\" | \"process.parent.code_signature.exists\" | \"process.parent.code_signature.signing_id\" | \"process.parent.code_signature.status\" | \"process.parent.code_signature.subject_name\" | \"process.parent.code_signature.team_id\" | \"process.parent.code_signature.timestamp\" | \"process.parent.code_signature.trusted\" | \"process.parent.code_signature.valid\" | \"process.parent.command_line\" | \"process.parent.elf.architecture\" | \"process.parent.elf.byte_order\" | \"process.parent.elf.cpu_type\" | \"process.parent.elf.creation_date\" | \"process.parent.elf.exports\" | \"process.parent.elf.go_import_hash\" | \"process.parent.elf.go_imports\" | \"process.parent.elf.go_imports_names_entropy\" | \"process.parent.elf.go_imports_names_var_entropy\" | \"process.parent.elf.go_stripped\" | \"process.parent.elf.header.abi_version\" | \"process.parent.elf.header.class\" | \"process.parent.elf.header.data\" | \"process.parent.elf.header.entrypoint\" | \"process.parent.elf.header.object_version\" | \"process.parent.elf.header.os_abi\" | \"process.parent.elf.header.type\" | \"process.parent.elf.header.version\" | \"process.parent.elf.import_hash\" | \"process.parent.elf.imports\" | \"process.parent.elf.imports_names_entropy\" | \"process.parent.elf.imports_names_var_entropy\" | \"process.parent.elf.sections\" | \"process.parent.elf.segments\" | \"process.parent.elf.shared_libraries\" | \"process.parent.elf.telfhash\" | \"process.parent.end\" | \"process.parent.entity_id\" | \"process.parent.executable\" | \"process.parent.exit_code\" | \"process.parent.group.id\" | \"process.parent.group.name\" | \"process.parent.group_leader.entity_id\" | \"process.parent.group_leader.pid\" | \"process.parent.group_leader.start\" | \"process.parent.group_leader.vpid\" | \"process.parent.hash.md5\" | \"process.parent.hash.sha1\" | \"process.parent.hash.sha256\" | \"process.parent.hash.sha384\" | \"process.parent.hash.sha512\" | \"process.parent.hash.ssdeep\" | \"process.parent.hash.tlsh\" | \"process.parent.interactive\" | \"process.parent.macho.go_import_hash\" | \"process.parent.macho.go_imports\" | \"process.parent.macho.go_imports_names_entropy\" | \"process.parent.macho.go_imports_names_var_entropy\" | \"process.parent.macho.go_stripped\" | \"process.parent.macho.import_hash\" | \"process.parent.macho.imports\" | \"process.parent.macho.imports_names_entropy\" | \"process.parent.macho.imports_names_var_entropy\" | \"process.parent.macho.sections\" | \"process.parent.macho.symhash\" | \"process.parent.name\" | \"process.parent.pe.architecture\" | \"process.parent.pe.company\" | \"process.parent.pe.description\" | \"process.parent.pe.file_version\" | \"process.parent.pe.go_import_hash\" | \"process.parent.pe.go_imports\" | \"process.parent.pe.go_imports_names_entropy\" | \"process.parent.pe.go_imports_names_var_entropy\" | \"process.parent.pe.go_stripped\" | \"process.parent.pe.imphash\" | \"process.parent.pe.import_hash\" | \"process.parent.pe.imports\" | \"process.parent.pe.imports_names_entropy\" | \"process.parent.pe.imports_names_var_entropy\" | \"process.parent.pe.original_file_name\" | \"process.parent.pe.pehash\" | \"process.parent.pe.product\" | \"process.parent.pe.sections\" | \"process.parent.pgid\" | \"process.parent.pid\" | \"process.parent.real_group.id\" | \"process.parent.real_group.name\" | \"process.parent.real_user.id\" | \"process.parent.real_user.name\" | \"process.parent.saved_group.id\" | \"process.parent.saved_group.name\" | \"process.parent.saved_user.id\" | \"process.parent.saved_user.name\" | \"process.parent.start\" | \"process.parent.supplemental_groups.id\" | \"process.parent.supplemental_groups.name\" | \"process.parent.thread.capabilities.effective\" | \"process.parent.thread.capabilities.permitted\" | \"process.parent.thread.id\" | \"process.parent.thread.name\" | \"process.parent.title\" | \"process.parent.tty\" | \"process.parent.uptime\" | \"process.parent.user.id\" | \"process.parent.user.name\" | \"process.parent.vpid\" | \"process.parent.working_directory\" | \"process.pe.architecture\" | \"process.pe.company\" | \"process.pe.description\" | \"process.pe.file_version\" | \"process.pe.go_import_hash\" | \"process.pe.go_imports\" | \"process.pe.go_imports_names_entropy\" | \"process.pe.go_imports_names_var_entropy\" | \"process.pe.go_stripped\" | \"process.pe.imphash\" | \"process.pe.import_hash\" | \"process.pe.imports\" | \"process.pe.imports_names_entropy\" | \"process.pe.imports_names_var_entropy\" | \"process.pe.original_file_name\" | \"process.pe.pehash\" | \"process.pe.product\" | \"process.pe.sections\" | \"process.pgid\" | \"process.pid\" | \"process.previous.args\" | \"process.previous.args_count\" | \"process.previous.executable\" | \"process.real_group.id\" | \"process.real_group.name\" | \"process.real_user.id\" | \"process.real_user.name\" | \"process.saved_group.id\" | \"process.saved_group.name\" | \"process.saved_user.id\" | \"process.saved_user.name\" | \"process.session_leader.args\" | \"process.session_leader.args_count\" | \"process.session_leader.command_line\" | \"process.session_leader.entity_id\" | \"process.session_leader.executable\" | \"process.session_leader.group.id\" | \"process.session_leader.group.name\" | \"process.session_leader.interactive\" | \"process.session_leader.name\" | \"process.session_leader.parent.entity_id\" | \"process.session_leader.parent.pid\" | \"process.session_leader.parent.session_leader.entity_id\" | \"process.session_leader.parent.session_leader.pid\" | \"process.session_leader.parent.session_leader.start\" | \"process.session_leader.parent.session_leader.vpid\" | \"process.session_leader.parent.start\" | \"process.session_leader.parent.vpid\" | \"process.session_leader.pid\" | \"process.session_leader.real_group.id\" | \"process.session_leader.real_group.name\" | \"process.session_leader.real_user.id\" | \"process.session_leader.real_user.name\" | \"process.session_leader.same_as_process\" | \"process.session_leader.saved_group.id\" | \"process.session_leader.saved_group.name\" | \"process.session_leader.saved_user.id\" | \"process.session_leader.saved_user.name\" | \"process.session_leader.start\" | \"process.session_leader.supplemental_groups.id\" | \"process.session_leader.supplemental_groups.name\" | \"process.session_leader.tty\" | \"process.session_leader.user.id\" | \"process.session_leader.user.name\" | \"process.session_leader.vpid\" | \"process.session_leader.working_directory\" | \"process.start\" | \"process.supplemental_groups.id\" | \"process.supplemental_groups.name\" | \"process.thread.capabilities.effective\" | \"process.thread.capabilities.permitted\" | \"process.thread.id\" | \"process.thread.name\" | \"process.title\" | \"process.tty\" | \"process.uptime\" | \"process.user.id\" | \"process.user.name\" | \"process.vpid\" | \"process.working_directory\" | \"registry.data.bytes\" | \"registry.data.strings\" | \"registry.data.type\" | \"registry.hive\" | \"registry.key\" | \"registry.path\" | \"registry.value\" | \"related.hash\" | \"related.hosts\" | \"related.ip\" | \"related.user\" | \"rule.author\" | \"rule.category\" | \"rule.description\" | \"rule.id\" | \"rule.license\" | \"rule.name\" | \"rule.reference\" | \"rule.ruleset\" | \"rule.uuid\" | \"rule.version\" | \"server.address\" | \"server.as.number\" | \"server.as.organization.name\" | \"server.bytes\" | \"server.domain\" | \"server.geo.city_name\" | \"server.geo.continent_code\" | \"server.geo.continent_name\" | \"server.geo.country_iso_code\" | \"server.geo.country_name\" | \"server.geo.location\" | \"server.geo.name\" | \"server.geo.postal_code\" | \"server.geo.region_iso_code\" | \"server.geo.region_name\" | \"server.geo.timezone\" | \"server.ip\" | \"server.mac\" | \"server.nat.ip\" | \"server.nat.port\" | \"server.packets\" | \"server.port\" | \"server.registered_domain\" | \"server.subdomain\" | \"server.top_level_domain\" | \"server.user.domain\" | \"server.user.email\" | \"server.user.full_name\" | \"server.user.group.domain\" | \"server.user.group.id\" | \"server.user.group.name\" | \"server.user.hash\" | \"server.user.id\" | \"server.user.name\" | \"server.user.roles\" | \"service.address\" | \"service.ephemeral_id\" | \"service.id\" | \"service.node.name\" | \"service.node.role\" | \"service.node.roles\" | \"service.origin.address\" | \"service.origin.environment\" | \"service.origin.ephemeral_id\" | \"service.origin.id\" | \"service.origin.name\" | \"service.origin.node.name\" | \"service.origin.node.role\" | \"service.origin.node.roles\" | \"service.origin.state\" | \"service.origin.type\" | \"service.origin.version\" | \"service.state\" | \"service.target.address\" | \"service.target.environment\" | \"service.target.ephemeral_id\" | \"service.target.id\" | \"service.target.name\" | \"service.target.node.name\" | \"service.target.node.role\" | \"service.target.node.roles\" | \"service.target.state\" | \"service.target.type\" | \"service.target.version\" | \"service.type\" | \"service.version\" | \"source.address\" | \"source.as.number\" | \"source.as.organization.name\" | \"source.bytes\" | \"source.domain\" | \"source.geo.city_name\" | \"source.geo.continent_code\" | \"source.geo.continent_name\" | \"source.geo.country_iso_code\" | \"source.geo.country_name\" | \"source.geo.location\" | \"source.geo.name\" | \"source.geo.postal_code\" | \"source.geo.region_iso_code\" | \"source.geo.region_name\" | \"source.geo.timezone\" | \"source.ip\" | \"source.mac\" | \"source.nat.ip\" | \"source.nat.port\" | \"source.packets\" | \"source.port\" | \"source.registered_domain\" | \"source.subdomain\" | \"source.top_level_domain\" | \"source.user.domain\" | \"source.user.email\" | \"source.user.full_name\" | \"source.user.group.domain\" | \"source.user.group.id\" | \"source.user.group.name\" | \"source.user.hash\" | \"source.user.id\" | \"source.user.name\" | \"source.user.roles\" | \"span.id\" | \"threat.enrichments\" | \"threat.feed.dashboard_id\" | \"threat.feed.description\" | \"threat.feed.name\" | \"threat.feed.reference\" | \"threat.framework\" | \"threat.group.alias\" | \"threat.group.id\" | \"threat.group.name\" | \"threat.group.reference\" | \"threat.indicator.as.number\" | \"threat.indicator.as.organization.name\" | \"threat.indicator.confidence\" | \"threat.indicator.description\" | \"threat.indicator.email.address\" | \"threat.indicator.file.accessed\" | \"threat.indicator.file.attributes\" | \"threat.indicator.file.code_signature.digest_algorithm\" | \"threat.indicator.file.code_signature.exists\" | \"threat.indicator.file.code_signature.signing_id\" | \"threat.indicator.file.code_signature.status\" | \"threat.indicator.file.code_signature.subject_name\" | \"threat.indicator.file.code_signature.team_id\" | \"threat.indicator.file.code_signature.timestamp\" | \"threat.indicator.file.code_signature.trusted\" | \"threat.indicator.file.code_signature.valid\" | \"threat.indicator.file.created\" | \"threat.indicator.file.ctime\" | \"threat.indicator.file.device\" | \"threat.indicator.file.directory\" | \"threat.indicator.file.drive_letter\" | \"threat.indicator.file.elf.architecture\" | \"threat.indicator.file.elf.byte_order\" | \"threat.indicator.file.elf.cpu_type\" | \"threat.indicator.file.elf.creation_date\" | \"threat.indicator.file.elf.exports\" | \"threat.indicator.file.elf.go_import_hash\" | \"threat.indicator.file.elf.go_imports\" | \"threat.indicator.file.elf.go_imports_names_entropy\" | \"threat.indicator.file.elf.go_imports_names_var_entropy\" | \"threat.indicator.file.elf.go_stripped\" | \"threat.indicator.file.elf.header.abi_version\" | \"threat.indicator.file.elf.header.class\" | \"threat.indicator.file.elf.header.data\" | \"threat.indicator.file.elf.header.entrypoint\" | \"threat.indicator.file.elf.header.object_version\" | \"threat.indicator.file.elf.header.os_abi\" | \"threat.indicator.file.elf.header.type\" | \"threat.indicator.file.elf.header.version\" | \"threat.indicator.file.elf.import_hash\" | \"threat.indicator.file.elf.imports\" | \"threat.indicator.file.elf.imports_names_entropy\" | \"threat.indicator.file.elf.imports_names_var_entropy\" | \"threat.indicator.file.elf.sections\" | \"threat.indicator.file.elf.segments\" | \"threat.indicator.file.elf.shared_libraries\" | \"threat.indicator.file.elf.telfhash\" | \"threat.indicator.file.extension\" | \"threat.indicator.file.fork_name\" | \"threat.indicator.file.gid\" | \"threat.indicator.file.group\" | \"threat.indicator.file.hash.md5\" | \"threat.indicator.file.hash.sha1\" | \"threat.indicator.file.hash.sha256\" | \"threat.indicator.file.hash.sha384\" | \"threat.indicator.file.hash.sha512\" | \"threat.indicator.file.hash.ssdeep\" | \"threat.indicator.file.hash.tlsh\" | \"threat.indicator.file.inode\" | \"threat.indicator.file.mime_type\" | \"threat.indicator.file.mode\" | \"threat.indicator.file.mtime\" | \"threat.indicator.file.name\" | \"threat.indicator.file.owner\" | \"threat.indicator.file.path\" | \"threat.indicator.file.pe.architecture\" | \"threat.indicator.file.pe.company\" | \"threat.indicator.file.pe.description\" | \"threat.indicator.file.pe.file_version\" | \"threat.indicator.file.pe.go_import_hash\" | \"threat.indicator.file.pe.go_imports\" | \"threat.indicator.file.pe.go_imports_names_entropy\" | \"threat.indicator.file.pe.go_imports_names_var_entropy\" | \"threat.indicator.file.pe.go_stripped\" | \"threat.indicator.file.pe.imphash\" | \"threat.indicator.file.pe.import_hash\" | \"threat.indicator.file.pe.imports\" | \"threat.indicator.file.pe.imports_names_entropy\" | \"threat.indicator.file.pe.imports_names_var_entropy\" | \"threat.indicator.file.pe.original_file_name\" | \"threat.indicator.file.pe.pehash\" | \"threat.indicator.file.pe.product\" | \"threat.indicator.file.pe.sections\" | \"threat.indicator.file.size\" | \"threat.indicator.file.target_path\" | \"threat.indicator.file.type\" | \"threat.indicator.file.uid\" | \"threat.indicator.file.x509.alternative_names\" | \"threat.indicator.file.x509.issuer.common_name\" | \"threat.indicator.file.x509.issuer.country\" | \"threat.indicator.file.x509.issuer.distinguished_name\" | \"threat.indicator.file.x509.issuer.locality\" | \"threat.indicator.file.x509.issuer.organization\" | \"threat.indicator.file.x509.issuer.organizational_unit\" | \"threat.indicator.file.x509.issuer.state_or_province\" | \"threat.indicator.file.x509.not_after\" | \"threat.indicator.file.x509.not_before\" | \"threat.indicator.file.x509.public_key_algorithm\" | \"threat.indicator.file.x509.public_key_curve\" | \"threat.indicator.file.x509.public_key_exponent\" | \"threat.indicator.file.x509.public_key_size\" | \"threat.indicator.file.x509.serial_number\" | \"threat.indicator.file.x509.signature_algorithm\" | \"threat.indicator.file.x509.subject.common_name\" | \"threat.indicator.file.x509.subject.country\" | \"threat.indicator.file.x509.subject.distinguished_name\" | \"threat.indicator.file.x509.subject.locality\" | \"threat.indicator.file.x509.subject.organization\" | \"threat.indicator.file.x509.subject.organizational_unit\" | \"threat.indicator.file.x509.subject.state_or_province\" | \"threat.indicator.file.x509.version_number\" | \"threat.indicator.first_seen\" | \"threat.indicator.geo.city_name\" | \"threat.indicator.geo.continent_code\" | \"threat.indicator.geo.continent_name\" | \"threat.indicator.geo.country_iso_code\" | \"threat.indicator.geo.country_name\" | \"threat.indicator.geo.location\" | \"threat.indicator.geo.name\" | \"threat.indicator.geo.postal_code\" | \"threat.indicator.geo.region_iso_code\" | \"threat.indicator.geo.region_name\" | \"threat.indicator.geo.timezone\" | \"threat.indicator.ip\" | \"threat.indicator.last_seen\" | \"threat.indicator.marking.tlp\" | \"threat.indicator.marking.tlp_version\" | \"threat.indicator.modified_at\" | \"threat.indicator.name\" | \"threat.indicator.port\" | \"threat.indicator.provider\" | \"threat.indicator.reference\" | \"threat.indicator.registry.data.bytes\" | \"threat.indicator.registry.data.strings\" | \"threat.indicator.registry.data.type\" | \"threat.indicator.registry.hive\" | \"threat.indicator.registry.key\" | \"threat.indicator.registry.path\" | \"threat.indicator.registry.value\" | \"threat.indicator.scanner_stats\" | \"threat.indicator.sightings\" | \"threat.indicator.type\" | \"threat.indicator.url.domain\" | \"threat.indicator.url.extension\" | \"threat.indicator.url.fragment\" | \"threat.indicator.url.full\" | \"threat.indicator.url.original\" | \"threat.indicator.url.password\" | \"threat.indicator.url.path\" | \"threat.indicator.url.port\" | \"threat.indicator.url.query\" | \"threat.indicator.url.registered_domain\" | \"threat.indicator.url.scheme\" | \"threat.indicator.url.subdomain\" | \"threat.indicator.url.top_level_domain\" | \"threat.indicator.url.username\" | \"threat.indicator.x509.alternative_names\" | \"threat.indicator.x509.issuer.common_name\" | \"threat.indicator.x509.issuer.country\" | \"threat.indicator.x509.issuer.distinguished_name\" | \"threat.indicator.x509.issuer.locality\" | \"threat.indicator.x509.issuer.organization\" | \"threat.indicator.x509.issuer.organizational_unit\" | \"threat.indicator.x509.issuer.state_or_province\" | \"threat.indicator.x509.not_after\" | \"threat.indicator.x509.not_before\" | \"threat.indicator.x509.public_key_algorithm\" | \"threat.indicator.x509.public_key_curve\" | \"threat.indicator.x509.public_key_exponent\" | \"threat.indicator.x509.public_key_size\" | \"threat.indicator.x509.serial_number\" | \"threat.indicator.x509.signature_algorithm\" | \"threat.indicator.x509.subject.common_name\" | \"threat.indicator.x509.subject.country\" | \"threat.indicator.x509.subject.distinguished_name\" | \"threat.indicator.x509.subject.locality\" | \"threat.indicator.x509.subject.organization\" | \"threat.indicator.x509.subject.organizational_unit\" | \"threat.indicator.x509.subject.state_or_province\" | \"threat.indicator.x509.version_number\" | \"threat.software.alias\" | \"threat.software.id\" | \"threat.software.name\" | \"threat.software.platforms\" | \"threat.software.reference\" | \"threat.software.type\" | \"threat.tactic.id\" | \"threat.tactic.name\" | \"threat.tactic.reference\" | \"threat.technique.id\" | \"threat.technique.name\" | \"threat.technique.reference\" | \"threat.technique.subtechnique.id\" | \"threat.technique.subtechnique.name\" | \"threat.technique.subtechnique.reference\" | \"tls.cipher\" | \"tls.client.certificate\" | \"tls.client.certificate_chain\" | \"tls.client.hash.md5\" | \"tls.client.hash.sha1\" | \"tls.client.hash.sha256\" | \"tls.client.issuer\" | \"tls.client.ja3\" | \"tls.client.not_after\" | \"tls.client.not_before\" | \"tls.client.server_name\" | \"tls.client.subject\" | \"tls.client.supported_ciphers\" | \"tls.client.x509.alternative_names\" | \"tls.client.x509.issuer.common_name\" | \"tls.client.x509.issuer.country\" | \"tls.client.x509.issuer.distinguished_name\" | \"tls.client.x509.issuer.locality\" | \"tls.client.x509.issuer.organization\" | \"tls.client.x509.issuer.organizational_unit\" | \"tls.client.x509.issuer.state_or_province\" | \"tls.client.x509.not_after\" | \"tls.client.x509.not_before\" | \"tls.client.x509.public_key_algorithm\" | \"tls.client.x509.public_key_curve\" | \"tls.client.x509.public_key_exponent\" | \"tls.client.x509.public_key_size\" | \"tls.client.x509.serial_number\" | \"tls.client.x509.signature_algorithm\" | \"tls.client.x509.subject.common_name\" | \"tls.client.x509.subject.country\" | \"tls.client.x509.subject.distinguished_name\" | \"tls.client.x509.subject.locality\" | \"tls.client.x509.subject.organization\" | \"tls.client.x509.subject.organizational_unit\" | \"tls.client.x509.subject.state_or_province\" | \"tls.client.x509.version_number\" | \"tls.curve\" | \"tls.established\" | \"tls.next_protocol\" | \"tls.resumed\" | \"tls.server.certificate\" | \"tls.server.certificate_chain\" | \"tls.server.hash.md5\" | \"tls.server.hash.sha1\" | \"tls.server.hash.sha256\" | \"tls.server.issuer\" | \"tls.server.ja3s\" | \"tls.server.not_after\" | \"tls.server.not_before\" | \"tls.server.subject\" | \"tls.server.x509.alternative_names\" | \"tls.server.x509.issuer.common_name\" | \"tls.server.x509.issuer.country\" | \"tls.server.x509.issuer.distinguished_name\" | \"tls.server.x509.issuer.locality\" | \"tls.server.x509.issuer.organization\" | \"tls.server.x509.issuer.organizational_unit\" | \"tls.server.x509.issuer.state_or_province\" | \"tls.server.x509.not_after\" | \"tls.server.x509.not_before\" | \"tls.server.x509.public_key_algorithm\" | \"tls.server.x509.public_key_curve\" | \"tls.server.x509.public_key_exponent\" | \"tls.server.x509.public_key_size\" | \"tls.server.x509.serial_number\" | \"tls.server.x509.signature_algorithm\" | \"tls.server.x509.subject.common_name\" | \"tls.server.x509.subject.country\" | \"tls.server.x509.subject.distinguished_name\" | \"tls.server.x509.subject.locality\" | \"tls.server.x509.subject.organization\" | \"tls.server.x509.subject.organizational_unit\" | \"tls.server.x509.subject.state_or_province\" | \"tls.server.x509.version_number\" | \"tls.version\" | \"tls.version_protocol\" | \"trace.id\" | \"transaction.id\" | \"url.domain\" | \"url.extension\" | \"url.fragment\" | \"url.full\" | \"url.original\" | \"url.password\" | \"url.path\" | \"url.port\" | \"url.query\" | \"url.registered_domain\" | \"url.scheme\" | \"url.subdomain\" | \"url.top_level_domain\" | \"url.username\" | \"user.changes.domain\" | \"user.changes.email\" | \"user.changes.full_name\" | \"user.changes.group.domain\" | \"user.changes.group.id\" | \"user.changes.group.name\" | \"user.changes.hash\" | \"user.changes.id\" | \"user.changes.name\" | \"user.changes.roles\" | \"user.domain\" | \"user.effective.domain\" | \"user.effective.email\" | \"user.effective.full_name\" | \"user.effective.group.domain\" | \"user.effective.group.id\" | \"user.effective.group.name\" | \"user.effective.hash\" | \"user.effective.id\" | \"user.effective.name\" | \"user.effective.roles\" | \"user.email\" | \"user.full_name\" | \"user.group.domain\" | \"user.group.id\" | \"user.group.name\" | \"user.hash\" | \"user.id\" | \"user.name\" | \"user.risk.calculated_level\" | \"user.risk.calculated_score\" | \"user.risk.calculated_score_norm\" | \"user.risk.static_level\" | \"user.risk.static_score\" | \"user.risk.static_score_norm\" | \"user.roles\" | \"user.target.domain\" | \"user.target.email\" | \"user.target.full_name\" | \"user.target.group.domain\" | \"user.target.group.id\" | \"user.target.group.name\" | \"user.target.hash\" | \"user.target.id\" | \"user.target.name\" | \"user.target.roles\" | \"user_agent.device.name\" | \"user_agent.name\" | \"user_agent.original\" | \"user_agent.os.family\" | \"user_agent.os.full\" | \"user_agent.os.kernel\" | \"user_agent.os.name\" | \"user_agent.os.platform\" | \"user_agent.os.type\" | \"user_agent.os.version\" | \"user_agent.version\" | \"vulnerability.category\" | \"vulnerability.classification\" | \"vulnerability.description\" | \"vulnerability.enumeration\" | \"vulnerability.id\" | \"vulnerability.reference\" | \"vulnerability.report_id\" | \"vulnerability.scanner.vendor\" | \"vulnerability.score.base\" | \"vulnerability.score.environmental\" | \"vulnerability.score.temporal\" | \"vulnerability.score.version\" | \"vulnerability.severity\" | \"data_stream.dataset\" | \"data_stream.namespace\" | \"data_stream.type\" | \"dll.pe.sections.entropy\" | \"dll.pe.sections.name\" | \"dll.pe.sections.physical_size\" | \"dll.pe.sections.var_entropy\" | \"dll.pe.sections.virtual_size\" | \"dns.answers.class\" | \"dns.answers.data\" | \"dns.answers.name\" | \"dns.answers.ttl\" | \"dns.answers.type\" | \"email.attachments.file.extension\" | \"email.attachments.file.hash.md5\" | \"email.attachments.file.hash.sha1\" | \"email.attachments.file.hash.sha256\" | \"email.attachments.file.hash.sha384\" | \"email.attachments.file.hash.sha512\" | \"email.attachments.file.hash.ssdeep\" | \"email.attachments.file.hash.tlsh\" | \"email.attachments.file.mime_type\" | \"email.attachments.file.name\" | \"email.attachments.file.size\" | \"faas.trigger.request_id\" | \"faas.trigger.type\" | \"file.elf.sections.chi2\" | \"file.elf.sections.entropy\" | \"file.elf.sections.flags\" | \"file.elf.sections.name\" | \"file.elf.sections.physical_offset\" | \"file.elf.sections.physical_size\" | \"file.elf.sections.type\" | \"file.elf.sections.var_entropy\" | \"file.elf.sections.virtual_address\" | \"file.elf.sections.virtual_size\" | \"file.elf.segments.sections\" | \"file.elf.segments.type\" | \"file.macho.sections.entropy\" | \"file.macho.sections.name\" | \"file.macho.sections.physical_size\" | \"file.macho.sections.var_entropy\" | \"file.macho.sections.virtual_size\" | \"file.pe.sections.entropy\" | \"file.pe.sections.name\" | \"file.pe.sections.physical_size\" | \"file.pe.sections.var_entropy\" | \"file.pe.sections.virtual_size\" | \"log.syslog.appname\" | \"log.syslog.facility.code\" | \"log.syslog.facility.name\" | \"log.syslog.hostname\" | \"log.syslog.msgid\" | \"log.syslog.priority\" | \"log.syslog.procid\" | \"log.syslog.severity.code\" | \"log.syslog.severity.name\" | \"log.syslog.structured_data\" | \"log.syslog.version\" | \"network.inner.vlan.id\" | \"network.inner.vlan.name\" | \"observer.egress.interface.alias\" | \"observer.egress.interface.id\" | \"observer.egress.interface.name\" | \"observer.egress.vlan.id\" | \"observer.egress.vlan.name\" | \"observer.egress.zone\" | \"observer.ingress.interface.alias\" | \"observer.ingress.interface.id\" | \"observer.ingress.interface.name\" | \"observer.ingress.vlan.id\" | \"observer.ingress.vlan.name\" | \"observer.ingress.zone\" | \"process.elf.sections.chi2\" | \"process.elf.sections.entropy\" | \"process.elf.sections.flags\" | \"process.elf.sections.name\" | \"process.elf.sections.physical_offset\" | \"process.elf.sections.physical_size\" | \"process.elf.sections.type\" | \"process.elf.sections.var_entropy\" | \"process.elf.sections.virtual_address\" | \"process.elf.sections.virtual_size\" | \"process.elf.segments.sections\" | \"process.elf.segments.type\" | \"process.entry_leader.tty.char_device.major\" | \"process.entry_leader.tty.char_device.minor\" | \"process.group_leader.tty.char_device.major\" | \"process.group_leader.tty.char_device.minor\" | \"process.io.bytes_skipped\" | \"process.io.bytes_skipped.length\" | \"process.io.bytes_skipped.offset\" | \"process.io.max_bytes_per_process_exceeded\" | \"process.io.text\" | \"process.io.total_bytes_captured\" | \"process.io.total_bytes_skipped\" | \"process.io.type\" | \"process.macho.sections.entropy\" | \"process.macho.sections.name\" | \"process.macho.sections.physical_size\" | \"process.macho.sections.var_entropy\" | \"process.macho.sections.virtual_size\" | \"process.parent.elf.sections.chi2\" | \"process.parent.elf.sections.entropy\" | \"process.parent.elf.sections.flags\" | \"process.parent.elf.sections.name\" | \"process.parent.elf.sections.physical_offset\" | \"process.parent.elf.sections.physical_size\" | \"process.parent.elf.sections.type\" | \"process.parent.elf.sections.var_entropy\" | \"process.parent.elf.sections.virtual_address\" | \"process.parent.elf.sections.virtual_size\" | \"process.parent.elf.segments.sections\" | \"process.parent.elf.segments.type\" | \"process.parent.macho.sections.entropy\" | \"process.parent.macho.sections.name\" | \"process.parent.macho.sections.physical_size\" | \"process.parent.macho.sections.var_entropy\" | \"process.parent.macho.sections.virtual_size\" | \"process.parent.pe.sections.entropy\" | \"process.parent.pe.sections.name\" | \"process.parent.pe.sections.physical_size\" | \"process.parent.pe.sections.var_entropy\" | \"process.parent.pe.sections.virtual_size\" | \"process.parent.tty.char_device.major\" | \"process.parent.tty.char_device.minor\" | \"process.pe.sections.entropy\" | \"process.pe.sections.name\" | \"process.pe.sections.physical_size\" | \"process.pe.sections.var_entropy\" | \"process.pe.sections.virtual_size\" | \"process.session_leader.tty.char_device.major\" | \"process.session_leader.tty.char_device.minor\" | \"process.tty.char_device.major\" | \"process.tty.char_device.minor\" | \"process.tty.columns\" | \"process.tty.rows\" | \"threat.enrichments.indicator\" | \"threat.enrichments.indicator.as.number\" | \"threat.enrichments.indicator.as.organization.name\" | \"threat.enrichments.indicator.confidence\" | \"threat.enrichments.indicator.description\" | \"threat.enrichments.indicator.email.address\" | \"threat.enrichments.indicator.file.accessed\" | \"threat.enrichments.indicator.file.attributes\" | \"threat.enrichments.indicator.file.code_signature.digest_algorithm\" | \"threat.enrichments.indicator.file.code_signature.exists\" | \"threat.enrichments.indicator.file.code_signature.signing_id\" | \"threat.enrichments.indicator.file.code_signature.status\" | \"threat.enrichments.indicator.file.code_signature.subject_name\" | \"threat.enrichments.indicator.file.code_signature.team_id\" | \"threat.enrichments.indicator.file.code_signature.timestamp\" | \"threat.enrichments.indicator.file.code_signature.trusted\" | \"threat.enrichments.indicator.file.code_signature.valid\" | \"threat.enrichments.indicator.file.created\" | \"threat.enrichments.indicator.file.ctime\" | \"threat.enrichments.indicator.file.device\" | \"threat.enrichments.indicator.file.directory\" | \"threat.enrichments.indicator.file.drive_letter\" | \"threat.enrichments.indicator.file.elf.architecture\" | \"threat.enrichments.indicator.file.elf.byte_order\" | \"threat.enrichments.indicator.file.elf.cpu_type\" | \"threat.enrichments.indicator.file.elf.creation_date\" | \"threat.enrichments.indicator.file.elf.exports\" | \"threat.enrichments.indicator.file.elf.go_import_hash\" | \"threat.enrichments.indicator.file.elf.go_imports\" | \"threat.enrichments.indicator.file.elf.go_imports_names_entropy\" | \"threat.enrichments.indicator.file.elf.go_imports_names_var_entropy\" | \"threat.enrichments.indicator.file.elf.go_stripped\" | \"threat.enrichments.indicator.file.elf.header.abi_version\" | \"threat.enrichments.indicator.file.elf.header.class\" | \"threat.enrichments.indicator.file.elf.header.data\" | \"threat.enrichments.indicator.file.elf.header.entrypoint\" | \"threat.enrichments.indicator.file.elf.header.object_version\" | \"threat.enrichments.indicator.file.elf.header.os_abi\" | \"threat.enrichments.indicator.file.elf.header.type\" | \"threat.enrichments.indicator.file.elf.header.version\" | \"threat.enrichments.indicator.file.elf.import_hash\" | \"threat.enrichments.indicator.file.elf.imports\" | \"threat.enrichments.indicator.file.elf.imports_names_entropy\" | \"threat.enrichments.indicator.file.elf.imports_names_var_entropy\" | \"threat.enrichments.indicator.file.elf.sections\" | \"threat.enrichments.indicator.file.elf.sections.chi2\" | \"threat.enrichments.indicator.file.elf.sections.entropy\" | \"threat.enrichments.indicator.file.elf.sections.flags\" | \"threat.enrichments.indicator.file.elf.sections.name\" | \"threat.enrichments.indicator.file.elf.sections.physical_offset\" | \"threat.enrichments.indicator.file.elf.sections.physical_size\" | \"threat.enrichments.indicator.file.elf.sections.type\" | \"threat.enrichments.indicator.file.elf.sections.var_entropy\" | \"threat.enrichments.indicator.file.elf.sections.virtual_address\" | \"threat.enrichments.indicator.file.elf.sections.virtual_size\" | \"threat.enrichments.indicator.file.elf.segments\" | \"threat.enrichments.indicator.file.elf.segments.sections\" | \"threat.enrichments.indicator.file.elf.segments.type\" | \"threat.enrichments.indicator.file.elf.shared_libraries\" | \"threat.enrichments.indicator.file.elf.telfhash\" | \"threat.enrichments.indicator.file.extension\" | \"threat.enrichments.indicator.file.fork_name\" | \"threat.enrichments.indicator.file.gid\" | \"threat.enrichments.indicator.file.group\" | \"threat.enrichments.indicator.file.hash.md5\" | \"threat.enrichments.indicator.file.hash.sha1\" | \"threat.enrichments.indicator.file.hash.sha256\" | \"threat.enrichments.indicator.file.hash.sha384\" | \"threat.enrichments.indicator.file.hash.sha512\" | \"threat.enrichments.indicator.file.hash.ssdeep\" | \"threat.enrichments.indicator.file.hash.tlsh\" | \"threat.enrichments.indicator.file.inode\" | \"threat.enrichments.indicator.file.mime_type\" | \"threat.enrichments.indicator.file.mode\" | \"threat.enrichments.indicator.file.mtime\" | \"threat.enrichments.indicator.file.name\" | \"threat.enrichments.indicator.file.owner\" | \"threat.enrichments.indicator.file.path\" | \"threat.enrichments.indicator.file.pe.architecture\" | \"threat.enrichments.indicator.file.pe.company\" | \"threat.enrichments.indicator.file.pe.description\" | \"threat.enrichments.indicator.file.pe.file_version\" | \"threat.enrichments.indicator.file.pe.go_import_hash\" | \"threat.enrichments.indicator.file.pe.go_imports\" | \"threat.enrichments.indicator.file.pe.go_imports_names_entropy\" | \"threat.enrichments.indicator.file.pe.go_imports_names_var_entropy\" | \"threat.enrichments.indicator.file.pe.go_stripped\" | \"threat.enrichments.indicator.file.pe.imphash\" | \"threat.enrichments.indicator.file.pe.import_hash\" | \"threat.enrichments.indicator.file.pe.imports\" | \"threat.enrichments.indicator.file.pe.imports_names_entropy\" | \"threat.enrichments.indicator.file.pe.imports_names_var_entropy\" | \"threat.enrichments.indicator.file.pe.original_file_name\" | \"threat.enrichments.indicator.file.pe.pehash\" | \"threat.enrichments.indicator.file.pe.product\" | \"threat.enrichments.indicator.file.pe.sections\" | \"threat.enrichments.indicator.file.pe.sections.entropy\" | \"threat.enrichments.indicator.file.pe.sections.name\" | \"threat.enrichments.indicator.file.pe.sections.physical_size\" | \"threat.enrichments.indicator.file.pe.sections.var_entropy\" | \"threat.enrichments.indicator.file.pe.sections.virtual_size\" | \"threat.enrichments.indicator.file.size\" | \"threat.enrichments.indicator.file.target_path\" | \"threat.enrichments.indicator.file.type\" | \"threat.enrichments.indicator.file.uid\" | \"threat.enrichments.indicator.file.x509.alternative_names\" | \"threat.enrichments.indicator.file.x509.issuer.common_name\" | \"threat.enrichments.indicator.file.x509.issuer.country\" | \"threat.enrichments.indicator.file.x509.issuer.distinguished_name\" | \"threat.enrichments.indicator.file.x509.issuer.locality\" | \"threat.enrichments.indicator.file.x509.issuer.organization\" | \"threat.enrichments.indicator.file.x509.issuer.organizational_unit\" | \"threat.enrichments.indicator.file.x509.issuer.state_or_province\" | \"threat.enrichments.indicator.file.x509.not_after\" | \"threat.enrichments.indicator.file.x509.not_before\" | \"threat.enrichments.indicator.file.x509.public_key_algorithm\" | \"threat.enrichments.indicator.file.x509.public_key_curve\" | \"threat.enrichments.indicator.file.x509.public_key_exponent\" | \"threat.enrichments.indicator.file.x509.public_key_size\" | \"threat.enrichments.indicator.file.x509.serial_number\" | \"threat.enrichments.indicator.file.x509.signature_algorithm\" | \"threat.enrichments.indicator.file.x509.subject.common_name\" | \"threat.enrichments.indicator.file.x509.subject.country\" | \"threat.enrichments.indicator.file.x509.subject.distinguished_name\" | \"threat.enrichments.indicator.file.x509.subject.locality\" | \"threat.enrichments.indicator.file.x509.subject.organization\" | \"threat.enrichments.indicator.file.x509.subject.organizational_unit\" | \"threat.enrichments.indicator.file.x509.subject.state_or_province\" | \"threat.enrichments.indicator.file.x509.version_number\" | \"threat.enrichments.indicator.first_seen\" | \"threat.enrichments.indicator.geo.city_name\" | \"threat.enrichments.indicator.geo.continent_code\" | \"threat.enrichments.indicator.geo.continent_name\" | \"threat.enrichments.indicator.geo.country_iso_code\" | \"threat.enrichments.indicator.geo.country_name\" | \"threat.enrichments.indicator.geo.location\" | \"threat.enrichments.indicator.geo.name\" | \"threat.enrichments.indicator.geo.postal_code\" | \"threat.enrichments.indicator.geo.region_iso_code\" | \"threat.enrichments.indicator.geo.region_name\" | \"threat.enrichments.indicator.geo.timezone\" | \"threat.enrichments.indicator.ip\" | \"threat.enrichments.indicator.last_seen\" | \"threat.enrichments.indicator.marking.tlp\" | \"threat.enrichments.indicator.marking.tlp_version\" | \"threat.enrichments.indicator.modified_at\" | \"threat.enrichments.indicator.name\" | \"threat.enrichments.indicator.port\" | \"threat.enrichments.indicator.provider\" | \"threat.enrichments.indicator.reference\" | \"threat.enrichments.indicator.registry.data.bytes\" | \"threat.enrichments.indicator.registry.data.strings\" | \"threat.enrichments.indicator.registry.data.type\" | \"threat.enrichments.indicator.registry.hive\" | \"threat.enrichments.indicator.registry.key\" | \"threat.enrichments.indicator.registry.path\" | \"threat.enrichments.indicator.registry.value\" | \"threat.enrichments.indicator.scanner_stats\" | \"threat.enrichments.indicator.sightings\" | \"threat.enrichments.indicator.type\" | \"threat.enrichments.indicator.url.domain\" | \"threat.enrichments.indicator.url.extension\" | \"threat.enrichments.indicator.url.fragment\" | \"threat.enrichments.indicator.url.full\" | \"threat.enrichments.indicator.url.original\" | \"threat.enrichments.indicator.url.password\" | \"threat.enrichments.indicator.url.path\" | \"threat.enrichments.indicator.url.port\" | \"threat.enrichments.indicator.url.query\" | \"threat.enrichments.indicator.url.registered_domain\" | \"threat.enrichments.indicator.url.scheme\" | \"threat.enrichments.indicator.url.subdomain\" | \"threat.enrichments.indicator.url.top_level_domain\" | \"threat.enrichments.indicator.url.username\" | \"threat.enrichments.indicator.x509.alternative_names\" | \"threat.enrichments.indicator.x509.issuer.common_name\" | \"threat.enrichments.indicator.x509.issuer.country\" | \"threat.enrichments.indicator.x509.issuer.distinguished_name\" | \"threat.enrichments.indicator.x509.issuer.locality\" | \"threat.enrichments.indicator.x509.issuer.organization\" | \"threat.enrichments.indicator.x509.issuer.organizational_unit\" | \"threat.enrichments.indicator.x509.issuer.state_or_province\" | \"threat.enrichments.indicator.x509.not_after\" | \"threat.enrichments.indicator.x509.not_before\" | \"threat.enrichments.indicator.x509.public_key_algorithm\" | \"threat.enrichments.indicator.x509.public_key_curve\" | \"threat.enrichments.indicator.x509.public_key_exponent\" | \"threat.enrichments.indicator.x509.public_key_size\" | \"threat.enrichments.indicator.x509.serial_number\" | \"threat.enrichments.indicator.x509.signature_algorithm\" | \"threat.enrichments.indicator.x509.subject.common_name\" | \"threat.enrichments.indicator.x509.subject.country\" | \"threat.enrichments.indicator.x509.subject.distinguished_name\" | \"threat.enrichments.indicator.x509.subject.locality\" | \"threat.enrichments.indicator.x509.subject.organization\" | \"threat.enrichments.indicator.x509.subject.organizational_unit\" | \"threat.enrichments.indicator.x509.subject.state_or_province\" | \"threat.enrichments.indicator.x509.version_number\" | \"threat.enrichments.matched.atomic\" | \"threat.enrichments.matched.field\" | \"threat.enrichments.matched.id\" | \"threat.enrichments.matched.index\" | \"threat.enrichments.matched.occurred\" | \"threat.enrichments.matched.type\" | \"threat.indicator.file.elf.sections.chi2\" | \"threat.indicator.file.elf.sections.entropy\" | \"threat.indicator.file.elf.sections.flags\" | \"threat.indicator.file.elf.sections.name\" | \"threat.indicator.file.elf.sections.physical_offset\" | \"threat.indicator.file.elf.sections.physical_size\" | \"threat.indicator.file.elf.sections.type\" | \"threat.indicator.file.elf.sections.var_entropy\" | \"threat.indicator.file.elf.sections.virtual_address\" | \"threat.indicator.file.elf.sections.virtual_size\" | \"threat.indicator.file.elf.segments.sections\" | \"threat.indicator.file.elf.segments.type\" | \"threat.indicator.file.pe.sections.entropy\" | \"threat.indicator.file.pe.sections.name\" | \"threat.indicator.file.pe.sections.physical_size\" | \"threat.indicator.file.pe.sections.var_entropy\" | \"threat.indicator.file.pe.sections.virtual_size\"" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -675,7 +675,7 @@ "signature": [ "\"source\" | \"type\" | \"normalize\" | \"short\" | \"format\" | \"name\" | \"index\" | \"description\" | \"pattern\" | \"doc_values\" | \"ignore_above\" | \"required\" | \"beta\" | \"level\" | \"allowed_values\" | \"dashed_name\" | \"example\" | \"expected_values\" | \"flat_name\" | \"input_format\" | \"multi_fields\" | \"object_type\" | \"original_fieldset\" | \"output_format\" | \"output_precision\" | \"scaling_factor\" | \"documentation_url\"" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -690,7 +690,7 @@ "signature": [ "{ name: string; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -713,7 +713,7 @@ }, " | \"data_stream.dataset\" | \"data_stream.namespace\" | \"data_stream.type\" | \"dll.pe.sections.entropy\" | \"dll.pe.sections.name\" | \"dll.pe.sections.physical_size\" | \"dll.pe.sections.var_entropy\" | \"dll.pe.sections.virtual_size\" | \"dns.answers.class\" | \"dns.answers.data\" | \"dns.answers.name\" | \"dns.answers.ttl\" | \"dns.answers.type\" | \"email.attachments.file.extension\" | \"email.attachments.file.hash.md5\" | \"email.attachments.file.hash.sha1\" | \"email.attachments.file.hash.sha256\" | \"email.attachments.file.hash.sha384\" | \"email.attachments.file.hash.sha512\" | \"email.attachments.file.hash.ssdeep\" | \"email.attachments.file.hash.tlsh\" | \"email.attachments.file.mime_type\" | \"email.attachments.file.name\" | \"email.attachments.file.size\" | \"faas.trigger.request_id\" | \"faas.trigger.type\" | \"file.elf.sections.chi2\" | \"file.elf.sections.entropy\" | \"file.elf.sections.flags\" | \"file.elf.sections.name\" | \"file.elf.sections.physical_offset\" | \"file.elf.sections.physical_size\" | \"file.elf.sections.type\" | \"file.elf.sections.var_entropy\" | \"file.elf.sections.virtual_address\" | \"file.elf.sections.virtual_size\" | \"file.elf.segments.sections\" | \"file.elf.segments.type\" | \"file.macho.sections.entropy\" | \"file.macho.sections.name\" | \"file.macho.sections.physical_size\" | \"file.macho.sections.var_entropy\" | \"file.macho.sections.virtual_size\" | \"file.pe.sections.entropy\" | \"file.pe.sections.name\" | \"file.pe.sections.physical_size\" | \"file.pe.sections.var_entropy\" | \"file.pe.sections.virtual_size\" | \"log.syslog.appname\" | \"log.syslog.facility.code\" | \"log.syslog.facility.name\" | \"log.syslog.hostname\" | \"log.syslog.msgid\" | \"log.syslog.priority\" | \"log.syslog.procid\" | \"log.syslog.severity.code\" | \"log.syslog.severity.name\" | \"log.syslog.structured_data\" | \"log.syslog.version\" | \"network.inner.vlan.id\" | \"network.inner.vlan.name\" | \"observer.egress.interface.alias\" | \"observer.egress.interface.id\" | \"observer.egress.interface.name\" | \"observer.egress.vlan.id\" | \"observer.egress.vlan.name\" | \"observer.egress.zone\" | \"observer.ingress.interface.alias\" | \"observer.ingress.interface.id\" | \"observer.ingress.interface.name\" | \"observer.ingress.vlan.id\" | \"observer.ingress.vlan.name\" | \"observer.ingress.zone\" | \"process.elf.sections.chi2\" | \"process.elf.sections.entropy\" | \"process.elf.sections.flags\" | \"process.elf.sections.name\" | \"process.elf.sections.physical_offset\" | \"process.elf.sections.physical_size\" | \"process.elf.sections.type\" | \"process.elf.sections.var_entropy\" | \"process.elf.sections.virtual_address\" | \"process.elf.sections.virtual_size\" | \"process.elf.segments.sections\" | \"process.elf.segments.type\" | \"process.entry_leader.tty.char_device.major\" | \"process.entry_leader.tty.char_device.minor\" | \"process.group_leader.tty.char_device.major\" | \"process.group_leader.tty.char_device.minor\" | \"process.io.bytes_skipped\" | \"process.io.bytes_skipped.length\" | \"process.io.bytes_skipped.offset\" | \"process.io.max_bytes_per_process_exceeded\" | \"process.io.text\" | \"process.io.total_bytes_captured\" | \"process.io.total_bytes_skipped\" | \"process.io.type\" | \"process.macho.sections.entropy\" | \"process.macho.sections.name\" | \"process.macho.sections.physical_size\" | \"process.macho.sections.var_entropy\" | \"process.macho.sections.virtual_size\" | \"process.parent.elf.sections.chi2\" | \"process.parent.elf.sections.entropy\" | \"process.parent.elf.sections.flags\" | \"process.parent.elf.sections.name\" | \"process.parent.elf.sections.physical_offset\" | \"process.parent.elf.sections.physical_size\" | \"process.parent.elf.sections.type\" | \"process.parent.elf.sections.var_entropy\" | \"process.parent.elf.sections.virtual_address\" | \"process.parent.elf.sections.virtual_size\" | \"process.parent.elf.segments.sections\" | \"process.parent.elf.segments.type\" | \"process.parent.macho.sections.entropy\" | \"process.parent.macho.sections.name\" | \"process.parent.macho.sections.physical_size\" | \"process.parent.macho.sections.var_entropy\" | \"process.parent.macho.sections.virtual_size\" | \"process.parent.pe.sections.entropy\" | \"process.parent.pe.sections.name\" | \"process.parent.pe.sections.physical_size\" | \"process.parent.pe.sections.var_entropy\" | \"process.parent.pe.sections.virtual_size\" | \"process.parent.tty.char_device.major\" | \"process.parent.tty.char_device.minor\" | \"process.pe.sections.entropy\" | \"process.pe.sections.name\" | \"process.pe.sections.physical_size\" | \"process.pe.sections.var_entropy\" | \"process.pe.sections.virtual_size\" | \"process.session_leader.tty.char_device.major\" | \"process.session_leader.tty.char_device.minor\" | \"process.tty.char_device.major\" | \"process.tty.char_device.minor\" | \"process.tty.columns\" | \"process.tty.rows\" | \"threat.enrichments.indicator\" | \"threat.enrichments.indicator.as.number\" | \"threat.enrichments.indicator.as.organization.name\" | \"threat.enrichments.indicator.confidence\" | \"threat.enrichments.indicator.description\" | \"threat.enrichments.indicator.email.address\" | \"threat.enrichments.indicator.file.accessed\" | \"threat.enrichments.indicator.file.attributes\" | \"threat.enrichments.indicator.file.code_signature.digest_algorithm\" | \"threat.enrichments.indicator.file.code_signature.exists\" | \"threat.enrichments.indicator.file.code_signature.signing_id\" | \"threat.enrichments.indicator.file.code_signature.status\" | \"threat.enrichments.indicator.file.code_signature.subject_name\" | \"threat.enrichments.indicator.file.code_signature.team_id\" | \"threat.enrichments.indicator.file.code_signature.timestamp\" | \"threat.enrichments.indicator.file.code_signature.trusted\" | \"threat.enrichments.indicator.file.code_signature.valid\" | \"threat.enrichments.indicator.file.created\" | \"threat.enrichments.indicator.file.ctime\" | \"threat.enrichments.indicator.file.device\" | \"threat.enrichments.indicator.file.directory\" | \"threat.enrichments.indicator.file.drive_letter\" | \"threat.enrichments.indicator.file.elf.architecture\" | \"threat.enrichments.indicator.file.elf.byte_order\" | \"threat.enrichments.indicator.file.elf.cpu_type\" | \"threat.enrichments.indicator.file.elf.creation_date\" | \"threat.enrichments.indicator.file.elf.exports\" | \"threat.enrichments.indicator.file.elf.go_import_hash\" | \"threat.enrichments.indicator.file.elf.go_imports\" | \"threat.enrichments.indicator.file.elf.go_imports_names_entropy\" | \"threat.enrichments.indicator.file.elf.go_imports_names_var_entropy\" | \"threat.enrichments.indicator.file.elf.go_stripped\" | \"threat.enrichments.indicator.file.elf.header.abi_version\" | \"threat.enrichments.indicator.file.elf.header.class\" | \"threat.enrichments.indicator.file.elf.header.data\" | \"threat.enrichments.indicator.file.elf.header.entrypoint\" | \"threat.enrichments.indicator.file.elf.header.object_version\" | \"threat.enrichments.indicator.file.elf.header.os_abi\" | \"threat.enrichments.indicator.file.elf.header.type\" | \"threat.enrichments.indicator.file.elf.header.version\" | \"threat.enrichments.indicator.file.elf.import_hash\" | \"threat.enrichments.indicator.file.elf.imports\" | \"threat.enrichments.indicator.file.elf.imports_names_entropy\" | \"threat.enrichments.indicator.file.elf.imports_names_var_entropy\" | \"threat.enrichments.indicator.file.elf.sections\" | \"threat.enrichments.indicator.file.elf.sections.chi2\" | \"threat.enrichments.indicator.file.elf.sections.entropy\" | \"threat.enrichments.indicator.file.elf.sections.flags\" | \"threat.enrichments.indicator.file.elf.sections.name\" | \"threat.enrichments.indicator.file.elf.sections.physical_offset\" | \"threat.enrichments.indicator.file.elf.sections.physical_size\" | \"threat.enrichments.indicator.file.elf.sections.type\" | \"threat.enrichments.indicator.file.elf.sections.var_entropy\" | \"threat.enrichments.indicator.file.elf.sections.virtual_address\" | \"threat.enrichments.indicator.file.elf.sections.virtual_size\" | \"threat.enrichments.indicator.file.elf.segments\" | \"threat.enrichments.indicator.file.elf.segments.sections\" | \"threat.enrichments.indicator.file.elf.segments.type\" | \"threat.enrichments.indicator.file.elf.shared_libraries\" | \"threat.enrichments.indicator.file.elf.telfhash\" | \"threat.enrichments.indicator.file.extension\" | \"threat.enrichments.indicator.file.fork_name\" | \"threat.enrichments.indicator.file.gid\" | \"threat.enrichments.indicator.file.group\" | \"threat.enrichments.indicator.file.hash.md5\" | \"threat.enrichments.indicator.file.hash.sha1\" | \"threat.enrichments.indicator.file.hash.sha256\" | \"threat.enrichments.indicator.file.hash.sha384\" | \"threat.enrichments.indicator.file.hash.sha512\" | \"threat.enrichments.indicator.file.hash.ssdeep\" | \"threat.enrichments.indicator.file.hash.tlsh\" | \"threat.enrichments.indicator.file.inode\" | \"threat.enrichments.indicator.file.mime_type\" | \"threat.enrichments.indicator.file.mode\" | \"threat.enrichments.indicator.file.mtime\" | \"threat.enrichments.indicator.file.name\" | \"threat.enrichments.indicator.file.owner\" | \"threat.enrichments.indicator.file.path\" | \"threat.enrichments.indicator.file.pe.architecture\" | \"threat.enrichments.indicator.file.pe.company\" | \"threat.enrichments.indicator.file.pe.description\" | \"threat.enrichments.indicator.file.pe.file_version\" | \"threat.enrichments.indicator.file.pe.go_import_hash\" | \"threat.enrichments.indicator.file.pe.go_imports\" | \"threat.enrichments.indicator.file.pe.go_imports_names_entropy\" | \"threat.enrichments.indicator.file.pe.go_imports_names_var_entropy\" | \"threat.enrichments.indicator.file.pe.go_stripped\" | \"threat.enrichments.indicator.file.pe.imphash\" | \"threat.enrichments.indicator.file.pe.import_hash\" | \"threat.enrichments.indicator.file.pe.imports\" | \"threat.enrichments.indicator.file.pe.imports_names_entropy\" | \"threat.enrichments.indicator.file.pe.imports_names_var_entropy\" | \"threat.enrichments.indicator.file.pe.original_file_name\" | \"threat.enrichments.indicator.file.pe.pehash\" | \"threat.enrichments.indicator.file.pe.product\" | \"threat.enrichments.indicator.file.pe.sections\" | \"threat.enrichments.indicator.file.pe.sections.entropy\" | \"threat.enrichments.indicator.file.pe.sections.name\" | \"threat.enrichments.indicator.file.pe.sections.physical_size\" | \"threat.enrichments.indicator.file.pe.sections.var_entropy\" | \"threat.enrichments.indicator.file.pe.sections.virtual_size\" | \"threat.enrichments.indicator.file.size\" | \"threat.enrichments.indicator.file.target_path\" | \"threat.enrichments.indicator.file.type\" | \"threat.enrichments.indicator.file.uid\" | \"threat.enrichments.indicator.file.x509.alternative_names\" | \"threat.enrichments.indicator.file.x509.issuer.common_name\" | \"threat.enrichments.indicator.file.x509.issuer.country\" | \"threat.enrichments.indicator.file.x509.issuer.distinguished_name\" | \"threat.enrichments.indicator.file.x509.issuer.locality\" | \"threat.enrichments.indicator.file.x509.issuer.organization\" | \"threat.enrichments.indicator.file.x509.issuer.organizational_unit\" | \"threat.enrichments.indicator.file.x509.issuer.state_or_province\" | \"threat.enrichments.indicator.file.x509.not_after\" | \"threat.enrichments.indicator.file.x509.not_before\" | \"threat.enrichments.indicator.file.x509.public_key_algorithm\" | \"threat.enrichments.indicator.file.x509.public_key_curve\" | \"threat.enrichments.indicator.file.x509.public_key_exponent\" | \"threat.enrichments.indicator.file.x509.public_key_size\" | \"threat.enrichments.indicator.file.x509.serial_number\" | \"threat.enrichments.indicator.file.x509.signature_algorithm\" | \"threat.enrichments.indicator.file.x509.subject.common_name\" | \"threat.enrichments.indicator.file.x509.subject.country\" | \"threat.enrichments.indicator.file.x509.subject.distinguished_name\" | \"threat.enrichments.indicator.file.x509.subject.locality\" | \"threat.enrichments.indicator.file.x509.subject.organization\" | \"threat.enrichments.indicator.file.x509.subject.organizational_unit\" | \"threat.enrichments.indicator.file.x509.subject.state_or_province\" | \"threat.enrichments.indicator.file.x509.version_number\" | \"threat.enrichments.indicator.first_seen\" | \"threat.enrichments.indicator.geo.city_name\" | \"threat.enrichments.indicator.geo.continent_code\" | \"threat.enrichments.indicator.geo.continent_name\" | \"threat.enrichments.indicator.geo.country_iso_code\" | \"threat.enrichments.indicator.geo.country_name\" | \"threat.enrichments.indicator.geo.location\" | \"threat.enrichments.indicator.geo.name\" | \"threat.enrichments.indicator.geo.postal_code\" | \"threat.enrichments.indicator.geo.region_iso_code\" | \"threat.enrichments.indicator.geo.region_name\" | \"threat.enrichments.indicator.geo.timezone\" | \"threat.enrichments.indicator.ip\" | \"threat.enrichments.indicator.last_seen\" | \"threat.enrichments.indicator.marking.tlp\" | \"threat.enrichments.indicator.marking.tlp_version\" | \"threat.enrichments.indicator.modified_at\" | \"threat.enrichments.indicator.name\" | \"threat.enrichments.indicator.port\" | \"threat.enrichments.indicator.provider\" | \"threat.enrichments.indicator.reference\" | \"threat.enrichments.indicator.registry.data.bytes\" | \"threat.enrichments.indicator.registry.data.strings\" | \"threat.enrichments.indicator.registry.data.type\" | \"threat.enrichments.indicator.registry.hive\" | \"threat.enrichments.indicator.registry.key\" | \"threat.enrichments.indicator.registry.path\" | \"threat.enrichments.indicator.registry.value\" | \"threat.enrichments.indicator.scanner_stats\" | \"threat.enrichments.indicator.sightings\" | \"threat.enrichments.indicator.type\" | \"threat.enrichments.indicator.url.domain\" | \"threat.enrichments.indicator.url.extension\" | \"threat.enrichments.indicator.url.fragment\" | \"threat.enrichments.indicator.url.full\" | \"threat.enrichments.indicator.url.original\" | \"threat.enrichments.indicator.url.password\" | \"threat.enrichments.indicator.url.path\" | \"threat.enrichments.indicator.url.port\" | \"threat.enrichments.indicator.url.query\" | \"threat.enrichments.indicator.url.registered_domain\" | \"threat.enrichments.indicator.url.scheme\" | \"threat.enrichments.indicator.url.subdomain\" | \"threat.enrichments.indicator.url.top_level_domain\" | \"threat.enrichments.indicator.url.username\" | \"threat.enrichments.indicator.x509.alternative_names\" | \"threat.enrichments.indicator.x509.issuer.common_name\" | \"threat.enrichments.indicator.x509.issuer.country\" | \"threat.enrichments.indicator.x509.issuer.distinguished_name\" | \"threat.enrichments.indicator.x509.issuer.locality\" | \"threat.enrichments.indicator.x509.issuer.organization\" | \"threat.enrichments.indicator.x509.issuer.organizational_unit\" | \"threat.enrichments.indicator.x509.issuer.state_or_province\" | \"threat.enrichments.indicator.x509.not_after\" | \"threat.enrichments.indicator.x509.not_before\" | \"threat.enrichments.indicator.x509.public_key_algorithm\" | \"threat.enrichments.indicator.x509.public_key_curve\" | \"threat.enrichments.indicator.x509.public_key_exponent\" | \"threat.enrichments.indicator.x509.public_key_size\" | \"threat.enrichments.indicator.x509.serial_number\" | \"threat.enrichments.indicator.x509.signature_algorithm\" | \"threat.enrichments.indicator.x509.subject.common_name\" | \"threat.enrichments.indicator.x509.subject.country\" | \"threat.enrichments.indicator.x509.subject.distinguished_name\" | \"threat.enrichments.indicator.x509.subject.locality\" | \"threat.enrichments.indicator.x509.subject.organization\" | \"threat.enrichments.indicator.x509.subject.organizational_unit\" | \"threat.enrichments.indicator.x509.subject.state_or_province\" | \"threat.enrichments.indicator.x509.version_number\" | \"threat.enrichments.matched.atomic\" | \"threat.enrichments.matched.field\" | \"threat.enrichments.matched.id\" | \"threat.enrichments.matched.index\" | \"threat.enrichments.matched.occurred\" | \"threat.enrichments.matched.type\" | \"threat.indicator.file.elf.sections.chi2\" | \"threat.indicator.file.elf.sections.entropy\" | \"threat.indicator.file.elf.sections.flags\" | \"threat.indicator.file.elf.sections.name\" | \"threat.indicator.file.elf.sections.physical_offset\" | \"threat.indicator.file.elf.sections.physical_size\" | \"threat.indicator.file.elf.sections.type\" | \"threat.indicator.file.elf.sections.var_entropy\" | \"threat.indicator.file.elf.sections.virtual_address\" | \"threat.indicator.file.elf.sections.virtual_size\" | \"threat.indicator.file.elf.segments.sections\" | \"threat.indicator.file.elf.segments.type\" | \"threat.indicator.file.pe.sections.entropy\" | \"threat.indicator.file.pe.sections.name\" | \"threat.indicator.file.pe.sections.physical_size\" | \"threat.indicator.file.pe.sections.var_entropy\" | \"threat.indicator.file.pe.sections.virtual_size\" | \"_size\" | \"_doc_count\" | \"_field_names\" | \"_meta\" | \"_tier\"" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -728,7 +728,7 @@ "signature": [ "string & {}" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -743,7 +743,7 @@ "signature": [ "{ name?: string | undefined; } & { allowed_values?: ({ description: string; name: string; } & { expected_event_types?: string[] | undefined; beta?: string | undefined; })[] | undefined; beta?: string | undefined; dashed_name?: string | undefined; description?: string | undefined; doc_values?: boolean | undefined; example?: unknown; expected_values?: string[] | undefined; flat_name?: string | undefined; format?: string | undefined; ignore_above?: number | undefined; index?: boolean | undefined; input_format?: string | undefined; level?: string | undefined; multi_fields?: { flat_name: string; name: string; type: string; }[] | undefined; normalize?: string[] | undefined; object_type?: string | undefined; original_fieldset?: string | undefined; output_format?: string | undefined; output_precision?: number | undefined; pattern?: string | undefined; required?: boolean | undefined; scaling_factor?: number | undefined; short?: string | undefined; source?: \"unknown\" | \"ecs\" | \"metadata\" | \"integration\" | undefined; type?: string | undefined; documentation_url?: string | undefined; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -758,7 +758,7 @@ "signature": [ "{ '@timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; required: boolean; short: string; type: string; }; 'agent.build.original': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'agent.ephemeral_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'agent.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'agent.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'agent.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'agent.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.address': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.as.number': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.as.organization.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.mac': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; pattern: string; short: string; type: string; }; 'client.nat.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.nat.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.packets': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'client.user.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'client.user.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'cloud.account.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.account.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.availability_zone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.instance.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.instance.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.machine.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.origin.account.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.account.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.availability_zone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.instance.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.instance.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.machine.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.project.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.project.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.provider': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.region': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.origin.service.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.project.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.project.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.provider': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.region': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.service.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'cloud.target.account.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.account.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.availability_zone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.instance.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.instance.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.machine.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.project.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.project.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.provider': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.region': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'cloud.target.service.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'container.cpu.usage': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; scaling_factor: number; short: string; type: string; }; 'container.disk.read.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.disk.write.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.image.hash.all': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'container.image.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.image.tag': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'container.labels': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; object_type: string; short: string; type: string; }; 'container.memory.usage': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; scaling_factor: number; short: string; type: string; }; 'container.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.network.egress.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.network.ingress.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.runtime': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'container.security_context.privileged': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'data_stream.dataset': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'data_stream.namespace': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'data_stream.type': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.address': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.as.number': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.as.organization.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.mac': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; pattern: string; short: string; type: string; }; 'destination.nat.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.nat.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.packets': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'destination.user.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'destination.user.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'device.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'device.manufacturer': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'device.model.identifier': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'device.model.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dll.code_signature.digest_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.exists': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.signing_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.subject_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.team_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.trusted': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.code_signature.valid': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dll.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dll.pe.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.company': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.file_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.imphash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.original_file_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.pehash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dll.pe.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'dns.answers': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'dns.answers.class': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.answers.data': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.answers.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.answers.ttl': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.answers.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.header_flags': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'dns.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.op_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.question.class': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.question.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.question.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.question.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.question.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.question.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.resolved_ip': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'dns.response_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'dns.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'ecs.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; required: boolean; short: string; type: string; }; 'email.attachments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'email.attachments.file.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.attachments.file.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'email.attachments.file.mime_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.attachments.file.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.attachments.file.size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.bcc.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'email.cc.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'email.content_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.delivery_timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.direction': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.from.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'email.local_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.message_id': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.origination_timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.reply_to.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'email.sender.address': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'email.subject': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'email.to.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'email.x_mailer': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'error.code': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'error.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'error.message': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'error.stack_trace': { dashed_name: string; description: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'error.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.action': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.agent_id_status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.category': { allowed_values: { description: string; expected_event_types: string[]; name: string; }[]; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'event.code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.created': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.dataset': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.duration': { dashed_name: string; description: string; flat_name: string; format: string; input_format: string; level: string; name: string; normalize: never[]; output_format: string; output_precision: number; short: string; type: string; }; 'event.end': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.ingested': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.kind': { allowed_values: ({ description: string; name: string; beta?: undefined; } | { beta: string; description: string; name: string; })[]; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.module': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.original': { dashed_name: string; description: string; doc_values: boolean; example: string; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.outcome': { allowed_values: { description: string; name: string; }[]; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.provider': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.reason': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.risk_score': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.risk_score_norm': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.sequence': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.severity': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.start': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.timezone': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'event.type': { allowed_values: { description: string; name: string; }[]; dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'event.url': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.coldstart': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.execution': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.trigger.request_id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.trigger.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'faas.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.accessed': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.attributes': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'file.code_signature.digest_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.exists': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.signing_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.subject_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.team_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.trusted': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.code_signature.valid': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.created': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.ctime': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.device': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.drive_letter': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.elf.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.byte_order': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.cpu_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.creation_date': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.exports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.elf.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.abi_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.class': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.data': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.entrypoint': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.object_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.os_abi': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.header.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.elf.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.chi2': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.flags': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.physical_offset': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.virtual_address': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.segments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.elf.segments.sections': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.segments.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.elf.shared_libraries': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.elf.telfhash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.fork_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.gid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.group': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.inode': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.macho.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.macho.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.macho.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.macho.symhash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.mime_type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.mode': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.mtime': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.owner': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'file.pe.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.company': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.file_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.imphash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.pe.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.original_file_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.pehash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.pe.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.pe.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.target_path': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'file.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.uid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'file.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'file.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.boot.id': { beta: string; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.cpu.usage': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; scaling_factor: number; short: string; type: string; }; 'host.disk.read.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.disk.write.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.hostname': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'host.mac': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; pattern: string; short: string; type: string; }; 'host.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.network.egress.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.network.egress.packets': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.network.ingress.bytes': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.network.ingress.packets': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.os.family': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.os.full': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.os.kernel': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.os.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.os.platform': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.os.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.os.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.pid_ns_ino': { beta: string; dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.risk.calculated_level': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.risk.calculated_score': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.risk.calculated_score_norm': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.risk.static_level': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.risk.static_score': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.risk.static_score_norm': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'host.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'host.uptime': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.request.body.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.request.body.content': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'http.request.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.request.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.request.method': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.request.mime_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.request.referrer': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.response.body.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.response.body.content': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'http.response.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.response.mime_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.response.status_code': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'http.version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; labels: { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; object_type: string; short: string; type: string; }; 'log.file.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.level': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.logger': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.origin.file.line': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.origin.file.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.origin.function': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.appname': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.facility.code': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.facility.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.hostname': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.msgid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.priority': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.procid': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.severity.code': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.severity.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.structured_data': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'log.syslog.version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; message: { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.application': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.community_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.direction': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.forwarded_ip': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.iana_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.inner': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.inner.vlan.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'network.inner.vlan.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'network.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.packets': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.protocol': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.transport': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'network.vlan.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'network.vlan.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.egress': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.egress.interface.alias': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.egress.interface.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.egress.interface.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.egress.vlan.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.egress.vlan.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.egress.zone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.hostname': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.ingress': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.ingress.interface.alias': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.ingress.interface.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.ingress.interface.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.ingress.vlan.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.ingress.vlan.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.ingress.zone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'observer.mac': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; pattern: string; short: string; type: string; }; 'observer.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.os.family': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.os.full': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.os.kernel': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.os.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.os.platform': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.os.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.os.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'observer.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.serial_number': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.vendor': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'observer.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.api_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.cluster.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.cluster.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.cluster.url': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.cluster.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.namespace': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.resource.annotation': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'orchestrator.resource.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.resource.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'orchestrator.resource.label': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'orchestrator.resource.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.resource.parent.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.resource.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'orchestrator.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'organization.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'organization.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'package.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.build_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.checksum': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.install_scope': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.installed': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.license': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.size': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'package.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.args': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'process.args_count': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.code_signature.digest_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.exists': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.signing_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.subject_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.team_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.trusted': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.code_signature.valid': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.command_line': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'process.elf.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.byte_order': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.cpu_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.creation_date': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.exports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.elf.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.abi_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.class': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.data': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.entrypoint': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.object_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.os_abi': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.header.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.elf.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.chi2': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.flags': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.physical_offset': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.virtual_address': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.segments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.elf.segments.sections': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.segments.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.elf.shared_libraries': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.elf.telfhash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.end': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.entry_leader.args': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.args_count': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.attested_groups.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.attested_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.attested_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.command_line': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.entry_meta.source.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.entry_meta.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.executable': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.interactive': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.session_leader.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.session_leader.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.session_leader.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.session_leader.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.parent.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.real_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.real_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.real_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.real_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.same_as_process': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.saved_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.saved_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.saved_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.saved_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.supplemental_groups.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.supplemental_groups.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.tty': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.tty.char_device.major': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.tty.char_device.minor': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.entry_leader.working_directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.env_vars': { beta: string; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'process.executable': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'process.exit_code': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.group_leader.args': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.args_count': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.command_line': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.executable': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.interactive': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.real_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.real_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.real_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.real_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.same_as_process': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.saved_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.saved_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.saved_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.saved_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.supplemental_groups.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.supplemental_groups.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.tty': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.tty.char_device.major': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.tty.char_device.minor': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.group_leader.working_directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.interactive': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.bytes_skipped': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'process.io.bytes_skipped.length': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.bytes_skipped.offset': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.max_bytes_per_process_exceeded': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.text': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.total_bytes_captured': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.total_bytes_skipped': { beta: string; dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.io.type': { beta: string; dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.macho.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.macho.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.macho.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.macho.symhash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'process.parent.args': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.args_count': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.digest_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.exists': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.signing_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.subject_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.team_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.trusted': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.code_signature.valid': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.command_line': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.byte_order': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.cpu_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.creation_date': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.exports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.abi_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.class': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.data': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.entrypoint': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.object_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.os_abi': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.header.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.chi2': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.flags': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.physical_offset': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.virtual_address': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.segments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.segments.sections': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.segments.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.shared_libraries': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.elf.telfhash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.end': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.executable': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.exit_code': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.group_leader.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.group_leader.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.group_leader.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.group_leader.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.interactive': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.macho.symhash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.company': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.file_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.imphash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.original_file_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.pehash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pe.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pgid': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.real_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.real_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.real_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.real_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.saved_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.saved_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.saved_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.saved_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.supplemental_groups.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.supplemental_groups.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.thread.capabilities.effective': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; pattern: string; short: string; type: string; }; 'process.parent.thread.capabilities.permitted': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; pattern: string; short: string; type: string; }; 'process.parent.thread.id': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.thread.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.title': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.tty': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.tty.char_device.major': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.tty.char_device.minor': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.uptime': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.parent.working_directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.company': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.file_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.imphash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.pe.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.original_file_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.pehash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.pe.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pe.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.pgid': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.previous.args': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.previous.args_count': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.previous.executable': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.real_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.real_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.real_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.real_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.saved_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.saved_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.saved_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.saved_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.args': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.args_count': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.command_line': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.executable': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.interactive': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.session_leader.entity_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.session_leader.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.session_leader.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.session_leader.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.parent.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.pid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.real_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.real_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.real_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.real_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.same_as_process': { dashed_name: string; description: string; example: boolean; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.saved_group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.saved_group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.saved_user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.saved_user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.supplemental_groups.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.supplemental_groups.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.tty': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.tty.char_device.major': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.tty.char_device.minor': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.session_leader.working_directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.start': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.supplemental_groups.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.supplemental_groups.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.thread.capabilities.effective': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; pattern: string; short: string; type: string; }; 'process.thread.capabilities.permitted': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; pattern: string; short: string; type: string; }; 'process.thread.id': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.thread.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.title': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'process.tty': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.tty.char_device.major': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.tty.char_device.minor': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.tty.columns': { beta: string; dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.tty.rows': { beta: string; dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.uptime': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'process.vpid': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'process.working_directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'registry.data.bytes': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'registry.data.strings': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'registry.data.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'registry.hive': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'registry.key': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'registry.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'registry.value': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'related.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'related.hosts': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'related.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'related.user': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'rule.author': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'rule.category': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.license': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.ruleset': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.uuid': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'rule.version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.address': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.as.number': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.as.organization.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.mac': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; pattern: string; short: string; type: string; }; 'server.nat.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.nat.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.packets': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'server.user.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'server.user.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'service.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.environment': { beta: string; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.ephemeral_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.node.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.node.role': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.node.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'service.origin.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.environment': { beta: string; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.ephemeral_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.node.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.node.role': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.node.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'service.origin.state': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.origin.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.state': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.target.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.environment': { beta: string; dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.ephemeral_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.node.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.node.role': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.node.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'service.target.state': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.target.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'service.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'service.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.address': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.as.number': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.as.organization.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.bytes': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.mac': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; pattern: string; short: string; type: string; }; 'source.nat.ip': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.nat.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.packets': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.port': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'source.user.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'source.user.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'span.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; tags: { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.enrichments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.enrichments.indicator': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.as.number': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.as.organization.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.confidence': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.email.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.file.accessed': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.attributes': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.digest_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.exists': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.signing_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.subject_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.team_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.trusted': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.code_signature.valid': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.created': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.ctime': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.device': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.drive_letter': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.byte_order': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.cpu_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.creation_date': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.exports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.abi_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.class': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.data': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.entrypoint': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.object_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.os_abi': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.header.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.chi2': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.flags': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.physical_offset': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.virtual_address': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.segments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.segments.sections': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.segments.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.shared_libraries': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.elf.telfhash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.fork_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.gid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.group': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.inode': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.mime_type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.mode': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.mtime': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.owner': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.company': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.file_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.imphash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.original_file_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.pehash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.pe.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.target_path': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.uid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.file.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.first_seen': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.ip': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.last_seen': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.marking.tlp': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.marking.tlp_version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.modified_at': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.port': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.provider': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.registry.data.bytes': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.registry.data.strings': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.registry.data.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.registry.hive': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.registry.key': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.registry.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.registry.value': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.scanner_stats': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.sightings': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.indicator.url.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.fragment': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.full': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.original': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.password': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.path': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.port': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.query': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.scheme': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.url.username': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.indicator.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.enrichments.matched.atomic': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.matched.field': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.matched.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.matched.index': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.matched.occurred': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.enrichments.matched.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.feed.dashboard_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.feed.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.feed.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.feed.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.framework': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.group.alias': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.group.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.group.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.group.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.as.number': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.as.organization.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.confidence': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.email.address': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.file.accessed': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.attributes': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.digest_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.exists': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.signing_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.status': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.subject_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.team_id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.timestamp': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.trusted': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.code_signature.valid': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.created': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.ctime': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.device': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.directory': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.drive_letter': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.byte_order': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.cpu_type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.creation_date': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.exports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.abi_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.class': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.data': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.entrypoint': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.object_version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.os_abi': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.header.version': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.chi2': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.flags': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.physical_offset': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.virtual_address': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.segments': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.segments.sections': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.segments.type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.shared_libraries': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.elf.telfhash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.fork_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.gid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.group': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.md5': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.sha1': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.sha256': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.sha384': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.sha512': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.ssdeep': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.hash.tlsh': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.inode': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.mime_type': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.mode': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.mtime': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.owner': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.architecture': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.company': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.file_version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.go_import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.go_imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.go_imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.go_imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.go_stripped': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.imphash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.import_hash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.imports': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.imports_names_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.imports_names_var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.original_file_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.pehash': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.product': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.sections': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.sections.entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.sections.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.sections.physical_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.sections.var_entropy': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.pe.sections.virtual_size': { dashed_name: string; description: string; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.target_path': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.uid': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.file.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.first_seen': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.geo.city_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.continent_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.continent_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.country_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.country_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.location': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.postal_code': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.region_iso_code': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.region_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.geo.timezone': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.ip': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.last_seen': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.marking.tlp': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.marking.tlp_version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.modified_at': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.port': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.provider': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.registry.data.bytes': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.registry.data.strings': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.registry.data.type': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.registry.hive': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.registry.key': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.registry.path': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.registry.value': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.scanner_stats': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.sightings': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.indicator.url.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.fragment': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.full': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.original': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.password': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.path': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.port': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.query': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.scheme': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.url.username': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'threat.indicator.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'threat.software.alias': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.software.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.software.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.software.platforms': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.software.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.software.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'threat.tactic.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.tactic.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.tactic.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.technique.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.technique.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: string[]; short: string; type: string; }; 'threat.technique.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.technique.subtechnique.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'threat.technique.subtechnique.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: string[]; short: string; type: string; }; 'threat.technique.subtechnique.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'tls.cipher': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.certificate': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.certificate_chain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'tls.client.hash.md5': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.hash.sha1': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.hash.sha256': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.issuer': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.ja3': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.server_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.subject': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.client.supported_ciphers': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'tls.client.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.client.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.established': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.next_protocol': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.resumed': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.certificate': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.certificate_chain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'tls.server.hash.md5': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.hash.sha1': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.hash.sha256': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.issuer': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.ja3s': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.subject': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.server.x509.alternative_names': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.organizational_unit': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.issuer.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.not_after': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.not_before': { dashed_name: string; description: string; example: string; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.public_key_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.public_key_curve': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.public_key_exponent': { dashed_name: string; description: string; doc_values: boolean; example: number; flat_name: string; index: boolean; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.public_key_size': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.serial_number': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.signature_algorithm': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.common_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.country': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.distinguished_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.locality': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.organization': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.organizational_unit': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.subject.state_or_province': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'tls.server.x509.version_number': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'tls.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'tls.version_protocol': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'trace.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'transaction.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.extension': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.fragment': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.full': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'url.original': { dashed_name: string; description: string; example: string; flat_name: string; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'url.password': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.path': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.port': { dashed_name: string; description: string; example: number; flat_name: string; format: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.query': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.registered_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.scheme': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.subdomain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.top_level_domain': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'url.username': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user.changes.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.changes.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'user.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user.effective.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.effective.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'user.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'user.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'user.risk.calculated_level': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.risk.calculated_score': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.risk.calculated_score_norm': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.risk.static_level': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.risk.static_score': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.risk.static_score_norm': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'user.target.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.email': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.full_name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.group.domain': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.group.id': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.group.name': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.hash': { dashed_name: string; description: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user.target.roles': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; original_fieldset: string; short: string; type: string; }; 'user_agent.device.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user_agent.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'user_agent.original': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'user_agent.os.family': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.os.full': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.os.kernel': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.os.name': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.os.platform': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.os.type': { dashed_name: string; description: string; example: string; expected_values: string[]; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.os.version': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; original_fieldset: string; short: string; type: string; }; 'user_agent.version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.category': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: string[]; short: string; type: string; }; 'vulnerability.classification': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.description': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; multi_fields: { flat_name: string; name: string; type: string; }[]; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.enumeration': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.id': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.reference': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.report_id': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.scanner.vendor': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.score.base': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.score.environmental': { dashed_name: string; description: string; example: number; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.score.temporal': { dashed_name: string; description: string; flat_name: string; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.score.version': { dashed_name: string; description: string; example: number; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; 'vulnerability.severity': { dashed_name: string; description: string; example: string; flat_name: string; ignore_above: number; level: string; name: string; normalize: never[]; short: string; type: string; }; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -773,7 +773,7 @@ "signature": [ "{ _index: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; type: string; documentation_url: string; }; _id: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; type: string; documentation_url: string; }; _source: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; _size: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; _doc_count: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; _field_names: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; _ignored: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; _routing: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; type: string; documentation_url: string; }; _meta: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; _tier: { dashed_name: string; description: string; example: string; flat_name: string; name: string; short: string; documentation_url: string; }; }" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -877,7 +877,7 @@ "StringC", "; }>]>" ], - "path": "x-pack/plugins/fields_metadata/common/fields_metadata/types.ts", + "path": "x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/fields_metadata.mdx b/api_docs/fields_metadata.mdx index cf22471b8715a..7354414367de6 100644 --- a/api_docs/fields_metadata.mdx +++ b/api_docs/fields_metadata.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldsMetadata title: "fieldsMetadata" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldsMetadata plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldsMetadata'] --- import fieldsMetadataObj from './fields_metadata.devdocs.json'; diff --git a/api_docs/file_upload.devdocs.json b/api_docs/file_upload.devdocs.json index 10bc57a634795..23fda3d12201a 100644 --- a/api_docs/file_upload.devdocs.json +++ b/api_docs/file_upload.devdocs.json @@ -20,7 +20,7 @@ " extends ", "Importer" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34,7 +34,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48,7 +48,7 @@ "signature": [ "ImportFactoryOptions" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -70,7 +70,7 @@ "ImportDocMessage", ">" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -84,7 +84,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -99,7 +99,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -114,7 +114,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -135,7 +135,7 @@ "tags": [], "label": "FileUploadComponentProps", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -146,7 +146,7 @@ "tags": [], "label": "isIndexingTriggered", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +160,7 @@ "signature": [ "(geojsonFile: GeoJSON.FeatureCollection, name: string, previewCoverage: number) => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -174,7 +174,7 @@ "signature": [ "GeoJSON.FeatureCollection" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -189,7 +189,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -204,7 +204,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -222,7 +222,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -238,7 +238,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -254,7 +254,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -278,7 +278,7 @@ }, ") => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -298,7 +298,7 @@ "text": "FileUploadGeoResults" } ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -316,7 +316,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -332,7 +332,7 @@ "tags": [], "label": "FileUploadGeoResults", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -343,7 +343,7 @@ "tags": [], "label": "indexPatternId", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -354,7 +354,7 @@ "tags": [], "label": "geoFieldName", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -383,7 +383,7 @@ }, ".GEO_SHAPE" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -394,7 +394,7 @@ "tags": [], "label": "docCount", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false } @@ -408,7 +408,7 @@ "tags": [], "label": "IImporter", "description": [], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -422,7 +422,7 @@ "signature": [ "(data: ArrayBuffer) => { success: boolean; }" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -436,7 +436,7 @@ "signature": [ "ArrayBuffer" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -468,7 +468,7 @@ "ImportResponse", ">" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -482,7 +482,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -497,7 +497,7 @@ "signature": [ "IndicesIndexSettings" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -512,7 +512,7 @@ "signature": [ "MappingTypeMapping" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -534,7 +534,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -554,7 +554,7 @@ "ImportResults", ">" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -568,7 +568,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -583,7 +583,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -598,7 +598,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -613,7 +613,7 @@ "signature": [ "(progress: number) => void" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -631,7 +631,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -647,7 +647,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -663,7 +663,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -679,7 +679,7 @@ "signature": [ "() => Promise<{ start: number | null; end: number | null; }>" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -695,7 +695,7 @@ "tags": [], "label": "Props", "description": [], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -706,7 +706,7 @@ "tags": [], "label": "indexName", "description": [], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false }, @@ -720,7 +720,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false }, @@ -734,7 +734,7 @@ "signature": [ "(name: string, error?: string | undefined) => void" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -748,7 +748,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -763,7 +763,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -781,7 +781,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -797,7 +797,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -820,7 +820,7 @@ "signature": [ "FileUploadStartApi" ], - "path": "x-pack/plugins/file_upload/public/plugin.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -846,7 +846,7 @@ "tags": [], "label": "AnalysisResult", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -866,7 +866,7 @@ "text": "FindFileStructureResponse" } ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -881,7 +881,7 @@ "FormattedOverrides", " | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -895,7 +895,7 @@ "tags": [], "label": "FindFileStructureErrorResponse", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -909,7 +909,7 @@ "signature": [ "{ statusCode: number; error: string; message: string; attributes?: ErrorAttribute | undefined; }" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -920,7 +920,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -934,7 +934,7 @@ "tags": [], "label": "FindFileStructureResponse", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -945,7 +945,7 @@ "tags": [], "label": "charset", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -956,7 +956,7 @@ "tags": [], "label": "has_header_row", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -967,7 +967,7 @@ "tags": [], "label": "has_byte_order_marker", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -978,7 +978,7 @@ "tags": [], "label": "format", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -992,7 +992,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1006,7 +1006,7 @@ "signature": [ "{ [fieldName: string]: { count: number; cardinality: number; top_hits: { count: number; value: any; }[]; mean_value?: number | undefined; median_value?: number | undefined; max_value?: number | undefined; min_value?: number | undefined; earliest?: string | undefined; latest?: string | undefined; }; }" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1017,7 +1017,7 @@ "tags": [], "label": "sample_start", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1028,7 +1028,7 @@ "tags": [], "label": "num_messages_analyzed", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1306,7 +1306,7 @@ }, ".HISTOGRAM; format?: string | undefined; }; }; }" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1326,7 +1326,7 @@ "text": "IngestPipeline" } ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1337,7 +1337,7 @@ "tags": [], "label": "quote", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1348,7 +1348,7 @@ "tags": [], "label": "delimiter", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1359,7 +1359,7 @@ "tags": [], "label": "need_client_timezone", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1370,7 +1370,7 @@ "tags": [], "label": "num_lines_analyzed", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1384,7 +1384,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1398,7 +1398,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1412,7 +1412,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1426,7 +1426,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1440,7 +1440,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1454,7 +1454,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1468,7 +1468,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1482,7 +1482,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1496,7 +1496,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1510,7 +1510,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -1524,7 +1524,7 @@ "tags": [], "label": "IngestPipeline", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1535,7 +1535,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1549,7 +1549,7 @@ "signature": [ "any[]" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1563,7 +1563,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1577,7 +1577,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -1591,7 +1591,7 @@ "tags": [], "label": "InputOverrides", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1605,7 +1605,7 @@ "signature": [ "[key: string]: string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -1625,7 +1625,7 @@ "signature": [ "100000" ], - "path": "x-pack/plugins/file_upload/common/constants.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index a530e3945f2d7..aab46db4f8a23 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index f5597e5eeee0d..173bf46509bbe 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/files_management.mdx b/api_docs/files_management.mdx index b8aabf5b04190..efc5adb5ffb98 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.devdocs.json b/api_docs/fleet.devdocs.json index 2f0eca2ba5609..c98f0a48d59f8 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -321,13 +321,7 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -425,13 +419,7 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -540,13 +528,7 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -564,13 +546,7 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 9e867548ff459..5fafde15f8db7 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 802764430410f..62762482d6ae8 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index 8a5067cf6d8fa..0e857776ecba0 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index a160696d02db5..91244c4cb0c34 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/image_embeddable.mdx b/api_docs/image_embeddable.mdx index 6216a04360747..eb0fd66c4d9fc 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'imageEmbeddable'] --- import imageEmbeddableObj from './image_embeddable.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 1bd0ff9ab3271..034dab7161631 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.devdocs.json b/api_docs/index_management.devdocs.json index 8229c1e6dd94c..cdd62b5fd5b26 100644 --- a/api_docs/index_management.devdocs.json +++ b/api_docs/index_management.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(filter?: string | undefined, includeHiddenIndices?: boolean | undefined) => string" ], - "path": "x-pack/plugins/index_management/public/application/services/routing.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/index_management/public/application/services/routing.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42,7 +42,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/public/application/services/routing.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -61,7 +61,7 @@ "signature": [ "(name: string, isLegacy?: boolean | undefined) => string" ], - "path": "x-pack/plugins/index_management/public/application/services/routing.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,7 +75,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/index_management/public/application/services/routing.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -90,7 +90,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/public/application/services/routing.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -423,7 +423,7 @@ "signature": [ "\"INDEX_MANAGEMENT_LOCATOR_ID\"" ], - "path": "x-pack/plugins/index_management/public/locator.ts", + "path": "x-pack/platform/plugins/shared/index_management/public/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -568,13 +568,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -608,13 +602,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", @@ -635,13 +623,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -675,13 +657,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", @@ -709,7 +685,7 @@ "tags": [], "label": "Dependencies", "description": [], - "path": "x-pack/plugins/index_management/server/types.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -729,7 +705,7 @@ "text": "SecurityPluginSetup" } ], - "path": "x-pack/plugins/index_management/server/types.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -749,7 +725,7 @@ "text": "LicensingPluginSetup" } ], - "path": "x-pack/plugins/index_management/server/types.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -769,7 +745,7 @@ "text": "FeaturesPluginSetup" } ], - "path": "x-pack/plugins/index_management/server/types.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -1031,7 +1007,7 @@ "description": [ "\n------------------------------------------\n--------- LEGACY INDEX TEMPLATES ---------\n------------------------------------------" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1045,7 +1021,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1059,7 +1035,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1080,7 +1056,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1101,7 +1077,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1115,7 +1091,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1136,7 +1112,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1150,7 +1126,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false } @@ -1170,7 +1146,7 @@ "signature": [ "{ readonly ui: Readonly<{} & { enabled: boolean; }>; readonly enableIndexActions: boolean; readonly enableLegacyTemplates: boolean; readonly dev: Readonly<{} & { enableIndexDetailsPage: boolean; enableSemanticText: boolean; }>; readonly enableSizeAndDocCount: boolean; readonly enableIndexStats: boolean; readonly enableDataStreamStats: boolean; readonly editableIndexSettings: \"all\" | \"limited\"; readonly enableMappingsSourceFieldSection: boolean; readonly enableTogglingDataRetention: boolean; readonly enableProjectLevelRetentionChecks: boolean; }" ], - "path": "x-pack/plugins/index_management/server/config.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1184,7 +1160,7 @@ "tags": [], "label": "IndexManagementPluginSetup", "description": [], - "path": "x-pack/plugins/index_management/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1200,7 +1176,7 @@ "Enricher", ") => void; }" ], - "path": "x-pack/plugins/index_management/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/index_management/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -1246,7 +1222,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/lib/utils.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/lib/utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1274,7 +1250,7 @@ "text": "TemplateSerialized" } ], - "path": "x-pack/plugins/index_management/common/lib/utils.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/lib/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1289,7 +1265,7 @@ "signature": [ "\"settings\" | \"mappings\" | \"aliases\"" ], - "path": "x-pack/plugins/index_management/common/lib/utils.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/lib/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1308,7 +1284,7 @@ "signature": [ "(field: string) => { size: string; unit: string; }" ], - "path": "x-pack/plugins/index_management/common/lib/data_stream_utils.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1322,7 +1298,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/index_management/common/lib/data_stream_utils.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1340,7 +1316,7 @@ "tags": [], "label": "Aliases", "description": [], - "path": "x-pack/plugins/index_management/common/types/aliases.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/aliases.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1354,7 +1330,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/index_management/common/types/aliases.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/aliases.ts", "deprecated": false, "trackAdoption": false } @@ -1368,7 +1344,7 @@ "tags": [], "label": "ComponentTemplateDatastreams", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1382,7 +1358,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false } @@ -1413,7 +1389,7 @@ "text": "ComponentTemplateSerialized" } ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1424,7 +1400,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1438,7 +1414,7 @@ "signature": [ "{ usedBy: string[]; isManaged: boolean; }" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false } @@ -1452,7 +1428,7 @@ "tags": [], "label": "ComponentTemplateFromEs", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1463,7 +1439,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1483,7 +1459,7 @@ "text": "ComponentTemplateSerialized" } ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false } @@ -1497,7 +1473,7 @@ "tags": [], "label": "ComponentTemplateListItem", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1508,7 +1484,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1522,7 +1498,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1533,7 +1509,7 @@ "tags": [], "label": "hasMappings", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1544,7 +1520,7 @@ "tags": [], "label": "hasAliases", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1555,7 +1531,7 @@ "tags": [], "label": "hasSettings", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1566,7 +1542,7 @@ "tags": [], "label": "isManaged", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1580,7 +1556,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false } @@ -1594,7 +1570,7 @@ "tags": [], "label": "ComponentTemplateMeta", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1605,7 +1581,7 @@ "tags": [], "label": "managed", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1616,7 +1592,7 @@ "tags": [], "label": "managed_by", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1630,7 +1606,7 @@ "signature": [ "{ name: string; }" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false } @@ -1644,7 +1620,7 @@ "tags": [], "label": "ComponentTemplateSerialized", "description": [], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1684,7 +1660,7 @@ "IndicesDataStreamLifecycleWithRollover", " & { enabled?: boolean | undefined; effective_retention?: string | undefined; retention_determined_by?: string | undefined; globalMaxRetention?: string | undefined; }) | undefined; }" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1698,7 +1674,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1712,7 +1688,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1726,7 +1702,7 @@ "signature": [ "{ [key: string]: any; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1747,7 +1723,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/component_templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts", "deprecated": false, "trackAdoption": false } @@ -1761,7 +1737,7 @@ "tags": [], "label": "DataRetention", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1772,7 +1748,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1786,7 +1762,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1800,7 +1776,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1814,7 +1790,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false } @@ -1828,7 +1804,7 @@ "tags": [], "label": "DataStream", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1839,7 +1815,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1853,7 +1829,7 @@ "signature": [ "TimestampFieldFromEs" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1874,7 +1850,7 @@ }, "[]" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1885,7 +1861,7 @@ "tags": [], "label": "generation", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1899,7 +1875,7 @@ "signature": [ "\"green\" | \"yellow\" | \"red\"" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1910,7 +1886,7 @@ "tags": [], "label": "indexTemplateName", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1924,7 +1900,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1939,7 +1915,7 @@ "ByteSize", " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1953,7 +1929,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1967,7 +1943,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1981,7 +1957,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -1995,7 +1971,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2009,7 +1985,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2024,7 +2000,7 @@ "Metadata", " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2038,7 +2014,7 @@ "signature": [ "PrivilegesFromEs" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2049,7 +2025,7 @@ "tags": [], "label": "hidden", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2060,7 +2036,7 @@ "tags": [], "label": "nextGenerationManagedBy", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2076,7 +2052,7 @@ "IndicesDataStreamLifecycleWithRollover", " & { enabled?: boolean | undefined; effective_retention?: string | undefined; retention_determined_by?: string | undefined; globalMaxRetention?: string | undefined; }) | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2090,7 +2066,7 @@ "signature": [ "\"standard\" | \"time_series\" | \"logsdb\"" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false } @@ -2104,7 +2080,7 @@ "tags": [], "label": "DataStreamIndex", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2115,7 +2091,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2126,7 +2102,7 @@ "tags": [], "label": "uuid", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2137,7 +2113,7 @@ "tags": [], "label": "preferILM", "description": [], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2151,7 +2127,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false } @@ -2176,7 +2152,7 @@ " extends ", "IndicesDataStream" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2190,7 +2166,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2205,7 +2181,7 @@ "ByteSize", " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2219,7 +2195,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2233,7 +2209,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2247,7 +2223,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2261,7 +2237,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2276,7 +2252,7 @@ "IndicesDataStreamIndex", "[]" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2290,7 +2266,7 @@ "signature": [ "{ delete_index: boolean; manage_data_stream_lifecycle: boolean; }" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false }, @@ -2304,7 +2280,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false } @@ -2318,7 +2294,7 @@ "tags": [], "label": "FieldFromIndicesRequest", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2339,7 +2315,7 @@ }, "[]" ], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -2360,7 +2336,7 @@ }, "[]" ], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false } @@ -2374,7 +2350,7 @@ "tags": [], "label": "FieldItem", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2385,7 +2361,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -2396,7 +2372,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -2407,7 +2383,7 @@ "tags": [], "label": "normalizedType", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false } @@ -2667,7 +2643,7 @@ "tags": [], "label": "IndexSettings", "description": [], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2682,7 +2658,7 @@ "IndicesIndexSettingsKeys", " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -2696,7 +2672,7 @@ "signature": [ "AnalysisModule | undefined" ], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -2710,7 +2686,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false } @@ -2724,7 +2700,7 @@ "tags": [], "label": "IndexSettingsResponse", "description": [], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2744,7 +2720,7 @@ "text": "IndexSettings" } ], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -2764,7 +2740,7 @@ "text": "IndexSettings" } ], - "path": "x-pack/plugins/index_management/common/types/indices.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/indices.ts", "deprecated": false, "trackAdoption": false } @@ -2778,7 +2754,7 @@ "tags": [], "label": "IndexWithFields", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2789,7 +2765,7 @@ "tags": [], "label": "index", "description": [], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -2810,7 +2786,7 @@ }, "[]" ], - "path": "x-pack/plugins/index_management/common/types/enrich_policies.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts", "deprecated": false, "trackAdoption": false } @@ -2826,7 +2802,7 @@ "description": [ "\n------------------------------------------\n--------- LEGACY INDEX TEMPLATES ---------\n------------------------------------------" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2840,7 +2816,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -2854,7 +2830,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -2875,7 +2851,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -2896,7 +2872,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -2910,7 +2886,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -2931,7 +2907,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -2945,7 +2921,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false } @@ -2959,7 +2935,7 @@ "tags": [], "label": "Mappings", "description": [], - "path": "x-pack/plugins/index_management/common/types/mappings.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2973,7 +2949,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/index_management/common/types/mappings.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -2989,7 +2965,7 @@ "description": [ "\nTemplateDeserialized is the format the UI will be working with,\nregardless if we are loading the new format (composable) index template,\nor the legacy one. Serialization is done server side." ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3000,7 +2976,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3014,7 +2990,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3052,7 +3028,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3073,7 +3049,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3087,7 +3063,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3101,7 +3077,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3115,7 +3091,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3129,7 +3105,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3140,7 +3116,7 @@ "tags": [], "label": "allowAutoCreate", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3154,7 +3130,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3175,7 +3151,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3189,7 +3165,7 @@ "signature": [ "{ name: string; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3203,7 +3179,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3217,7 +3193,7 @@ "signature": [ "{ [key: string]: any; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3231,7 +3207,7 @@ "signature": [ "{ [key: string]: any; hidden?: boolean | undefined; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3253,7 +3229,7 @@ }, "; hasDatastream: boolean; isLegacy?: boolean | undefined; }" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false } @@ -3267,7 +3243,7 @@ "tags": [], "label": "TemplateFromEs", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3278,7 +3254,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3298,7 +3274,7 @@ "text": "TemplateSerialized" } ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false } @@ -3314,7 +3290,7 @@ "description": [ "\nInterface for the template list in our UI table\nwe don't include the mappings, settings and aliases\nto reduce the payload size sent back to the client." ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3325,7 +3301,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3339,7 +3315,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3353,7 +3329,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3367,7 +3343,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3381,7 +3357,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3392,7 +3368,7 @@ "tags": [], "label": "hasSettings", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3403,7 +3379,7 @@ "tags": [], "label": "hasAliases", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3414,7 +3390,7 @@ "tags": [], "label": "hasMappings", "description": [], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3428,7 +3404,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3442,7 +3418,7 @@ "signature": [ "{ name: string; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3456,7 +3432,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3478,7 +3454,7 @@ }, "; hasDatastream: boolean; isLegacy?: boolean | undefined; }" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false } @@ -3494,7 +3470,7 @@ "description": [ "\nIndex template format from Elasticsearch" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3508,7 +3484,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3548,7 +3524,7 @@ "IndicesDataStreamLifecycleWithRollover", " & { enabled?: boolean | undefined; effective_retention?: string | undefined; retention_determined_by?: string | undefined; globalMaxRetention?: string | undefined; }) | undefined; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3562,7 +3538,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3576,7 +3552,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3590,7 +3566,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3604,7 +3580,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3618,7 +3594,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3632,7 +3608,7 @@ "signature": [ "{ [key: string]: any; } | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3646,7 +3622,7 @@ "signature": [ "{} | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -3660,7 +3636,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false } @@ -3680,7 +3656,7 @@ "signature": [ "\"/api/index_management\"" ], - "path": "x-pack/plugins/index_management/common/constants/api_base_path.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/constants/api_base_path.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3695,7 +3671,7 @@ "signature": [ "\"/management/data/index_management/\"" ], - "path": "x-pack/plugins/index_management/common/constants/base_path.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/constants/base_path.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3710,7 +3686,7 @@ "signature": [ "\"green\" | \"yellow\" | \"red\"" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3725,7 +3701,7 @@ "signature": [ "\"standard\" | \"time_series\" | \"logsdb\"" ], - "path": "x-pack/plugins/index_management/common/types/data_streams.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3740,7 +3716,7 @@ "signature": [ "\"/internal/index_management\"" ], - "path": "x-pack/plugins/index_management/common/constants/api_base_path.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/constants/api_base_path.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3755,7 +3731,7 @@ "signature": [ "\"8.5.0\"" ], - "path": "x-pack/plugins/index_management/common/constants/plugin.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/constants/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3770,7 +3746,7 @@ "signature": [ "\"default\" | \"managed\" | \"system\" | \"cloudManaged\"" ], - "path": "x-pack/plugins/index_management/common/types/templates.ts", + "path": "x-pack/platform/plugins/shared/index_management/common/types/templates.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index b18f0c0658bd3..483843b1e4b97 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/inference.devdocs.json b/api_docs/inference.devdocs.json index b3822ffd09352..7d0d7cca9c425 100644 --- a/api_docs/inference.devdocs.json +++ b/api_docs/inference.devdocs.json @@ -200,7 +200,13 @@ "description": [], "signature": [ "() => Promise<", - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, "[]>" ], "path": "x-pack/platform/plugins/shared/inference/public/types.ts", @@ -417,7 +423,13 @@ ], "signature": [ "(id: string) => Promise<", - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, ">" ], "path": "x-pack/platform/plugins/shared/inference/server/inference_client/types.ts", @@ -610,7 +622,13 @@ ], "signature": [ "(id: string) => Promise<", - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, ">" ], "path": "x-pack/platform/plugins/shared/inference/server/inference_client/types.ts", @@ -961,7 +979,13 @@ "label": "connectors", "description": [], "signature": [ - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, "[]" ], "path": "x-pack/platform/plugins/shared/inference/common/http_apis.ts", diff --git a/api_docs/inference.mdx b/api_docs/inference.mdx index 5e41d2dafbde2..42488a94ec130 100644 --- a/api_docs/inference.mdx +++ b/api_docs/inference.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inference title: "inference" image: https://source.unsplash.com/400x175/?github description: API docs for the inference plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inference'] --- import inferenceObj from './inference.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 40 | 0 | 28 | 6 | +| 40 | 0 | 28 | 5 | ## Client diff --git a/api_docs/infra.devdocs.json b/api_docs/infra.devdocs.json index 550f704efb515..1fc322d078ade 100644 --- a/api_docs/infra.devdocs.json +++ b/api_docs/infra.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "InfraClientStartExports", "description": [], - "path": "x-pack/plugins/observability_solution/infra/public/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28,7 +28,7 @@ "signature": [ "InventoryViewsServiceStart" ], - "path": "x-pack/plugins/observability_solution/infra/public/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -43,7 +43,7 @@ "MetricsExplorerViewsServiceStart", " | undefined" ], - "path": "x-pack/plugins/observability_solution/infra/public/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -57,7 +57,7 @@ "signature": [ "ITelemetryClient" ], - "path": "x-pack/plugins/observability_solution/infra/public/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -77,7 +77,7 @@ "tags": [], "label": "InfraConfig", "description": [], - "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", + "path": "x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -91,7 +91,7 @@ "signature": [ "{ inventory_threshold: { group_by_page_size: number; }; metric_threshold: { group_by_page_size: number; }; }" ], - "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", + "path": "x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -102,7 +102,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", + "path": "x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -116,7 +116,7 @@ "signature": [ "{ compositeSize: number; }" ], - "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", + "path": "x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -130,7 +130,7 @@ "signature": [ "{ default?: { fields?: { message?: string[] | undefined; } | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", + "path": "x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -144,7 +144,7 @@ "signature": [ "{ customThresholdAlertsEnabled: boolean; logsUIEnabled: boolean; metricsExplorerEnabled: boolean; osqueryEnabled: boolean; inventoryThresholdAlertRuleEnabled: boolean; metricThresholdAlertRuleEnabled: boolean; logThresholdAlertRuleEnabled: boolean; alertsAndRulesDropdownEnabled: boolean; profilingEnabled: boolean; ruleFormV2Enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", + "path": "x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false } @@ -158,7 +158,7 @@ "tags": [], "label": "InfraRequestHandlerContext", "description": [], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -180,7 +180,7 @@ "MlDatafeedStats", "[]; }>; } | undefined" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -202,7 +202,7 @@ "AggregationsAggregate", ">>>; } | undefined" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -213,7 +213,7 @@ "tags": [], "label": "spaceId", "description": [], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -233,7 +233,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -253,7 +253,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -267,7 +267,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -289,7 +289,7 @@ "text": "EntityManagerServerPluginStart" } ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -307,7 +307,7 @@ "tags": [], "label": "InfraPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -321,7 +321,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -335,7 +335,7 @@ "signature": [ "void | undefined" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -350,7 +350,7 @@ "tags": [], "label": "InfraPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -364,7 +364,7 @@ "signature": [ "InventoryViewsServiceStart" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -379,7 +379,7 @@ "MetricsExplorerViewsServiceStart", " | undefined" ], - "path": "x-pack/plugins/observability_solution/infra/server/types.ts", + "path": "x-pack/solutions/observability/plugins/infra/server/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index b384777196d9e..aab3df11a7d69 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/ingest_pipelines.mdx b/api_docs/ingest_pipelines.mdx index 899309c1fe5fe..a37bd731e6475 100644 --- a/api_docs/ingest_pipelines.mdx +++ b/api_docs/ingest_pipelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ingestPipelines title: "ingestPipelines" image: https://source.unsplash.com/400x175/?github description: API docs for the ingestPipelines plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ingestPipelines'] --- import ingestPipelinesObj from './ingest_pipelines.devdocs.json'; diff --git a/api_docs/inspector.devdocs.json b/api_docs/inspector.devdocs.json index 42a5c59e20578..018a0cc483935 100644 --- a/api_docs/inspector.devdocs.json +++ b/api_docs/inspector.devdocs.json @@ -43,7 +43,7 @@ }, ", object, object>" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -58,7 +58,7 @@ "InspectorViewRegistry", " | undefined" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -72,7 +72,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ }, "" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -129,7 +129,7 @@ "InspectorViewRegistry", "; }; }" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -150,7 +150,7 @@ }, "" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -210,7 +210,7 @@ }, "; }" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -230,7 +230,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -245,7 +245,7 @@ "signature": [ "InspectorPluginStartDeps" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -263,7 +263,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -294,7 +294,7 @@ " extends ", "events" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -308,7 +308,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -337,7 +337,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -353,7 +353,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -370,7 +370,7 @@ "signature": [ "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -387,7 +387,7 @@ "signature": [ "number" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -407,7 +407,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -423,7 +423,7 @@ "signature": [ "(id: string) => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -437,7 +437,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -463,7 +463,7 @@ }, "[]" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -481,7 +481,7 @@ "description": [ "\nAn API to specify information about a specific request that will be logged.\nCreate a new instance to log a request using {@link RequestAdapter#start}." ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -495,7 +495,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -515,7 +515,7 @@ "text": "Request" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -530,7 +530,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -555,7 +555,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -569,7 +569,7 @@ "signature": [ "object" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -602,7 +602,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -622,7 +622,7 @@ "text": "RequestStatistics" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -650,7 +650,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -670,7 +670,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -685,7 +685,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -705,7 +705,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -719,7 +719,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -739,7 +739,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -753,7 +753,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -783,7 +783,7 @@ "text": "HasInspectorAdapters" } ], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -797,7 +797,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -817,7 +817,7 @@ "description": [ "\nThe interface that the adapters used to open an inspector have to fullfill." ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -838,7 +838,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -852,7 +852,7 @@ "signature": [ "[key: string]: any" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false } @@ -866,7 +866,7 @@ "tags": [], "label": "HasInspectorAdapters", "description": [], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -888,7 +888,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -909,7 +909,7 @@ "description": [ "\nOptions that can be specified when opening the inspector." ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -923,7 +923,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -937,7 +937,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -955,7 +955,7 @@ "description": [ "\nAn object describing an inspector view." ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1001,7 +1001,7 @@ }, ">>" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1015,7 +1015,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1029,7 +1029,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1051,7 +1051,7 @@ }, ") => boolean) | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1071,7 +1071,7 @@ "text": "Adapters" } ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1086,7 +1086,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1112,7 +1112,7 @@ }, "" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1128,7 +1128,7 @@ "signature": [ "TAdapters" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1141,7 +1141,7 @@ "description": [ "\nThe title that the inspector is currently using e.g. a visualization name." ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1157,7 +1157,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1182,7 +1182,7 @@ " extends ", "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1193,7 +1193,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1204,7 +1204,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1218,7 +1218,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1233,7 +1233,7 @@ "Response", " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1244,7 +1244,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1265,7 +1265,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1285,7 +1285,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1299,7 +1299,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -1313,7 +1313,7 @@ "tags": [], "label": "RequestStatistic", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1324,7 +1324,7 @@ "tags": [], "label": "label", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1338,7 +1338,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1352,7 +1352,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -1366,7 +1366,7 @@ "tags": [], "label": "RequestStatistics", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1387,7 +1387,7 @@ "text": "RequestStatistic" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -1405,7 +1405,7 @@ "description": [ "\nThe status a request can have." ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1428,7 +1428,7 @@ "text": "OverlayRef" } ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1442,7 +1442,7 @@ "tags": [], "label": "Setup", "description": [], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1464,7 +1464,7 @@ }, ") => void" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1485,7 +1485,7 @@ "text": "InspectorViewDescription" } ], - "path": "src/plugins/inspector/public/view_registry.ts", + "path": "src/platform/plugins/shared/inspector/public/view_registry.ts", "deprecated": false, "trackAdoption": false } @@ -1503,7 +1503,7 @@ "InspectorViewRegistry", "; }" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -1518,7 +1518,7 @@ "tags": [], "label": "Start", "description": [], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1542,7 +1542,7 @@ }, " | undefined) => boolean" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1565,7 +1565,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1613,7 +1613,7 @@ "text": "OverlayRef" } ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1635,7 +1635,7 @@ "text": "Adapters" } ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1659,7 +1659,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1706,7 +1706,7 @@ " extends ", "events" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1720,7 +1720,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1749,7 +1749,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1765,7 +1765,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1782,7 +1782,7 @@ "signature": [ "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1799,7 +1799,7 @@ "signature": [ "number" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1819,7 +1819,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1835,7 +1835,7 @@ "signature": [ "(id: string) => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1849,7 +1849,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1875,7 +1875,7 @@ }, "[]" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1893,7 +1893,7 @@ "description": [ "\nAn API to specify information about a specific request that will be logged.\nCreate a new instance to log a request using {@link RequestAdapter#start}." ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1907,7 +1907,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1927,7 +1927,7 @@ "text": "Request" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1942,7 +1942,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1967,7 +1967,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1981,7 +1981,7 @@ "signature": [ "object" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2014,7 +2014,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2034,7 +2034,7 @@ "text": "RequestStatistics" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2062,7 +2062,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2082,7 +2082,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2097,7 +2097,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2117,7 +2117,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2131,7 +2131,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2151,7 +2151,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2165,7 +2165,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2188,7 +2188,7 @@ "description": [ "\nThe interface that the adapters used to open an inspector have to fullfill." ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2209,7 +2209,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2223,7 +2223,7 @@ "signature": [ "[key: string]: any" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false } @@ -2248,7 +2248,7 @@ " extends ", "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2259,7 +2259,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2270,7 +2270,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2284,7 +2284,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2299,7 +2299,7 @@ "Response", " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2310,7 +2310,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2331,7 +2331,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2351,7 +2351,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2365,7 +2365,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -2379,7 +2379,7 @@ "tags": [], "label": "RequestStatistic", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2390,7 +2390,7 @@ "tags": [], "label": "label", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2404,7 +2404,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2418,7 +2418,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -2432,7 +2432,7 @@ "tags": [], "label": "RequestStatistics", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2453,7 +2453,7 @@ "text": "RequestStatistic" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -2471,7 +2471,7 @@ "description": [ "\nThe status a request can have." ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 6b067ff09e67e..2daa89a4dc4b4 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/integration_assistant.mdx b/api_docs/integration_assistant.mdx index 89e7d6a7519fd..46830aa3eb406 100644 --- a/api_docs/integration_assistant.mdx +++ b/api_docs/integration_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/integrationAssistant title: "integrationAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the integrationAssistant plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'integrationAssistant'] --- import integrationAssistantObj from './integration_assistant.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 1373d61fdd239..6de72992292d0 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/inventory.mdx b/api_docs/inventory.mdx index 201d7e905b61d..01134526e4c29 100644 --- a/api_docs/inventory.mdx +++ b/api_docs/inventory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inventory title: "inventory" image: https://source.unsplash.com/400x175/?github description: API docs for the inventory plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inventory'] --- import inventoryObj from './inventory.devdocs.json'; diff --git a/api_docs/investigate.mdx b/api_docs/investigate.mdx index edf3dd4107411..c6fb7b895b92a 100644 --- a/api_docs/investigate.mdx +++ b/api_docs/investigate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/investigate title: "investigate" image: https://source.unsplash.com/400x175/?github description: API docs for the investigate plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'investigate'] --- import investigateObj from './investigate.devdocs.json'; diff --git a/api_docs/investigate_app.mdx b/api_docs/investigate_app.mdx index 6cf8d331cf0fe..655f04dfcf105 100644 --- a/api_docs/investigate_app.mdx +++ b/api_docs/investigate_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/investigateApp title: "investigateApp" image: https://source.unsplash.com/400x175/?github description: API docs for the investigateApp plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'investigateApp'] --- import investigateAppObj from './investigate_app.devdocs.json'; diff --git a/api_docs/kbn_actions_types.mdx b/api_docs/kbn_actions_types.mdx index 91b6f71b5bc6e..7ed7aaf5a2912 100644 --- a/api_docs/kbn_actions_types.mdx +++ b/api_docs/kbn_actions_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-actions-types title: "@kbn/actions-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/actions-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/actions-types'] --- import kbnActionsTypesObj from './kbn_actions_types.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant.mdx b/api_docs/kbn_ai_assistant.mdx index 91d4070e0159d..32a68d3a5abe1 100644 --- a/api_docs/kbn_ai_assistant.mdx +++ b/api_docs/kbn_ai_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ai-assistant title: "@kbn/ai-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ai-assistant plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant'] --- import kbnAiAssistantObj from './kbn_ai_assistant.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant_common.mdx b/api_docs/kbn_ai_assistant_common.mdx index 6d6942c67f32a..87810ff19a300 100644 --- a/api_docs/kbn_ai_assistant_common.mdx +++ b/api_docs/kbn_ai_assistant_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ai-assistant-common title: "@kbn/ai-assistant-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ai-assistant-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant-common'] --- import kbnAiAssistantCommonObj from './kbn_ai_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant_icon.devdocs.json b/api_docs/kbn_ai_assistant_icon.devdocs.json index dfc8bb5465120..b1c0efe9df4e6 100644 --- a/api_docs/kbn_ai_assistant_icon.devdocs.json +++ b/api_docs/kbn_ai_assistant_icon.devdocs.json @@ -257,7 +257,7 @@ "Interpolation", "<", "Theme", - ">; suppressHydrationWarning?: boolean | undefined; lang?: string | undefined; style?: React.CSSProperties | undefined; tabIndex?: number | undefined; title?: string | undefined; role?: React.AriaRole | undefined; color?: string | undefined; \"aria-activedescendant\"?: string | undefined; \"aria-atomic\"?: Booleanish | undefined; \"aria-autocomplete\"?: \"none\" | \"list\" | \"inline\" | \"both\" | undefined; \"aria-braillelabel\"?: string | undefined; \"aria-brailleroledescription\"?: string | undefined; \"aria-busy\"?: Booleanish | undefined; \"aria-checked\"?: boolean | \"true\" | \"false\" | \"mixed\" | undefined; \"aria-colcount\"?: number | undefined; \"aria-colindex\"?: number | undefined; \"aria-colindextext\"?: string | undefined; \"aria-colspan\"?: number | undefined; \"aria-controls\"?: string | undefined; \"aria-current\"?: boolean | \"page\" | \"date\" | \"location\" | \"true\" | \"false\" | \"time\" | \"step\" | undefined; \"aria-describedby\"?: string | undefined; \"aria-description\"?: string | undefined; \"aria-details\"?: string | undefined; \"aria-disabled\"?: Booleanish | undefined; \"aria-dropeffect\"?: \"execute\" | \"link\" | \"none\" | \"copy\" | \"move\" | \"popup\" | undefined; \"aria-errormessage\"?: string | undefined; \"aria-expanded\"?: Booleanish | undefined; \"aria-flowto\"?: string | undefined; \"aria-grabbed\"?: Booleanish | undefined; \"aria-haspopup\"?: boolean | \"grid\" | \"true\" | \"false\" | \"dialog\" | \"menu\" | \"listbox\" | \"tree\" | undefined; \"aria-hidden\"?: Booleanish | undefined; \"aria-invalid\"?: boolean | \"true\" | \"false\" | \"grammar\" | \"spelling\" | undefined; \"aria-keyshortcuts\"?: string | undefined; \"aria-labelledby\"?: string | undefined; \"aria-level\"?: number | undefined; \"aria-live\"?: \"off\" | \"assertive\" | \"polite\" | undefined; \"aria-modal\"?: Booleanish | undefined; \"aria-multiline\"?: Booleanish | undefined; \"aria-multiselectable\"?: Booleanish | undefined; \"aria-orientation\"?: \"horizontal\" | \"vertical\" | undefined; \"aria-owns\"?: string | undefined; \"aria-placeholder\"?: string | undefined; \"aria-posinset\"?: number | undefined; \"aria-pressed\"?: boolean | \"true\" | \"false\" | \"mixed\" | undefined; \"aria-readonly\"?: Booleanish | undefined; \"aria-relevant\"?: \"text\" | \"all\" | \"additions\" | \"additions removals\" | \"additions text\" | \"removals\" | \"removals additions\" | \"removals text\" | \"text additions\" | \"text removals\" | undefined; \"aria-required\"?: Booleanish | undefined; \"aria-roledescription\"?: string | undefined; \"aria-rowcount\"?: number | undefined; \"aria-rowindex\"?: number | undefined; \"aria-rowindextext\"?: string | undefined; \"aria-rowspan\"?: number | undefined; \"aria-selected\"?: Booleanish | undefined; \"aria-setsize\"?: number | undefined; \"aria-sort\"?: \"none\" | \"ascending\" | \"descending\" | \"other\" | undefined; \"aria-valuemax\"?: number | undefined; \"aria-valuemin\"?: number | undefined; \"aria-valuenow\"?: number | undefined; \"aria-valuetext\"?: string | undefined; children?: React.ReactNode; dangerouslySetInnerHTML?: { __html: string | TrustedHTML; } | undefined; onCopy?: React.ClipboardEventHandler | undefined; onCopyCapture?: React.ClipboardEventHandler | undefined; onCut?: React.ClipboardEventHandler | undefined; onCutCapture?: React.ClipboardEventHandler | undefined; onPaste?: React.ClipboardEventHandler | undefined; onPasteCapture?: React.ClipboardEventHandler | undefined; onCompositionEnd?: React.CompositionEventHandler | undefined; onCompositionEndCapture?: React.CompositionEventHandler | undefined; onCompositionStart?: React.CompositionEventHandler | undefined; onCompositionStartCapture?: React.CompositionEventHandler | undefined; onCompositionUpdate?: React.CompositionEventHandler | undefined; onCompositionUpdateCapture?: React.CompositionEventHandler | undefined; onFocus?: React.FocusEventHandler | undefined; onFocusCapture?: React.FocusEventHandler | undefined; onBlur?: React.FocusEventHandler | undefined; onBlurCapture?: React.FocusEventHandler | undefined; onChange?: React.FormEventHandler | undefined; onChangeCapture?: React.FormEventHandler | undefined; onBeforeInput?: React.FormEventHandler | undefined; onBeforeInputCapture?: React.FormEventHandler | undefined; onInput?: React.FormEventHandler | undefined; onInputCapture?: React.FormEventHandler | undefined; onReset?: React.FormEventHandler | undefined; onResetCapture?: React.FormEventHandler | undefined; onSubmit?: React.FormEventHandler | undefined; onSubmitCapture?: React.FormEventHandler | undefined; onInvalid?: React.FormEventHandler | undefined; onInvalidCapture?: React.FormEventHandler | undefined; onLoad?: React.ReactEventHandler | undefined; onLoadCapture?: React.ReactEventHandler | undefined; onErrorCapture?: React.ReactEventHandler | undefined; onKeyDown?: React.KeyboardEventHandler | undefined; onKeyDownCapture?: React.KeyboardEventHandler | undefined; onKeyPress?: React.KeyboardEventHandler | undefined; onKeyPressCapture?: React.KeyboardEventHandler | undefined; onKeyUp?: React.KeyboardEventHandler | undefined; onKeyUpCapture?: React.KeyboardEventHandler | undefined; onAbort?: React.ReactEventHandler | undefined; onAbortCapture?: React.ReactEventHandler | undefined; onCanPlay?: React.ReactEventHandler | undefined; onCanPlayCapture?: React.ReactEventHandler | undefined; onCanPlayThrough?: React.ReactEventHandler | undefined; onCanPlayThroughCapture?: React.ReactEventHandler | undefined; onDurationChange?: React.ReactEventHandler | undefined; onDurationChangeCapture?: React.ReactEventHandler | undefined; onEmptied?: React.ReactEventHandler | undefined; onEmptiedCapture?: React.ReactEventHandler | undefined; onEncrypted?: React.ReactEventHandler | undefined; onEncryptedCapture?: React.ReactEventHandler | undefined; onEnded?: React.ReactEventHandler | undefined; onEndedCapture?: React.ReactEventHandler | undefined; onLoadedData?: React.ReactEventHandler | undefined; onLoadedDataCapture?: React.ReactEventHandler | undefined; onLoadedMetadata?: React.ReactEventHandler | undefined; onLoadedMetadataCapture?: React.ReactEventHandler | undefined; onLoadStart?: React.ReactEventHandler | undefined; onLoadStartCapture?: React.ReactEventHandler | undefined; onPause?: React.ReactEventHandler | undefined; onPauseCapture?: React.ReactEventHandler | undefined; onPlay?: React.ReactEventHandler | undefined; onPlayCapture?: React.ReactEventHandler | undefined; onPlaying?: React.ReactEventHandler | undefined; onPlayingCapture?: React.ReactEventHandler | undefined; onProgress?: React.ReactEventHandler | undefined; onProgressCapture?: React.ReactEventHandler | undefined; onRateChange?: React.ReactEventHandler | undefined; onRateChangeCapture?: React.ReactEventHandler | undefined; onResize?: React.ReactEventHandler | undefined; onResizeCapture?: React.ReactEventHandler | undefined; onSeeked?: React.ReactEventHandler | undefined; onSeekedCapture?: React.ReactEventHandler | undefined; onSeeking?: React.ReactEventHandler | undefined; onSeekingCapture?: React.ReactEventHandler | undefined; onStalled?: React.ReactEventHandler | undefined; onStalledCapture?: React.ReactEventHandler | undefined; onSuspend?: React.ReactEventHandler | undefined; onSuspendCapture?: React.ReactEventHandler | undefined; onTimeUpdate?: React.ReactEventHandler | undefined; onTimeUpdateCapture?: React.ReactEventHandler | undefined; onVolumeChange?: React.ReactEventHandler | undefined; onVolumeChangeCapture?: React.ReactEventHandler | undefined; onWaiting?: React.ReactEventHandler | undefined; onWaitingCapture?: React.ReactEventHandler | undefined; onAuxClick?: React.MouseEventHandler | undefined; onAuxClickCapture?: React.MouseEventHandler | undefined; onClick?: React.MouseEventHandler | undefined; onClickCapture?: React.MouseEventHandler | undefined; onContextMenu?: React.MouseEventHandler | undefined; onContextMenuCapture?: React.MouseEventHandler | undefined; onDoubleClick?: React.MouseEventHandler | undefined; onDoubleClickCapture?: React.MouseEventHandler | undefined; onDrag?: React.DragEventHandler | undefined; onDragCapture?: React.DragEventHandler | undefined; onDragEnd?: React.DragEventHandler | undefined; onDragEndCapture?: React.DragEventHandler | undefined; onDragEnter?: React.DragEventHandler | undefined; onDragEnterCapture?: React.DragEventHandler | undefined; onDragExit?: React.DragEventHandler | undefined; onDragExitCapture?: React.DragEventHandler | undefined; onDragLeave?: React.DragEventHandler | undefined; onDragLeaveCapture?: React.DragEventHandler | undefined; onDragOver?: React.DragEventHandler | undefined; onDragOverCapture?: React.DragEventHandler | undefined; onDragStart?: React.DragEventHandler | undefined; onDragStartCapture?: React.DragEventHandler | undefined; onDrop?: React.DragEventHandler | undefined; onDropCapture?: React.DragEventHandler | undefined; onMouseDown?: React.MouseEventHandler | undefined; onMouseDownCapture?: React.MouseEventHandler | undefined; onMouseEnter?: React.MouseEventHandler | undefined; onMouseLeave?: React.MouseEventHandler | undefined; onMouseMove?: React.MouseEventHandler | undefined; onMouseMoveCapture?: React.MouseEventHandler | undefined; onMouseOut?: React.MouseEventHandler | undefined; onMouseOutCapture?: React.MouseEventHandler | undefined; onMouseOver?: React.MouseEventHandler | undefined; onMouseOverCapture?: React.MouseEventHandler | undefined; onMouseUp?: React.MouseEventHandler | undefined; onMouseUpCapture?: React.MouseEventHandler | undefined; onSelect?: React.ReactEventHandler | undefined; onSelectCapture?: React.ReactEventHandler | undefined; onTouchCancel?: React.TouchEventHandler | undefined; onTouchCancelCapture?: React.TouchEventHandler | undefined; onTouchEnd?: React.TouchEventHandler | undefined; onTouchEndCapture?: React.TouchEventHandler | undefined; onTouchMove?: React.TouchEventHandler | undefined; onTouchMoveCapture?: React.TouchEventHandler | undefined; onTouchStart?: React.TouchEventHandler | undefined; onTouchStartCapture?: React.TouchEventHandler | undefined; onPointerDown?: React.PointerEventHandler | undefined; onPointerDownCapture?: React.PointerEventHandler | undefined; onPointerMove?: React.PointerEventHandler | undefined; onPointerMoveCapture?: React.PointerEventHandler | undefined; onPointerUp?: React.PointerEventHandler | undefined; onPointerUpCapture?: React.PointerEventHandler | undefined; onPointerCancel?: React.PointerEventHandler | undefined; onPointerCancelCapture?: React.PointerEventHandler | undefined; onPointerEnter?: React.PointerEventHandler | undefined; onPointerLeave?: React.PointerEventHandler | undefined; onPointerOver?: React.PointerEventHandler | undefined; onPointerOverCapture?: React.PointerEventHandler | undefined; onPointerOut?: React.PointerEventHandler | undefined; onPointerOutCapture?: React.PointerEventHandler | undefined; onGotPointerCapture?: React.PointerEventHandler | undefined; onGotPointerCaptureCapture?: React.PointerEventHandler | undefined; onLostPointerCapture?: React.PointerEventHandler | undefined; onLostPointerCaptureCapture?: React.PointerEventHandler | undefined; onScroll?: React.UIEventHandler | undefined; onScrollCapture?: React.UIEventHandler | undefined; onWheel?: React.WheelEventHandler | undefined; onWheelCapture?: React.WheelEventHandler | undefined; onAnimationStart?: React.AnimationEventHandler | undefined; onAnimationStartCapture?: React.AnimationEventHandler | undefined; onAnimationEnd?: React.AnimationEventHandler | undefined; onAnimationEndCapture?: React.AnimationEventHandler | undefined; onAnimationIteration?: React.AnimationEventHandler | undefined; onAnimationIterationCapture?: React.AnimationEventHandler | undefined; onTransitionEnd?: React.TransitionEventHandler | undefined; onTransitionEndCapture?: React.TransitionEventHandler | undefined; size?: \"m\" | \"s\" | \"l\" | \"original\" | \"xl\" | \"xxl\" | undefined; path?: string | undefined; from?: string | number | undefined; to?: string | number | undefined; clipPath?: string | undefined; mask?: string | undefined; offset?: string | number | undefined; href?: string | undefined; media?: string | undefined; target?: string | undefined; direction?: string | number | undefined; width?: string | number | undefined; textDecoration?: string | number | undefined; operator?: string | number | undefined; result?: string | undefined; origin?: string | number | undefined; method?: string | undefined; by?: string | number | undefined; scale?: string | number | undefined; y?: string | number | undefined; d?: string | undefined; fontSize?: string | number | undefined; fontFamily?: string | undefined; fontStyle?: string | number | undefined; stroke?: string | undefined; strokeWidth?: string | number | undefined; x?: string | number | undefined; stdDeviation?: string | number | undefined; display?: string | number | undefined; cursor?: string | number | undefined; height?: string | number | undefined; overflow?: string | number | undefined; preserveAspectRatio?: string | undefined; vectorEffect?: string | number | undefined; strokeMiterlimit?: string | number | undefined; textAnchor?: string | undefined; dominantBaseline?: string | number | undefined; dx?: string | number | undefined; dy?: string | number | undefined; r?: string | number | undefined; cx?: string | number | undefined; cy?: string | number | undefined; strokeLinecap?: \"square\" | \"inherit\" | \"butt\" | \"round\" | undefined; points?: string | undefined; strokeLinejoin?: \"inherit\" | \"round\" | \"miter\" | \"bevel\" | undefined; opacity?: string | number | undefined; crossOrigin?: CrossOrigin; accentHeight?: string | number | undefined; accumulate?: \"sum\" | \"none\" | undefined; additive?: \"sum\" | \"replace\" | undefined; alignmentBaseline?: \"inherit\" | \"auto\" | \"middle\" | \"alphabetic\" | \"hanging\" | \"ideographic\" | \"mathematical\" | \"baseline\" | \"before-edge\" | \"text-before-edge\" | \"central\" | \"after-edge\" | \"text-after-edge\" | undefined; allowReorder?: \"yes\" | \"no\" | undefined; alphabetic?: string | number | undefined; amplitude?: string | number | undefined; arabicForm?: \"initial\" | \"medial\" | \"terminal\" | \"isolated\" | undefined; ascent?: string | number | undefined; attributeName?: string | undefined; attributeType?: string | undefined; autoReverse?: Booleanish | undefined; azimuth?: string | number | undefined; baseFrequency?: string | number | undefined; baselineShift?: string | number | undefined; baseProfile?: string | number | undefined; bbox?: string | number | undefined; begin?: string | number | undefined; bias?: string | number | undefined; calcMode?: string | number | undefined; capHeight?: string | number | undefined; clip?: string | number | undefined; clipPathUnits?: string | number | undefined; clipRule?: string | number | undefined; colorInterpolation?: string | number | undefined; colorInterpolationFilters?: \"inherit\" | \"auto\" | \"sRGB\" | \"linearRGB\" | undefined; colorProfile?: string | number | undefined; colorRendering?: string | number | undefined; contentScriptType?: string | number | undefined; contentStyleType?: string | number | undefined; decelerate?: string | number | undefined; descent?: string | number | undefined; diffuseConstant?: string | number | undefined; divisor?: string | number | undefined; dur?: string | number | undefined; edgeMode?: string | number | undefined; elevation?: string | number | undefined; enableBackground?: string | number | undefined; exponent?: string | number | undefined; externalResourcesRequired?: Booleanish | undefined; fillOpacity?: string | number | undefined; fillRule?: \"inherit\" | \"nonzero\" | \"evenodd\" | undefined; filterRes?: string | number | undefined; filterUnits?: string | number | undefined; floodColor?: string | number | undefined; floodOpacity?: string | number | undefined; focusable?: Booleanish | \"auto\" | undefined; fontSizeAdjust?: string | number | undefined; fontStretch?: string | number | undefined; fontVariant?: string | number | undefined; fontWeight?: string | number | undefined; fr?: string | number | undefined; fx?: string | number | undefined; fy?: string | number | undefined; g1?: string | number | undefined; g2?: string | number | undefined; glyphName?: string | number | undefined; glyphOrientationHorizontal?: string | number | undefined; glyphOrientationVertical?: string | number | undefined; glyphRef?: string | number | undefined; gradientTransform?: string | undefined; gradientUnits?: string | undefined; hanging?: string | number | undefined; horizAdvX?: string | number | undefined; horizOriginX?: string | number | undefined; ideographic?: string | number | undefined; imageRendering?: string | number | undefined; in2?: string | number | undefined; intercept?: string | number | undefined; k1?: string | number | undefined; k2?: string | number | undefined; k3?: string | number | undefined; k4?: string | number | undefined; k?: string | number | undefined; kernelMatrix?: string | number | undefined; kernelUnitLength?: string | number | undefined; kerning?: string | number | undefined; keyPoints?: string | number | undefined; keySplines?: string | number | undefined; keyTimes?: string | number | undefined; lengthAdjust?: string | number | undefined; letterSpacing?: string | number | undefined; lightingColor?: string | number | undefined; limitingConeAngle?: string | number | undefined; local?: string | number | undefined; markerEnd?: string | undefined; markerHeight?: string | number | undefined; markerMid?: string | undefined; markerStart?: string | undefined; markerUnits?: string | number | undefined; markerWidth?: string | number | undefined; maskContentUnits?: string | number | undefined; maskUnits?: string | number | undefined; mathematical?: string | number | undefined; numOctaves?: string | number | undefined; orient?: string | number | undefined; orientation?: string | number | undefined; overlinePosition?: string | number | undefined; overlineThickness?: string | number | undefined; paintOrder?: string | number | undefined; panose1?: string | number | undefined; pathLength?: string | number | undefined; patternContentUnits?: string | undefined; patternTransform?: string | number | undefined; patternUnits?: string | undefined; pointerEvents?: string | number | undefined; pointsAtX?: string | number | undefined; pointsAtY?: string | number | undefined; pointsAtZ?: string | number | undefined; preserveAlpha?: Booleanish | undefined; primitiveUnits?: string | number | undefined; radius?: string | number | undefined; refX?: string | number | undefined; refY?: string | number | undefined; renderingIntent?: string | number | undefined; repeatCount?: string | number | undefined; repeatDur?: string | number | undefined; requiredExtensions?: string | number | undefined; requiredFeatures?: string | number | undefined; restart?: string | number | undefined; rotate?: string | number | undefined; rx?: string | number | undefined; ry?: string | number | undefined; seed?: string | number | undefined; shapeRendering?: string | number | undefined; slope?: string | number | undefined; spacing?: string | number | undefined; specularConstant?: string | number | undefined; specularExponent?: string | number | undefined; speed?: string | number | undefined; spreadMethod?: string | undefined; startOffset?: string | number | undefined; stemh?: string | number | undefined; stemv?: string | number | undefined; stitchTiles?: string | number | undefined; stopColor?: string | undefined; stopOpacity?: string | number | undefined; strikethroughPosition?: string | number | undefined; strikethroughThickness?: string | number | undefined; strokeDasharray?: string | number | undefined; strokeDashoffset?: string | number | undefined; strokeOpacity?: string | number | undefined; surfaceScale?: string | number | undefined; systemLanguage?: string | number | undefined; tableValues?: string | number | undefined; targetX?: string | number | undefined; targetY?: string | number | undefined; textLength?: string | number | undefined; textRendering?: string | number | undefined; u1?: string | number | undefined; u2?: string | number | undefined; underlinePosition?: string | number | undefined; underlineThickness?: string | number | undefined; unicode?: string | number | undefined; unicodeBidi?: string | number | undefined; unicodeRange?: string | number | undefined; unitsPerEm?: string | number | undefined; vAlphabetic?: string | number | undefined; vertAdvY?: string | number | undefined; vertOriginX?: string | number | undefined; vertOriginY?: string | number | undefined; vHanging?: string | number | undefined; vIdeographic?: string | number | undefined; viewBox?: string | undefined; viewTarget?: string | number | undefined; visibility?: string | number | undefined; vMathematical?: string | number | undefined; widths?: string | number | undefined; wordSpacing?: string | number | undefined; writingMode?: string | number | undefined; x1?: string | number | undefined; x2?: string | number | undefined; xChannelSelector?: string | undefined; xHeight?: string | number | undefined; xlinkActuate?: string | undefined; xlinkArcrole?: string | undefined; xlinkHref?: string | undefined; xlinkRole?: string | undefined; xlinkShow?: string | undefined; xlinkTitle?: string | undefined; xlinkType?: string | undefined; xmlBase?: string | undefined; xmlLang?: string | undefined; xmlns?: string | undefined; xmlnsXlink?: string | undefined; xmlSpace?: string | undefined; y1?: string | number | undefined; y2?: string | number | undefined; yChannelSelector?: string | undefined; z?: string | number | undefined; zoomAndPan?: string | undefined; titleId?: string | undefined; onIconLoad?: (() => void) | undefined; }" + ">; suppressHydrationWarning?: boolean | undefined; lang?: string | undefined; style?: React.CSSProperties | undefined; tabIndex?: number | undefined; title?: string | undefined; role?: React.AriaRole | undefined; color?: string | undefined; \"aria-activedescendant\"?: string | undefined; \"aria-atomic\"?: Booleanish | undefined; \"aria-autocomplete\"?: \"none\" | \"list\" | \"inline\" | \"both\" | undefined; \"aria-braillelabel\"?: string | undefined; \"aria-brailleroledescription\"?: string | undefined; \"aria-busy\"?: Booleanish | undefined; \"aria-checked\"?: boolean | \"true\" | \"false\" | \"mixed\" | undefined; \"aria-colcount\"?: number | undefined; \"aria-colindex\"?: number | undefined; \"aria-colindextext\"?: string | undefined; \"aria-colspan\"?: number | undefined; \"aria-controls\"?: string | undefined; \"aria-current\"?: boolean | \"page\" | \"date\" | \"location\" | \"true\" | \"false\" | \"time\" | \"step\" | undefined; \"aria-describedby\"?: string | undefined; \"aria-description\"?: string | undefined; \"aria-details\"?: string | undefined; \"aria-disabled\"?: Booleanish | undefined; \"aria-dropeffect\"?: \"execute\" | \"link\" | \"none\" | \"copy\" | \"move\" | \"popup\" | undefined; \"aria-errormessage\"?: string | undefined; \"aria-expanded\"?: Booleanish | undefined; \"aria-flowto\"?: string | undefined; \"aria-grabbed\"?: Booleanish | undefined; \"aria-haspopup\"?: boolean | \"grid\" | \"true\" | \"false\" | \"dialog\" | \"menu\" | \"listbox\" | \"tree\" | undefined; \"aria-hidden\"?: Booleanish | undefined; \"aria-invalid\"?: boolean | \"true\" | \"false\" | \"grammar\" | \"spelling\" | undefined; \"aria-keyshortcuts\"?: string | undefined; \"aria-labelledby\"?: string | undefined; \"aria-level\"?: number | undefined; \"aria-live\"?: \"off\" | \"assertive\" | \"polite\" | undefined; \"aria-modal\"?: Booleanish | undefined; \"aria-multiline\"?: Booleanish | undefined; \"aria-multiselectable\"?: Booleanish | undefined; \"aria-orientation\"?: \"horizontal\" | \"vertical\" | undefined; \"aria-owns\"?: string | undefined; \"aria-placeholder\"?: string | undefined; \"aria-posinset\"?: number | undefined; \"aria-pressed\"?: boolean | \"true\" | \"false\" | \"mixed\" | undefined; \"aria-readonly\"?: Booleanish | undefined; \"aria-relevant\"?: \"text\" | \"all\" | \"additions\" | \"additions removals\" | \"additions text\" | \"removals\" | \"removals additions\" | \"removals text\" | \"text additions\" | \"text removals\" | undefined; \"aria-required\"?: Booleanish | undefined; \"aria-roledescription\"?: string | undefined; \"aria-rowcount\"?: number | undefined; \"aria-rowindex\"?: number | undefined; \"aria-rowindextext\"?: string | undefined; \"aria-rowspan\"?: number | undefined; \"aria-selected\"?: Booleanish | undefined; \"aria-setsize\"?: number | undefined; \"aria-sort\"?: \"none\" | \"ascending\" | \"descending\" | \"other\" | undefined; \"aria-valuemax\"?: number | undefined; \"aria-valuemin\"?: number | undefined; \"aria-valuenow\"?: number | undefined; \"aria-valuetext\"?: string | undefined; children?: React.ReactNode; dangerouslySetInnerHTML?: { __html: string | TrustedHTML; } | undefined; onCopy?: React.ClipboardEventHandler | undefined; onCopyCapture?: React.ClipboardEventHandler | undefined; onCut?: React.ClipboardEventHandler | undefined; onCutCapture?: React.ClipboardEventHandler | undefined; onPaste?: React.ClipboardEventHandler | undefined; onPasteCapture?: React.ClipboardEventHandler | undefined; onCompositionEnd?: React.CompositionEventHandler | undefined; onCompositionEndCapture?: React.CompositionEventHandler | undefined; onCompositionStart?: React.CompositionEventHandler | undefined; onCompositionStartCapture?: React.CompositionEventHandler | undefined; onCompositionUpdate?: React.CompositionEventHandler | undefined; onCompositionUpdateCapture?: React.CompositionEventHandler | undefined; onFocus?: React.FocusEventHandler | undefined; onFocusCapture?: React.FocusEventHandler | undefined; onBlur?: React.FocusEventHandler | undefined; onBlurCapture?: React.FocusEventHandler | undefined; onChange?: React.FormEventHandler | undefined; onChangeCapture?: React.FormEventHandler | undefined; onBeforeInput?: React.FormEventHandler | undefined; onBeforeInputCapture?: React.FormEventHandler | undefined; onInput?: React.FormEventHandler | undefined; onInputCapture?: React.FormEventHandler | undefined; onReset?: React.FormEventHandler | undefined; onResetCapture?: React.FormEventHandler | undefined; onSubmit?: React.FormEventHandler | undefined; onSubmitCapture?: React.FormEventHandler | undefined; onInvalid?: React.FormEventHandler | undefined; onInvalidCapture?: React.FormEventHandler | undefined; onLoad?: React.ReactEventHandler | undefined; onLoadCapture?: React.ReactEventHandler | undefined; onErrorCapture?: React.ReactEventHandler | undefined; onKeyDown?: React.KeyboardEventHandler | undefined; onKeyDownCapture?: React.KeyboardEventHandler | undefined; onKeyPress?: React.KeyboardEventHandler | undefined; onKeyPressCapture?: React.KeyboardEventHandler | undefined; onKeyUp?: React.KeyboardEventHandler | undefined; onKeyUpCapture?: React.KeyboardEventHandler | undefined; onAbort?: React.ReactEventHandler | undefined; onAbortCapture?: React.ReactEventHandler | undefined; onCanPlay?: React.ReactEventHandler | undefined; onCanPlayCapture?: React.ReactEventHandler | undefined; onCanPlayThrough?: React.ReactEventHandler | undefined; onCanPlayThroughCapture?: React.ReactEventHandler | undefined; onDurationChange?: React.ReactEventHandler | undefined; onDurationChangeCapture?: React.ReactEventHandler | undefined; onEmptied?: React.ReactEventHandler | undefined; onEmptiedCapture?: React.ReactEventHandler | undefined; onEncrypted?: React.ReactEventHandler | undefined; onEncryptedCapture?: React.ReactEventHandler | undefined; onEnded?: React.ReactEventHandler | undefined; onEndedCapture?: React.ReactEventHandler | undefined; onLoadedData?: React.ReactEventHandler | undefined; onLoadedDataCapture?: React.ReactEventHandler | undefined; onLoadedMetadata?: React.ReactEventHandler | undefined; onLoadedMetadataCapture?: React.ReactEventHandler | undefined; onLoadStart?: React.ReactEventHandler | undefined; onLoadStartCapture?: React.ReactEventHandler | undefined; onPause?: React.ReactEventHandler | undefined; onPauseCapture?: React.ReactEventHandler | undefined; onPlay?: React.ReactEventHandler | undefined; onPlayCapture?: React.ReactEventHandler | undefined; onPlaying?: React.ReactEventHandler | undefined; onPlayingCapture?: React.ReactEventHandler | undefined; onProgress?: React.ReactEventHandler | undefined; onProgressCapture?: React.ReactEventHandler | undefined; onRateChange?: React.ReactEventHandler | undefined; onRateChangeCapture?: React.ReactEventHandler | undefined; onResize?: React.ReactEventHandler | undefined; onResizeCapture?: React.ReactEventHandler | undefined; onSeeked?: React.ReactEventHandler | undefined; onSeekedCapture?: React.ReactEventHandler | undefined; onSeeking?: React.ReactEventHandler | undefined; onSeekingCapture?: React.ReactEventHandler | undefined; onStalled?: React.ReactEventHandler | undefined; onStalledCapture?: React.ReactEventHandler | undefined; onSuspend?: React.ReactEventHandler | undefined; onSuspendCapture?: React.ReactEventHandler | undefined; onTimeUpdate?: React.ReactEventHandler | undefined; onTimeUpdateCapture?: React.ReactEventHandler | undefined; onVolumeChange?: React.ReactEventHandler | undefined; onVolumeChangeCapture?: React.ReactEventHandler | undefined; onWaiting?: React.ReactEventHandler | undefined; onWaitingCapture?: React.ReactEventHandler | undefined; onAuxClick?: React.MouseEventHandler | undefined; onAuxClickCapture?: React.MouseEventHandler | undefined; onClick?: React.MouseEventHandler | undefined; onClickCapture?: React.MouseEventHandler | undefined; onContextMenu?: React.MouseEventHandler | undefined; onContextMenuCapture?: React.MouseEventHandler | undefined; onDoubleClick?: React.MouseEventHandler | undefined; onDoubleClickCapture?: React.MouseEventHandler | undefined; onDrag?: React.DragEventHandler | undefined; onDragCapture?: React.DragEventHandler | undefined; onDragEnd?: React.DragEventHandler | undefined; onDragEndCapture?: React.DragEventHandler | undefined; onDragEnter?: React.DragEventHandler | undefined; onDragEnterCapture?: React.DragEventHandler | undefined; onDragExit?: React.DragEventHandler | undefined; onDragExitCapture?: React.DragEventHandler | undefined; onDragLeave?: React.DragEventHandler | undefined; onDragLeaveCapture?: React.DragEventHandler | undefined; onDragOver?: React.DragEventHandler | undefined; onDragOverCapture?: React.DragEventHandler | undefined; onDragStart?: React.DragEventHandler | undefined; onDragStartCapture?: React.DragEventHandler | undefined; onDrop?: React.DragEventHandler | undefined; onDropCapture?: React.DragEventHandler | undefined; onMouseDown?: React.MouseEventHandler | undefined; onMouseDownCapture?: React.MouseEventHandler | undefined; onMouseEnter?: React.MouseEventHandler | undefined; onMouseLeave?: React.MouseEventHandler | undefined; onMouseMove?: React.MouseEventHandler | undefined; onMouseMoveCapture?: React.MouseEventHandler | undefined; onMouseOut?: React.MouseEventHandler | undefined; onMouseOutCapture?: React.MouseEventHandler | undefined; onMouseOver?: React.MouseEventHandler | undefined; onMouseOverCapture?: React.MouseEventHandler | undefined; onMouseUp?: React.MouseEventHandler | undefined; onMouseUpCapture?: React.MouseEventHandler | undefined; onSelect?: React.ReactEventHandler | undefined; onSelectCapture?: React.ReactEventHandler | undefined; onTouchCancel?: React.TouchEventHandler | undefined; onTouchCancelCapture?: React.TouchEventHandler | undefined; onTouchEnd?: React.TouchEventHandler | undefined; onTouchEndCapture?: React.TouchEventHandler | undefined; onTouchMove?: React.TouchEventHandler | undefined; onTouchMoveCapture?: React.TouchEventHandler | undefined; onTouchStart?: React.TouchEventHandler | undefined; onTouchStartCapture?: React.TouchEventHandler | undefined; onPointerDown?: React.PointerEventHandler | undefined; onPointerDownCapture?: React.PointerEventHandler | undefined; onPointerMove?: React.PointerEventHandler | undefined; onPointerMoveCapture?: React.PointerEventHandler | undefined; onPointerUp?: React.PointerEventHandler | undefined; onPointerUpCapture?: React.PointerEventHandler | undefined; onPointerCancel?: React.PointerEventHandler | undefined; onPointerCancelCapture?: React.PointerEventHandler | undefined; onPointerEnter?: React.PointerEventHandler | undefined; onPointerLeave?: React.PointerEventHandler | undefined; onPointerOver?: React.PointerEventHandler | undefined; onPointerOverCapture?: React.PointerEventHandler | undefined; onPointerOut?: React.PointerEventHandler | undefined; onPointerOutCapture?: React.PointerEventHandler | undefined; onGotPointerCapture?: React.PointerEventHandler | undefined; onGotPointerCaptureCapture?: React.PointerEventHandler | undefined; onLostPointerCapture?: React.PointerEventHandler | undefined; onLostPointerCaptureCapture?: React.PointerEventHandler | undefined; onScroll?: React.UIEventHandler | undefined; onScrollCapture?: React.UIEventHandler | undefined; onWheel?: React.WheelEventHandler | undefined; onWheelCapture?: React.WheelEventHandler | undefined; onAnimationStart?: React.AnimationEventHandler | undefined; onAnimationStartCapture?: React.AnimationEventHandler | undefined; onAnimationEnd?: React.AnimationEventHandler | undefined; onAnimationEndCapture?: React.AnimationEventHandler | undefined; onAnimationIteration?: React.AnimationEventHandler | undefined; onAnimationIterationCapture?: React.AnimationEventHandler | undefined; onTransitionEnd?: React.TransitionEventHandler | undefined; onTransitionEndCapture?: React.TransitionEventHandler | undefined; size?: \"m\" | \"s\" | \"l\" | \"original\" | \"xl\" | \"xxl\" | undefined; path?: string | undefined; from?: string | number | undefined; to?: string | number | undefined; clipPath?: string | undefined; mask?: string | undefined; offset?: string | number | undefined; href?: string | undefined; media?: string | undefined; target?: string | undefined; direction?: string | number | undefined; width?: string | number | undefined; textDecoration?: string | number | undefined; operator?: string | number | undefined; result?: string | undefined; by?: string | number | undefined; scale?: string | number | undefined; y?: string | number | undefined; d?: string | undefined; fontSize?: string | number | undefined; fontFamily?: string | undefined; fontStyle?: string | number | undefined; stroke?: string | undefined; strokeWidth?: string | number | undefined; x?: string | number | undefined; stdDeviation?: string | number | undefined; display?: string | number | undefined; method?: string | undefined; cursor?: string | number | undefined; origin?: string | number | undefined; height?: string | number | undefined; overflow?: string | number | undefined; preserveAspectRatio?: string | undefined; vectorEffect?: string | number | undefined; strokeMiterlimit?: string | number | undefined; textAnchor?: string | undefined; dominantBaseline?: string | number | undefined; dx?: string | number | undefined; dy?: string | number | undefined; r?: string | number | undefined; cx?: string | number | undefined; cy?: string | number | undefined; strokeLinecap?: \"square\" | \"inherit\" | \"butt\" | \"round\" | undefined; points?: string | undefined; strokeLinejoin?: \"inherit\" | \"round\" | \"miter\" | \"bevel\" | undefined; opacity?: string | number | undefined; crossOrigin?: CrossOrigin; accentHeight?: string | number | undefined; accumulate?: \"sum\" | \"none\" | undefined; additive?: \"sum\" | \"replace\" | undefined; alignmentBaseline?: \"inherit\" | \"auto\" | \"middle\" | \"alphabetic\" | \"hanging\" | \"ideographic\" | \"mathematical\" | \"baseline\" | \"before-edge\" | \"text-before-edge\" | \"central\" | \"after-edge\" | \"text-after-edge\" | undefined; allowReorder?: \"yes\" | \"no\" | undefined; alphabetic?: string | number | undefined; amplitude?: string | number | undefined; arabicForm?: \"initial\" | \"medial\" | \"terminal\" | \"isolated\" | undefined; ascent?: string | number | undefined; attributeName?: string | undefined; attributeType?: string | undefined; autoReverse?: Booleanish | undefined; azimuth?: string | number | undefined; baseFrequency?: string | number | undefined; baselineShift?: string | number | undefined; baseProfile?: string | number | undefined; bbox?: string | number | undefined; begin?: string | number | undefined; bias?: string | number | undefined; calcMode?: string | number | undefined; capHeight?: string | number | undefined; clip?: string | number | undefined; clipPathUnits?: string | number | undefined; clipRule?: string | number | undefined; colorInterpolation?: string | number | undefined; colorInterpolationFilters?: \"inherit\" | \"auto\" | \"sRGB\" | \"linearRGB\" | undefined; colorProfile?: string | number | undefined; colorRendering?: string | number | undefined; contentScriptType?: string | number | undefined; contentStyleType?: string | number | undefined; decelerate?: string | number | undefined; descent?: string | number | undefined; diffuseConstant?: string | number | undefined; divisor?: string | number | undefined; dur?: string | number | undefined; edgeMode?: string | number | undefined; elevation?: string | number | undefined; enableBackground?: string | number | undefined; exponent?: string | number | undefined; externalResourcesRequired?: Booleanish | undefined; fillOpacity?: string | number | undefined; fillRule?: \"inherit\" | \"nonzero\" | \"evenodd\" | undefined; filterRes?: string | number | undefined; filterUnits?: string | number | undefined; floodColor?: string | number | undefined; floodOpacity?: string | number | undefined; focusable?: Booleanish | \"auto\" | undefined; fontSizeAdjust?: string | number | undefined; fontStretch?: string | number | undefined; fontVariant?: string | number | undefined; fontWeight?: string | number | undefined; fr?: string | number | undefined; fx?: string | number | undefined; fy?: string | number | undefined; g1?: string | number | undefined; g2?: string | number | undefined; glyphName?: string | number | undefined; glyphOrientationHorizontal?: string | number | undefined; glyphOrientationVertical?: string | number | undefined; glyphRef?: string | number | undefined; gradientTransform?: string | undefined; gradientUnits?: string | undefined; hanging?: string | number | undefined; horizAdvX?: string | number | undefined; horizOriginX?: string | number | undefined; ideographic?: string | number | undefined; imageRendering?: string | number | undefined; in2?: string | number | undefined; intercept?: string | number | undefined; k1?: string | number | undefined; k2?: string | number | undefined; k3?: string | number | undefined; k4?: string | number | undefined; k?: string | number | undefined; kernelMatrix?: string | number | undefined; kernelUnitLength?: string | number | undefined; kerning?: string | number | undefined; keyPoints?: string | number | undefined; keySplines?: string | number | undefined; keyTimes?: string | number | undefined; lengthAdjust?: string | number | undefined; letterSpacing?: string | number | undefined; lightingColor?: string | number | undefined; limitingConeAngle?: string | number | undefined; local?: string | number | undefined; markerEnd?: string | undefined; markerHeight?: string | number | undefined; markerMid?: string | undefined; markerStart?: string | undefined; markerUnits?: string | number | undefined; markerWidth?: string | number | undefined; maskContentUnits?: string | number | undefined; maskUnits?: string | number | undefined; mathematical?: string | number | undefined; numOctaves?: string | number | undefined; orient?: string | number | undefined; orientation?: string | number | undefined; overlinePosition?: string | number | undefined; overlineThickness?: string | number | undefined; paintOrder?: string | number | undefined; panose1?: string | number | undefined; pathLength?: string | number | undefined; patternContentUnits?: string | undefined; patternTransform?: string | number | undefined; patternUnits?: string | undefined; pointerEvents?: string | number | undefined; pointsAtX?: string | number | undefined; pointsAtY?: string | number | undefined; pointsAtZ?: string | number | undefined; preserveAlpha?: Booleanish | undefined; primitiveUnits?: string | number | undefined; radius?: string | number | undefined; refX?: string | number | undefined; refY?: string | number | undefined; renderingIntent?: string | number | undefined; repeatCount?: string | number | undefined; repeatDur?: string | number | undefined; requiredExtensions?: string | number | undefined; requiredFeatures?: string | number | undefined; restart?: string | number | undefined; rotate?: string | number | undefined; rx?: string | number | undefined; ry?: string | number | undefined; seed?: string | number | undefined; shapeRendering?: string | number | undefined; slope?: string | number | undefined; spacing?: string | number | undefined; specularConstant?: string | number | undefined; specularExponent?: string | number | undefined; speed?: string | number | undefined; spreadMethod?: string | undefined; startOffset?: string | number | undefined; stemh?: string | number | undefined; stemv?: string | number | undefined; stitchTiles?: string | number | undefined; stopColor?: string | undefined; stopOpacity?: string | number | undefined; strikethroughPosition?: string | number | undefined; strikethroughThickness?: string | number | undefined; strokeDasharray?: string | number | undefined; strokeDashoffset?: string | number | undefined; strokeOpacity?: string | number | undefined; surfaceScale?: string | number | undefined; systemLanguage?: string | number | undefined; tableValues?: string | number | undefined; targetX?: string | number | undefined; targetY?: string | number | undefined; textLength?: string | number | undefined; textRendering?: string | number | undefined; u1?: string | number | undefined; u2?: string | number | undefined; underlinePosition?: string | number | undefined; underlineThickness?: string | number | undefined; unicode?: string | number | undefined; unicodeBidi?: string | number | undefined; unicodeRange?: string | number | undefined; unitsPerEm?: string | number | undefined; vAlphabetic?: string | number | undefined; vertAdvY?: string | number | undefined; vertOriginX?: string | number | undefined; vertOriginY?: string | number | undefined; vHanging?: string | number | undefined; vIdeographic?: string | number | undefined; viewBox?: string | undefined; viewTarget?: string | number | undefined; visibility?: string | number | undefined; vMathematical?: string | number | undefined; widths?: string | number | undefined; wordSpacing?: string | number | undefined; writingMode?: string | number | undefined; x1?: string | number | undefined; x2?: string | number | undefined; xChannelSelector?: string | undefined; xHeight?: string | number | undefined; xlinkActuate?: string | undefined; xlinkArcrole?: string | undefined; xlinkHref?: string | undefined; xlinkRole?: string | undefined; xlinkShow?: string | undefined; xlinkTitle?: string | undefined; xlinkType?: string | undefined; xmlBase?: string | undefined; xmlLang?: string | undefined; xmlns?: string | undefined; xmlnsXlink?: string | undefined; xmlSpace?: string | undefined; y1?: string | number | undefined; y2?: string | number | undefined; yChannelSelector?: string | undefined; z?: string | number | undefined; zoomAndPan?: string | undefined; titleId?: string | undefined; onIconLoad?: (() => void) | undefined; }" ], "path": "x-pack/platform/packages/shared/ai-assistant/icon/icon.tsx", "deprecated": false, diff --git a/api_docs/kbn_ai_assistant_icon.mdx b/api_docs/kbn_ai_assistant_icon.mdx index 5bb698ee7bbd4..dfe6ca1270b0c 100644 --- a/api_docs/kbn_ai_assistant_icon.mdx +++ b/api_docs/kbn_ai_assistant_icon.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ai-assistant-icon title: "@kbn/ai-assistant-icon" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ai-assistant-icon plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant-icon'] --- import kbnAiAssistantIconObj from './kbn_ai_assistant_icon.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index c5a676d9a9332..f3ae79445c21a 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_pattern_analysis.mdx b/api_docs/kbn_aiops_log_pattern_analysis.mdx index ed39fc1158171..54ff55a070d26 100644 --- a/api_docs/kbn_aiops_log_pattern_analysis.mdx +++ b/api_docs/kbn_aiops_log_pattern_analysis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-log-pattern-analysis title: "@kbn/aiops-log-pattern-analysis" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-log-pattern-analysis plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-pattern-analysis'] --- import kbnAiopsLogPatternAnalysisObj from './kbn_aiops_log_pattern_analysis.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_rate_analysis.mdx b/api_docs/kbn_aiops_log_rate_analysis.mdx index 167417381c49a..1b2c7245306bc 100644 --- a/api_docs/kbn_aiops_log_rate_analysis.mdx +++ b/api_docs/kbn_aiops_log_rate_analysis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-log-rate-analysis title: "@kbn/aiops-log-rate-analysis" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-log-rate-analysis plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-rate-analysis'] --- import kbnAiopsLogRateAnalysisObj from './kbn_aiops_log_rate_analysis.devdocs.json'; diff --git a/api_docs/kbn_alerting_api_integration_helpers.mdx b/api_docs/kbn_alerting_api_integration_helpers.mdx index 29bd8611e3c31..0c2cef8096e09 100644 --- a/api_docs/kbn_alerting_api_integration_helpers.mdx +++ b/api_docs/kbn_alerting_api_integration_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-api-integration-helpers title: "@kbn/alerting-api-integration-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-api-integration-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-api-integration-helpers'] --- import kbnAlertingApiIntegrationHelpersObj from './kbn_alerting_api_integration_helpers.devdocs.json'; diff --git a/api_docs/kbn_alerting_comparators.mdx b/api_docs/kbn_alerting_comparators.mdx index 2a9eedc8b4cf5..219f4abd81999 100644 --- a/api_docs/kbn_alerting_comparators.mdx +++ b/api_docs/kbn_alerting_comparators.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-comparators title: "@kbn/alerting-comparators" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-comparators plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-comparators'] --- import kbnAlertingComparatorsObj from './kbn_alerting_comparators.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 1b2ddbeace15f..e226c99e8f8ea 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerting_types.mdx b/api_docs/kbn_alerting_types.mdx index ab93a94689a3d..b20baf83b0f63 100644 --- a/api_docs/kbn_alerting_types.mdx +++ b/api_docs/kbn_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-types title: "@kbn/alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-types'] --- import kbnAlertingTypesObj from './kbn_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index 373f255463b2f..51c7b920ce72d 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-as-data-utils'] --- import kbnAlertsAsDataUtilsObj from './kbn_alerts_as_data_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts_grouping.mdx b/api_docs/kbn_alerts_grouping.mdx index 1684b66ed04bb..54a8b1d2cc9f0 100644 --- a/api_docs/kbn_alerts_grouping.mdx +++ b/api_docs/kbn_alerts_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-grouping title: "@kbn/alerts-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-grouping plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-grouping'] --- import kbnAlertsGroupingObj from './kbn_alerts_grouping.devdocs.json'; diff --git a/api_docs/kbn_alerts_ui_shared.devdocs.json b/api_docs/kbn_alerts_ui_shared.devdocs.json index 7a503c08980f5..8e2766a358f30 100644 --- a/api_docs/kbn_alerts_ui_shared.devdocs.json +++ b/api_docs/kbn_alerts_ui_shared.devdocs.json @@ -3333,7 +3333,7 @@ "text": "ControlGroupRendererProps" } ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index d3ce94387c0c4..f0c235af4005d 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-ui-shared'] --- import kbnAlertsUiSharedObj from './kbn_alerts_ui_shared.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index fa00b1cfeaeed..fb5c5a36c1522 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_collection_utils.mdx b/api_docs/kbn_analytics_collection_utils.mdx index 4ffc18c0abafb..19c54bc37e5ba 100644 --- a/api_docs/kbn_analytics_collection_utils.mdx +++ b/api_docs/kbn_analytics_collection_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-collection-utils title: "@kbn/analytics-collection-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-collection-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-collection-utils'] --- import kbnAnalyticsCollectionUtilsObj from './kbn_analytics_collection_utils.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 240bfb70abf05..f6b5d36c8351c 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_data_view.mdx b/api_docs/kbn_apm_data_view.mdx index a5b9c54b7ca4b..7662e56408d14 100644 --- a/api_docs/kbn_apm_data_view.mdx +++ b/api_docs/kbn_apm_data_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-data-view title: "@kbn/apm-data-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-data-view plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-data-view'] --- import kbnApmDataViewObj from './kbn_apm_data_view.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index 1ac094cca9bda..4e17621a163ca 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace_client.devdocs.json b/api_docs/kbn_apm_synthtrace_client.devdocs.json index 9b1507d45eaf4..678a9207e54a6 100644 --- a/api_docs/kbn_apm_synthtrace_client.devdocs.json +++ b/api_docs/kbn_apm_synthtrace_client.devdocs.json @@ -2648,7 +2648,7 @@ "label": "type", "description": [], "signature": [ - "\"unknown\" | \"cell\" | \"unavailable\" | \"wifi\" | \"wired\"" + "\"unknown\" | \"cell\" | \"unavailable\" | \"wired\" | \"wifi\"" ], "path": "packages/kbn-apm-synthtrace-client/src/lib/apm/mobile_device.ts", "deprecated": false, diff --git a/api_docs/kbn_apm_synthtrace_client.mdx b/api_docs/kbn_apm_synthtrace_client.mdx index 22c58940f4a17..7b43679e15b1d 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace-client'] --- import kbnApmSynthtraceClientObj from './kbn_apm_synthtrace_client.devdocs.json'; diff --git a/api_docs/kbn_apm_types.devdocs.json b/api_docs/kbn_apm_types.devdocs.json index de5ecfa7d0b33..67fe0e0413b2b 100644 --- a/api_docs/kbn_apm_types.devdocs.json +++ b/api_docs/kbn_apm_types.devdocs.json @@ -2698,7 +2698,7 @@ "signature": [ "\"java\" | \"ruby\" | \"opentelemetry\" | \"dotnet\" | \"go\" | \"iOS/swift\" | \"js-base\" | \"nodejs\" | \"php\" | \"python\" | \"rum-js\" | \"android/java\" | \"otlp\" | `opentelemetry/${string}` | `otlp/${string}` | \"ios/swift\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3090,7 +3090,7 @@ "signature": [ "\"java\" | \"ruby\" | \"dotnet\" | \"go\" | \"iOS/swift\" | \"js-base\" | \"nodejs\" | \"php\" | \"python\" | \"rum-js\" | \"android/java\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4336,7 +4336,7 @@ "signature": [ "\"opentelemetry\" | \"otlp\" | `opentelemetry/${string}` | `otlp/${string}`" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_apm_types.mdx b/api_docs/kbn_apm_types.mdx index 2edaca1778de0..b49844dbbffb5 100644 --- a/api_docs/kbn_apm_types.mdx +++ b/api_docs/kbn_apm_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-types title: "@kbn/apm-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-types'] --- import kbnApmTypesObj from './kbn_apm_types.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index bf74614f0a536..7bbe317be4d67 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_avc_banner.mdx b/api_docs/kbn_avc_banner.mdx index afb4c6d8365e2..cd9d2b96e6745 100644 --- a/api_docs/kbn_avc_banner.mdx +++ b/api_docs/kbn_avc_banner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-avc-banner title: "@kbn/avc-banner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/avc-banner plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/avc-banner'] --- import kbnAvcBannerObj from './kbn_avc_banner.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index e6ac4fd73cfa1..727728a67e581 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_calculate_auto.mdx b/api_docs/kbn_calculate_auto.mdx index 3c661563e5908..9c7c46d5e29bd 100644 --- a/api_docs/kbn_calculate_auto.mdx +++ b/api_docs/kbn_calculate_auto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-auto title: "@kbn/calculate-auto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-auto plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-auto'] --- import kbnCalculateAutoObj from './kbn_calculate_auto.devdocs.json'; diff --git a/api_docs/kbn_calculate_width_from_char_count.mdx b/api_docs/kbn_calculate_width_from_char_count.mdx index 278fd5ef3b659..5b1232a40b17c 100644 --- a/api_docs/kbn_calculate_width_from_char_count.mdx +++ b/api_docs/kbn_calculate_width_from_char_count.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-width-from-char-count title: "@kbn/calculate-width-from-char-count" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-width-from-char-count plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-width-from-char-count'] --- import kbnCalculateWidthFromCharCountObj from './kbn_calculate_width_from_char_count.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index 4d0492dfac8c2..5fd00d66b4a63 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_cbor.mdx b/api_docs/kbn_cbor.mdx index b340fc50795d4..bd2954cc743f6 100644 --- a/api_docs/kbn_cbor.mdx +++ b/api_docs/kbn_cbor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cbor title: "@kbn/cbor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cbor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cbor'] --- import kbnCborObj from './kbn_cbor.devdocs.json'; diff --git a/api_docs/kbn_cell_actions.mdx b/api_docs/kbn_cell_actions.mdx index f733b87d9cb62..3d5690a47ec26 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cell-actions'] --- import kbnCellActionsObj from './kbn_cell_actions.devdocs.json'; diff --git a/api_docs/kbn_chart_expressions_common.mdx b/api_docs/kbn_chart_expressions_common.mdx index 376546a2558aa..84ea9e2969027 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-expressions-common'] --- import kbnChartExpressionsCommonObj from './kbn_chart_expressions_common.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index c8da863d2ba87..41efcfd77b5f6 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_charts_theme.devdocs.json b/api_docs/kbn_charts_theme.devdocs.json new file mode 100644 index 0000000000000..ffa23f34c4046 --- /dev/null +++ b/api_docs/kbn_charts_theme.devdocs.json @@ -0,0 +1,48 @@ +{ + "id": "@kbn/charts-theme", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/charts-theme", + "id": "def-common.useElasticChartsTheme", + "type": "Function", + "tags": [], + "label": "useElasticChartsTheme", + "description": [ + "\nA hook used to get the `@elastic/charts` theme based on the current eui theme." + ], + "signature": [ + "() => ", + "Theme" + ], + "path": "packages/kbn-charts-theme/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_charts_theme.mdx b/api_docs/kbn_charts_theme.mdx new file mode 100644 index 0000000000000..37225cfded478 --- /dev/null +++ b/api_docs/kbn_charts_theme.mdx @@ -0,0 +1,30 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnChartsThemePluginApi +slug: /kibana-dev-docs/api/kbn-charts-theme +title: "@kbn/charts-theme" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/charts-theme plugin +date: 2024-12-24 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/charts-theme'] +--- +import kbnChartsThemeObj from './kbn_charts_theme.devdocs.json'; + + + +Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 0 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index ecedbbb815406..a7cfdfcd06415 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index ca8a775d685d0..903bb0d9b0ea2 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 366b34192f384..99dbce864cf31 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index aaaa78ef7ff6f..40984f8010f0b 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_cloud_security_posture.mdx b/api_docs/kbn_cloud_security_posture.mdx index c106b45a8d006..adcae3c0e8b05 100644 --- a/api_docs/kbn_cloud_security_posture.mdx +++ b/api_docs/kbn_cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cloud-security-posture title: "@kbn/cloud-security-posture" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cloud-security-posture plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture'] --- import kbnCloudSecurityPostureObj from './kbn_cloud_security_posture.devdocs.json'; diff --git a/api_docs/kbn_cloud_security_posture_common.mdx b/api_docs/kbn_cloud_security_posture_common.mdx index b78dfde89295f..bdc431c2e335c 100644 --- a/api_docs/kbn_cloud_security_posture_common.mdx +++ b/api_docs/kbn_cloud_security_posture_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cloud-security-posture-common title: "@kbn/cloud-security-posture-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cloud-security-posture-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture-common'] --- import kbnCloudSecurityPostureCommonObj from './kbn_cloud_security_posture_common.devdocs.json'; diff --git a/api_docs/kbn_cloud_security_posture_graph.devdocs.json b/api_docs/kbn_cloud_security_posture_graph.devdocs.json index 8182f0647e762..94ca6a3b2ffc6 100644 --- a/api_docs/kbn_cloud_security_posture_graph.devdocs.json +++ b/api_docs/kbn_cloud_security_posture_graph.devdocs.json @@ -34,7 +34,7 @@ "id": "def-public.Graph.$1", "type": "Object", "tags": [], - "label": "{\n nodes,\n edges,\n interactive,\n isLocked = false,\n ...rest\n}", + "label": "{ nodes, edges, interactive, isLocked = false, ...rest }", "description": [], "signature": [ { @@ -66,7 +66,7 @@ "\nGraph investigation view allows the user to expand nodes and view related entities." ], "signature": [ - "React.FunctionComponent" + "React.NamedExoticComponent" ], "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx", "deprecated": false, @@ -86,20 +86,6 @@ "path": "node_modules/@types/react/ts5.0/index.d.ts", "deprecated": false, "trackAdoption": false - }, - { - "parentPluginId": "@kbn/cloud-security-posture-graph", - "id": "def-public.GraphInvestigation.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/ts5.0/index.d.ts", - "deprecated": false, - "trackAdoption": false } ], "initialIsOpen": false @@ -139,6 +125,53 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/cloud-security-posture-graph", + "id": "def-public.isEntityNode", + "type": "Function", + "tags": [], + "label": "isEntityNode", + "description": [], + "signature": [ + "(node: ", + { + "pluginId": "@kbn/cloud-security-posture-graph", + "scope": "public", + "docId": "kibKbnCloudSecurityPostureGraphPluginApi", + "section": "def-public.NodeViewModel", + "text": "NodeViewModel" + }, + ") => boolean" + ], + "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/cloud-security-posture-graph", + "id": "def-public.isEntityNode.$1", + "type": "CompoundType", + "tags": [], + "label": "node", + "description": [], + "signature": [ + { + "pluginId": "@kbn/cloud-security-posture-graph", + "scope": "public", + "docId": "kibKbnCloudSecurityPostureGraphPluginApi", + "section": "def-public.NodeViewModel", + "text": "NodeViewModel" + } + ], + "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/cloud-security-posture-graph", "id": "def-public.useFetchGraphData", @@ -230,7 +263,7 @@ "section": "def-public.EdgeViewModel", "text": "EdgeViewModel" }, - " extends Record,Readonly<{} & { source: string; id: string; color: \"warning\" | \"primary\" | \"danger\"; target: string; }>" + " extends Record,Readonly<{ type?: \"dashed\" | \"solid\" | undefined; } & { source: string; id: string; color: \"warning\" | \"primary\" | \"danger\"; target: string; }>" ], "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts", "deprecated": false, @@ -450,6 +483,21 @@ "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/cloud-security-posture-graph", + "id": "def-public.LabelNodeViewModel.nodeClick", + "type": "Function", + "tags": [], + "label": "nodeClick", + "description": [], + "signature": [ + "NodeClickCallback", + " | undefined" + ], + "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_cloud_security_posture_graph.mdx b/api_docs/kbn_cloud_security_posture_graph.mdx index ccff8ff03e3eb..477379012002a 100644 --- a/api_docs/kbn_cloud_security_posture_graph.mdx +++ b/api_docs/kbn_cloud_security_posture_graph.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cloud-security-posture-graph title: "@kbn/cloud-security-posture-graph" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cloud-security-posture-graph plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture-graph'] --- import kbnCloudSecurityPostureGraphObj from './kbn_cloud_security_posture_graph.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 25 | 0 | 16 | 6 | +| 27 | 0 | 19 | 6 | ## Client diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index 4d902ac7601f3..9af7ddbe5036f 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mock.mdx b/api_docs/kbn_code_editor_mock.mdx index 6071a57f58949..d96f0c9d346a6 100644 --- a/api_docs/kbn_code_editor_mock.mdx +++ b/api_docs/kbn_code_editor_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mock title: "@kbn/code-editor-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mock plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mock'] --- import kbnCodeEditorMockObj from './kbn_code_editor_mock.devdocs.json'; diff --git a/api_docs/kbn_code_owners.mdx b/api_docs/kbn_code_owners.mdx index b9ebcd961c01b..a03142c6fb49f 100644 --- a/api_docs/kbn_code_owners.mdx +++ b/api_docs/kbn_code_owners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-owners title: "@kbn/code-owners" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-owners plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index c5c135cac7952..819409e3ac6e5 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index f26f20f630d88..e992bd2bcabdf 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index e098f8ac25fea..3785953a6f008 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index ac8289413d3cc..e6fef92b03cfa 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_editor.mdx b/api_docs/kbn_content_management_content_editor.mdx index 7787aaa5f108a..35ed6f9f90830 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-editor'] --- import kbnContentManagementContentEditorObj from './kbn_content_management_content_editor.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_insights_public.mdx b/api_docs/kbn_content_management_content_insights_public.mdx index 0dd3542ab2915..9d64725b67c46 100644 --- a/api_docs/kbn_content_management_content_insights_public.mdx +++ b/api_docs/kbn_content_management_content_insights_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-insights-public title: "@kbn/content-management-content-insights-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-insights-public plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-insights-public'] --- import kbnContentManagementContentInsightsPublicObj from './kbn_content_management_content_insights_public.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_insights_server.mdx b/api_docs/kbn_content_management_content_insights_server.mdx index 270dd30b67823..ced0310342afb 100644 --- a/api_docs/kbn_content_management_content_insights_server.mdx +++ b/api_docs/kbn_content_management_content_insights_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-insights-server title: "@kbn/content-management-content-insights-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-insights-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-insights-server'] --- import kbnContentManagementContentInsightsServerObj from './kbn_content_management_content_insights_server.devdocs.json'; diff --git a/api_docs/kbn_content_management_favorites_common.mdx b/api_docs/kbn_content_management_favorites_common.mdx index 9929d0646a6e8..93b42aad37ca8 100644 --- a/api_docs/kbn_content_management_favorites_common.mdx +++ b/api_docs/kbn_content_management_favorites_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-favorites-common title: "@kbn/content-management-favorites-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-favorites-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-favorites-common'] --- import kbnContentManagementFavoritesCommonObj from './kbn_content_management_favorites_common.devdocs.json'; diff --git a/api_docs/kbn_content_management_favorites_public.mdx b/api_docs/kbn_content_management_favorites_public.mdx index 55f4543132c79..405da93b40c06 100644 --- a/api_docs/kbn_content_management_favorites_public.mdx +++ b/api_docs/kbn_content_management_favorites_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-favorites-public title: "@kbn/content-management-favorites-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-favorites-public plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-favorites-public'] --- import kbnContentManagementFavoritesPublicObj from './kbn_content_management_favorites_public.devdocs.json'; diff --git a/api_docs/kbn_content_management_favorites_server.mdx b/api_docs/kbn_content_management_favorites_server.mdx index dcb263c314cb7..fcd1eca186b18 100644 --- a/api_docs/kbn_content_management_favorites_server.mdx +++ b/api_docs/kbn_content_management_favorites_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-favorites-server title: "@kbn/content-management-favorites-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-favorites-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-favorites-server'] --- import kbnContentManagementFavoritesServerObj from './kbn_content_management_favorites_server.devdocs.json'; diff --git a/api_docs/kbn_content_management_tabbed_table_list_view.mdx b/api_docs/kbn_content_management_tabbed_table_list_view.mdx index ca04c390729cc..4f9eef7f91d30 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-tabbed-table-list-view'] --- import kbnContentManagementTabbedTableListViewObj from './kbn_content_management_tabbed_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view.mdx b/api_docs/kbn_content_management_table_list_view.mdx index 7eaef50e124c5..1576d8749590a 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_common.mdx b/api_docs/kbn_content_management_table_list_view_common.mdx index b26e794452ad5..c885ee00ca456 100644 --- a/api_docs/kbn_content_management_table_list_view_common.mdx +++ b/api_docs/kbn_content_management_table_list_view_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-common title: "@kbn/content-management-table-list-view-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-common'] --- import kbnContentManagementTableListViewCommonObj from './kbn_content_management_table_list_view_common.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index c14054926cbf4..71d13d10b1eb6 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-table'] --- import kbnContentManagementTableListViewTableObj from './kbn_content_management_table_list_view_table.devdocs.json'; diff --git a/api_docs/kbn_content_management_user_profiles.mdx b/api_docs/kbn_content_management_user_profiles.mdx index 03443b3a39719..b0d8c571cec19 100644 --- a/api_docs/kbn_content_management_user_profiles.mdx +++ b/api_docs/kbn_content_management_user_profiles.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-user-profiles title: "@kbn/content-management-user-profiles" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-user-profiles plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-user-profiles'] --- import kbnContentManagementUserProfilesObj from './kbn_content_management_user_profiles.devdocs.json'; diff --git a/api_docs/kbn_content_management_utils.mdx b/api_docs/kbn_content_management_utils.mdx index 3b89eb9f19a8c..283a72817b7bb 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-utils'] --- import kbnContentManagementUtilsObj from './kbn_content_management_utils.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.devdocs.json b/api_docs/kbn_core_analytics_browser.devdocs.json index bf03226292177..9090530b87509 100644 --- a/api_docs/kbn_core_analytics_browser.devdocs.json +++ b/api_docs/kbn_core_analytics_browser.devdocs.json @@ -479,40 +479,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/ebt-tools", - "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-browser-internal", @@ -547,33 +547,49 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-server-internal", "path": "packages/core/root/core-root-server-internal/src/events/kibana_started.ts" }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/lib/action_executor.ts" + }, { "plugin": "@kbn/cloud", "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" @@ -622,22 +638,6 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/public/analytics/event_tracker.ts" }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.ts" - }, { "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/utils/recall/recall_and_score.ts" @@ -648,7 +648,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts" }, { "plugin": "discover", @@ -659,8 +659,8 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" }, { "plugin": "fleet", @@ -683,24 +683,8 @@ "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "globalSearchBar", @@ -734,70 +718,6 @@ "plugin": "apm", "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, { "plugin": "inventory", "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" @@ -819,52 +739,24 @@ "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "observabilityLogsExplorer", - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" }, { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { "plugin": "securitySolution", @@ -1002,6 +894,114 @@ "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/public/service/create_chat_service.test.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "observabilityLogsExplorer", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx" + }, { "plugin": "securitySolutionServerless", "path": "x-pack/solutions/security/plugins/security_solution_serverless/server/task_manager/nlp_cleanup_task/nlp_cleanup_task.ts" @@ -1239,220 +1239,220 @@ "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "securitySolution", @@ -1487,76 +1487,76 @@ "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" } ], "children": [ @@ -1773,40 +1773,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -1841,37 +1841,37 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "cloud", "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" - }, { "plugin": "licensing", "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" @@ -1882,11 +1882,11 @@ }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" + "path": "src/plugins/telemetry/public/plugin.ts" }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" + "path": "src/plugins/telemetry/server/plugin.ts" }, { "plugin": "securitySolution", @@ -1949,16 +1949,16 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -2001,44 +2001,44 @@ "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" } ], "children": [ @@ -2353,7 +2353,7 @@ "description": [ "\nAPI exposed through `window.__kbnAnalytics`" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2369,7 +2369,7 @@ "signature": [ "() => Promise" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2976,7 +2976,7 @@ "ContextProviderOpts", ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2999,7 +2999,7 @@ "TelemetryCounter", ">; }" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index e95ddc1d2a0f4..1d98f92cdc210 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.devdocs.json b/api_docs/kbn_core_analytics_browser_internal.devdocs.json index 22b8438d56dac..680449676b651 100644 --- a/api_docs/kbn_core_analytics_browser_internal.devdocs.json +++ b/api_docs/kbn_core_analytics_browser_internal.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "AnalyticsService", "description": [], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23,7 +23,7 @@ "signature": [ "any" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "signature": [ "CoreContext" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -56,15 +56,9 @@ "({ injectedMetadata }: ", "AnalyticsServiceSetupDeps", ") => ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - } + "AnalyticsServiceSetup" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -78,7 +72,7 @@ "signature": [ "AnalyticsServiceSetupDeps" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,15 +89,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - } + "AnalyticsServiceStart" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -119,7 +107,7 @@ "signature": [ "() => Promise" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 34b5026e35241..dd287d1f444a1 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 7 | 0 | 7 | 1 | +| 7 | 0 | 7 | 0 | ## Client diff --git a/api_docs/kbn_core_analytics_browser_mocks.devdocs.json b/api_docs/kbn_core_analytics_browser_mocks.devdocs.json index 64028214822e2..a856ac2b9d963 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_analytics_browser_mocks.devdocs.json @@ -43,13 +43,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">" ], "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts", @@ -67,13 +61,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">" ], "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts", diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index b38b5a8497e50..26c84a7507b74 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.devdocs.json b/api_docs/kbn_core_analytics_server.devdocs.json index 793e015584e48..f383ca90a81f6 100644 --- a/api_docs/kbn_core_analytics_server.devdocs.json +++ b/api_docs/kbn_core_analytics_server.devdocs.json @@ -487,40 +487,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/ebt-tools", - "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-browser-internal", @@ -555,33 +555,49 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-server-internal", "path": "packages/core/root/core-root-server-internal/src/events/kibana_started.ts" }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/lib/action_executor.ts" + }, { "plugin": "@kbn/cloud", "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" @@ -630,22 +646,6 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/public/analytics/event_tracker.ts" }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.ts" - }, { "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/utils/recall/recall_and_score.ts" @@ -656,7 +656,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts" }, { "plugin": "discover", @@ -667,8 +667,8 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" }, { "plugin": "fleet", @@ -691,24 +691,8 @@ "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "globalSearchBar", @@ -742,70 +726,6 @@ "plugin": "apm", "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" - }, { "plugin": "inventory", "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" @@ -827,52 +747,24 @@ "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "observabilityLogsExplorer", - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts" - }, - { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" }, { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts" }, { "plugin": "securitySolution", @@ -1010,6 +902,114 @@ "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/public/service/create_chat_service.test.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "observabilityLogsExplorer", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx" + }, { "plugin": "securitySolutionServerless", "path": "x-pack/solutions/security/plugins/security_solution_serverless/server/task_manager/nlp_cleanup_task/nlp_cleanup_task.ts" @@ -1247,220 +1247,220 @@ "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts" + "plugin": "inventory", + "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "securitySolution", @@ -1495,76 +1495,76 @@ "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" } ], "children": [ @@ -1781,40 +1781,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -1849,37 +1849,37 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "cloud", "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" - }, { "plugin": "licensing", "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" @@ -1890,11 +1890,11 @@ }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" + "path": "src/plugins/telemetry/public/plugin.ts" }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" + "path": "src/plugins/telemetry/server/plugin.ts" }, { "plugin": "securitySolution", @@ -1957,16 +1957,16 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -2009,44 +2009,44 @@ "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" } ], "children": [ @@ -2950,7 +2950,7 @@ "ContextProviderOpts", ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", + "path": "src/core/packages/analytics/server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2983,7 +2983,7 @@ "ContextProviderOpts", ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", + "path": "src/core/packages/analytics/server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3006,7 +3006,7 @@ "TelemetryCounter", ">; }" ], - "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", + "path": "src/core/packages/analytics/server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index 36bee7151610c..d0cc1882d6053 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.devdocs.json b/api_docs/kbn_core_analytics_server_internal.devdocs.json index e12cd7a4e45f6..e2e81dfcbbcc6 100644 --- a/api_docs/kbn_core_analytics_server_internal.devdocs.json +++ b/api_docs/kbn_core_analytics_server_internal.devdocs.json @@ -17,7 +17,7 @@ "tags": [], "label": "AnalyticsService", "description": [], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31,7 +31,7 @@ "signature": [ "any" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "CoreContext" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,15 +62,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServicePreboot", - "text": "AnalyticsServicePreboot" - } + "AnalyticsServicePreboot" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -85,15 +79,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - } + "AnalyticsServiceSetup" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -108,15 +96,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - } + "AnalyticsServiceStart" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -132,7 +114,7 @@ "signature": [ "() => Promise" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index ff5224dfa9b3f..29464e7df3daf 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.devdocs.json b/api_docs/kbn_core_analytics_server_mocks.devdocs.json index 3b88c66575047..beb0ce1c497dd 100644 --- a/api_docs/kbn_core_analytics_server_mocks.devdocs.json +++ b/api_docs/kbn_core_analytics_server_mocks.devdocs.json @@ -51,13 +51,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServicePreboot", - "text": "AnalyticsServicePreboot" - }, + "AnalyticsServicePreboot", ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", @@ -75,13 +69,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", @@ -99,13 +87,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 9a815d9991652..1f868e052cf7d 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.devdocs.json b/api_docs/kbn_core_application_browser.devdocs.json index 819f37d9483e0..5609cc07977ba 100644 --- a/api_docs/kbn_core_application_browser.devdocs.json +++ b/api_docs/kbn_core_application_browser.devdocs.json @@ -12,23 +12,11 @@ "label": "App", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", " extends ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppNavOptions", - "text": "AppNavOptions" - } + "AppNavOptions" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +29,7 @@ "description": [ "\nThe unique identifier of the application.\n\nCan only be composed of alphanumeric characters, `-`, `:` and `_`" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -54,7 +42,7 @@ "description": [ "\nThe title of the application." ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -68,16 +56,10 @@ "\nThe category definition of the product\nSee {@link AppCategory}\nSee DEFAULT_APP_CATEGORIES for more reference" ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -91,16 +73,10 @@ "\nThe initial status of the application.\nDefaulting to `accessible`" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppStatus", - "text": "AppStatus" - }, + "AppStatus", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -117,16 +93,10 @@ "\nOptional list of locations where the app is visible.\n\nAccepts the following values:\n- \"globalSearch\": the link will appear in the global search bar\n- \"home\": the link will appear on the Kibana home page\n- \"kibanaOverview\": the link will appear in the Kibana overview page\n- \"sideNav\": the link will appear in the side navigation.\n Note: \"sideNav\" will be deprecated when we change the navigation to \"solutions\" style.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -142,7 +112,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -158,16 +128,10 @@ "signature": [ "Observable", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", "> | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -191,7 +155,7 @@ }, "> | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -207,7 +171,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -222,32 +186,14 @@ ], "signature": [ "(params: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", ") => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", " | Promise<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", ">" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -260,16 +206,10 @@ "label": "params", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -287,7 +227,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -303,7 +243,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -319,7 +259,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -333,16 +273,10 @@ "\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `deepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[] | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -358,7 +292,7 @@ "description": [ "\nFactory provided when invoking a {@link AppLeaveHandler} to retrieve the {@link AppLeaveAction} to execute." ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -373,15 +307,9 @@ ], "signature": [ "(text: string, title?: string | undefined, callback?: (() => void) | undefined, confirmButtonText?: string | undefined, buttonColor?: \"text\" | \"warning\" | \"success\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | undefined) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveConfirmAction", - "text": "AppLeaveConfirmAction" - } + "AppLeaveConfirmAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -397,7 +325,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -414,7 +342,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -431,7 +359,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -448,7 +376,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -465,7 +393,7 @@ "signature": [ "\"text\" | \"warning\" | \"success\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -484,15 +412,9 @@ ], "signature": [ "() => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveDefaultAction", - "text": "AppLeaveDefaultAction" - } + "AppLeaveDefaultAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -510,7 +432,7 @@ "description": [ "\nAction to return from a {@link AppLeaveHandler} to show a confirmation\nmessage when trying to leave an application.\n\nSee {@link AppLeaveActionFactory}\n" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -522,16 +444,10 @@ "label": "type", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionType", - "text": "AppLeaveActionType" - }, + "AppLeaveActionType", ".confirm" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -542,7 +458,7 @@ "tags": [], "label": "text", "description": [], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -556,7 +472,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -570,7 +486,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -584,7 +500,7 @@ "signature": [ "\"text\" | \"warning\" | \"success\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -598,7 +514,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -616,7 +532,7 @@ "description": [ "\nAction to return from a {@link AppLeaveHandler} to execute the default\nbehaviour when leaving the application.\n\nSee {@link AppLeaveActionFactory}\n" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -628,16 +544,10 @@ "label": "type", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionType", - "text": "AppLeaveActionType" - }, + "AppLeaveActionType", ".default" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false } @@ -651,7 +561,7 @@ "tags": [], "label": "ApplicationSetup", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -666,16 +576,10 @@ ], "signature": [ "(app: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ") => void" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -689,16 +593,10 @@ "- an {@link App }" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", "" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -719,16 +617,10 @@ "(appUpdater$: ", "Observable", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">) => void" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -742,16 +634,10 @@ "signature": [ "Observable", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -769,7 +655,7 @@ "tags": [], "label": "ApplicationStart", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -785,7 +671,7 @@ "signature": [ "{ readonly [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; readonly navLinks: Readonly<{ [x: string]: boolean; }>; readonly management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; readonly catalogue: Readonly<{ [x: string]: boolean; }>; }" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -801,16 +687,10 @@ "signature": [ "Observable", ">" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -825,16 +705,10 @@ ], "signature": [ "(appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -850,7 +724,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -865,16 +739,10 @@ "- navigation options" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -893,16 +761,10 @@ ], "signature": [ "(url: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined) => Promise" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -918,7 +780,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -933,16 +795,10 @@ "- navigation options" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -962,7 +818,7 @@ "signature": [ "(appId: string) => boolean" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -978,7 +834,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1000,7 +856,7 @@ "signature": [ "(appId: string, options?: { path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined) => string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1014,7 +870,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1026,7 +882,7 @@ "tags": [], "label": "options", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1040,7 +896,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1054,7 +910,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1068,7 +924,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1090,7 +946,7 @@ "Observable", "" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1107,7 +963,7 @@ "Observable", "" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1122,16 +978,10 @@ "label": "AppMountParameters", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1147,7 +997,7 @@ "signature": [ "HTMLElement" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false }, @@ -1161,16 +1011,10 @@ "\nA scoped history instance for your application. Should be used to wire up\nyour applications Router.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false }, @@ -1185,13 +1029,13 @@ "description": [ "\nThe route path for configuring navigation to the application.\nThis string should not include the base path from HTTP.\n" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": true, "trackAdoption": false, "references": [ { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/ui/app_container.tsx" }, { "plugin": "@kbn/core-application-browser-mocks", @@ -1209,10 +1053,6 @@ "plugin": "security", "path": "x-pack/plugins/security/public/authentication/logout/logout_app.test.ts" }, - { - "plugin": "assetInventory", - "path": "x-pack/solutions/security/plugins/asset_inventory/public/application.tsx" - }, { "plugin": "kibanaOverview", "path": "src/plugins/kibana_overview/public/application.tsx" @@ -1234,16 +1074,10 @@ ], "signature": [ "(handler: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveHandler", - "text": "AppLeaveHandler" - }, + "AppLeaveHandler", ") => void" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,15 +1089,9 @@ "label": "handler", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveHandler", - "text": "AppLeaveHandler" - } + "AppLeaveHandler" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1291,7 +1119,7 @@ }, " | undefined) => void" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1312,7 +1140,7 @@ }, " | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1341,7 +1169,7 @@ }, ">" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -1357,7 +1185,7 @@ "description": [ "\nApp navigation menu options" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1373,7 +1201,7 @@ "signature": [ "number | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1389,7 +1217,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1405,7 +1233,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1421,7 +1249,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -1437,7 +1265,7 @@ "description": [ "\nOptions for the {@link ApplicationStart.navigateToApp | navigateToApp API}" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1453,7 +1281,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1469,7 +1297,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1485,7 +1313,7 @@ "signature": [ "unknown" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1501,7 +1329,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1517,7 +1345,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1533,7 +1361,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1549,7 +1377,7 @@ "description": [ "\nOptions for the {@link ApplicationStart.navigateToUrl | navigateToUrl API}" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1565,7 +1393,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1581,7 +1409,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1597,7 +1425,7 @@ "signature": [ "unknown" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1614,18 +1442,12 @@ "\nA wrapper around a `History` instance that is scoped to a particular base path of the history stack. Behaves\nsimilarly to the `basename` option except that this wrapper hides any history stack entries from outside the scope\nof this base path.\n\nThis wrapper also allows Core and Plugins to share a single underlying global `History` instance without exposing\nthe history of other applications.\n\nThe {@link ScopedHistory.createSubHistory | createSubHistory} method is particularly useful for applications that\ncontain any number of \"sub-apps\" which should not have access to the main application's history or basePath.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " extends ", "History", "" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1640,16 +1462,10 @@ ], "signature": [ "(basePath: string) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1665,7 +1481,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1687,7 +1503,7 @@ "LocationDescriptorObject", ", options?: { prependBasePath?: boolean | undefined; } | undefined) => string" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1702,7 +1518,7 @@ "LocationDescriptorObject", "" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1714,7 +1530,7 @@ "tags": [], "label": "options", "description": [], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1728,7 +1544,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false } @@ -1751,7 +1567,7 @@ "description": [ "\nPossible type of actions on application leave.\n" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1765,7 +1581,7 @@ "description": [ "\nAccessibility status of an application.\n" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1783,48 +1599,18 @@ ], "signature": [ "{ id: Id; title: string; keywords?: string[] | undefined; visibleIn?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined; category?: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", " | undefined; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppNavOptions", - "text": "AppNavOptions" - }, + "AppNavOptions", " & ({ path: string; deepLinks?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[] | undefined; } | { path?: string | undefined; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; })" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1841,7 +1627,7 @@ "signature": [ "\"home\" | \"kibanaOverview\" | \"globalSearch\" | \"sideNav\"" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1856,23 +1642,11 @@ "\nPossible actions to return from a {@link AppLeaveHandler}\n\nSee {@link AppLeaveConfirmAction} and {@link AppLeaveDefaultAction}\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveDefaultAction", - "text": "AppLeaveDefaultAction" - }, + "AppLeaveDefaultAction", " | ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveConfirmAction", - "text": "AppLeaveConfirmAction" - } + "AppLeaveConfirmAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1888,23 +1662,11 @@ ], "signature": [ "(factory: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionFactory", - "text": "AppLeaveActionFactory" - }, + "AppLeaveActionFactory", ", nextAppId?: string | undefined) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveAction", - "text": "AppLeaveAction" - } + "AppLeaveAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1917,15 +1679,9 @@ "label": "factory", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionFactory", - "text": "AppLeaveActionFactory" - } + "AppLeaveActionFactory" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1939,7 +1695,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false } @@ -1957,32 +1713,14 @@ ], "signature": [ "(params: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", ") => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", " | Promise<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", ">" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -1999,16 +1737,10 @@ "{@link AppMountParameters }" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -2027,7 +1759,7 @@ "signature": [ "() => void" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2045,32 +1777,14 @@ ], "signature": [ "{ status?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppStatus", - "text": "AppStatus" - }, + "AppStatus", " | undefined; tooltip?: string | undefined; visibleIn?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined; deepLinks?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[] | undefined; defaultPath?: string | undefined; }" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2086,24 +1800,12 @@ ], "signature": [ "(app: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ") => Partial<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdatableFields", - "text": "AppUpdatableFields" - }, + "AppUpdatableFields", "> | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2116,16 +1818,10 @@ "label": "app", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", "" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -2143,32 +1839,14 @@ ], "signature": [ "Omit<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", ", \"keywords\" | \"visibleIn\" | \"deepLinks\"> & { deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.PublicAppDeepLinkInfo", - "text": "PublicAppDeepLinkInfo" - }, + "PublicAppDeepLinkInfo", "[]; keywords: string[]; visibleIn: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]; }" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2184,40 +1862,16 @@ ], "signature": [ "Omit<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ", \"keywords\" | \"visibleIn\" | \"deepLinks\" | \"mount\" | \"updater$\"> & { status: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppStatus", - "text": "AppStatus" - }, + "AppStatus", "; appRoute: string; keywords: string[]; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.PublicAppDeepLinkInfo", - "text": "PublicAppDeepLinkInfo" - }, + "PublicAppDeepLinkInfo", "[]; visibleIn: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]; }" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 451b60ef5fc91..907d6f626f0ea 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.devdocs.json b/api_docs/kbn_core_application_browser_internal.devdocs.json index 7f3eb7f1b4775..bbd8f35778a36 100644 --- a/api_docs/kbn_core_application_browser_internal.devdocs.json +++ b/api_docs/kbn_core_application_browser_internal.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(appBasePath?: string, path?: string) => string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts", + "path": "src/core/packages/application/browser-internal/src/utils/append_app_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts", + "path": "src/core/packages/application/browser-internal/src/utils/append_app_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42,7 +42,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts", + "path": "src/core/packages/application/browser-internal/src/utils/append_app_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -60,23 +60,11 @@ "description": [], "signature": [ "(app: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ") => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.PublicAppInfo", - "text": "PublicAppInfo" - } + "PublicAppInfo" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts", + "path": "src/core/packages/application/browser-internal/src/utils/get_app_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -88,16 +76,10 @@ "label": "app", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", "" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts", + "path": "src/core/packages/application/browser-internal/src/utils/get_app_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -125,18 +107,12 @@ "text": "IBasePath" }, ", apps: Map>, currentUrl?: string) => ", "ParsedAppUrl", " | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -150,7 +126,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -171,7 +147,7 @@ "text": "IBasePath" } ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -185,16 +161,10 @@ "description": [], "signature": [ "Map>" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -209,7 +179,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -230,7 +200,7 @@ "signature": [ "(url: string) => string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts", + "path": "src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -244,7 +214,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts", + "path": "src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -265,7 +235,7 @@ "signature": [ "(url: string, { trailing, leading, duplicates, }?: { trailing?: boolean | undefined; leading?: boolean | undefined; duplicates?: boolean | undefined; }) => string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -279,7 +249,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -291,7 +261,7 @@ "tags": [], "label": "{\n trailing = false,\n leading = false,\n duplicates = true,\n }", "description": [], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -305,7 +275,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false }, @@ -319,7 +289,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false }, @@ -333,7 +303,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false } @@ -355,16 +325,10 @@ "label": "DEFAULT_APP_VISIBILITY", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/constants.ts", + "path": "src/core/packages/application/browser-internal/src/utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -377,16 +341,10 @@ "label": "DEFAULT_LINK_VISIBILITY", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/constants.ts", + "path": "src/core/packages/application/browser-internal/src/utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index a14dbe7b9a183..9283a09095c58 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 20 | 0 | 17 | 3 | +| 20 | 0 | 17 | 0 | ## Client diff --git a/api_docs/kbn_core_application_browser_mocks.devdocs.json b/api_docs/kbn_core_application_browser_mocks.devdocs.json index d4e6deb84b26b..dc9a1e4c9f2e1 100644 --- a/api_docs/kbn_core_application_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_application_browser_mocks.devdocs.json @@ -15,13 +15,7 @@ "description": [], "signature": [ "{ createSubHistory: jest.MockInstance<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", ", [basePath: string], unknown>; createHref: jest.MockInstance, options?: { prependBasePath?: boolean | undefined; } | undefined], unknown>; length: number; action: ", @@ -41,13 +35,7 @@ ", [listener: ", "LocationListener", "], unknown>; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "packages/core/application/core-application-browser-mocks/src/scoped_history.mock.ts", @@ -93,13 +81,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationSetup", - "text": "ApplicationSetup" - }, + "ApplicationSetup", ">" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -117,13 +99,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", ">" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -192,21 +168,9 @@ "description": [], "signature": [ "(parts?: Partial<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", ">) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -223,21 +187,9 @@ "description": [], "signature": [ "{ element?: HTMLElement | undefined; history?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | undefined; appBasePath?: string | undefined; onAppLeave?: ((handler: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveHandler", - "text": "AppLeaveHandler" - }, + "AppLeaveHandler", ") => void) | undefined; setHeaderActionMenu?: ((menuMount: ", { "pluginId": "@kbn/core-mount-utils-browser", diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index ec9329b89378e..ac21b4962d863 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.devdocs.json b/api_docs/kbn_core_application_common.devdocs.json index ed1b43ca63003..54c7e83a93888 100644 --- a/api_docs/kbn_core_application_common.devdocs.json +++ b/api_docs/kbn_core_application_common.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "packages/core/application/core-application-common/src/global_app_style.tsx", + "path": "src/core/packages/application/common/src/global_app_style.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -47,7 +47,7 @@ "description": [ "\nA category definition for nav links to know where to sort them in the left hand nav" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "description": [ "\nUnique identifier for the categories" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -73,7 +73,7 @@ "description": [ "\nLabel used for category name.\nAlso used as aria-label if one isn't set." ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -89,7 +89,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -105,7 +105,7 @@ "signature": [ "number | undefined" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -121,7 +121,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false } @@ -143,7 +143,7 @@ "signature": [ "\"kbnAppWrapper\"" ], - "path": "packages/core/application/core-application-common/src/app_wrapper_class.ts", + "path": "src/core/packages/application/common/src/app_wrapper_class.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -159,16 +159,10 @@ "description": [], "signature": [ "{ [x: string]: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", "; }" ], - "path": "packages/core/application/core-application-common/src/default_app_categories.ts", + "path": "src/core/packages/application/common/src/default_app_categories.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 40b509dde743f..99044c08681c8 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.devdocs.json b/api_docs/kbn_core_apps_browser_internal.devdocs.json index 60ccac935c152..e01ace9f3bd69 100644 --- a/api_docs/kbn_core_apps_browser_internal.devdocs.json +++ b/api_docs/kbn_core_apps_browser_internal.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "CoreAppsService", "description": [], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23,7 +23,7 @@ "signature": [ "any" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "signature": [ "CoreContext" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -54,16 +54,10 @@ "description": [], "signature": [ "({ application, http, injectedMetadata, notifications }: ", - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceSetupDeps", - "text": "CoreAppsServiceSetupDeps" - }, + "CoreAppsServiceSetupDeps", ") => void" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,15 +69,9 @@ "label": "{ application, http, injectedMetadata, notifications }", "description": [], "signature": [ - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceSetupDeps", - "text": "CoreAppsServiceSetupDeps" - } + "CoreAppsServiceSetupDeps" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,16 +88,10 @@ "description": [], "signature": [ "({ application, docLinks, http, notifications, uiSettings, ...startDeps }: ", - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceStartDeps", - "text": "CoreAppsServiceStartDeps" - }, + "CoreAppsServiceStartDeps", ") => void" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -121,15 +103,9 @@ "label": "{\n application,\n docLinks,\n http,\n notifications,\n uiSettings,\n ...startDeps\n }", "description": [], "signature": [ - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceStartDeps", - "text": "CoreAppsServiceStartDeps" - } + "CoreAppsServiceStartDeps" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -147,7 +123,7 @@ "signature": [ "() => void" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -166,7 +142,7 @@ "tags": [], "label": "CoreAppsServiceSetupDeps", "description": [], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -180,7 +156,7 @@ "signature": [ "InternalApplicationSetup" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -204,7 +180,7 @@ "InternalStaticAssets", "; }" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -218,7 +194,7 @@ "signature": [ "InternalInjectedMetadataSetup" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -238,7 +214,7 @@ "text": "NotificationsSetup" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false } @@ -252,7 +228,7 @@ "tags": [], "label": "CoreAppsServiceStartDeps", "description": [], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -266,7 +242,7 @@ "signature": [ "InternalApplicationStart" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -286,7 +262,7 @@ "text": "DocLinksStart" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -310,7 +286,7 @@ "InternalStaticAssets", "; }" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -330,7 +306,7 @@ "text": "NotificationsStart" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -350,7 +326,7 @@ "text": "IUiSettingsClient" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -370,7 +346,7 @@ "TelemetryCounter", ">; }" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -390,7 +366,7 @@ "text": "I18nStart" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -410,7 +386,7 @@ "text": "ThemeServiceSetup" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -430,7 +406,7 @@ "text": "UserProfileService" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false } @@ -452,7 +428,7 @@ "signature": [ "2000 | 25000" ], - "path": "packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx", + "path": "src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index b8206d56be5eb..f4ecc76645a14 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index dac6d0bf1c701..9eb564fcc7dcd 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_apps_server_internal.devdocs.json b/api_docs/kbn_core_apps_server_internal.devdocs.json index fa6f66f2ea6b7..d172aa3689b35 100644 --- a/api_docs/kbn_core_apps_server_internal.devdocs.json +++ b/api_docs/kbn_core_apps_server_internal.devdocs.json @@ -39,7 +39,7 @@ "FileHashCache", "; isDist: boolean; }) => void" ], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -68,7 +68,7 @@ }, ">" ], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -80,7 +80,7 @@ "tags": [], "label": "{\n publicPath,\n routePath,\n bundlesPath,\n fileHashCache,\n isDist,\n }", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -91,7 +91,7 @@ "tags": [], "label": "publicPath", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -102,7 +102,7 @@ "tags": [], "label": "routePath", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -113,7 +113,7 @@ "tags": [], "label": "bundlesPath", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -127,7 +127,7 @@ "signature": [ "FileHashCache" ], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -138,7 +138,7 @@ "tags": [], "label": "isDist", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false } @@ -162,7 +162,7 @@ "signature": [ "{ readonly allowDynamicConfigOverrides: boolean; }" ], - "path": "packages/core/apps/core-apps-server-internal/src/core_app_config.ts", + "path": "src/core/packages/apps/server-internal/src/core_app_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_apps_server_internal.mdx b/api_docs/kbn_core_apps_server_internal.mdx index 7b0d7f05e6f18..a63334c6ce967 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-server-internal'] --- import kbnCoreAppsServerInternalObj from './kbn_core_apps_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 9 | 0 | 9 | 1 | +| 9 | 0 | 9 | 0 | ## Server diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 69d2fa6d2ef5d..88455a9412279 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.devdocs.json b/api_docs/kbn_core_base_common.devdocs.json index 84b64fd98fd22..269512c2135a1 100644 --- a/api_docs/kbn_core_base_common.devdocs.json +++ b/api_docs/kbn_core_base_common.devdocs.json @@ -29,7 +29,7 @@ "description": [ "\nSmall container object used to expose information about discovered plugins that may\nor may not have been started." ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42,7 +42,7 @@ "description": [ "\nIdentifier of the plugin." ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "signature": [ "string | string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -72,15 +72,9 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - { - "pluginId": "@kbn/core-base-common", - "scope": "common", - "docId": "kibKbnCoreBaseCommonPluginApi", - "section": "def-common.PluginType", - "text": "PluginType" - } + "PluginType" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -96,7 +90,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -112,7 +106,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -128,7 +122,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -144,7 +138,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +154,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false } @@ -176,7 +170,7 @@ "tags": [], "label": "PluginType", "description": [], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -193,7 +187,7 @@ "signature": [ "\"eui-global\"" ], - "path": "packages/core/base/core-base-common/src/eui.ts", + "path": "src/core/packages/base/common/src/eui.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -208,7 +202,7 @@ "signature": [ "\"eui-utilities\"" ], - "path": "packages/core/base/core-base-common/src/eui.ts", + "path": "src/core/packages/base/common/src/eui.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -225,7 +219,7 @@ "signature": [ "string" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -240,7 +234,7 @@ "signature": [ "symbol" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 526fc38acac6a..afe50720cfc8f 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 97cf9311fd890..6c7ea37b13b75 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 777e982766b5c..9ed6ecf4b874b 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index 6d45d57ee629c..728bef0afc6c4 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 5a27309f530cd..81a451c8ca550 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index a6ea5faccd40e..8d4a240a69ac8 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 2430e735a3dca..807c2784f1b87 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.devdocs.json b/api_docs/kbn_core_chrome_browser.devdocs.json index d49b19f7ce26b..c7474841f2882 100644 --- a/api_docs/kbn_core_chrome_browser.devdocs.json +++ b/api_docs/kbn_core_chrome_browser.devdocs.json @@ -1156,13 +1156,7 @@ "\nThe category the app lives in" ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", " | undefined" ], "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", @@ -1284,13 +1278,7 @@ "\nList of locations where the nav link should be visible.\n\nAccepts the following values:\n- \"globalSearch\": the link will appear in the global search bar\n- \"home\": the link will appear on the Kibana home page\n- \"kibanaOverview\": the link will appear in the Kibana overview page\n- \"sideNav\": the link will appear in the side navigation.\n Note: \"sideNav\" will be deprecated when we change the navigation to \"solutions\" style.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]" ], "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", @@ -3765,7 +3753,7 @@ "label": "AppDeepLinkId", "description": [], "signature": [ - "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" + "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], "path": "packages/core/chrome/core-chrome-browser/src/project_navigation.ts", "deprecated": false, diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index 1cda4e55a0de3..d8177ec6b2bc3 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 8c3b91607a007..d4c53c975aba5 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index d8a4cdc325c0e..b2bcce8949908 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser.mdx b/api_docs/kbn_core_custom_branding_browser.mdx index 1b6d8c1fb2b07..cb92e16991a1b 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser'] --- import kbnCoreCustomBrandingBrowserObj from './kbn_core_custom_branding_browser.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_internal.mdx b/api_docs/kbn_core_custom_branding_browser_internal.mdx index d2ac968216371..a56f4076f2ea9 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-internal'] --- import kbnCoreCustomBrandingBrowserInternalObj from './kbn_core_custom_branding_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_mocks.mdx b/api_docs/kbn_core_custom_branding_browser_mocks.mdx index 490f48b9be164..a4c9b166c0cf8 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-mocks'] --- import kbnCoreCustomBrandingBrowserMocksObj from './kbn_core_custom_branding_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_common.mdx b/api_docs/kbn_core_custom_branding_common.mdx index 1efd5b46df1bd..01a96b44f329c 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-common'] --- import kbnCoreCustomBrandingCommonObj from './kbn_core_custom_branding_common.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server.mdx b/api_docs/kbn_core_custom_branding_server.mdx index 4fee9a9f7f60d..ddfd5027e5579 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server'] --- import kbnCoreCustomBrandingServerObj from './kbn_core_custom_branding_server.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_internal.mdx b/api_docs/kbn_core_custom_branding_server_internal.mdx index a95cdba36bd7e..2c15e386ef4fe 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-internal'] --- import kbnCoreCustomBrandingServerInternalObj from './kbn_core_custom_branding_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_mocks.mdx b/api_docs/kbn_core_custom_branding_server_mocks.mdx index 0c6a30190e1d8..c721ef632bf9e 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-mocks'] --- import kbnCoreCustomBrandingServerMocksObj from './kbn_core_custom_branding_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 42ebf40c6e31a..b8ead057ebc99 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index fd3671ce4acfe..68e01ffaaf2cc 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 90d7114ea7b21..5ea36c820b801 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 1702f4554f0c0..a623fc84cfdb3 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index 087e0ddf03e09..69b0e60de2f85 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index cf31ef2f1646d..e703f6502154b 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 8db5cf6d3c89d..9dc7f266ba004 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index 1b1b5e1620af1..e7578435e0165 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index abf975a7a5867..a56ae6aba4c22 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index 44c4c9ee29571..058324391a5b2 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index aed1d5557fbb3..2b9fd7436e42c 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 7a8e32abcb313..59b85d2b75504 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index cb68c825e9010..af0a9578c1191 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.devdocs.json b/api_docs/kbn_core_elasticsearch_server.devdocs.json index c8fbb1b6c5633..ffcf4ca34be48 100644 --- a/api_docs/kbn_core_elasticsearch_server.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server.devdocs.json @@ -793,7 +793,7 @@ }, { "plugin": "observabilityOnboarding", - "path": "x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts" + "path": "x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts" }, { "plugin": "console", @@ -1095,7 +1095,7 @@ "Headers used for authentication against Elasticsearch" ], "signature": [ - "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" + "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; expires?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scopeable_request.ts", "deprecated": false, diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 092f12b019dec..ba9c460be46e7 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index c9d92d2390182..a2163ad78cc50 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index b34b79de7dba0..3c50f7b49f85d 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 174ebdf0e6012..47745f845f4af 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 01ca0ae48a0d6..a1388e6e74541 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 7c928441dfdb1..c3ff8ed3d9560 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index a4243053a1597..358df0c1f52b6 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 1e94d20fd967d..287adc562f8f1 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 87abd0d9b7dc1..af52b68da2d2e 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index d0c6ea84c2ebc..eed0aad4f5fc3 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 19e10a8087719..8cb1361ba54a7 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 91af8759178ac..cb35a613f48c7 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index e79877f8aec82..b4a3b7b758537 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index fb926afb0dab7..76861ae4d77c2 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_browser.mdx b/api_docs/kbn_core_feature_flags_browser.mdx index 03a7cfdc2f3a6..ff9e73a0cf220 100644 --- a/api_docs/kbn_core_feature_flags_browser.mdx +++ b/api_docs/kbn_core_feature_flags_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-browser title: "@kbn/core-feature-flags-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-browser'] --- import kbnCoreFeatureFlagsBrowserObj from './kbn_core_feature_flags_browser.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_browser_internal.mdx b/api_docs/kbn_core_feature_flags_browser_internal.mdx index 99e9dca6f573f..2e4fa0355352c 100644 --- a/api_docs/kbn_core_feature_flags_browser_internal.mdx +++ b/api_docs/kbn_core_feature_flags_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-browser-internal title: "@kbn/core-feature-flags-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-browser-internal'] --- import kbnCoreFeatureFlagsBrowserInternalObj from './kbn_core_feature_flags_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_browser_mocks.mdx b/api_docs/kbn_core_feature_flags_browser_mocks.mdx index f1c606be51a9d..c7fc45ca143c4 100644 --- a/api_docs/kbn_core_feature_flags_browser_mocks.mdx +++ b/api_docs/kbn_core_feature_flags_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-browser-mocks title: "@kbn/core-feature-flags-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-browser-mocks'] --- import kbnCoreFeatureFlagsBrowserMocksObj from './kbn_core_feature_flags_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_server.mdx b/api_docs/kbn_core_feature_flags_server.mdx index 0d5c89d106716..7be55906bdda9 100644 --- a/api_docs/kbn_core_feature_flags_server.mdx +++ b/api_docs/kbn_core_feature_flags_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-server title: "@kbn/core-feature-flags-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-server'] --- import kbnCoreFeatureFlagsServerObj from './kbn_core_feature_flags_server.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_server_internal.mdx b/api_docs/kbn_core_feature_flags_server_internal.mdx index 955148e0c0dc3..306c02e788312 100644 --- a/api_docs/kbn_core_feature_flags_server_internal.mdx +++ b/api_docs/kbn_core_feature_flags_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-server-internal title: "@kbn/core-feature-flags-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-server-internal'] --- import kbnCoreFeatureFlagsServerInternalObj from './kbn_core_feature_flags_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_server_mocks.mdx b/api_docs/kbn_core_feature_flags_server_mocks.mdx index 104277385367d..cf6a701e271f8 100644 --- a/api_docs/kbn_core_feature_flags_server_mocks.mdx +++ b/api_docs/kbn_core_feature_flags_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-server-mocks title: "@kbn/core-feature-flags-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-server-mocks'] --- import kbnCoreFeatureFlagsServerMocksObj from './kbn_core_feature_flags_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index de8e666c34345..3775703ef7ab9 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 0de0d1e2c0dc5..a4e3086480b70 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 6298b23c9504e..346a07cc68d32 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 71034ee2ef6bb..08a06047589d0 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index dbb3d86f4da95..fc31b6cbc26b5 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index 772a97414f2be..de708eefb7631 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index 3da662e7eef5b..cfcdee5666cd1 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index 9a4debfbc8e92..bde744be4ff88 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index b5ce71cc2ce63..9b775b864c091 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index f1e38d208f3ad..7bfd4b2c109c5 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 0d986738e0650..4bbe5724115b1 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index d1b72c1c4a300..739c47ebb9a84 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -1160,7 +1160,7 @@ "The headers associated with the request." ], "signature": [ - "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" + "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; expires?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], "path": "packages/core/http/core-http-server/src/router/raw_request.ts", "deprecated": false, @@ -3710,25 +3710,21 @@ "path": "packages/core/deprecations/core-deprecations-server-internal/src/routes/get.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { "plugin": "usageCollection", "path": "src/plugins/usage_collection/server/routes/stats/stats.ts" }, - { - "plugin": "@kbn/content-management-favorites-server", - "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" - }, { "plugin": "taskManager", "path": "x-pack/plugins/task_manager/server/routes/health.ts" @@ -3749,10 +3745,6 @@ "plugin": "licensing", "path": "x-pack/plugins/licensing/server/routes/feature_usage.ts" }, - { - "plugin": "@kbn/content-management-content-insights-server", - "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" - }, { "plugin": "features", "path": "x-pack/plugins/features/server/routes/index.ts" @@ -3869,14 +3861,6 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/views/login.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_get_route.ts" - }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_resolve_route.ts" - }, { "plugin": "monitoringCollection", "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" @@ -3905,6 +3889,18 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/connector/get/get.ts" }, + { + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_get_route.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_resolve_route.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts" @@ -3985,6 +3981,14 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts" }, + { + "plugin": "banners", + "path": "x-pack/plugins/banners/server/routes/info.ts" + }, + { + "plugin": "@kbn/content-management-content-insights-server", + "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" + }, { "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts" @@ -4005,30 +4009,6 @@ "plugin": "inference", "path": "x-pack/platform/plugins/shared/inference/server/routes/connectors.ts" }, - { - "plugin": "banners", - "path": "x-pack/plugins/banners/server/routes/info.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" - }, { "plugin": "globalSearch", "path": "x-pack/plugins/global_search/server/routes/get_searchable_types.ts" @@ -4462,72 +4442,24 @@ "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_get_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_get_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_datastream_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_datastream_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_list_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_list_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_get_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/inference_models/register_get_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/settings/register_load_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" }, { "plugin": "logstash", @@ -4737,14 +4669,6 @@ "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/routes/metric_indices/index.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/routes/fields.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "profiling", "path": "x-pack/plugins/observability_solution/profiling/server/routes/apm.ts" @@ -4801,6 +4725,74 @@ "plugin": "apmDataAccess", "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts" }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts" + }, { "plugin": "remoteClusters", "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts" @@ -5009,6 +5001,14 @@ "plugin": "grokdebugger", "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/routes/fields.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -5473,14 +5473,6 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts" }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" - }, { "plugin": "spaces", "path": "x-pack/plugins/spaces/server/routes/api/internal/get_active_space.test.ts" @@ -5717,6 +5709,14 @@ "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts" }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" + }, { "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/routes/index.test.ts" @@ -5733,6 +5733,14 @@ "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/routes/index.test.ts" }, + { + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts" + }, + { + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts" + }, { "plugin": "@kbn/core-deprecations-server-internal", "path": "packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.test.ts" @@ -5801,14 +5809,6 @@ "plugin": "@kbn/core-status-server-internal", "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" }, - { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts" - }, - { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts" - }, { "plugin": "@kbn/core-i18n-server-internal", "path": "packages/core/i18n/core-i18n-server-internal/src/routes/translations.test.ts" @@ -5833,10 +5833,6 @@ "plugin": "@kbn/core-rendering-server-internal", "path": "packages/core/rendering/core-rendering-server-internal/src/bootstrap/register_bootstrap_route.test.ts" }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/test/helpers/router_mock.ts" - }, { "plugin": "security", "path": "x-pack/plugins/security/server/routes/anonymous_access/get_capabilities.test.ts" @@ -5945,6 +5941,10 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/authorization/spaces/share_saved_object_permissions.test.ts" }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts" @@ -6215,18 +6215,6 @@ "plugin": "usageCollection", "path": "src/plugins/usage_collection/server/routes/ui_counters.ts" }, - { - "plugin": "@kbn/content-management-favorites-server", - "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" - }, - { - "plugin": "@kbn/content-management-favorites-server", - "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" - }, - { - "plugin": "contentManagement", - "path": "src/plugins/content_management/server/rpc/routes/routes.ts" - }, { "plugin": "licensing", "path": "x-pack/plugins/licensing/server/routes/internal/notify_feature_usage.ts" @@ -6235,10 +6223,6 @@ "plugin": "licensing", "path": "x-pack/plugins/licensing/server/routes/internal/register_feature.ts" }, - { - "plugin": "@kbn/content-management-content-insights-server", - "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" - }, { "plugin": "home", "path": "src/plugins/home/server/services/sample_data/routes/install.ts" @@ -6351,25 +6335,21 @@ "plugin": "encryptedSavedObjects", "path": "x-pack/plugins/encrypted_saved_objects/server/routes/key_rotation.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_create_route.ts" - }, { "plugin": "serverless", "path": "x-pack/plugins/serverless/server/plugin.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/create/create.ts" + "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.ts" + "path": "x-pack/plugins/actions/server/routes/connector/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.ts" + "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.ts" }, { "plugin": "actions", @@ -6379,6 +6359,22 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts" }, + { + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" + }, + { + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" + }, + { + "plugin": "contentManagement", + "path": "src/plugins/content_management/server/rpc/routes/routes.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_create_route.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts" @@ -6495,6 +6491,10 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts" }, + { + "plugin": "@kbn/content-management-content-insights-server", + "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" + }, { "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts" @@ -6524,28 +6524,12 @@ "path": "x-pack/platform/plugins/shared/inference/server/routes/chat_complete.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" + "plugin": "globalSearch", + "path": "x-pack/plugins/global_search/server/routes/find.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" - }, - { - "plugin": "globalSearch", - "path": "x-pack/plugins/global_search/server/routes/find.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" }, { "plugin": "enterpriseSearch", @@ -6884,92 +6868,28 @@ "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/routes/search.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/routes/explore.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_create_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_delete_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_post_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_post_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_close_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_open_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/templates/register_delete_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/server/routes/search.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/templates/register_simulate_route.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/server/routes/explore.ts" }, { "plugin": "logstash", @@ -7128,16 +7048,88 @@ "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/routes/vis.ts" + "plugin": "profiling", + "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts" }, { "plugin": "remoteClusters", @@ -7347,6 +7339,14 @@ "plugin": "grokdebugger", "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/routes/vis.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -8099,10 +8099,6 @@ "plugin": "interactiveSetup", "path": "src/plugins/interactive_setup/server/routes/verify.test.ts" }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/test/helpers/router_mock.ts" - }, { "plugin": "security", "path": "x-pack/plugins/security/server/routes/analytics/authentication_type.test.ts" @@ -8187,6 +8183,10 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/users/change_password.test.ts" }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts" @@ -8391,7 +8391,7 @@ }, { "plugin": "logsShared", - "path": "x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts" + "path": "x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts" }, { "plugin": "enterpriseSearch", @@ -8569,34 +8569,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_update_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_put_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_execute_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/indices/register_create_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/mapping/register_update_mapping_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/settings/register_update_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/templates/register_update_route.ts" - }, { "plugin": "logstash", "path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts" @@ -8626,8 +8598,32 @@ "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_update_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_execute_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_create_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_update_mapping_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_update_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts" }, { "plugin": "remoteClusters", @@ -8709,6 +8705,10 @@ "plugin": "grokdebugger", "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -8817,10 +8817,6 @@ "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.test.ts" }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/test/helpers/router_mock.ts" - }, { "plugin": "cases", "path": "x-pack/plugins/cases/server/routes/api/register_routes.test.ts" @@ -8833,6 +8829,10 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/authentication/index.test.ts" }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts" @@ -9035,14 +9035,14 @@ "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "@kbn/test-suites-xpack", "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "@kbn/core-http-router-server-internal", "path": "packages/core/http/core-http-router-server-internal/src/router.ts" @@ -9125,7 +9125,7 @@ }, { "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/test/helpers/router_mock.ts" + "path": "x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts" }, { "plugin": "snapshotRestore", @@ -9333,14 +9333,14 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/users/delete.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts" - }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/connector/delete/delete.ts" }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts" @@ -9353,10 +9353,6 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts" }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" - }, { "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" @@ -9486,12 +9482,8 @@ "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_delete_route.ts" - }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/routes/api/enrich_policies/register_delete_route.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" }, { "plugin": "logstash", @@ -9538,8 +9530,12 @@ "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_delete_route.ts" + }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_delete_route.ts" }, { "plugin": "remoteClusters", @@ -9577,6 +9573,10 @@ "plugin": "grokdebugger", "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -9677,10 +9677,6 @@ "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts" }, - { - "plugin": "indexManagement", - "path": "x-pack/plugins/index_management/server/test/helpers/router_mock.ts" - }, { "plugin": "security", "path": "x-pack/plugins/security/server/routes/authentication/index.test.ts" @@ -9693,6 +9689,10 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/role_mapping/delete.test.ts" }, + { + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts" @@ -10809,7 +10809,7 @@ "\nReadonly copy of incoming request headers." ], "signature": [ - "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" + "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; expires?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, @@ -12890,16 +12890,16 @@ "path": "packages/core/capabilities/core-capabilities-server-internal/src/routes/resolve_capabilities.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { "plugin": "usageCollection", @@ -12977,14 +12977,14 @@ "plugin": "monitoringCollection", "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" }, - { - "plugin": "files", - "path": "src/plugins/files/server/routes/public_facing/download.ts" - }, { "plugin": "banners", "path": "x-pack/plugins/banners/server/routes/info.ts" }, + { + "plugin": "files", + "path": "src/plugins/files/server/routes/public_facing/download.ts" + }, { "plugin": "telemetry", "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" @@ -13682,7 +13682,7 @@ "tags": [], "label": "documentationUrl", "description": [ - "\nlink to the documentation for more details on the deprecation." + "\nLink to the documentation for more details on the deprecation.\n" ], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, @@ -15277,6 +15277,26 @@ "plugin": "cloud", "path": "x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/get.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/get_all.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/get.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/get_all.ts" + }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.ts" @@ -15321,26 +15341,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/internal/fields.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/get.ts" - }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/get_all.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/get.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/get_all.ts" - }, - { - "plugin": "bfetch", - "path": "src/plugins/bfetch/server/plugin.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/search/routes/session.ts" @@ -15363,71 +15363,19 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts" - }, - { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/get.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/download.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/get.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/resolve.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/templates/list.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_last_reported.ts" - }, - { - "plugin": "fieldsMetadata", - "path": "x-pack/plugins/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts" + "plugin": "dashboard", + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "plugin": "dashboard", + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "ml", @@ -15670,48 +15618,64 @@ "path": "x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts" }, { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_last_reported.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "fieldsMetadata", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "dataUsage", @@ -15721,6 +15685,10 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts" @@ -15745,6 +15713,30 @@ "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts" }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/routes.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/find_endpoint_list_item_route.ts" @@ -16161,6 +16153,10 @@ "plugin": "dataUsage", "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/data_streams.test.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -16338,40 +16334,40 @@ "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/download.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/templates/list.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/get.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts" }, { "plugin": "ecsDataQualityDashboard", @@ -16481,20 +16477,8 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/public/scripted_fields/put_scripted_field.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { "plugin": "spaces", @@ -16504,53 +16488,37 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/authorization/roles/put.ts" }, - { - "plugin": "bfetch", - "path": "src/plugins/bfetch/server/plugin.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/search/routes/session.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/query/routes.ts" - }, { "plugin": "@kbn/core-http-router-server-mocks", "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/update.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/public/scripted_fields/put_scripted_field.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts" }, { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts" + "plugin": "data", + "path": "src/plugins/data/server/search/routes/session.ts" }, { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_last_reported.ts" + "plugin": "data", + "path": "src/plugins/data/server/query/routes.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "plugin": "dashboard", + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "ml", @@ -16597,16 +16565,36 @@ "path": "x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_last_reported.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" }, { "plugin": "transform", @@ -16688,6 +16676,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/siem_migrations/rules/api/retry.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -16709,32 +16701,32 @@ "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts" }, { "plugin": "ecsDataQualityDashboard", "path": "x-pack/solutions/security/plugins/ecs_data_quality_dashboard/server/__mocks__/server.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.test.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.test.ts" } ], "returnComment": [], @@ -16823,6 +16815,18 @@ "plugin": "cloud", "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/post.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/post.ts" + }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/public/fields/update_fields.ts" @@ -16863,18 +16867,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/post.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/post.ts" - }, - { - "plugin": "bfetch", - "path": "src/plugins/bfetch/server/plugin.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/search/routes/session.ts" @@ -16917,51 +16909,15 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_suggestions_route.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts" }, { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/create.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/zip.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/create.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/import.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_opt_in.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/routes/telemetry_usage_stats.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "plugin": "dashboard", + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "ml", @@ -17260,48 +17216,44 @@ "path": "x-pack/platform/plugins/shared/ml/server/routes/alerting.ts" }, { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts" }, { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_opt_in.ts" }, { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_usage_stats.ts" }, { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "dataUsage", @@ -17315,6 +17267,30 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts" @@ -17391,6 +17367,14 @@ "plugin": "integrationAssistant", "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/cel_routes.ts" }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/create_endpoint_list_item_route.ts" @@ -17795,6 +17779,10 @@ "plugin": "dataUsage", "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/usage_metrics.test.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -17892,20 +17880,20 @@ "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/zip.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/create.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts" }, { "plugin": "ecsDataQualityDashboard", @@ -17999,21 +17987,17 @@ "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "plugin": "logsShared", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "logsShared", - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/list_item/patch_list_item_route.ts" @@ -18042,6 +18026,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/pinned_events/persist_pinned_event.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_patch_rules/route.ts" @@ -18142,28 +18130,28 @@ "trackAdoption": true, "references": [ { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/delete.ts" }, { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/public/scripted_fields/delete_scripted_field.ts" + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/delete.ts" }, { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/public/delete_data_view.ts" + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/delete.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/delete.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/public/scripted_fields/delete_scripted_field.ts" }, { - "plugin": "bfetch", - "path": "src/plugins/bfetch/server/plugin.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/public/delete_data_view.ts" }, { "plugin": "data", @@ -18178,24 +18166,12 @@ "path": "src/plugins/data/server/query/routes.ts" }, { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/delete.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/delete.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "plugin": "dashboard", + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "ml", @@ -18234,20 +18210,24 @@ "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" }, { "plugin": "lists", @@ -18321,6 +18301,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/entity_store/routes/delete.ts" }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" @@ -18342,16 +18326,16 @@ "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/delete.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts" }, { "plugin": "ecsDataQualityDashboard", @@ -19253,7 +19237,7 @@ "\nHttp request headers to read." ], "signature": [ - "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" + "{ date?: string | string[] | undefined; allow?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; authorization?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; range?: string | string[] | undefined; etag?: string | string[] | undefined; expires?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; forwarded?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], "path": "packages/core/http/core-http-server/src/router/headers.ts", "deprecated": false, @@ -19621,7 +19605,7 @@ "\nSet of well-known HTTP headers." ], "signature": [ - "\"date\" | \"allow\" | \"warning\" | \"location\" | \"authorization\" | \"from\" | \"host\" | \"range\" | \"etag\" | \"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"alt-svc\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"expect\" | \"expires\" | \"forwarded\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"www-authenticate\"" + "\"date\" | \"allow\" | \"warning\" | \"location\" | \"authorization\" | \"from\" | \"host\" | \"range\" | \"etag\" | \"expires\" | \"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"alt-svc\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"expect\" | \"forwarded\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"www-authenticate\"" ], "path": "packages/core/http/core-http-server/src/router/headers.ts", "deprecated": false, @@ -20791,7 +20775,7 @@ "\nHttp response headers to set." ], "signature": [ - "Record<\"date\" | \"allow\" | \"warning\" | \"location\" | \"authorization\" | \"from\" | \"host\" | \"range\" | \"etag\" | \"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"alt-svc\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"expect\" | \"expires\" | \"forwarded\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"www-authenticate\", string | string[]> | Record" + "Record<\"date\" | \"allow\" | \"warning\" | \"location\" | \"authorization\" | \"from\" | \"host\" | \"range\" | \"etag\" | \"expires\" | \"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"alt-svc\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"expect\" | \"forwarded\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"www-authenticate\", string | string[]> | Record" ], "path": "packages/core/http/core-http-server/src/router/headers.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 673e294128639..f8d8c7eae1f0c 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.devdocs.json b/api_docs/kbn_core_http_server_internal.devdocs.json index 2abb537aeabba..4fc8d951c5c05 100644 --- a/api_docs/kbn_core_http_server_internal.devdocs.json +++ b/api_docs/kbn_core_http_server_internal.devdocs.json @@ -1475,7 +1475,7 @@ "label": "HttpConfigType", "description": [], "signature": [ - "{ readonly uuid?: string | undefined; readonly basePath?: string | undefined; readonly publicBaseUrl?: string | undefined; readonly name: string; readonly ssl: Readonly<{ key?: string | undefined; certificateAuthorities?: string | string[] | undefined; certificate?: string | undefined; keyPassphrase?: string | undefined; redirectHttpFromPort?: number | undefined; } & { enabled: boolean; keystore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; truststore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"none\" | \"required\" | \"optional\"; }>; readonly host: string; readonly http2: Readonly<{} & { allowUnsecure: boolean; }>; readonly protocol: \"http1\" | \"http2\"; readonly port: number; readonly compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; readonly cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; readonly versioned: Readonly<{} & { useVersionResolutionStrategyForInternalPaths: string[]; versionResolution: \"none\" | \"oldest\" | \"newest\"; strictClientVersionCheck: boolean; }>; readonly autoListen: boolean; readonly shutdownTimeout: moment.Duration; readonly cdn: Readonly<{ url?: string | null | undefined; } & {}>; readonly oas: Readonly<{} & { enabled: boolean; }>; readonly securityResponseHeaders: Readonly<{ permissionsPolicyReportOnly?: string | null | undefined; } & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; disableEmbedding: boolean; crossOriginOpenerPolicy: \"same-origin\" | \"unsafe-none\" | \"same-origin-allow-popups\" | null; }>; readonly customResponseHeaders: Record; readonly maxPayload: ", + "{ readonly uuid?: string | undefined; readonly basePath?: string | undefined; readonly publicBaseUrl?: string | undefined; readonly name: string; readonly ssl: Readonly<{ key?: string | undefined; certificateAuthorities?: string | string[] | undefined; certificate?: string | undefined; keyPassphrase?: string | undefined; redirectHttpFromPort?: number | undefined; } & { enabled: boolean; keystore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; truststore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"none\" | \"required\" | \"optional\"; }>; readonly host: string; readonly protocol: \"http1\" | \"http2\"; readonly port: number; readonly compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; readonly cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; readonly http2: Readonly<{} & { allowUnsecure: boolean; }>; readonly versioned: Readonly<{} & { useVersionResolutionStrategyForInternalPaths: string[]; versionResolution: \"none\" | \"oldest\" | \"newest\"; strictClientVersionCheck: boolean; }>; readonly autoListen: boolean; readonly shutdownTimeout: moment.Duration; readonly cdn: Readonly<{ url?: string | null | undefined; } & {}>; readonly oas: Readonly<{} & { enabled: boolean; }>; readonly securityResponseHeaders: Readonly<{ permissionsPolicyReportOnly?: string | null | undefined; } & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; disableEmbedding: boolean; crossOriginOpenerPolicy: \"same-origin\" | \"unsafe-none\" | \"same-origin-allow-popups\" | null; }>; readonly customResponseHeaders: Record; readonly maxPayload: ", { "pluginId": "@kbn/config-schema", "scope": "common", diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 9a29d79c71401..c34c054207ce0 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.devdocs.json b/api_docs/kbn_core_http_server_mocks.devdocs.json index 5e2d0f91e58c4..4e03b2ddb6185 100644 --- a/api_docs/kbn_core_http_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_server_mocks.devdocs.json @@ -19,7 +19,7 @@ "label": "createConfigService", "description": [], "signature": [ - "({ server, externalUrl, csp, }?: Partial<{ server: Partial; truststore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"none\" | \"required\" | \"optional\"; }>; host: string; http2: Readonly<{} & { allowUnsecure: boolean; }>; protocol: \"http1\" | \"http2\"; port: number; compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; versioned: Readonly<{} & { useVersionResolutionStrategyForInternalPaths: string[]; versionResolution: \"none\" | \"oldest\" | \"newest\"; strictClientVersionCheck: boolean; }>; autoListen: boolean; shutdownTimeout: moment.Duration; cdn: Readonly<{ url?: string | null | undefined; } & {}>; oas: Readonly<{} & { enabled: boolean; }>; securityResponseHeaders: Readonly<{ permissionsPolicyReportOnly?: string | null | undefined; } & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; disableEmbedding: boolean; crossOriginOpenerPolicy: \"same-origin\" | \"unsafe-none\" | \"same-origin-allow-popups\" | null; }>; customResponseHeaders: Record; maxPayload: ", + "({ server, externalUrl, csp, }?: Partial<{ server: Partial; truststore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"none\" | \"required\" | \"optional\"; }>; host: string; protocol: \"http1\" | \"http2\"; port: number; compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; http2: Readonly<{} & { allowUnsecure: boolean; }>; versioned: Readonly<{} & { useVersionResolutionStrategyForInternalPaths: string[]; versionResolution: \"none\" | \"oldest\" | \"newest\"; strictClientVersionCheck: boolean; }>; autoListen: boolean; shutdownTimeout: moment.Duration; cdn: Readonly<{ url?: string | null | undefined; } & {}>; oas: Readonly<{} & { enabled: boolean; }>; securityResponseHeaders: Readonly<{ permissionsPolicyReportOnly?: string | null | undefined; } & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; disableEmbedding: boolean; crossOriginOpenerPolicy: \"same-origin\" | \"unsafe-none\" | \"same-origin-allow-popups\" | null; }>; customResponseHeaders: Record; maxPayload: ", { "pluginId": "@kbn/config-schema", "scope": "common", @@ -56,7 +56,7 @@ "label": "{\n server,\n externalUrl,\n csp,\n}", "description": [], "signature": [ - "Partial<{ server: Partial; truststore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"none\" | \"required\" | \"optional\"; }>; host: string; http2: Readonly<{} & { allowUnsecure: boolean; }>; protocol: \"http1\" | \"http2\"; port: number; compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; versioned: Readonly<{} & { useVersionResolutionStrategyForInternalPaths: string[]; versionResolution: \"none\" | \"oldest\" | \"newest\"; strictClientVersionCheck: boolean; }>; autoListen: boolean; shutdownTimeout: moment.Duration; cdn: Readonly<{ url?: string | null | undefined; } & {}>; oas: Readonly<{} & { enabled: boolean; }>; securityResponseHeaders: Readonly<{ permissionsPolicyReportOnly?: string | null | undefined; } & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; disableEmbedding: boolean; crossOriginOpenerPolicy: \"same-origin\" | \"unsafe-none\" | \"same-origin-allow-popups\" | null; }>; customResponseHeaders: Record; maxPayload: ", + "Partial<{ server: Partial; truststore: Readonly<{ password?: string | undefined; path?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"none\" | \"required\" | \"optional\"; }>; host: string; protocol: \"http1\" | \"http2\"; port: number; compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; http2: Readonly<{} & { allowUnsecure: boolean; }>; versioned: Readonly<{} & { useVersionResolutionStrategyForInternalPaths: string[]; versionResolution: \"none\" | \"oldest\" | \"newest\"; strictClientVersionCheck: boolean; }>; autoListen: boolean; shutdownTimeout: moment.Duration; cdn: Readonly<{ url?: string | null | undefined; } & {}>; oas: Readonly<{} & { enabled: boolean; }>; securityResponseHeaders: Readonly<{ permissionsPolicyReportOnly?: string | null | undefined; } & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; disableEmbedding: boolean; crossOriginOpenerPolicy: \"same-origin\" | \"unsafe-none\" | \"same-origin-allow-popups\" | null; }>; customResponseHeaders: Record; maxPayload: ", { "pluginId": "@kbn/config-schema", "scope": "common", @@ -348,7 +348,7 @@ "section": "def-server.HttpServiceSetup", "text": "HttpServiceSetup" }, - ", \"createRouter\" | \"basePath\"> & { basePath: BasePathMocked; staticAssets: StaticAssetsMocked; createRouter: jest.MockedFunction<() => ", + ", \"basePath\" | \"createRouter\"> & { basePath: BasePathMocked; staticAssets: StaticAssetsMocked; createRouter: jest.MockedFunction<() => ", { "pluginId": "@kbn/core-http-router-server-mocks", "scope": "server", @@ -671,7 +671,7 @@ }, "[], [], unknown>; } & Omit<", "InternalHttpServiceSetup", - ", \"createRouter\" | \"basePath\" | \"auth\" | \"staticAssets\" | \"authRequestHeaders\"> & { auth: AuthMocked; basePath: BasePathMocked; staticAssets: InternalStaticAssetsMocked; createRouter: jest.MockedFunction<(path: string) => ", + ", \"basePath\" | \"auth\" | \"staticAssets\" | \"createRouter\" | \"authRequestHeaders\"> & { auth: AuthMocked; basePath: BasePathMocked; staticAssets: InternalStaticAssetsMocked; createRouter: jest.MockedFunction<(path: string) => ", { "pluginId": "@kbn/core-http-router-server-mocks", "scope": "server", diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index c4384528a14be..05bcfae5182e6 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_utils.mdx b/api_docs/kbn_core_http_server_utils.mdx index e78713611d91b..1f4ca5d29d4d6 100644 --- a/api_docs/kbn_core_http_server_utils.mdx +++ b/api_docs/kbn_core_http_server_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-utils title: "@kbn/core-http-server-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-utils'] --- import kbnCoreHttpServerUtilsObj from './kbn_core_http_server_utils.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 613d1a570bc33..4ba11872e58f1 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 7ed0537f69272..624f751b7bb2d 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 2126343f7b72b..46788db15581a 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index a11df5eb4739a..b7b14a5d2262d 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index 6c494f80b613a..d3cb37a69ab46 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 67d1c47168bd5..126962e22abd5 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index b750b8c378946..929668c6fbf10 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index cda3c7d40e14e..9eaf85512ca87 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.devdocs.json b/api_docs/kbn_core_lifecycle_browser.devdocs.json index fc4130b7baa12..8619207ebc26d 100644 --- a/api_docs/kbn_core_lifecycle_browser.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser.devdocs.json @@ -69,13 +69,7 @@ "{@link ApplicationSetup}" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationSetup", - "text": "ApplicationSetup" - } + "ApplicationSetup" ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -421,13 +415,7 @@ "{@link ApplicationStart}" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -615,19 +603,19 @@ }, { "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/public/kibana_services.ts" + "path": "x-pack/platform/plugins/private/file_upload/public/kibana_services.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts" }, { "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { "plugin": "discover", diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 9a63688cd7dae..252f389d499ca 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json b/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json index 253d371df5591..1592d736f3e42 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json @@ -27,21 +27,9 @@ "description": [], "signature": [ "({ basePath, pluginStartDeps, pluginStartContract, }?: { basePath?: string | undefined; pluginStartDeps?: object | undefined; pluginStartContract?: any; }) => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">; application: jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationSetup", - "text": "ApplicationSetup" - }, + "ApplicationSetup", ">; customBranding: { customBranding$: ", "Observable", "<", @@ -79,21 +67,9 @@ "text": "FeatureFlagsSetup" }, ">; getStartServices: jest.Mock; application: jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", ">; chrome: ", { "pluginId": "@kbn/utility-types-jest", @@ -364,21 +340,9 @@ "description": [], "signature": [ "({ basePath }?: { basePath?: string | undefined; }) => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">; application: jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", ">; chrome: ", { "pluginId": "@kbn/utility-types-jest", diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index 32a651b502d4e..96718f8d242cf 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index 806fff3399256..b1c3742ff4b30 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json b/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json index b0e66b991dc36..8d88210abf14e 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json +++ b/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json @@ -35,13 +35,7 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServicePreboot", - "text": "AnalyticsServicePreboot" - }, + "AnalyticsServicePreboot", ">; context: jest.Mocked<", "InternalContextSetup", ">; elasticsearch: MockedElasticSearchServicePreboot; http: ", @@ -89,13 +83,7 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">; capabilities: jest.Mocked<", { "pluginId": "@kbn/core-capabilities-server", @@ -219,13 +207,7 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">; capabilities: jest.Mocked<", { "pluginId": "@kbn/core-capabilities-server", diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 5fdfee20020e5..6707bf6b26a95 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_browser_mocks.mdx b/api_docs/kbn_core_logging_browser_mocks.mdx index 5c0de3945785b..3c824b01221ae 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-browser-mocks'] --- import kbnCoreLoggingBrowserMocksObj from './kbn_core_logging_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_common_internal.mdx b/api_docs/kbn_core_logging_common_internal.mdx index 0cfb42d3ed7b3..f6e7711dcf23c 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-common-internal'] --- import kbnCoreLoggingCommonInternalObj from './kbn_core_logging_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index 1675309c72da6..b5d464bb4fcce 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 2522feee9bc7d..de7ab964b4462 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index 5beda5b3775a8..01c25fea85f66 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 3d4be8a4b14d1..6113c99049932 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index e8e734d502e52..b0a2729d5325b 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 072410488a275..8f92332ef94d9 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index e13c587c2bc24..92e9b1dfcdba3 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index c7b918a2e9ddc..55e9251edfeaa 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index a097d89603a41..22cbd8738d2b1 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 00131c0c68107..7328103456aff 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 1dae34b7e0814..cce9a397bc017 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 1f057ea368f29..26e2409b9b295 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index 0657df2dd8d9f..6bb1b0604dfb5 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index 10267c0d620d8..d6095f23ae6df 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index efdd22d590033..3af539fb9e63a 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 80ea5f9522866..c2a1923fd972f 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 5ed5d6b78c859..398f5e42a4553 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 38fff828c14ea..0ae20bec36589 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index acdb1c717ca6c..7918f8b96a6d1 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index d6eae38c55504..662ee52a05ecb 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_browser.mdx b/api_docs/kbn_core_plugins_contracts_browser.mdx index a585042448fa4..1d06a5041f1b6 100644 --- a/api_docs/kbn_core_plugins_contracts_browser.mdx +++ b/api_docs/kbn_core_plugins_contracts_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-browser title: "@kbn/core-plugins-contracts-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-browser'] --- import kbnCorePluginsContractsBrowserObj from './kbn_core_plugins_contracts_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_server.mdx b/api_docs/kbn_core_plugins_contracts_server.mdx index cd5eb5840a774..8fb0833d34456 100644 --- a/api_docs/kbn_core_plugins_contracts_server.mdx +++ b/api_docs/kbn_core_plugins_contracts_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-server title: "@kbn/core-plugins-contracts-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-server'] --- import kbnCorePluginsContractsServerObj from './kbn_core_plugins_contracts_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.devdocs.json b/api_docs/kbn_core_plugins_server.devdocs.json index 57f6efbab3f97..d87fccaa595d6 100644 --- a/api_docs/kbn_core_plugins_server.devdocs.json +++ b/api_docs/kbn_core_plugins_server.devdocs.json @@ -574,13 +574,7 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - { - "pluginId": "@kbn/core-base-common", - "scope": "common", - "docId": "kibKbnCoreBaseCommonPluginApi", - "section": "def-common.PluginType", - "text": "PluginType" - } + "PluginType" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 78c7a545356d9..edbb14b7edf1d 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index ff843ff13c10a..3c3d825ddb2ae 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 2604b47848abd..3ffaef67c54a4 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index e57a61dd074b3..c4f8f15f65069 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser.mdx b/api_docs/kbn_core_rendering_browser.mdx index fac20d1c3319b..69dc70cf23376 100644 --- a/api_docs/kbn_core_rendering_browser.mdx +++ b/api_docs/kbn_core_rendering_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser title: "@kbn/core-rendering-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser'] --- import kbnCoreRenderingBrowserObj from './kbn_core_rendering_browser.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 6ab1c7486552a..298e016b1965c 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index c1d1be36b6800..18eac11b4218c 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 43b8d849f8f57..88b7d9b9de5c2 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_root_server_internal.mdx b/api_docs/kbn_core_root_server_internal.mdx index 3517b530eed36..2dfe1ff1767c8 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-root-server-internal'] --- import kbnCoreRootServerInternalObj from './kbn_core_root_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json index c9bd6ed6eec29..9dd1f108af0ed 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json @@ -57,6 +57,22 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts" }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, { "plugin": "savedSearch", "path": "src/plugins/saved_search/public/services/saved_searches/types.ts" @@ -105,53 +121,21 @@ "plugin": "lens", "path": "x-pack/plugins/lens/public/types.ts" }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "graph", @@ -168,6 +152,22 @@ { "plugin": "graph", "path": "x-pack/plugins/graph/public/helpers/use_workspace_loader.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" } ], "children": [ @@ -886,14 +886,6 @@ "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts" }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -934,6 +926,14 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts" }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, { "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts" @@ -1477,7 +1477,7 @@ }, { "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { "plugin": "@kbn/core-saved-objects-browser-internal", @@ -1557,7 +1557,7 @@ }, { "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { "plugin": "@kbn/core-saved-objects-browser-internal", @@ -2767,18 +2767,6 @@ "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts" }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -2807,14 +2795,6 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/common/types/index.ts" }, - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" - }, - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" - }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.ts" @@ -2847,6 +2827,14 @@ "plugin": "lens", "path": "x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts" }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/public/common/hooks/types.ts" @@ -2890,6 +2878,18 @@ { "plugin": "visualizations", "path": "src/plugins/visualizations/public/wizard/search_selection/show_saved_object.test.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" } ], "children": [ diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 68e311d9f7dea..95847f586883c 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.devdocs.json b/api_docs/kbn_core_saved_objects_api_server.devdocs.json index 6b33ecca14f0e..80622d35ddd93 100644 --- a/api_docs/kbn_core_saved_objects_api_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server.devdocs.json @@ -2669,6 +2669,66 @@ "plugin": "@kbn/core", "path": "src/core/server/index.ts" }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, { "plugin": "@kbn/alerting-types", "path": "packages/kbn-alerting-types/rule_types.ts" @@ -2730,64 +2790,12 @@ "path": "x-pack/plugins/alerting/common/rule.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "alerting", @@ -2806,12 +2814,16 @@ "path": "x-pack/plugins/alerting/server/types.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { "plugin": "savedSearch", @@ -2822,52 +2834,40 @@ "path": "src/plugins/saved_search/server/saved_objects/search_migrations.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "securitySolution", @@ -6157,7 +6157,7 @@ }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/workpad_route_context.ts" + "path": "x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts" }, { "plugin": "@kbn/core-saved-objects-api-server-internal", diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index e7c5f1332e4ab..46f43d57bf4cb 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 2e29f0f2ef3a1..1372be732eb99 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index efaf6d59f9f47..f50cd059f2437 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 48ccb19fac0e2..644781cc485ce 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.devdocs.json b/api_docs/kbn_core_saved_objects_browser.devdocs.json index d0005651d2a2e..81eba15a52d0c 100644 --- a/api_docs/kbn_core_saved_objects_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser.devdocs.json @@ -17,26 +17,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "@kbn/core-saved-objects-browser-internal", - "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-internal", - "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-internal", - "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, { "plugin": "@kbn/core-lifecycle-browser", "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" @@ -49,6 +29,18 @@ "plugin": "@kbn/core-lifecycle-browser", "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" }, + { + "plugin": "@kbn/core-saved-objects-browser-internal", + "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-internal", + "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-internal", + "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" + }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -77,6 +69,14 @@ "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx" }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" + }, { "plugin": "@kbn/core", "path": "src/core/server/index.ts" diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 9c2a050ee876b..34681df2d4116 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json b/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json index 016c97e0e12c7..83b0893914e67 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json @@ -35,14 +35,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, { "plugin": "@kbn/core-root-browser-internal", "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" @@ -54,6 +46,14 @@ { "plugin": "@kbn/core-root-browser-internal", "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" } ], "children": [ diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 6976ce4d7963e..76f3ed2bbeb15 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 57c887773718e..c3b4ce05e10fe 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.devdocs.json b/api_docs/kbn_core_saved_objects_common.devdocs.json index 0e78b5059b88f..c449f164324c8 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1214,20 +1214,20 @@ "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts" }, { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + "plugin": "@kbn/core", + "path": "src/core/public/index.ts" }, { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + "plugin": "home", + "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" }, { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + "plugin": "home", + "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" }, { - "plugin": "@kbn/core", - "path": "src/core/public/index.ts" + "plugin": "home", + "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" }, { "plugin": "savedObjectsTagging", @@ -1242,40 +1242,96 @@ "path": "x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx" }, { - "plugin": "home", - "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" }, { - "plugin": "home", - "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" }, { - "plugin": "home", - "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + "path": "x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "path": "x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts" + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts" + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" }, { "plugin": "@kbn/core", @@ -1393,62 +1449,6 @@ "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/lib/find_relationships.test.ts" }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, { "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts" @@ -1611,22 +1611,6 @@ "plugin": "@kbn/core", "path": "src/core/public/index.ts" }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/types.ts" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/types.ts" - }, { "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/types.ts" @@ -1663,14 +1647,6 @@ "plugin": "visualizations", "path": "src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts" @@ -1687,6 +1663,14 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts" }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" + }, { "plugin": "@kbn/core", "path": "src/core/types/index.ts" @@ -2072,19 +2056,19 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts" }, { "plugin": "graph", @@ -2120,11 +2104,11 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/common/bwc/types.ts" + "path": "src/platform/plugins/shared/dashboard/common/bwc/types.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/common/bwc/types.ts" + "path": "src/platform/plugins/shared/dashboard/common/bwc/types.ts" }, { "plugin": "@kbn/core", @@ -2232,23 +2216,23 @@ }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/migrate_base_input.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/migrate_base_input.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/migrate_base_input.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/inject.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/inject.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/inject.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/inject.ts" }, { "plugin": "uiActionsEnhanced", @@ -2388,171 +2372,171 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/control_group/control_group_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/control_group/control_group_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/control_group/control_group_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/range_slider/range_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/range_slider/range_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/range_slider/range_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/time_slider/time_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/time_slider/time_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/time_slider/time_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" + "plugin": "globalSearchProviders", + "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "plugin": "globalSearchProviders", + "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts" }, { - "plugin": "uiActionsEnhanced", - "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts" }, { - "plugin": "uiActionsEnhanced", - "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts" }, { - "plugin": "uiActionsEnhanced", - "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" + "plugin": "uiActionsEnhanced", + "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" }, { - "plugin": "globalSearchProviders", - "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" + "plugin": "uiActionsEnhanced", + "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" }, { - "plugin": "globalSearchProviders", - "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" + "plugin": "uiActionsEnhanced", + "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" }, { "plugin": "expressions", diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 90a02c3ba6486..c21bd3a7f9a10 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index bc189982fca8c..ba2018c78a7f8 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index f903a836aba23..12aea29f78d80 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index ee364f02a8924..51ea0d1e1506a 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 432bfa7126b63..1f4709a635243 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.devdocs.json b/api_docs/kbn_core_saved_objects_server.devdocs.json index 01dd435084330..96e500e134b70 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -6198,6 +6198,66 @@ "plugin": "@kbn/core", "path": "src/core/server/index.ts" }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, { "plugin": "@kbn/alerting-types", "path": "packages/kbn-alerting-types/rule_types.ts" @@ -6259,64 +6319,12 @@ "path": "x-pack/plugins/alerting/common/rule.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "alerting", @@ -6335,12 +6343,16 @@ "path": "x-pack/plugins/alerting/server/types.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { "plugin": "savedSearch", @@ -6351,52 +6363,40 @@ "path": "src/plugins/saved_search/server/saved_objects/search_migrations.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "securitySolution", @@ -10666,10 +10666,6 @@ "plugin": "taskManager", "path": "x-pack/plugins/task_manager/server/saved_objects/index.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/saved_objects/data_views.ts" - }, { "plugin": "spaces", "path": "x-pack/plugins/spaces/server/saved_objects/saved_objects_service.ts" @@ -10678,10 +10674,6 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/server/saved_objects/saved_objects_service.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts" - }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" @@ -10690,6 +10682,18 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" }, + { + "plugin": "@kbn/core-saved-objects-migration-server-mocks", + "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/kibana_migrator.mock.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/saved_objects/data_views.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts" + }, { "plugin": "data", "path": "src/plugins/data/server/saved_objects/query.ts" @@ -10708,27 +10712,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" - }, - { - "plugin": "@kbn/core-saved-objects-migration-server-mocks", - "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/kibana_migrator.mock.ts" - }, - { - "plugin": "savedSearch", - "path": "src/plugins/saved_search/server/saved_objects/search.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad_template.ts" + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" }, { "plugin": "lens", @@ -10755,16 +10739,16 @@ "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { "plugin": "fleet", @@ -10775,24 +10759,24 @@ "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search.ts" }, { "plugin": "apmDataAccess", @@ -10803,16 +10787,20 @@ "path": "x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts" }, { - "plugin": "slo", - "path": "x-pack/solutions/observability/plugins/slo/server/saved_objects/slo.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts" }, { "plugin": "lists", @@ -10842,6 +10830,18 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/lib/artifacts/saved_object_mappings.ts" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" + }, + { + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_type.ts" + }, + { + "plugin": "slo", + "path": "x-pack/solutions/observability/plugins/slo/server/saved_objects/slo.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/saved_objects/synthetics_monitor.ts" @@ -10858,10 +10858,6 @@ "plugin": "eventAnnotation", "path": "src/plugins/event_annotation/server/saved_objects.ts" }, - { - "plugin": "links", - "path": "src/plugins/links/server/saved_objects/links.ts" - }, { "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/services/management.test.ts" @@ -10874,6 +10870,10 @@ "plugin": "share", "path": "src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts" }, + { + "plugin": "links", + "path": "src/platform/plugins/private/links/server/saved_objects/links.ts" + }, { "plugin": "@kbn/core-test-helpers-so-type-serializer", "path": "packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.ts" @@ -11371,7 +11371,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" }, { "plugin": "savedSearch", @@ -11521,10 +11521,6 @@ "plugin": "@kbn/core-saved-objects-migration-server-internal", "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/validate_migrations.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/saved_objects/data_views.ts" - }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" @@ -11533,6 +11529,10 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/saved_objects/data_views.ts" + }, { "plugin": "data", "path": "src/plugins/data/server/saved_objects/query.ts" @@ -11543,19 +11543,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" - }, - { - "plugin": "savedSearch", - "path": "src/plugins/saved_search/server/saved_objects/search.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" }, { "plugin": "lens", @@ -11590,12 +11578,20 @@ "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts" }, { "plugin": "lists", @@ -11617,6 +11613,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_saved_object_mappings.ts" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" + }, { "plugin": "@kbn/core-test-helpers-so-type-serializer", "path": "packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.ts" diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index ed48faf4f3c66..06ad18efdc1e1 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index f6a3ded591dec..db3146c3bd97f 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 06bddd7bebcca..047baa9cf9b89 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index 9563736fe3aef..9ced165e628a9 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser.mdx b/api_docs/kbn_core_security_browser.mdx index 58ee1731294e1..2b85f5c6f2c32 100644 --- a/api_docs/kbn_core_security_browser.mdx +++ b/api_docs/kbn_core_security_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser title: "@kbn/core-security-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser'] --- import kbnCoreSecurityBrowserObj from './kbn_core_security_browser.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser_internal.mdx b/api_docs/kbn_core_security_browser_internal.mdx index 8d7c302c34dd2..8d683c0c4d9bc 100644 --- a/api_docs/kbn_core_security_browser_internal.mdx +++ b/api_docs/kbn_core_security_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser-internal title: "@kbn/core-security-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser-internal'] --- import kbnCoreSecurityBrowserInternalObj from './kbn_core_security_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser_mocks.devdocs.json b/api_docs/kbn_core_security_browser_mocks.devdocs.json index 3d76985b7d337..d962a7f16c0bc 100644 --- a/api_docs/kbn_core_security_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_security_browser_mocks.devdocs.json @@ -146,7 +146,9 @@ "section": "def-common.AuthenticatedUser", "text": "AuthenticatedUser" }, - ", \"roles\"> & { roles: string[]; }>) => { username: string; enabled: boolean; metadata: { _reserved: boolean; _deprecated?: boolean | undefined; _deprecated_reason?: string | undefined; }; email: string; operator?: boolean | undefined; full_name: string; profile_uid: string; authentication_provider: ", + ", \"roles\"> & { roles: string[]; }>) => { username: string; enabled: boolean; metadata: { _reserved: boolean; _deprecated?: boolean | undefined; _deprecated_reason?: string | undefined; }; email: string; operator?: boolean | undefined; full_name: string; profile_uid: string; api_key?: ", + "ApiKeyDescriptor", + " | undefined; authentication_provider: ", { "pluginId": "@kbn/core-security-common", "scope": "common", diff --git a/api_docs/kbn_core_security_browser_mocks.mdx b/api_docs/kbn_core_security_browser_mocks.mdx index aca5a7b4c73fd..b52a6eae110fd 100644 --- a/api_docs/kbn_core_security_browser_mocks.mdx +++ b/api_docs/kbn_core_security_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser-mocks title: "@kbn/core-security-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser-mocks'] --- import kbnCoreSecurityBrowserMocksObj from './kbn_core_security_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_security_common.devdocs.json b/api_docs/kbn_core_security_common.devdocs.json index fdae7a470ddf4..3dbd4b350da5a 100644 --- a/api_docs/kbn_core_security_common.devdocs.json +++ b/api_docs/kbn_core_security_common.devdocs.json @@ -173,6 +173,23 @@ "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-security-common", + "id": "def-common.AuthenticatedUser.api_key", + "type": "Object", + "tags": [], + "label": "api_key", + "description": [ + "\nMetadata of the API key that was used to authenticate the user." + ], + "signature": [ + "ApiKeyDescriptor", + " | undefined" + ], + "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_core_security_common.mdx b/api_docs/kbn_core_security_common.mdx index 18773454ba57c..bd57cf19f76d1 100644 --- a/api_docs/kbn_core_security_common.mdx +++ b/api_docs/kbn_core_security_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-common title: "@kbn/core-security-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-common'] --- import kbnCoreSecurityCommonObj from './kbn_core_security_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 21 | 0 | 6 | 0 | +| 22 | 0 | 6 | 1 | ## Common diff --git a/api_docs/kbn_core_security_server.mdx b/api_docs/kbn_core_security_server.mdx index 8a5c4ca90d5cd..abf254a0d51bf 100644 --- a/api_docs/kbn_core_security_server.mdx +++ b/api_docs/kbn_core_security_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server title: "@kbn/core-security-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server'] --- import kbnCoreSecurityServerObj from './kbn_core_security_server.devdocs.json'; diff --git a/api_docs/kbn_core_security_server_internal.mdx b/api_docs/kbn_core_security_server_internal.mdx index 75fa371ccbffa..7eb61130b7c87 100644 --- a/api_docs/kbn_core_security_server_internal.mdx +++ b/api_docs/kbn_core_security_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server-internal title: "@kbn/core-security-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server-internal'] --- import kbnCoreSecurityServerInternalObj from './kbn_core_security_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_security_server_mocks.devdocs.json b/api_docs/kbn_core_security_server_mocks.devdocs.json index 4708eeb9f6c18..ca814e94e9e9b 100644 --- a/api_docs/kbn_core_security_server_mocks.devdocs.json +++ b/api_docs/kbn_core_security_server_mocks.devdocs.json @@ -312,7 +312,9 @@ "section": "def-common.AuthenticatedUser", "text": "AuthenticatedUser" }, - ", \"roles\"> & { roles: string[]; }>) => { username: string; enabled: boolean; metadata: { _reserved: boolean; _deprecated?: boolean | undefined; _deprecated_reason?: string | undefined; }; email: string; operator?: boolean | undefined; full_name: string; profile_uid: string; authentication_provider: ", + ", \"roles\"> & { roles: string[]; }>) => { username: string; enabled: boolean; metadata: { _reserved: boolean; _deprecated?: boolean | undefined; _deprecated_reason?: string | undefined; }; email: string; operator?: boolean | undefined; full_name: string; profile_uid: string; api_key?: ", + "ApiKeyDescriptor", + " | undefined; authentication_provider: ", { "pluginId": "@kbn/core-security-common", "scope": "common", diff --git a/api_docs/kbn_core_security_server_mocks.mdx b/api_docs/kbn_core_security_server_mocks.mdx index fcb60324a671f..cb30824339414 100644 --- a/api_docs/kbn_core_security_server_mocks.mdx +++ b/api_docs/kbn_core_security_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server-mocks title: "@kbn/core-security-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server-mocks'] --- import kbnCoreSecurityServerMocksObj from './kbn_core_security_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index f07664059ba87..dad29ad836136 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index f7228de3b417b..a8f58c9b1bbdd 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index 58ef144643276..6e25a2c8cc542 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index fd9c6bf17dbb5..baf5f295e26c3 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index 5a8786df3e455..e312bc8bb4651 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index 251b3ec47699b..f70fe2f913758 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_kbn_server.mdx b/api_docs/kbn_core_test_helpers_kbn_server.mdx index 6119d36e9a78a..06d158af58c89 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-kbn-server'] --- import kbnCoreTestHelpersKbnServerObj from './kbn_core_test_helpers_kbn_server.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_model_versions.mdx b/api_docs/kbn_core_test_helpers_model_versions.mdx index 5089317b07c32..a2bdda189a75d 100644 --- a/api_docs/kbn_core_test_helpers_model_versions.mdx +++ b/api_docs/kbn_core_test_helpers_model_versions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-model-versions title: "@kbn/core-test-helpers-model-versions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-model-versions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-model-versions'] --- import kbnCoreTestHelpersModelVersionsObj from './kbn_core_test_helpers_model_versions.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 3447a4c10ff8e..b267a5e99c5f0 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index 9601cc8d1e7c2..49ece3b730220 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 62ebbffe99fc1..0275a0bcd67be 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index f822093990c8e..e4821d01a0a80 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 557caa85deacc..e70339662fca0 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index f77887175bd43..2979687ef7af2 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index e3066e4ff94cb..ee1b01cde3a6f 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.devdocs.json b/api_docs/kbn_core_ui_settings_common.devdocs.json index 6ddd9dac5f601..6d3923c014237 100644 --- a/api_docs/kbn_core_ui_settings_common.devdocs.json +++ b/api_docs/kbn_core_ui_settings_common.devdocs.json @@ -601,16 +601,16 @@ "trackAdoption": false, "references": [ { - "plugin": "discover", - "path": "src/plugins/discover/server/ui_settings.ts" + "plugin": "@kbn/management-settings-field-definition", + "path": "src/platform/packages/shared/kbn-management/settings/field_definition/get_definition.ts" }, { "plugin": "discover", "path": "src/plugins/discover/server/ui_settings.ts" }, { - "plugin": "@kbn/management-settings-field-definition", - "path": "src/platform/packages/shared/kbn-management/settings/field_definition/get_definition.ts" + "plugin": "discover", + "path": "src/plugins/discover/server/ui_settings.ts" } ] }, diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 9b57ef652f831..dc0eac76cad2a 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index 70b867845fb5d..1c9c3653eb420 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 1617ec1167e4a..371bc20ee436a 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index 115d6e57a300b..fd7eb95e175f4 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index 4a5db347be18a..6060a5453528a 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index 2d5d28bc5d7d6..ab4556a0ef17f 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index e627823758fc1..463460fc154b9 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser.mdx b/api_docs/kbn_core_user_profile_browser.mdx index 7b5ef82899b18..cf9a39bbbbfea 100644 --- a/api_docs/kbn_core_user_profile_browser.mdx +++ b/api_docs/kbn_core_user_profile_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser title: "@kbn/core-user-profile-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser'] --- import kbnCoreUserProfileBrowserObj from './kbn_core_user_profile_browser.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser_internal.mdx b/api_docs/kbn_core_user_profile_browser_internal.mdx index 67d177d00a7be..f48944342867c 100644 --- a/api_docs/kbn_core_user_profile_browser_internal.mdx +++ b/api_docs/kbn_core_user_profile_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser-internal title: "@kbn/core-user-profile-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser-internal'] --- import kbnCoreUserProfileBrowserInternalObj from './kbn_core_user_profile_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser_mocks.mdx b/api_docs/kbn_core_user_profile_browser_mocks.mdx index 92dec3d374299..d778e579c1186 100644 --- a/api_docs/kbn_core_user_profile_browser_mocks.mdx +++ b/api_docs/kbn_core_user_profile_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser-mocks title: "@kbn/core-user-profile-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser-mocks'] --- import kbnCoreUserProfileBrowserMocksObj from './kbn_core_user_profile_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_common.mdx b/api_docs/kbn_core_user_profile_common.mdx index 392def435b102..0511e25a763a5 100644 --- a/api_docs/kbn_core_user_profile_common.mdx +++ b/api_docs/kbn_core_user_profile_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-common title: "@kbn/core-user-profile-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-common'] --- import kbnCoreUserProfileCommonObj from './kbn_core_user_profile_common.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server.mdx b/api_docs/kbn_core_user_profile_server.mdx index 05b9a92277bd9..cdc19b4212648 100644 --- a/api_docs/kbn_core_user_profile_server.mdx +++ b/api_docs/kbn_core_user_profile_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server title: "@kbn/core-user-profile-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server'] --- import kbnCoreUserProfileServerObj from './kbn_core_user_profile_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server_internal.mdx b/api_docs/kbn_core_user_profile_server_internal.mdx index 2a01c10cac685..d3c8e81381925 100644 --- a/api_docs/kbn_core_user_profile_server_internal.mdx +++ b/api_docs/kbn_core_user_profile_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server-internal title: "@kbn/core-user-profile-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server-internal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server-internal'] --- import kbnCoreUserProfileServerInternalObj from './kbn_core_user_profile_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server_mocks.mdx b/api_docs/kbn_core_user_profile_server_mocks.mdx index 60c2ade6d1e72..ab32484baf08f 100644 --- a/api_docs/kbn_core_user_profile_server_mocks.mdx +++ b/api_docs/kbn_core_user_profile_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server-mocks title: "@kbn/core-user-profile-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server-mocks'] --- import kbnCoreUserProfileServerMocksObj from './kbn_core_user_profile_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server.mdx b/api_docs/kbn_core_user_settings_server.mdx index ca34401382576..8351ed393dc09 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server'] --- import kbnCoreUserSettingsServerObj from './kbn_core_user_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_mocks.mdx b/api_docs/kbn_core_user_settings_server_mocks.mdx index e88981a7517af..32434d445f4aa 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-mocks'] --- import kbnCoreUserSettingsServerMocksObj from './kbn_core_user_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index ac3d7e8a1b229..a40fc75abf7e0 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index ed84390ce30d4..f6c4f6299d067 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_custom_icons.devdocs.json b/api_docs/kbn_custom_icons.devdocs.json index bc0a6de71888a..eddaff5d5ca80 100644 --- a/api_docs/kbn_custom_icons.devdocs.json +++ b/api_docs/kbn_custom_icons.devdocs.json @@ -37,7 +37,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "AgentIconProps" } ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -84,7 +84,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -104,7 +104,7 @@ "text": "CloudProviderIconProps" } ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -123,7 +123,7 @@ "signature": [ "(agentName: string | undefined, isDarkMode: boolean) => string" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -137,7 +137,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -152,7 +152,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -179,7 +179,7 @@ }, ") => \"cloudSunny\" | \"logoAWS\" | \"logoAzure\" | \"logoGCP\"" ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -199,7 +199,7 @@ "text": "CloudProvider" } ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -226,7 +226,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ }, " | undefined" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -277,7 +277,7 @@ "EuiIconProps", ", \"type\">" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -298,7 +298,7 @@ }, " | undefined" ], - "path": "packages/kbn-custom-icons/src/components/agent_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx", "deprecated": false, "trackAdoption": false } @@ -324,7 +324,7 @@ "EuiIconProps", ", \"type\">" ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -338,7 +338,7 @@ "signature": [ "\"aws\" | \"azure\" | \"gcp\" | \"unknownProvider\" | null | undefined" ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx", "deprecated": false, "trackAdoption": false } @@ -358,7 +358,7 @@ "signature": [ "\"aws\" | \"azure\" | \"gcp\" | \"unknownProvider\" | null | undefined" ], - "path": "packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts", + "path": "src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_custom_icons.mdx b/api_docs/kbn_custom_icons.mdx index 6d81649cfe815..f59f267ac7bc7 100644 --- a/api_docs/kbn_custom_icons.mdx +++ b/api_docs/kbn_custom_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-icons title: "@kbn/custom-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-icons plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-icons'] --- import kbnCustomIconsObj from './kbn_custom_icons.devdocs.json'; diff --git a/api_docs/kbn_custom_integrations.devdocs.json b/api_docs/kbn_custom_integrations.devdocs.json index bc61d44d54e79..b4f26194c1161 100644 --- a/api_docs/kbn_custom_integrations.devdocs.json +++ b/api_docs/kbn_custom_integrations.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "({ isDisabled, onClick, testSubj, }: ConnectedCustomIntegrationsButtonProps) => React.JSX.Element | null" ], - "path": "packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "ConnectedCustomIntegrationsButtonProps" ], - "path": "packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46,7 +46,7 @@ "signature": [ "({ testSubjects }: Props) => React.JSX.Element | null" ], - "path": "packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "signature": [ "Props" ], - "path": "packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -79,7 +79,7 @@ "signature": [ "React.FunctionComponent>" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -127,7 +127,7 @@ "Mode", "; dispatchableEvents: { saveCreateFields: (() => void) | undefined; updateCreateFields: ((fields: Partial<{ integrationName: string; datasets: { name: string; type: \"metrics\" | \"logs\"; }[]; }>) => void) | undefined; }; }" ], - "path": "packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -210,7 +210,7 @@ "ServiceMap", ">>; }" ], - "path": "packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -226,7 +226,7 @@ "tags": [], "label": "Callbacks", "description": [], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -240,7 +240,7 @@ "signature": [ "((integrationOptions: { integrationName: string; datasets: { name: string; type: \"metrics\" | \"logs\"; }[]; }) => void) | undefined" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -254,7 +254,7 @@ "signature": [ "{ integrationName: string; datasets: { name: string; type: \"metrics\" | \"logs\"; }[]; }" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -272,7 +272,7 @@ "signature": [ "((integrationName: string) => void) | undefined" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -286,7 +286,7 @@ "signature": [ "string" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -306,7 +306,7 @@ "IntegrationError", ") => void) | undefined" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -320,7 +320,7 @@ "signature": [ "IntegrationError" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -344,7 +344,7 @@ "signature": [ "{ integrationName: string; datasets: { name: string; type: \"metrics\" | \"logs\"; }[]; }" ], - "path": "packages/kbn-custom-integrations/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -359,7 +359,7 @@ "signature": [ "{ saveCreateFields: (() => void) | undefined; updateCreateFields: ((fields: Partial<{ integrationName: string; datasets: { name: string; type: \"metrics\" | \"logs\"; }[]; }>) => void) | undefined; }" ], - "path": "packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -377,7 +377,7 @@ "> | undefined; } & ", "WithSelectedMode" ], - "path": "packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_custom_integrations.mdx b/api_docs/kbn_custom_integrations.mdx index 13568879f33d2..8f555777e6729 100644 --- a/api_docs/kbn_custom_integrations.mdx +++ b/api_docs/kbn_custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-integrations title: "@kbn/custom-integrations" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-integrations plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-integrations'] --- import kbnCustomIntegrationsObj from './kbn_custom_integrations.devdocs.json'; diff --git a/api_docs/kbn_cypress_config.mdx b/api_docs/kbn_cypress_config.mdx index dcb404004cd8d..fe366abe4b5ff 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cypress-config'] --- import kbnCypressConfigObj from './kbn_cypress_config.devdocs.json'; diff --git a/api_docs/kbn_data_forge.mdx b/api_docs/kbn_data_forge.mdx index a65df0037a220..287adef1412e8 100644 --- a/api_docs/kbn_data_forge.mdx +++ b/api_docs/kbn_data_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-forge title: "@kbn/data-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-forge plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-forge'] --- import kbnDataForgeObj from './kbn_data_forge.devdocs.json'; diff --git a/api_docs/kbn_data_service.mdx b/api_docs/kbn_data_service.mdx index 8cbca6ea6d38a..7587d1fd340c6 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-service'] --- import kbnDataServiceObj from './kbn_data_service.devdocs.json'; diff --git a/api_docs/kbn_data_stream_adapter.mdx b/api_docs/kbn_data_stream_adapter.mdx index c7573b7246682..42843dc1ed34a 100644 --- a/api_docs/kbn_data_stream_adapter.mdx +++ b/api_docs/kbn_data_stream_adapter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-stream-adapter title: "@kbn/data-stream-adapter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-stream-adapter plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-stream-adapter'] --- import kbnDataStreamAdapterObj from './kbn_data_stream_adapter.devdocs.json'; diff --git a/api_docs/kbn_data_view_utils.mdx b/api_docs/kbn_data_view_utils.mdx index 9f0156483c8a9..e3fec5d76bb72 100644 --- a/api_docs/kbn_data_view_utils.mdx +++ b/api_docs/kbn_data_view_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-view-utils title: "@kbn/data-view-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-view-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-view-utils'] --- import kbnDataViewUtilsObj from './kbn_data_view_utils.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 236758431fb7d..c484b39260dfe 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_analytics.mdx b/api_docs/kbn_deeplinks_analytics.mdx index 1bd747d9aade3..c19ac1ac922e9 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-analytics'] --- import kbnDeeplinksAnalyticsObj from './kbn_deeplinks_analytics.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_devtools.mdx b/api_docs/kbn_deeplinks_devtools.mdx index b68dfd1398e3a..f842a4ac926b4 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_fleet.mdx b/api_docs/kbn_deeplinks_fleet.mdx index 1502546fa2b12..6c84cbc6755d8 100644 --- a/api_docs/kbn_deeplinks_fleet.mdx +++ b/api_docs/kbn_deeplinks_fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-fleet title: "@kbn/deeplinks-fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-fleet plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-fleet'] --- import kbnDeeplinksFleetObj from './kbn_deeplinks_fleet.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_management.mdx b/api_docs/kbn_deeplinks_management.mdx index 8f250b8af10fa..0c6719f2b14d1 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index 5705ef2e076c3..8859fba9f86bf 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-ml'] --- import kbnDeeplinksMlObj from './kbn_deeplinks_ml.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_observability.mdx b/api_docs/kbn_deeplinks_observability.mdx index bae04e1ed3b02..805b254dabb18 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index 377aa45d4c14e..52a3a6d78ea91 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_security.devdocs.json b/api_docs/kbn_deeplinks_security.devdocs.json index 03ce129ec8764..48b6513e8e6b8 100644 --- a/api_docs/kbn_deeplinks_security.devdocs.json +++ b/api_docs/kbn_deeplinks_security.devdocs.json @@ -58,7 +58,7 @@ "label": "DeepLinkId", "description": [], "signature": [ - "\"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\"" + "\"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\"" ], "path": "src/platform/packages/shared/deeplinks/security/index.ts", "deprecated": false, @@ -73,7 +73,7 @@ "label": "LinkId", "description": [], "signature": [ - "\"\" | \"cases\" | \"alerts\" | \"rules\" | \"policy\" | \"overview\" | \"dashboards\" | \"kubernetes\" | \"cases_create\" | \"cases_configure\" | \"hosts\" | \"users\" | \"cloud_defend-policies\" | \"cloud_security_posture-dashboard\" | \"cloud_security_posture-findings\" | \"cloud_security_posture-benchmarks\" | \"network\" | \"data_quality\" | \"explore\" | \"assets\" | \"cloud_defend\" | \"notes\" | \"administration\" | \"attack_discovery\" | \"blocklist\" | \"cloud_security_posture-rules\" | \"detections\" | \"detection_response\" | \"endpoints\" | \"event_filters\" | \"exceptions\" | \"host_isolation_exceptions\" | \"hosts-all\" | \"hosts-anomalies\" | \"hosts-risk\" | \"hosts-events\" | \"hosts-sessions\" | \"hosts-uncommon_processes\" | \"investigations\" | \"get_started\" | \"machine_learning-landing\" | \"network-anomalies\" | \"network-dns\" | \"network-events\" | \"network-flows\" | \"network-http\" | \"network-tls\" | \"response_actions_history\" | \"rules-add\" | \"rules-create\" | \"rules-landing\" | \"siem_migrations-rules\" | \"threat_intelligence\" | \"timelines\" | \"timelines-templates\" | \"trusted_apps\" | \"users-all\" | \"users-anomalies\" | \"users-authentications\" | \"users-events\" | \"users-risk\" | \"entity_analytics\" | \"entity_analytics-management\" | \"entity_analytics-asset-classification\" | \"entity_analytics-entity_store_management\" | \"coverage-overview\"" + "\"\" | \"cases\" | \"alerts\" | \"rules\" | \"policy\" | \"overview\" | \"dashboards\" | \"kubernetes\" | \"cases_create\" | \"cases_configure\" | \"hosts\" | \"users\" | \"cloud_defend-policies\" | \"cloud_security_posture-dashboard\" | \"cloud_security_posture-findings\" | \"cloud_security_posture-benchmarks\" | \"network\" | \"data_quality\" | \"explore\" | \"assets\" | \"cloud_defend\" | \"notes\" | \"administration\" | \"asset_inventory\" | \"attack_discovery\" | \"blocklist\" | \"cloud_security_posture-rules\" | \"detections\" | \"detection_response\" | \"endpoints\" | \"event_filters\" | \"exceptions\" | \"host_isolation_exceptions\" | \"hosts-all\" | \"hosts-anomalies\" | \"hosts-risk\" | \"hosts-events\" | \"hosts-sessions\" | \"hosts-uncommon_processes\" | \"investigations\" | \"get_started\" | \"machine_learning-landing\" | \"network-anomalies\" | \"network-dns\" | \"network-events\" | \"network-flows\" | \"network-http\" | \"network-tls\" | \"response_actions_history\" | \"rules-add\" | \"rules-create\" | \"rules-landing\" | \"siem_migrations-rules\" | \"threat_intelligence\" | \"timelines\" | \"timelines-templates\" | \"trusted_apps\" | \"users-all\" | \"users-anomalies\" | \"users-authentications\" | \"users-events\" | \"users-risk\" | \"entity_analytics\" | \"entity_analytics-management\" | \"entity_analytics-asset-classification\" | \"entity_analytics-entity_store_management\" | \"coverage-overview\"" ], "path": "src/platform/packages/shared/deeplinks/security/index.ts", "deprecated": false, diff --git a/api_docs/kbn_deeplinks_security.mdx b/api_docs/kbn_deeplinks_security.mdx index 1e023a22a3374..c2f07c5376f74 100644 --- a/api_docs/kbn_deeplinks_security.mdx +++ b/api_docs/kbn_deeplinks_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-security title: "@kbn/deeplinks-security" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-security plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-security'] --- import kbnDeeplinksSecurityObj from './kbn_deeplinks_security.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_shared.mdx b/api_docs/kbn_deeplinks_shared.mdx index 5bab323429abc..fc70c2d4a1fc5 100644 --- a/api_docs/kbn_deeplinks_shared.mdx +++ b/api_docs/kbn_deeplinks_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-shared title: "@kbn/deeplinks-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-shared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-shared'] --- import kbnDeeplinksSharedObj from './kbn_deeplinks_shared.devdocs.json'; diff --git a/api_docs/kbn_default_nav_analytics.mdx b/api_docs/kbn_default_nav_analytics.mdx index 24d4c82100632..305126385ae40 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-analytics'] --- import kbnDefaultNavAnalyticsObj from './kbn_default_nav_analytics.devdocs.json'; diff --git a/api_docs/kbn_default_nav_devtools.mdx b/api_docs/kbn_default_nav_devtools.mdx index 5cab9a17fe594..61dcd1d946984 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-devtools'] --- import kbnDefaultNavDevtoolsObj from './kbn_default_nav_devtools.devdocs.json'; diff --git a/api_docs/kbn_default_nav_management.mdx b/api_docs/kbn_default_nav_management.mdx index 22b7b535e9dfd..69eaa9c7e3f31 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-management'] --- import kbnDefaultNavManagementObj from './kbn_default_nav_management.devdocs.json'; diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index 5ce963253ddd0..41b0072ddd4a4 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-ml'] --- import kbnDefaultNavMlObj from './kbn_default_nav_ml.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 6afcd30846e13..faa2e3991a00d 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 7d4cca6613e9a..8225f2c08ae31 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index 297ea93b06d39..e4e39cec7b6f2 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 1d56c21ec0a78..935d20b52632a 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_discover_contextual_components.devdocs.json b/api_docs/kbn_discover_contextual_components.devdocs.json index cd6c2ab526e25..ea2e28e6d29a8 100644 --- a/api_docs/kbn_discover_contextual_components.devdocs.json +++ b/api_docs/kbn_discover_contextual_components.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "({ columnId, dataView, fieldFormats, isCompressed, isSingleLine, row, shouldShowFieldHandler, }: ContentProps) => React.JSX.Element" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "ContentProps" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -78,7 +78,7 @@ }, "[]" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -98,7 +98,7 @@ "text": "DataTableRecord" } ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -119,7 +119,7 @@ "text": "CoreStart" } ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -141,7 +141,7 @@ }, " | undefined" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -178,7 +178,7 @@ "SearchNestedIdentity", " | undefined; _ignored?: string[] | undefined; ignored_field_values?: Record | undefined; _shard?: string | undefined; _node?: string | undefined; _routing?: string | undefined; _rank?: number | undefined; _seq_no?: number | undefined; _primary_term?: number | undefined; _version?: number | undefined; }; id: string; isAnchor?: boolean | undefined; }" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -198,7 +198,7 @@ "text": "DataTableRecord" } ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -225,7 +225,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -239,7 +239,7 @@ "signature": [ "string" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -263,7 +263,7 @@ ") => ", "ResourceFields" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -277,7 +277,7 @@ "signature": [ "LogDocument" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -330,7 +330,7 @@ }, " & React.RefAttributes<{}>>" ], - "path": "packages/kbn-discover-contextual-components/src/index.ts", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -362,7 +362,7 @@ "signature": [ "({ fields, limited, onFilter, ...props }: ResourceProps) => React.JSX.Element" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -376,7 +376,7 @@ "signature": [ "ResourceProps" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -397,7 +397,7 @@ "FieldBadgeWithActionsPropsAndDependencies", ") => React.JSX.Element" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -411,7 +411,7 @@ "signature": [ "FieldBadgeWithActionsPropsAndDependencies" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -438,7 +438,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -458,7 +458,7 @@ "text": "AllSummaryColumnProps" } ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -476,7 +476,7 @@ "tags": [], "label": "ResourceFieldDescriptor", "description": [], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -494,7 +494,7 @@ "FieldBadgeWithActionsProps", ">" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -508,7 +508,7 @@ "signature": [ "(() => JSX.Element) | undefined" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -525,7 +525,7 @@ "keyof ", "ResourceFields" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -536,7 +536,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx", "deprecated": false, "trackAdoption": false } @@ -550,7 +550,7 @@ "tags": [], "label": "SummaryColumnFactoryDeps", "description": [], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -571,7 +571,7 @@ }, " | undefined" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -585,7 +585,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -599,7 +599,7 @@ "signature": [ "(fieldName: string) => boolean" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -628,7 +628,7 @@ "DocViewFilterFn", " | undefined" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -648,7 +648,7 @@ "text": "CoreStart" } ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -669,7 +669,7 @@ }, " | undefined" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false } @@ -721,7 +721,7 @@ "text": "SummaryColumnFactoryDeps" } ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -744,7 +744,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -784,7 +784,7 @@ }, "; closePopover: () => void; isCompressed?: boolean | undefined; }" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx", "deprecated": false, "trackAdoption": false } @@ -826,7 +826,7 @@ }, "; closePopover: () => void; isCompressed?: boolean | undefined; }" ], - "path": "packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", + "path": "src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_discover_contextual_components.mdx b/api_docs/kbn_discover_contextual_components.mdx index 355cb21c9eab4..15f6e0c2c04c7 100644 --- a/api_docs/kbn_discover_contextual_components.mdx +++ b/api_docs/kbn_discover_contextual_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-discover-contextual-components title: "@kbn/discover-contextual-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/discover-contextual-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-contextual-components'] --- import kbnDiscoverContextualComponentsObj from './kbn_discover_contextual_components.devdocs.json'; diff --git a/api_docs/kbn_discover_utils.devdocs.json b/api_docs/kbn_discover_utils.devdocs.json index c674ad6ee7279..30529c7df0fd9 100644 --- a/api_docs/kbn_discover_utils.devdocs.json +++ b/api_docs/kbn_discover_utils.devdocs.json @@ -2439,7 +2439,7 @@ "section": "def-common.AppMenuControlOnClickParams", "text": "AppMenuControlOnClickParams" }, - ") => void | React.ReactNode) | undefined; } & { iconType: \"string\" | \"number\" | \"function\" | \"key\" | \"namespace\" | \"error\" | \"filter\" | \"search\" | \"link\" | \"at\" | \"nested\" | \"ip\" | \"push\" | \"list\" | \"cluster\" | \"eql\" | \"index\" | \"unlink\" | \"alert\" | \"color\" | \"grid\" | \"aggregate\" | \"warning\" | \"annotation\" | \"memory\" | \"stats\" | \"mobile\" | \"article\" | \"menu\" | \"image\" | \"stop\" | \"download\" | \"document\" | \"email\" | \"copy\" | \"move\" | \"merge\" | \"partial\" | \"container\" | \"user\" | \"pause\" | \"share\" | \"home\" | \"spaces\" | \"package\" | \"tag\" | \"beta\" | \"users\" | \"brush\" | \"percent\" | \"temperature\" | \"accessibility\" | \"addDataApp\" | \"advancedSettingsApp\" | \"agentApp\" | \"analyzeEvent\" | \"anomalyChart\" | \"anomalySwimLane\" | \"apmApp\" | \"apmTrace\" | \"appSearchApp\" | \"apps\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"arrowStart\" | \"arrowEnd\" | \"asterisk\" | \"auditbeatApp\" | \"beaker\" | \"bell\" | \"bellSlash\" | \"bolt\" | \"boxesHorizontal\" | \"boxesVertical\" | \"branch\" | \"branchUser\" | \"broom\" | \"bug\" | \"bullseye\" | \"calendar\" | \"canvasApp\" | \"casesApp\" | \"changePointDetection\" | \"check\" | \"checkInCircleFilled\" | \"cheer\" | \"classificationJob\" | \"clickLeft\" | \"clickRight\" | \"clock\" | \"clockCounter\" | \"cloudDrizzle\" | \"cloudStormy\" | \"cloudSunny\" | \"codeApp\" | \"compute\" | \"console\" | \"consoleApp\" | \"continuityAbove\" | \"continuityAboveBelow\" | \"continuityBelow\" | \"continuityWithin\" | \"controlsHorizontal\" | \"controlsVertical\" | \"copyClipboard\" | \"createAdvancedJob\" | \"createMultiMetricJob\" | \"createPopulationJob\" | \"createSingleMetricJob\" | \"cross\" | \"crossClusterReplicationApp\" | \"crossInCircle\" | \"crosshairs\" | \"currency\" | \"cut\" | \"dashboardApp\" | \"dataVisualizer\" | \"database\" | \"desktop\" | \"devToolsApp\" | \"diff\" | \"discoverApp\" | \"discuss\" | \"documentEdit\" | \"documentation\" | \"documents\" | \"dot\" | \"dotInCircle\" | \"doubleArrowLeft\" | \"doubleArrowRight\" | \"editorAlignCenter\" | \"editorAlignLeft\" | \"editorAlignRight\" | \"editorBold\" | \"editorChecklist\" | \"editorCodeBlock\" | \"editorComment\" | \"editorDistributeHorizontal\" | \"editorDistributeVertical\" | \"editorHeading\" | \"editorItalic\" | \"editorItemAlignBottom\" | \"editorItemAlignCenter\" | \"editorItemAlignLeft\" | \"editorItemAlignMiddle\" | \"editorItemAlignRight\" | \"editorItemAlignTop\" | \"editorLink\" | \"editorOrderedList\" | \"editorPositionBottomLeft\" | \"editorPositionBottomRight\" | \"editorPositionTopLeft\" | \"editorPositionTopRight\" | \"editorRedo\" | \"editorStrike\" | \"editorTable\" | \"editorUnderline\" | \"editorUndo\" | \"editorUnorderedList\" | \"empty\" | \"emsApp\" | \"endpoint\" | \"eraser\" | \"errorFilled\" | \"esqlVis\" | \"exit\" | \"expand\" | \"expandMini\" | \"exportAction\" | \"eye\" | \"eyeClosed\" | \"faceHappy\" | \"faceNeutral\" | \"faceSad\" | \"fieldStatistics\" | \"filebeatApp\" | \"filterExclude\" | \"filterIgnore\" | \"filterInclude\" | \"filterInCircle\" | \"flag\" | \"fleetApp\" | \"fold\" | \"folderCheck\" | \"folderClosed\" | \"folderExclamation\" | \"folderOpen\" | \"frameNext\" | \"framePrevious\" | \"fullScreen\" | \"fullScreenExit\" | \"gear\" | \"gisApp\" | \"glasses\" | \"globe\" | \"grab\" | \"grabHorizontal\" | \"grabOmnidirectional\" | \"gradient\" | \"graphApp\" | \"grokApp\" | \"heart\" | \"heartbeatApp\" | \"heatmap\" | \"help\" | \"iInCircle\" | \"importAction\" | \"indexClose\" | \"indexEdit\" | \"indexFlush\" | \"indexManagementApp\" | \"indexMapping\" | \"indexOpen\" | \"indexPatternApp\" | \"indexRollupApp\" | \"indexRuntime\" | \"indexSettings\" | \"indexTemporary\" | \"infinity\" | \"inputOutput\" | \"inspect\" | \"invert\" | \"keyboard\" | \"kqlField\" | \"kqlFunction\" | \"kqlOperand\" | \"kqlSelector\" | \"kqlValue\" | \"kubernetesNode\" | \"kubernetesPod\" | \"launch\" | \"layers\" | \"lensApp\" | \"lettering\" | \"lineDashed\" | \"lineDotted\" | \"lineSolid\" | \"listAdd\" | \"lock\" | \"lockOpen\" | \"logPatternAnalysis\" | \"logRateAnalysis\" | \"logoAWS\" | \"logoAWSMono\" | \"logoAerospike\" | \"logoApache\" | \"logoAppSearch\" | \"logoAzure\" | \"logoAzureMono\" | \"logoBeats\" | \"logoBusinessAnalytics\" | \"logoCeph\" | \"logoCloud\" | \"logoCloudEnterprise\" | \"logoCode\" | \"logoCodesandbox\" | \"logoCouchbase\" | \"logoDocker\" | \"logoDropwizard\" | \"logoElastic\" | \"logoElasticStack\" | \"logoElasticsearch\" | \"logoEnterpriseSearch\" | \"logoEtcd\" | \"logoGCP\" | \"logoGCPMono\" | \"logoGithub\" | \"logoGmail\" | \"logoGolang\" | \"logoGoogleG\" | \"logoHAproxy\" | \"logoIBM\" | \"logoIBMMono\" | \"logoKafka\" | \"logoKibana\" | \"logoKubernetes\" | \"logoLogging\" | \"logoLogstash\" | \"logoMaps\" | \"logoMemcached\" | \"logoMetrics\" | \"logoMongodb\" | \"logoMySQL\" | \"logoNginx\" | \"logoObservability\" | \"logoOsquery\" | \"logoPhp\" | \"logoPostgres\" | \"logoPrometheus\" | \"logoRabbitmq\" | \"logoRedis\" | \"logoSecurity\" | \"logoSiteSearch\" | \"logoSketch\" | \"logoSlack\" | \"logoUptime\" | \"logoVulnerabilityManagement\" | \"logoWebhook\" | \"logoWindows\" | \"logoWorkplaceSearch\" | \"logsApp\" | \"logstashFilter\" | \"logstashIf\" | \"logstashInput\" | \"logstashOutput\" | \"logstashQueue\" | \"machineLearningApp\" | \"magnet\" | \"magnifyWithExclamation\" | \"magnifyWithMinus\" | \"magnifyWithPlus\" | \"managementApp\" | \"mapMarker\" | \"menuDown\" | \"menuLeft\" | \"menuRight\" | \"menuUp\" | \"metricbeatApp\" | \"metricsApp\" | \"minimize\" | \"minus\" | \"minusInCircle\" | \"minusInCircleFilled\" | \"minusInSquare\" | \"monitoringApp\" | \"moon\" | \"newChat\" | \"node\" | \"notebookApp\" | \"offline\" | \"online\" | \"outlierDetectionJob\" | \"packetbeatApp\" | \"pageSelect\" | \"pagesSelect\" | \"palette\" | \"paperClip\" | \"payment\" | \"pencil\" | \"pin\" | \"pinFilled\" | \"pipeBreaks\" | \"pipelineApp\" | \"pipeNoBreaks\" | \"pivot\" | \"play\" | \"playFilled\" | \"plus\" | \"plusInCircle\" | \"plusInCircleFilled\" | \"plusInSquare\" | \"popout\" | \"questionInCircle\" | \"quote\" | \"recentlyViewedApp\" | \"refresh\" | \"regressionJob\" | \"reporter\" | \"reportingApp\" | \"returnKey\" | \"save\" | \"savedObjectsApp\" | \"scale\" | \"searchProfilerApp\" | \"securityAnalyticsApp\" | \"securityApp\" | \"securitySignal\" | \"securitySignalDetected\" | \"securitySignalResolved\" | \"sessionViewer\" | \"shard\" | \"singleMetricViewer\" | \"snowflake\" | \"sortAscending\" | \"sortDescending\" | \"sortDown\" | \"sortLeft\" | \"sortRight\" | \"sortUp\" | \"sortable\" | \"spacesApp\" | \"sparkles\" | \"sqlApp\" | \"starEmpty\" | \"starEmptySpace\" | \"starFilled\" | \"starFilledSpace\" | \"starMinusEmpty\" | \"starMinusFilled\" | \"starPlusEmpty\" | \"starPlusFilled\" | \"stopFilled\" | \"stopSlash\" | \"storage\" | \"submodule\" | \"sun\" | \"swatchInput\" | \"symlink\" | \"tableDensityCompact\" | \"tableDensityExpanded\" | \"tableDensityNormal\" | \"tableOfContents\" | \"tear\" | \"timeline\" | \"timelineWithArrow\" | \"timelionApp\" | \"timeRefresh\" | \"timeslider\" | \"training\" | \"transitionLeftIn\" | \"transitionLeftOut\" | \"transitionTopIn\" | \"transitionTopOut\" | \"trash\" | \"unfold\" | \"upgradeAssistantApp\" | \"uptimeApp\" | \"userAvatar\" | \"usersRolesApp\" | \"vector\" | \"videoPlayer\" | \"visArea\" | \"visAreaStacked\" | \"visBarHorizontal\" | \"visBarHorizontalStacked\" | \"visBarVertical\" | \"visBarVerticalStacked\" | \"visGauge\" | \"visGoal\" | \"visLine\" | \"visMapCoordinate\" | \"visMapRegion\" | \"visMetric\" | \"visPie\" | \"visTable\" | \"visTagCloud\" | \"visText\" | \"visTimelion\" | \"visVega\" | \"visVisualBuilder\" | \"visualizeApp\" | \"vulnerabilityManagementApp\" | \"warningFilled\" | \"watchesApp\" | \"wordWrap\" | \"wordWrapDisabled\" | \"workplaceSearchApp\" | \"wrench\" | \"tokenAlias\" | \"tokenAnnotation\" | \"tokenArray\" | \"tokenBinary\" | \"tokenBoolean\" | \"tokenClass\" | \"tokenCompletionSuggester\" | \"tokenConstant\" | \"tokenDate\" | \"tokenDimension\" | \"tokenElement\" | \"tokenEnum\" | \"tokenEnumMember\" | \"tokenEvent\" | \"tokenException\" | \"tokenField\" | \"tokenFile\" | \"tokenFlattened\" | \"tokenFunction\" | \"tokenGeo\" | \"tokenHistogram\" | \"tokenInterface\" | \"tokenIP\" | \"tokenJoin\" | \"tokenKey\" | \"tokenKeyword\" | \"tokenMethod\" | \"tokenMetricCounter\" | \"tokenMetricGauge\" | \"tokenModule\" | \"tokenNamespace\" | \"tokenNested\" | \"tokenNull\" | \"tokenNumber\" | \"tokenObject\" | \"tokenOperator\" | \"tokenPackage\" | \"tokenParameter\" | \"tokenPercolator\" | \"tokenProperty\" | \"tokenRange\" | \"tokenRankFeature\" | \"tokenRankFeatures\" | \"tokenRepo\" | \"tokenSearchType\" | \"tokenSemanticText\" | \"tokenShape\" | \"tokenString\" | \"tokenStruct\" | \"tokenSymbol\" | \"tokenTag\" | \"tokenText\" | \"tokenTokenCount\" | \"tokenVariable\" | \"tokenVectorDense\" | \"tokenDenseVector\" | \"tokenVectorSparse\"; }" + ") => void | React.ReactNode) | undefined; } & { iconType: \"string\" | \"number\" | \"function\" | \"key\" | \"namespace\" | \"error\" | \"filter\" | \"search\" | \"link\" | \"at\" | \"nested\" | \"ip\" | \"push\" | \"list\" | \"cluster\" | \"eql\" | \"index\" | \"unlink\" | \"alert\" | \"color\" | \"grid\" | \"aggregate\" | \"warning\" | \"annotation\" | \"memory\" | \"stats\" | \"mobile\" | \"article\" | \"menu\" | \"image\" | \"stop\" | \"download\" | \"document\" | \"email\" | \"copy\" | \"move\" | \"merge\" | \"partial\" | \"container\" | \"user\" | \"pause\" | \"share\" | \"home\" | \"spaces\" | \"package\" | \"tag\" | \"beta\" | \"users\" | \"brush\" | \"percent\" | \"temperature\" | \"accessibility\" | \"addDataApp\" | \"advancedSettingsApp\" | \"agentApp\" | \"analyzeEvent\" | \"anomalyChart\" | \"anomalySwimLane\" | \"apmApp\" | \"apmTrace\" | \"appSearchApp\" | \"apps\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"arrowStart\" | \"arrowEnd\" | \"asterisk\" | \"auditbeatApp\" | \"beaker\" | \"bell\" | \"bellSlash\" | \"bolt\" | \"boxesHorizontal\" | \"boxesVertical\" | \"branch\" | \"branchUser\" | \"broom\" | \"bug\" | \"bullseye\" | \"calendar\" | \"canvasApp\" | \"casesApp\" | \"changePointDetection\" | \"check\" | \"checkInCircleFilled\" | \"cheer\" | \"classificationJob\" | \"clickLeft\" | \"clickRight\" | \"clock\" | \"clockCounter\" | \"cloudDrizzle\" | \"cloudStormy\" | \"cloudSunny\" | \"codeApp\" | \"compute\" | \"console\" | \"consoleApp\" | \"continuityAbove\" | \"continuityAboveBelow\" | \"continuityBelow\" | \"continuityWithin\" | \"contrast\" | \"contrastHigh\" | \"controlsHorizontal\" | \"controlsVertical\" | \"copyClipboard\" | \"createAdvancedJob\" | \"createMultiMetricJob\" | \"createPopulationJob\" | \"createSingleMetricJob\" | \"cross\" | \"crossClusterReplicationApp\" | \"crossInCircle\" | \"crosshairs\" | \"currency\" | \"cut\" | \"dashboardApp\" | \"dataVisualizer\" | \"database\" | \"desktop\" | \"devToolsApp\" | \"diff\" | \"discoverApp\" | \"discuss\" | \"documentEdit\" | \"documentation\" | \"documents\" | \"dot\" | \"dotInCircle\" | \"doubleArrowLeft\" | \"doubleArrowRight\" | \"editorAlignCenter\" | \"editorAlignLeft\" | \"editorAlignRight\" | \"editorBold\" | \"editorChecklist\" | \"editorCodeBlock\" | \"editorComment\" | \"editorDistributeHorizontal\" | \"editorDistributeVertical\" | \"editorHeading\" | \"editorItalic\" | \"editorItemAlignBottom\" | \"editorItemAlignCenter\" | \"editorItemAlignLeft\" | \"editorItemAlignMiddle\" | \"editorItemAlignRight\" | \"editorItemAlignTop\" | \"editorLink\" | \"editorOrderedList\" | \"editorPositionBottomLeft\" | \"editorPositionBottomRight\" | \"editorPositionTopLeft\" | \"editorPositionTopRight\" | \"editorRedo\" | \"editorStrike\" | \"editorTable\" | \"editorUnderline\" | \"editorUndo\" | \"editorUnorderedList\" | \"empty\" | \"emsApp\" | \"endpoint\" | \"eraser\" | \"errorFilled\" | \"esqlVis\" | \"exit\" | \"expand\" | \"expandMini\" | \"exportAction\" | \"eye\" | \"eyeClosed\" | \"faceHappy\" | \"faceNeutral\" | \"faceSad\" | \"fieldStatistics\" | \"filebeatApp\" | \"filterExclude\" | \"filterIgnore\" | \"filterInclude\" | \"filterInCircle\" | \"flag\" | \"fleetApp\" | \"fold\" | \"folderCheck\" | \"folderClosed\" | \"folderExclamation\" | \"folderOpen\" | \"frameNext\" | \"framePrevious\" | \"fullScreen\" | \"fullScreenExit\" | \"gear\" | \"gisApp\" | \"glasses\" | \"globe\" | \"grab\" | \"grabHorizontal\" | \"grabOmnidirectional\" | \"gradient\" | \"graphApp\" | \"grokApp\" | \"heart\" | \"heartbeatApp\" | \"heatmap\" | \"help\" | \"iInCircle\" | \"importAction\" | \"indexClose\" | \"indexEdit\" | \"indexFlush\" | \"indexManagementApp\" | \"indexMapping\" | \"indexOpen\" | \"indexPatternApp\" | \"indexRollupApp\" | \"indexRuntime\" | \"indexSettings\" | \"indexTemporary\" | \"infinity\" | \"inputOutput\" | \"inspect\" | \"invert\" | \"keyboard\" | \"kqlField\" | \"kqlFunction\" | \"kqlOperand\" | \"kqlSelector\" | \"kqlValue\" | \"kubernetesNode\" | \"kubernetesPod\" | \"launch\" | \"layers\" | \"lensApp\" | \"lettering\" | \"lineDashed\" | \"lineDotted\" | \"lineSolid\" | \"listAdd\" | \"lock\" | \"lockOpen\" | \"logPatternAnalysis\" | \"logRateAnalysis\" | \"logoAWS\" | \"logoAWSMono\" | \"logoAerospike\" | \"logoApache\" | \"logoAppSearch\" | \"logoAzure\" | \"logoAzureMono\" | \"logoBeats\" | \"logoBusinessAnalytics\" | \"logoCeph\" | \"logoCloud\" | \"logoCloudEnterprise\" | \"logoCode\" | \"logoCodesandbox\" | \"logoCouchbase\" | \"logoDocker\" | \"logoDropwizard\" | \"logoElastic\" | \"logoElasticStack\" | \"logoElasticsearch\" | \"logoEnterpriseSearch\" | \"logoEtcd\" | \"logoGCP\" | \"logoGCPMono\" | \"logoGithub\" | \"logoGmail\" | \"logoGolang\" | \"logoGoogleG\" | \"logoHAproxy\" | \"logoIBM\" | \"logoIBMMono\" | \"logoKafka\" | \"logoKibana\" | \"logoKubernetes\" | \"logoLogging\" | \"logoLogstash\" | \"logoMaps\" | \"logoMemcached\" | \"logoMetrics\" | \"logoMongodb\" | \"logoMySQL\" | \"logoNginx\" | \"logoObservability\" | \"logoOsquery\" | \"logoPhp\" | \"logoPostgres\" | \"logoPrometheus\" | \"logoRabbitmq\" | \"logoRedis\" | \"logoSecurity\" | \"logoSiteSearch\" | \"logoSketch\" | \"logoSlack\" | \"logoUptime\" | \"logoVulnerabilityManagement\" | \"logoWebhook\" | \"logoWindows\" | \"logoWorkplaceSearch\" | \"logsApp\" | \"logstashFilter\" | \"logstashIf\" | \"logstashInput\" | \"logstashOutput\" | \"logstashQueue\" | \"machineLearningApp\" | \"magnet\" | \"magnifyWithExclamation\" | \"magnifyWithMinus\" | \"magnifyWithPlus\" | \"managementApp\" | \"mapMarker\" | \"menuDown\" | \"menuLeft\" | \"menuRight\" | \"menuUp\" | \"metricbeatApp\" | \"metricsApp\" | \"minimize\" | \"minus\" | \"minusInCircle\" | \"minusInCircleFilled\" | \"minusInSquare\" | \"monitoringApp\" | \"moon\" | \"newChat\" | \"node\" | \"notebookApp\" | \"offline\" | \"online\" | \"outlierDetectionJob\" | \"packetbeatApp\" | \"pageSelect\" | \"pagesSelect\" | \"palette\" | \"paperClip\" | \"payment\" | \"pencil\" | \"pin\" | \"pinFilled\" | \"pipeBreaks\" | \"pipelineApp\" | \"pipeNoBreaks\" | \"pivot\" | \"play\" | \"playFilled\" | \"plus\" | \"plusInCircle\" | \"plusInCircleFilled\" | \"plusInSquare\" | \"popout\" | \"questionInCircle\" | \"quote\" | \"recentlyViewedApp\" | \"refresh\" | \"regressionJob\" | \"reporter\" | \"reportingApp\" | \"returnKey\" | \"save\" | \"savedObjectsApp\" | \"scale\" | \"searchProfilerApp\" | \"securityAnalyticsApp\" | \"securityApp\" | \"securitySignal\" | \"securitySignalDetected\" | \"securitySignalResolved\" | \"sessionViewer\" | \"shard\" | \"singleMetricViewer\" | \"snowflake\" | \"sortAscending\" | \"sortDescending\" | \"sortDown\" | \"sortLeft\" | \"sortRight\" | \"sortUp\" | \"sortable\" | \"spacesApp\" | \"sparkles\" | \"sqlApp\" | \"starEmpty\" | \"starEmptySpace\" | \"starFilled\" | \"starFilledSpace\" | \"starMinusEmpty\" | \"starMinusFilled\" | \"starPlusEmpty\" | \"starPlusFilled\" | \"stopFilled\" | \"stopSlash\" | \"storage\" | \"submodule\" | \"sun\" | \"swatchInput\" | \"symlink\" | \"tableDensityCompact\" | \"tableDensityExpanded\" | \"tableDensityNormal\" | \"tableOfContents\" | \"tear\" | \"timeline\" | \"timelineWithArrow\" | \"timelionApp\" | \"timeRefresh\" | \"timeslider\" | \"training\" | \"transitionLeftIn\" | \"transitionLeftOut\" | \"transitionTopIn\" | \"transitionTopOut\" | \"trash\" | \"unfold\" | \"upgradeAssistantApp\" | \"uptimeApp\" | \"userAvatar\" | \"usersRolesApp\" | \"vector\" | \"videoPlayer\" | \"visArea\" | \"visAreaStacked\" | \"visBarHorizontal\" | \"visBarHorizontalStacked\" | \"visBarVertical\" | \"visBarVerticalStacked\" | \"visGauge\" | \"visGoal\" | \"visLine\" | \"visMapCoordinate\" | \"visMapRegion\" | \"visMetric\" | \"visPie\" | \"visTable\" | \"visTagCloud\" | \"visText\" | \"visTimelion\" | \"visVega\" | \"visVisualBuilder\" | \"visualizeApp\" | \"vulnerabilityManagementApp\" | \"warningFilled\" | \"watchesApp\" | \"wordWrap\" | \"wordWrapDisabled\" | \"workplaceSearchApp\" | \"wrench\" | \"tokenAlias\" | \"tokenAnnotation\" | \"tokenArray\" | \"tokenBinary\" | \"tokenBoolean\" | \"tokenClass\" | \"tokenCompletionSuggester\" | \"tokenConstant\" | \"tokenDate\" | \"tokenDimension\" | \"tokenElement\" | \"tokenEnum\" | \"tokenEnumMember\" | \"tokenEvent\" | \"tokenException\" | \"tokenField\" | \"tokenFile\" | \"tokenFlattened\" | \"tokenFunction\" | \"tokenGeo\" | \"tokenHistogram\" | \"tokenInterface\" | \"tokenIP\" | \"tokenJoin\" | \"tokenKey\" | \"tokenKeyword\" | \"tokenMethod\" | \"tokenMetricCounter\" | \"tokenMetricGauge\" | \"tokenModule\" | \"tokenNamespace\" | \"tokenNested\" | \"tokenNull\" | \"tokenNumber\" | \"tokenObject\" | \"tokenOperator\" | \"tokenPackage\" | \"tokenParameter\" | \"tokenPercolator\" | \"tokenProperty\" | \"tokenRange\" | \"tokenRankFeature\" | \"tokenRankFeatures\" | \"tokenRepo\" | \"tokenSearchType\" | \"tokenSemanticText\" | \"tokenShape\" | \"tokenString\" | \"tokenStruct\" | \"tokenSymbol\" | \"tokenTag\" | \"tokenText\" | \"tokenTokenCount\" | \"tokenVariable\" | \"tokenVectorDense\" | \"tokenDenseVector\" | \"tokenVectorSparse\"; }" ], "path": "packages/kbn-discover-utils/src/components/app_menu/types.ts", "deprecated": false, @@ -4146,7 +4146,7 @@ "section": "def-common.AppMenuControlOnClickParams", "text": "AppMenuControlOnClickParams" }, - ") => void | React.ReactNode) | undefined; } & { iconType: \"string\" | \"number\" | \"function\" | \"key\" | \"namespace\" | \"error\" | \"filter\" | \"search\" | \"link\" | \"at\" | \"nested\" | \"ip\" | \"push\" | \"list\" | \"cluster\" | \"eql\" | \"index\" | \"unlink\" | \"alert\" | \"color\" | \"grid\" | \"aggregate\" | \"warning\" | \"annotation\" | \"memory\" | \"stats\" | \"mobile\" | \"article\" | \"menu\" | \"image\" | \"stop\" | \"download\" | \"document\" | \"email\" | \"copy\" | \"move\" | \"merge\" | \"partial\" | \"container\" | \"user\" | \"pause\" | \"share\" | \"home\" | \"spaces\" | \"package\" | \"tag\" | \"beta\" | \"users\" | \"brush\" | \"percent\" | \"temperature\" | \"accessibility\" | \"addDataApp\" | \"advancedSettingsApp\" | \"agentApp\" | \"analyzeEvent\" | \"anomalyChart\" | \"anomalySwimLane\" | \"apmApp\" | \"apmTrace\" | \"appSearchApp\" | \"apps\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"arrowStart\" | \"arrowEnd\" | \"asterisk\" | \"auditbeatApp\" | \"beaker\" | \"bell\" | \"bellSlash\" | \"bolt\" | \"boxesHorizontal\" | \"boxesVertical\" | \"branch\" | \"branchUser\" | \"broom\" | \"bug\" | \"bullseye\" | \"calendar\" | \"canvasApp\" | \"casesApp\" | \"changePointDetection\" | \"check\" | \"checkInCircleFilled\" | \"cheer\" | \"classificationJob\" | \"clickLeft\" | \"clickRight\" | \"clock\" | \"clockCounter\" | \"cloudDrizzle\" | \"cloudStormy\" | \"cloudSunny\" | \"codeApp\" | \"compute\" | \"console\" | \"consoleApp\" | \"continuityAbove\" | \"continuityAboveBelow\" | \"continuityBelow\" | \"continuityWithin\" | \"controlsHorizontal\" | \"controlsVertical\" | \"copyClipboard\" | \"createAdvancedJob\" | \"createMultiMetricJob\" | \"createPopulationJob\" | \"createSingleMetricJob\" | \"cross\" | \"crossClusterReplicationApp\" | \"crossInCircle\" | \"crosshairs\" | \"currency\" | \"cut\" | \"dashboardApp\" | \"dataVisualizer\" | \"database\" | \"desktop\" | \"devToolsApp\" | \"diff\" | \"discoverApp\" | \"discuss\" | \"documentEdit\" | \"documentation\" | \"documents\" | \"dot\" | \"dotInCircle\" | \"doubleArrowLeft\" | \"doubleArrowRight\" | \"editorAlignCenter\" | \"editorAlignLeft\" | \"editorAlignRight\" | \"editorBold\" | \"editorChecklist\" | \"editorCodeBlock\" | \"editorComment\" | \"editorDistributeHorizontal\" | \"editorDistributeVertical\" | \"editorHeading\" | \"editorItalic\" | \"editorItemAlignBottom\" | \"editorItemAlignCenter\" | \"editorItemAlignLeft\" | \"editorItemAlignMiddle\" | \"editorItemAlignRight\" | \"editorItemAlignTop\" | \"editorLink\" | \"editorOrderedList\" | \"editorPositionBottomLeft\" | \"editorPositionBottomRight\" | \"editorPositionTopLeft\" | \"editorPositionTopRight\" | \"editorRedo\" | \"editorStrike\" | \"editorTable\" | \"editorUnderline\" | \"editorUndo\" | \"editorUnorderedList\" | \"empty\" | \"emsApp\" | \"endpoint\" | \"eraser\" | \"errorFilled\" | \"esqlVis\" | \"exit\" | \"expand\" | \"expandMini\" | \"exportAction\" | \"eye\" | \"eyeClosed\" | \"faceHappy\" | \"faceNeutral\" | \"faceSad\" | \"fieldStatistics\" | \"filebeatApp\" | \"filterExclude\" | \"filterIgnore\" | \"filterInclude\" | \"filterInCircle\" | \"flag\" | \"fleetApp\" | \"fold\" | \"folderCheck\" | \"folderClosed\" | \"folderExclamation\" | \"folderOpen\" | \"frameNext\" | \"framePrevious\" | \"fullScreen\" | \"fullScreenExit\" | \"gear\" | \"gisApp\" | \"glasses\" | \"globe\" | \"grab\" | \"grabHorizontal\" | \"grabOmnidirectional\" | \"gradient\" | \"graphApp\" | \"grokApp\" | \"heart\" | \"heartbeatApp\" | \"heatmap\" | \"help\" | \"iInCircle\" | \"importAction\" | \"indexClose\" | \"indexEdit\" | \"indexFlush\" | \"indexManagementApp\" | \"indexMapping\" | \"indexOpen\" | \"indexPatternApp\" | \"indexRollupApp\" | \"indexRuntime\" | \"indexSettings\" | \"indexTemporary\" | \"infinity\" | \"inputOutput\" | \"inspect\" | \"invert\" | \"keyboard\" | \"kqlField\" | \"kqlFunction\" | \"kqlOperand\" | \"kqlSelector\" | \"kqlValue\" | \"kubernetesNode\" | \"kubernetesPod\" | \"launch\" | \"layers\" | \"lensApp\" | \"lettering\" | \"lineDashed\" | \"lineDotted\" | \"lineSolid\" | \"listAdd\" | \"lock\" | \"lockOpen\" | \"logPatternAnalysis\" | \"logRateAnalysis\" | \"logoAWS\" | \"logoAWSMono\" | \"logoAerospike\" | \"logoApache\" | \"logoAppSearch\" | \"logoAzure\" | \"logoAzureMono\" | \"logoBeats\" | \"logoBusinessAnalytics\" | \"logoCeph\" | \"logoCloud\" | \"logoCloudEnterprise\" | \"logoCode\" | \"logoCodesandbox\" | \"logoCouchbase\" | \"logoDocker\" | \"logoDropwizard\" | \"logoElastic\" | \"logoElasticStack\" | \"logoElasticsearch\" | \"logoEnterpriseSearch\" | \"logoEtcd\" | \"logoGCP\" | \"logoGCPMono\" | \"logoGithub\" | \"logoGmail\" | \"logoGolang\" | \"logoGoogleG\" | \"logoHAproxy\" | \"logoIBM\" | \"logoIBMMono\" | \"logoKafka\" | \"logoKibana\" | \"logoKubernetes\" | \"logoLogging\" | \"logoLogstash\" | \"logoMaps\" | \"logoMemcached\" | \"logoMetrics\" | \"logoMongodb\" | \"logoMySQL\" | \"logoNginx\" | \"logoObservability\" | \"logoOsquery\" | \"logoPhp\" | \"logoPostgres\" | \"logoPrometheus\" | \"logoRabbitmq\" | \"logoRedis\" | \"logoSecurity\" | \"logoSiteSearch\" | \"logoSketch\" | \"logoSlack\" | \"logoUptime\" | \"logoVulnerabilityManagement\" | \"logoWebhook\" | \"logoWindows\" | \"logoWorkplaceSearch\" | \"logsApp\" | \"logstashFilter\" | \"logstashIf\" | \"logstashInput\" | \"logstashOutput\" | \"logstashQueue\" | \"machineLearningApp\" | \"magnet\" | \"magnifyWithExclamation\" | \"magnifyWithMinus\" | \"magnifyWithPlus\" | \"managementApp\" | \"mapMarker\" | \"menuDown\" | \"menuLeft\" | \"menuRight\" | \"menuUp\" | \"metricbeatApp\" | \"metricsApp\" | \"minimize\" | \"minus\" | \"minusInCircle\" | \"minusInCircleFilled\" | \"minusInSquare\" | \"monitoringApp\" | \"moon\" | \"newChat\" | \"node\" | \"notebookApp\" | \"offline\" | \"online\" | \"outlierDetectionJob\" | \"packetbeatApp\" | \"pageSelect\" | \"pagesSelect\" | \"palette\" | \"paperClip\" | \"payment\" | \"pencil\" | \"pin\" | \"pinFilled\" | \"pipeBreaks\" | \"pipelineApp\" | \"pipeNoBreaks\" | \"pivot\" | \"play\" | \"playFilled\" | \"plus\" | \"plusInCircle\" | \"plusInCircleFilled\" | \"plusInSquare\" | \"popout\" | \"questionInCircle\" | \"quote\" | \"recentlyViewedApp\" | \"refresh\" | \"regressionJob\" | \"reporter\" | \"reportingApp\" | \"returnKey\" | \"save\" | \"savedObjectsApp\" | \"scale\" | \"searchProfilerApp\" | \"securityAnalyticsApp\" | \"securityApp\" | \"securitySignal\" | \"securitySignalDetected\" | \"securitySignalResolved\" | \"sessionViewer\" | \"shard\" | \"singleMetricViewer\" | \"snowflake\" | \"sortAscending\" | \"sortDescending\" | \"sortDown\" | \"sortLeft\" | \"sortRight\" | \"sortUp\" | \"sortable\" | \"spacesApp\" | \"sparkles\" | \"sqlApp\" | \"starEmpty\" | \"starEmptySpace\" | \"starFilled\" | \"starFilledSpace\" | \"starMinusEmpty\" | \"starMinusFilled\" | \"starPlusEmpty\" | \"starPlusFilled\" | \"stopFilled\" | \"stopSlash\" | \"storage\" | \"submodule\" | \"sun\" | \"swatchInput\" | \"symlink\" | \"tableDensityCompact\" | \"tableDensityExpanded\" | \"tableDensityNormal\" | \"tableOfContents\" | \"tear\" | \"timeline\" | \"timelineWithArrow\" | \"timelionApp\" | \"timeRefresh\" | \"timeslider\" | \"training\" | \"transitionLeftIn\" | \"transitionLeftOut\" | \"transitionTopIn\" | \"transitionTopOut\" | \"trash\" | \"unfold\" | \"upgradeAssistantApp\" | \"uptimeApp\" | \"userAvatar\" | \"usersRolesApp\" | \"vector\" | \"videoPlayer\" | \"visArea\" | \"visAreaStacked\" | \"visBarHorizontal\" | \"visBarHorizontalStacked\" | \"visBarVertical\" | \"visBarVerticalStacked\" | \"visGauge\" | \"visGoal\" | \"visLine\" | \"visMapCoordinate\" | \"visMapRegion\" | \"visMetric\" | \"visPie\" | \"visTable\" | \"visTagCloud\" | \"visText\" | \"visTimelion\" | \"visVega\" | \"visVisualBuilder\" | \"visualizeApp\" | \"vulnerabilityManagementApp\" | \"warningFilled\" | \"watchesApp\" | \"wordWrap\" | \"wordWrapDisabled\" | \"workplaceSearchApp\" | \"wrench\" | \"tokenAlias\" | \"tokenAnnotation\" | \"tokenArray\" | \"tokenBinary\" | \"tokenBoolean\" | \"tokenClass\" | \"tokenCompletionSuggester\" | \"tokenConstant\" | \"tokenDate\" | \"tokenDimension\" | \"tokenElement\" | \"tokenEnum\" | \"tokenEnumMember\" | \"tokenEvent\" | \"tokenException\" | \"tokenField\" | \"tokenFile\" | \"tokenFlattened\" | \"tokenFunction\" | \"tokenGeo\" | \"tokenHistogram\" | \"tokenInterface\" | \"tokenIP\" | \"tokenJoin\" | \"tokenKey\" | \"tokenKeyword\" | \"tokenMethod\" | \"tokenMetricCounter\" | \"tokenMetricGauge\" | \"tokenModule\" | \"tokenNamespace\" | \"tokenNested\" | \"tokenNull\" | \"tokenNumber\" | \"tokenObject\" | \"tokenOperator\" | \"tokenPackage\" | \"tokenParameter\" | \"tokenPercolator\" | \"tokenProperty\" | \"tokenRange\" | \"tokenRankFeature\" | \"tokenRankFeatures\" | \"tokenRepo\" | \"tokenSearchType\" | \"tokenSemanticText\" | \"tokenShape\" | \"tokenString\" | \"tokenStruct\" | \"tokenSymbol\" | \"tokenTag\" | \"tokenText\" | \"tokenTokenCount\" | \"tokenVariable\" | \"tokenVectorDense\" | \"tokenDenseVector\" | \"tokenVectorSparse\"; }" + ") => void | React.ReactNode) | undefined; } & { iconType: \"string\" | \"number\" | \"function\" | \"key\" | \"namespace\" | \"error\" | \"filter\" | \"search\" | \"link\" | \"at\" | \"nested\" | \"ip\" | \"push\" | \"list\" | \"cluster\" | \"eql\" | \"index\" | \"unlink\" | \"alert\" | \"color\" | \"grid\" | \"aggregate\" | \"warning\" | \"annotation\" | \"memory\" | \"stats\" | \"mobile\" | \"article\" | \"menu\" | \"image\" | \"stop\" | \"download\" | \"document\" | \"email\" | \"copy\" | \"move\" | \"merge\" | \"partial\" | \"container\" | \"user\" | \"pause\" | \"share\" | \"home\" | \"spaces\" | \"package\" | \"tag\" | \"beta\" | \"users\" | \"brush\" | \"percent\" | \"temperature\" | \"accessibility\" | \"addDataApp\" | \"advancedSettingsApp\" | \"agentApp\" | \"analyzeEvent\" | \"anomalyChart\" | \"anomalySwimLane\" | \"apmApp\" | \"apmTrace\" | \"appSearchApp\" | \"apps\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"arrowStart\" | \"arrowEnd\" | \"asterisk\" | \"auditbeatApp\" | \"beaker\" | \"bell\" | \"bellSlash\" | \"bolt\" | \"boxesHorizontal\" | \"boxesVertical\" | \"branch\" | \"branchUser\" | \"broom\" | \"bug\" | \"bullseye\" | \"calendar\" | \"canvasApp\" | \"casesApp\" | \"changePointDetection\" | \"check\" | \"checkInCircleFilled\" | \"cheer\" | \"classificationJob\" | \"clickLeft\" | \"clickRight\" | \"clock\" | \"clockCounter\" | \"cloudDrizzle\" | \"cloudStormy\" | \"cloudSunny\" | \"codeApp\" | \"compute\" | \"console\" | \"consoleApp\" | \"continuityAbove\" | \"continuityAboveBelow\" | \"continuityBelow\" | \"continuityWithin\" | \"contrast\" | \"contrastHigh\" | \"controlsHorizontal\" | \"controlsVertical\" | \"copyClipboard\" | \"createAdvancedJob\" | \"createMultiMetricJob\" | \"createPopulationJob\" | \"createSingleMetricJob\" | \"cross\" | \"crossClusterReplicationApp\" | \"crossInCircle\" | \"crosshairs\" | \"currency\" | \"cut\" | \"dashboardApp\" | \"dataVisualizer\" | \"database\" | \"desktop\" | \"devToolsApp\" | \"diff\" | \"discoverApp\" | \"discuss\" | \"documentEdit\" | \"documentation\" | \"documents\" | \"dot\" | \"dotInCircle\" | \"doubleArrowLeft\" | \"doubleArrowRight\" | \"editorAlignCenter\" | \"editorAlignLeft\" | \"editorAlignRight\" | \"editorBold\" | \"editorChecklist\" | \"editorCodeBlock\" | \"editorComment\" | \"editorDistributeHorizontal\" | \"editorDistributeVertical\" | \"editorHeading\" | \"editorItalic\" | \"editorItemAlignBottom\" | \"editorItemAlignCenter\" | \"editorItemAlignLeft\" | \"editorItemAlignMiddle\" | \"editorItemAlignRight\" | \"editorItemAlignTop\" | \"editorLink\" | \"editorOrderedList\" | \"editorPositionBottomLeft\" | \"editorPositionBottomRight\" | \"editorPositionTopLeft\" | \"editorPositionTopRight\" | \"editorRedo\" | \"editorStrike\" | \"editorTable\" | \"editorUnderline\" | \"editorUndo\" | \"editorUnorderedList\" | \"empty\" | \"emsApp\" | \"endpoint\" | \"eraser\" | \"errorFilled\" | \"esqlVis\" | \"exit\" | \"expand\" | \"expandMini\" | \"exportAction\" | \"eye\" | \"eyeClosed\" | \"faceHappy\" | \"faceNeutral\" | \"faceSad\" | \"fieldStatistics\" | \"filebeatApp\" | \"filterExclude\" | \"filterIgnore\" | \"filterInclude\" | \"filterInCircle\" | \"flag\" | \"fleetApp\" | \"fold\" | \"folderCheck\" | \"folderClosed\" | \"folderExclamation\" | \"folderOpen\" | \"frameNext\" | \"framePrevious\" | \"fullScreen\" | \"fullScreenExit\" | \"gear\" | \"gisApp\" | \"glasses\" | \"globe\" | \"grab\" | \"grabHorizontal\" | \"grabOmnidirectional\" | \"gradient\" | \"graphApp\" | \"grokApp\" | \"heart\" | \"heartbeatApp\" | \"heatmap\" | \"help\" | \"iInCircle\" | \"importAction\" | \"indexClose\" | \"indexEdit\" | \"indexFlush\" | \"indexManagementApp\" | \"indexMapping\" | \"indexOpen\" | \"indexPatternApp\" | \"indexRollupApp\" | \"indexRuntime\" | \"indexSettings\" | \"indexTemporary\" | \"infinity\" | \"inputOutput\" | \"inspect\" | \"invert\" | \"keyboard\" | \"kqlField\" | \"kqlFunction\" | \"kqlOperand\" | \"kqlSelector\" | \"kqlValue\" | \"kubernetesNode\" | \"kubernetesPod\" | \"launch\" | \"layers\" | \"lensApp\" | \"lettering\" | \"lineDashed\" | \"lineDotted\" | \"lineSolid\" | \"listAdd\" | \"lock\" | \"lockOpen\" | \"logPatternAnalysis\" | \"logRateAnalysis\" | \"logoAWS\" | \"logoAWSMono\" | \"logoAerospike\" | \"logoApache\" | \"logoAppSearch\" | \"logoAzure\" | \"logoAzureMono\" | \"logoBeats\" | \"logoBusinessAnalytics\" | \"logoCeph\" | \"logoCloud\" | \"logoCloudEnterprise\" | \"logoCode\" | \"logoCodesandbox\" | \"logoCouchbase\" | \"logoDocker\" | \"logoDropwizard\" | \"logoElastic\" | \"logoElasticStack\" | \"logoElasticsearch\" | \"logoEnterpriseSearch\" | \"logoEtcd\" | \"logoGCP\" | \"logoGCPMono\" | \"logoGithub\" | \"logoGmail\" | \"logoGolang\" | \"logoGoogleG\" | \"logoHAproxy\" | \"logoIBM\" | \"logoIBMMono\" | \"logoKafka\" | \"logoKibana\" | \"logoKubernetes\" | \"logoLogging\" | \"logoLogstash\" | \"logoMaps\" | \"logoMemcached\" | \"logoMetrics\" | \"logoMongodb\" | \"logoMySQL\" | \"logoNginx\" | \"logoObservability\" | \"logoOsquery\" | \"logoPhp\" | \"logoPostgres\" | \"logoPrometheus\" | \"logoRabbitmq\" | \"logoRedis\" | \"logoSecurity\" | \"logoSiteSearch\" | \"logoSketch\" | \"logoSlack\" | \"logoUptime\" | \"logoVulnerabilityManagement\" | \"logoWebhook\" | \"logoWindows\" | \"logoWorkplaceSearch\" | \"logsApp\" | \"logstashFilter\" | \"logstashIf\" | \"logstashInput\" | \"logstashOutput\" | \"logstashQueue\" | \"machineLearningApp\" | \"magnet\" | \"magnifyWithExclamation\" | \"magnifyWithMinus\" | \"magnifyWithPlus\" | \"managementApp\" | \"mapMarker\" | \"menuDown\" | \"menuLeft\" | \"menuRight\" | \"menuUp\" | \"metricbeatApp\" | \"metricsApp\" | \"minimize\" | \"minus\" | \"minusInCircle\" | \"minusInCircleFilled\" | \"minusInSquare\" | \"monitoringApp\" | \"moon\" | \"newChat\" | \"node\" | \"notebookApp\" | \"offline\" | \"online\" | \"outlierDetectionJob\" | \"packetbeatApp\" | \"pageSelect\" | \"pagesSelect\" | \"palette\" | \"paperClip\" | \"payment\" | \"pencil\" | \"pin\" | \"pinFilled\" | \"pipeBreaks\" | \"pipelineApp\" | \"pipeNoBreaks\" | \"pivot\" | \"play\" | \"playFilled\" | \"plus\" | \"plusInCircle\" | \"plusInCircleFilled\" | \"plusInSquare\" | \"popout\" | \"questionInCircle\" | \"quote\" | \"recentlyViewedApp\" | \"refresh\" | \"regressionJob\" | \"reporter\" | \"reportingApp\" | \"returnKey\" | \"save\" | \"savedObjectsApp\" | \"scale\" | \"searchProfilerApp\" | \"securityAnalyticsApp\" | \"securityApp\" | \"securitySignal\" | \"securitySignalDetected\" | \"securitySignalResolved\" | \"sessionViewer\" | \"shard\" | \"singleMetricViewer\" | \"snowflake\" | \"sortAscending\" | \"sortDescending\" | \"sortDown\" | \"sortLeft\" | \"sortRight\" | \"sortUp\" | \"sortable\" | \"spacesApp\" | \"sparkles\" | \"sqlApp\" | \"starEmpty\" | \"starEmptySpace\" | \"starFilled\" | \"starFilledSpace\" | \"starMinusEmpty\" | \"starMinusFilled\" | \"starPlusEmpty\" | \"starPlusFilled\" | \"stopFilled\" | \"stopSlash\" | \"storage\" | \"submodule\" | \"sun\" | \"swatchInput\" | \"symlink\" | \"tableDensityCompact\" | \"tableDensityExpanded\" | \"tableDensityNormal\" | \"tableOfContents\" | \"tear\" | \"timeline\" | \"timelineWithArrow\" | \"timelionApp\" | \"timeRefresh\" | \"timeslider\" | \"training\" | \"transitionLeftIn\" | \"transitionLeftOut\" | \"transitionTopIn\" | \"transitionTopOut\" | \"trash\" | \"unfold\" | \"upgradeAssistantApp\" | \"uptimeApp\" | \"userAvatar\" | \"usersRolesApp\" | \"vector\" | \"videoPlayer\" | \"visArea\" | \"visAreaStacked\" | \"visBarHorizontal\" | \"visBarHorizontalStacked\" | \"visBarVertical\" | \"visBarVerticalStacked\" | \"visGauge\" | \"visGoal\" | \"visLine\" | \"visMapCoordinate\" | \"visMapRegion\" | \"visMetric\" | \"visPie\" | \"visTable\" | \"visTagCloud\" | \"visText\" | \"visTimelion\" | \"visVega\" | \"visVisualBuilder\" | \"visualizeApp\" | \"vulnerabilityManagementApp\" | \"warningFilled\" | \"watchesApp\" | \"wordWrap\" | \"wordWrapDisabled\" | \"workplaceSearchApp\" | \"wrench\" | \"tokenAlias\" | \"tokenAnnotation\" | \"tokenArray\" | \"tokenBinary\" | \"tokenBoolean\" | \"tokenClass\" | \"tokenCompletionSuggester\" | \"tokenConstant\" | \"tokenDate\" | \"tokenDimension\" | \"tokenElement\" | \"tokenEnum\" | \"tokenEnumMember\" | \"tokenEvent\" | \"tokenException\" | \"tokenField\" | \"tokenFile\" | \"tokenFlattened\" | \"tokenFunction\" | \"tokenGeo\" | \"tokenHistogram\" | \"tokenInterface\" | \"tokenIP\" | \"tokenJoin\" | \"tokenKey\" | \"tokenKeyword\" | \"tokenMethod\" | \"tokenMetricCounter\" | \"tokenMetricGauge\" | \"tokenModule\" | \"tokenNamespace\" | \"tokenNested\" | \"tokenNull\" | \"tokenNumber\" | \"tokenObject\" | \"tokenOperator\" | \"tokenPackage\" | \"tokenParameter\" | \"tokenPercolator\" | \"tokenProperty\" | \"tokenRange\" | \"tokenRankFeature\" | \"tokenRankFeatures\" | \"tokenRepo\" | \"tokenSearchType\" | \"tokenSemanticText\" | \"tokenShape\" | \"tokenString\" | \"tokenStruct\" | \"tokenSymbol\" | \"tokenTag\" | \"tokenText\" | \"tokenTokenCount\" | \"tokenVariable\" | \"tokenVectorDense\" | \"tokenDenseVector\" | \"tokenVectorSparse\"; }" ], "path": "packages/kbn-discover-utils/src/components/app_menu/types.ts", "deprecated": false, diff --git a/api_docs/kbn_discover_utils.mdx b/api_docs/kbn_discover_utils.mdx index cfadb51d5e726..082a3a0d2aecc 100644 --- a/api_docs/kbn_discover_utils.mdx +++ b/api_docs/kbn_discover_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-discover-utils title: "@kbn/discover-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/discover-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-utils'] --- import kbnDiscoverUtilsObj from './kbn_discover_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 7d24e533d8c3c..9db70bbfa8895 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index e7218e24fdc70..f55db33f440a5 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_dom_drag_drop.mdx b/api_docs/kbn_dom_drag_drop.mdx index 0f46bb9dc971a..e93db0dddfe2a 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dom-drag-drop'] --- import kbnDomDragDropObj from './kbn_dom_drag_drop.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index 905f36a909a19..eddc99c1cd0c9 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_ecs_data_quality_dashboard.mdx b/api_docs/kbn_ecs_data_quality_dashboard.mdx index 5e8bb443bd1f0..6a44a8adc4e82 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_agent_utils.devdocs.json b/api_docs/kbn_elastic_agent_utils.devdocs.json index 2e56c5fad3c19..5c7b4dafa3183 100644 --- a/api_docs/kbn_elastic_agent_utils.devdocs.json +++ b/api_docs/kbn_elastic_agent_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(agentName: string | null, telemetryAgentName: string | null, telemetrySdkName: string | null) => string | null" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -58,7 +58,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -73,7 +73,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -92,7 +92,7 @@ "signature": [ "(agentName: string | undefined, language: string) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -106,7 +106,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -121,7 +121,7 @@ "signature": [ "string" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -140,7 +140,7 @@ "signature": [ "(agentName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -154,7 +154,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -173,7 +173,7 @@ "signature": [ "(serverlessType: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -187,7 +187,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -206,7 +206,7 @@ "signature": [ "(serverlessType: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -220,7 +220,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -239,7 +239,7 @@ "signature": [ "(agentName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -253,7 +253,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -272,7 +272,7 @@ "signature": [ "(agentName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -286,7 +286,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -305,7 +305,7 @@ "signature": [ "(agentName: string | undefined, runtimeName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -319,7 +319,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -334,7 +334,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -353,7 +353,7 @@ "signature": [ "(agentName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -367,7 +367,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -386,7 +386,7 @@ "signature": [ "(agentName: string) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -400,7 +400,7 @@ "signature": [ "string" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -419,7 +419,7 @@ "signature": [ "(agentName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -433,7 +433,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -452,7 +452,7 @@ "signature": [ "(agentName: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -466,7 +466,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -485,7 +485,7 @@ "signature": [ "(serverlessType: string | undefined) => boolean" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -499,7 +499,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_guards.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -529,7 +529,7 @@ }, "[]" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -544,7 +544,7 @@ "signature": [ "\"java\" | \"ruby\" | \"opentelemetry\" | \"dotnet\" | \"go\" | \"iOS/swift\" | \"js-base\" | \"nodejs\" | \"php\" | \"python\" | \"rum-js\" | \"android/java\" | \"otlp\" | `opentelemetry/${string}` | `otlp/${string}` | \"ios/swift\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -566,7 +566,7 @@ }, "[]" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -583,7 +583,7 @@ "signature": [ "\"java\" | \"ruby\" | \"dotnet\" | \"go\" | \"iOS/swift\" | \"js-base\" | \"nodejs\" | \"php\" | \"python\" | \"rum-js\" | \"android/java\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -605,7 +605,7 @@ }, "[]" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -620,7 +620,7 @@ "signature": [ "\"java\" | \"opentelemetry/java\" | \"otlp/java\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -642,7 +642,7 @@ }, "[]" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -657,7 +657,7 @@ "signature": [ "\"opentelemetry\" | \"otlp\" | `opentelemetry/${string}` | `otlp/${string}`" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -679,7 +679,7 @@ }, "[]" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -694,7 +694,7 @@ "signature": [ "\"js-base\" | \"rum-js\" | \"opentelemetry/webjs\" | \"otlp/webjs\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -716,7 +716,7 @@ }, "[]" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -731,7 +731,7 @@ "signature": [ "\"aws.lambda\" | \"azure.functions\"" ], - "path": "packages/kbn-elastic-agent-utils/src/agent_names.ts", + "path": "src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_elastic_agent_utils.mdx b/api_docs/kbn_elastic_agent_utils.mdx index 9d62913fbf45a..f25d5ac0094af 100644 --- a/api_docs/kbn_elastic_agent_utils.mdx +++ b/api_docs/kbn_elastic_agent_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-agent-utils title: "@kbn/elastic-agent-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-agent-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-agent-utils'] --- import kbnElasticAgentUtilsObj from './kbn_elastic_agent_utils.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index 14a69f76f95ee..d90926f8d72ea 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index a201b3e768f86..46e61ebde46e8 100644 --- a/api_docs/kbn_elastic_assistant_common.mdx +++ b/api_docs/kbn_elastic_assistant_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant-common title: "@kbn/elastic-assistant-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_entities_schema.mdx b/api_docs/kbn_entities_schema.mdx index 868d366b52390..7e85e8acbe0f4 100644 --- a/api_docs/kbn_entities_schema.mdx +++ b/api_docs/kbn_entities_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-entities-schema title: "@kbn/entities-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/entities-schema plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/entities-schema'] --- import kbnEntitiesSchemaObj from './kbn_entities_schema.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index b04034f2dd697..37d262d2b1b0a 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index a857b02a8d66b..b04e216bc014c 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index 0073099b533f0..1be6e770c258c 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index e94656f66b8c7..c5e2d38265ca1 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 356044391bace..6032b617fdcfd 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index f2b20c5e96b5e..3a3b538fe5e9e 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_esql_ast.mdx b/api_docs/kbn_esql_ast.mdx index 0aafde6252d2b..4a8317ebdd2b7 100644 --- a/api_docs/kbn_esql_ast.mdx +++ b/api_docs/kbn_esql_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-ast title: "@kbn/esql-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-ast plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-ast'] --- import kbnEsqlAstObj from './kbn_esql_ast.devdocs.json'; diff --git a/api_docs/kbn_esql_editor.devdocs.json b/api_docs/kbn_esql_editor.devdocs.json index b464c8bd5f1eb..d031e4bd71727 100644 --- a/api_docs/kbn_esql_editor.devdocs.json +++ b/api_docs/kbn_esql_editor.devdocs.json @@ -565,6 +565,22 @@ "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/esql-editor", + "id": "def-public.ESQLEditorProps.disableAutoFocus", + "type": "CompoundType", + "tags": [], + "label": "disableAutoFocus", + "description": [ + "The component by default focuses on the editor when it is mounted, this flag disables it" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_esql_editor.mdx b/api_docs/kbn_esql_editor.mdx index 4435054d1935c..7e474a430b24c 100644 --- a/api_docs/kbn_esql_editor.mdx +++ b/api_docs/kbn_esql_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-editor title: "@kbn/esql-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-editor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-editor'] --- import kbnEsqlEditorObj from './kbn_esql_editor.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 29 | 0 | 12 | 0 | +| 30 | 0 | 12 | 0 | ## Client diff --git a/api_docs/kbn_esql_utils.devdocs.json b/api_docs/kbn_esql_utils.devdocs.json index d5c4a9977bce9..458e8e2a6a136 100644 --- a/api_docs/kbn_esql_utils.devdocs.json +++ b/api_docs/kbn_esql_utils.devdocs.json @@ -1723,6 +1723,39 @@ ], "returnComment": [], "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/esql-utils", + "id": "def-common.sanitazeESQLInput", + "type": "Function", + "tags": [], + "label": "sanitazeESQLInput", + "description": [], + "signature": [ + "(input: string) => string | undefined" + ], + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/sanitaze_input.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/esql-utils", + "id": "def-common.sanitazeESQLInput.$1", + "type": "string", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string" + ], + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/sanitaze_input.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false } ], "interfaces": [], diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index 7132af795b48d..22ce161038f8b 100644 --- a/api_docs/kbn_esql_utils.mdx +++ b/api_docs/kbn_esql_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-utils title: "@kbn/esql-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-utils'] --- import kbnEsqlUtilsObj from './kbn_esql_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 83 | 0 | 74 | 0 | +| 85 | 0 | 76 | 0 | ## Common diff --git a/api_docs/kbn_esql_validation_autocomplete.mdx b/api_docs/kbn_esql_validation_autocomplete.mdx index ca53f08887678..2b21820bfe9fe 100644 --- a/api_docs/kbn_esql_validation_autocomplete.mdx +++ b/api_docs/kbn_esql_validation_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-validation-autocomplete title: "@kbn/esql-validation-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-validation-autocomplete plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-validation-autocomplete'] --- import kbnEsqlValidationAutocompleteObj from './kbn_esql_validation_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_common.mdx b/api_docs/kbn_event_annotation_common.mdx index 06448f7926d93..c7e6fe05f092b 100644 --- a/api_docs/kbn_event_annotation_common.mdx +++ b/api_docs/kbn_event_annotation_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-common title: "@kbn/event-annotation-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-common'] --- import kbnEventAnnotationCommonObj from './kbn_event_annotation_common.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_components.mdx b/api_docs/kbn_event_annotation_components.mdx index 9f4ef37c3cf0b..d62cd5705f899 100644 --- a/api_docs/kbn_event_annotation_components.mdx +++ b/api_docs/kbn_event_annotation_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-components title: "@kbn/event-annotation-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-components'] --- import kbnEventAnnotationComponentsObj from './kbn_event_annotation_components.devdocs.json'; diff --git a/api_docs/kbn_expandable_flyout.mdx b/api_docs/kbn_expandable_flyout.mdx index 2217faa9ad64d..5a9590f8b96ff 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/expandable-flyout'] --- import kbnExpandableFlyoutObj from './kbn_expandable_flyout.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 5dc6f0c4abd62..cebf36c332210 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_field_utils.mdx b/api_docs/kbn_field_utils.mdx index c0e284587f96f..aaccbac450126 100644 --- a/api_docs/kbn_field_utils.mdx +++ b/api_docs/kbn_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-utils title: "@kbn/field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-utils'] --- import kbnFieldUtilsObj from './kbn_field_utils.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 2e406fc78d5e0..83204ac2729b3 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_formatters.mdx b/api_docs/kbn_formatters.mdx index 78e621d241072..92555ed693182 100644 --- a/api_docs/kbn_formatters.mdx +++ b/api_docs/kbn_formatters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-formatters title: "@kbn/formatters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/formatters plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/formatters'] --- import kbnFormattersObj from './kbn_formatters.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index 289f5d11612f2..4cc41e1f78873 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_ui_services.mdx b/api_docs/kbn_ftr_common_functional_ui_services.mdx index fc8a605c44274..82638faad21c3 100644 --- a/api_docs/kbn_ftr_common_functional_ui_services.mdx +++ b/api_docs/kbn_ftr_common_functional_ui_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-ui-services title: "@kbn/ftr-common-functional-ui-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-ui-services plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-ui-services'] --- import kbnFtrCommonFunctionalUiServicesObj from './kbn_ftr_common_functional_ui_services.devdocs.json'; diff --git a/api_docs/kbn_gen_ai_functional_testing.mdx b/api_docs/kbn_gen_ai_functional_testing.mdx index fea606f73d29c..ba543c966629e 100644 --- a/api_docs/kbn_gen_ai_functional_testing.mdx +++ b/api_docs/kbn_gen_ai_functional_testing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-gen-ai-functional-testing title: "@kbn/gen-ai-functional-testing" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/gen-ai-functional-testing plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/gen-ai-functional-testing'] --- import kbnGenAiFunctionalTestingObj from './kbn_gen_ai_functional_testing.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index 80441b226ec37..528e1f5841dff 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_generate_console_definitions.mdx b/api_docs/kbn_generate_console_definitions.mdx index 268e9bdd32e3f..2b4b998763637 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-console-definitions'] --- import kbnGenerateConsoleDefinitionsObj from './kbn_generate_console_definitions.devdocs.json'; diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index f7b788e07f655..054961b22495a 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_grid_layout.mdx b/api_docs/kbn_grid_layout.mdx index 925d6a3538421..8047b201e4b10 100644 --- a/api_docs/kbn_grid_layout.mdx +++ b/api_docs/kbn_grid_layout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-grid-layout title: "@kbn/grid-layout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/grid-layout plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/grid-layout'] --- import kbnGridLayoutObj from './kbn_grid_layout.devdocs.json'; diff --git a/api_docs/kbn_grouping.mdx b/api_docs/kbn_grouping.mdx index 9922b688f2fb2..343e29280521b 100644 --- a/api_docs/kbn_grouping.mdx +++ b/api_docs/kbn_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-grouping title: "@kbn/grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/grouping plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/grouping'] --- import kbnGroupingObj from './kbn_grouping.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index af9978c0088c3..9ed67761b50b6 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index 1849969e0b678..0a322a5048838 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index c9b59c910f3e8..5f6854dd8b727 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_health_gateway_server.mdx b/api_docs/kbn_health_gateway_server.mdx index 1c61d9868c211..3d38b96a36d0f 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/health-gateway-server'] --- import kbnHealthGatewayServerObj from './kbn_health_gateway_server.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index f7c0b163ef59e..12ff6d9a91b42 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index d3f4323566427..893348a9d3411 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 54abdcd021adb..2102b5e5b92cc 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index 2874c99b9c03a..53a980759d568 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index 18c6b0c3b96b8..ea11e66ff6215 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_index_adapter.mdx b/api_docs/kbn_index_adapter.mdx index f0eae043b2470..7628b7084e4ff 100644 --- a/api_docs/kbn_index_adapter.mdx +++ b/api_docs/kbn_index_adapter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-adapter title: "@kbn/index-adapter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-adapter plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-adapter'] --- import kbnIndexAdapterObj from './kbn_index_adapter.devdocs.json'; diff --git a/api_docs/kbn_index_lifecycle_management_common_shared.mdx b/api_docs/kbn_index_lifecycle_management_common_shared.mdx index 4848f5cf5ac8d..1dcaea3888612 100644 --- a/api_docs/kbn_index_lifecycle_management_common_shared.mdx +++ b/api_docs/kbn_index_lifecycle_management_common_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-lifecycle-management-common-shared title: "@kbn/index-lifecycle-management-common-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-lifecycle-management-common-shared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-lifecycle-management-common-shared'] --- import kbnIndexLifecycleManagementCommonSharedObj from './kbn_index_lifecycle_management_common_shared.devdocs.json'; diff --git a/api_docs/kbn_index_management_shared_types.devdocs.json b/api_docs/kbn_index_management_shared_types.devdocs.json index f57ce5ad4ef72..2297253a37443 100644 --- a/api_docs/kbn_index_management_shared_types.devdocs.json +++ b/api_docs/kbn_index_management_shared_types.devdocs.json @@ -1002,7 +1002,7 @@ "tags": [], "label": "appId", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1016,7 +1016,7 @@ "signature": [ "{ path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1202,7 +1202,7 @@ "tags": [], "label": "appId", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1216,7 +1216,7 @@ "signature": [ "{ path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1429,13 +1429,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -1469,13 +1463,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", @@ -1496,13 +1484,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -1536,13 +1518,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", diff --git a/api_docs/kbn_index_management_shared_types.mdx b/api_docs/kbn_index_management_shared_types.mdx index e0eaaadb6214a..4f409f758b51e 100644 --- a/api_docs/kbn_index_management_shared_types.mdx +++ b/api_docs/kbn_index_management_shared_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-management-shared-types title: "@kbn/index-management-shared-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-management-shared-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-management-shared-types'] --- import kbnIndexManagementSharedTypesObj from './kbn_index_management_shared_types.devdocs.json'; diff --git a/api_docs/kbn_inference_common.devdocs.json b/api_docs/kbn_inference_common.devdocs.json index 3ba158a86ad5b..b4cab38f2ee86 100644 --- a/api_docs/kbn_inference_common.devdocs.json +++ b/api_docs/kbn_inference_common.devdocs.json @@ -770,6 +770,78 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnector", + "type": "Function", + "tags": [], + "label": "isSupportedConnector", + "description": [ + "\nChecks if a given connector is compatible for inference.\n\nA connector is compatible if:\n1. its type is in the list of allowed types\n2. for inference connectors, if its taskType is \"completion\"" + ], + "signature": [ + "(connector: ", + "RawConnector", + ") => boolean" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnector.$1", + "type": "Object", + "tags": [], + "label": "connector", + "description": [], + "signature": [ + "RawConnector" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnectorType", + "type": "Function", + "tags": [], + "label": "isSupportedConnectorType", + "description": [ + "\nChecks if a given connector type is compatible for inference.\n\nNote: this check is not sufficient to assert if a given connector can be\nused for inference, as `.inference` connectors need additional check logic.\nPlease use `isSupportedConnector` instead when possible." + ], + "signature": [ + "(id: string) => boolean" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnectorType.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/inference-common", "id": "def-common.isTokenLimitReachedError", @@ -1208,6 +1280,62 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector", + "type": "Interface", + "tags": [], + "label": "InferenceConnector", + "description": [], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnectorType", + "text": "InferenceConnectorType" + } + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector.connectorId", + "type": "string", + "tags": [], + "label": "connectorId", + "description": [], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/inference-common", "id": "def-common.InferenceTaskEventBase", @@ -1758,6 +1886,20 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnectorType", + "type": "Enum", + "tags": [], + "label": "InferenceConnectorType", + "description": [ + "\nThe list of connector types that can be used with the inference APIs" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/inference-common", "id": "def-common.InferenceTaskErrorCode", diff --git a/api_docs/kbn_inference_common.mdx b/api_docs/kbn_inference_common.mdx index 415671580c851..75cca70bd8f99 100644 --- a/api_docs/kbn_inference_common.mdx +++ b/api_docs/kbn_inference_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-inference-common title: "@kbn/inference-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/inference-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference-common'] --- import kbnInferenceCommonObj from './kbn_inference_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 141 | 0 | 40 | 3 | +| 150 | 0 | 46 | 4 | ## Common diff --git a/api_docs/kbn_inference_integration_flyout.mdx b/api_docs/kbn_inference_integration_flyout.mdx index cc7c09680113c..27933fe3ea7a5 100644 --- a/api_docs/kbn_inference_integration_flyout.mdx +++ b/api_docs/kbn_inference_integration_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-inference_integration_flyout title: "@kbn/inference_integration_flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/inference_integration_flyout plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference_integration_flyout'] --- import kbnInferenceIntegrationFlyoutObj from './kbn_inference_integration_flyout.devdocs.json'; diff --git a/api_docs/kbn_infra_forge.mdx b/api_docs/kbn_infra_forge.mdx index c41ac56f8b533..a0a2efb152f9d 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/infra-forge'] --- import kbnInfraForgeObj from './kbn_infra_forge.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index df23d287cb261..73172a5fbbe4e 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_investigation_shared.mdx b/api_docs/kbn_investigation_shared.mdx index 07bc753f52bb1..e41252842996b 100644 --- a/api_docs/kbn_investigation_shared.mdx +++ b/api_docs/kbn_investigation_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-investigation-shared title: "@kbn/investigation-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/investigation-shared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/investigation-shared'] --- import kbnInvestigationSharedObj from './kbn_investigation_shared.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index c5d7536b53254..fb336fd4c69d3 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_ipynb.mdx b/api_docs/kbn_ipynb.mdx index 0e723e20aefb1..b9a9729e74c6c 100644 --- a/api_docs/kbn_ipynb.mdx +++ b/api_docs/kbn_ipynb.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ipynb title: "@kbn/ipynb" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ipynb plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ipynb'] --- import kbnIpynbObj from './kbn_ipynb.devdocs.json'; diff --git a/api_docs/kbn_item_buffer.mdx b/api_docs/kbn_item_buffer.mdx index 175b14142744e..59140d19d7aa1 100644 --- a/api_docs/kbn_item_buffer.mdx +++ b/api_docs/kbn_item_buffer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-item-buffer title: "@kbn/item-buffer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/item-buffer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/item-buffer'] --- import kbnItemBufferObj from './kbn_item_buffer.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index c2794e00f958e..cb2b02ade01d5 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 86df14a67b2b2..e8e9fcac28e40 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_json_ast.mdx b/api_docs/kbn_json_ast.mdx index 29adae7299447..2e0fac8de3d65 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_json_schemas.mdx b/api_docs/kbn_json_schemas.mdx index c092f73b19e1b..357c9e2af6eb8 100644 --- a/api_docs/kbn_json_schemas.mdx +++ b/api_docs/kbn_json_schemas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-schemas title: "@kbn/json-schemas" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-schemas plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-schemas'] --- import kbnJsonSchemasObj from './kbn_json_schemas.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 284f4bfe912ea..c727932721aca 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation.mdx b/api_docs/kbn_language_documentation.mdx index 4c1cff6d50cdf..7b11d8fc84e7d 100644 --- a/api_docs/kbn_language_documentation.mdx +++ b/api_docs/kbn_language_documentation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation title: "@kbn/language-documentation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation'] --- import kbnLanguageDocumentationObj from './kbn_language_documentation.devdocs.json'; diff --git a/api_docs/kbn_lens_embeddable_utils.mdx b/api_docs/kbn_lens_embeddable_utils.mdx index e865aff17e8b5..3311cbebc3626 100644 --- a/api_docs/kbn_lens_embeddable_utils.mdx +++ b/api_docs/kbn_lens_embeddable_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-embeddable-utils title: "@kbn/lens-embeddable-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-embeddable-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-embeddable-utils'] --- import kbnLensEmbeddableUtilsObj from './kbn_lens_embeddable_utils.devdocs.json'; diff --git a/api_docs/kbn_lens_formula_docs.mdx b/api_docs/kbn_lens_formula_docs.mdx index 651fb07a0a805..d35711084b9a6 100644 --- a/api_docs/kbn_lens_formula_docs.mdx +++ b/api_docs/kbn_lens_formula_docs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-formula-docs title: "@kbn/lens-formula-docs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-formula-docs plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-formula-docs'] --- import kbnLensFormulaDocsObj from './kbn_lens_formula_docs.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index b9679471a0465..49954d61b8fc2 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index dbe9cec417ddb..32ada726e8dd0 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_content_badge.mdx b/api_docs/kbn_managed_content_badge.mdx index 359ca356bdaf4..e6dfec0f743db 100644 --- a/api_docs/kbn_managed_content_badge.mdx +++ b/api_docs/kbn_managed_content_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-content-badge title: "@kbn/managed-content-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-content-badge plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-content-badge'] --- import kbnManagedContentBadgeObj from './kbn_managed_content_badge.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index c0e342070a2b6..6278a34122495 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_management_cards_navigation.mdx b/api_docs/kbn_management_cards_navigation.mdx index 4e85a9c45590c..802f8d29ac497 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_settings_application.mdx b/api_docs/kbn_management_settings_application.mdx index 9b2b330aa0d25..27e14e8a7675a 100644 --- a/api_docs/kbn_management_settings_application.mdx +++ b/api_docs/kbn_management_settings_application.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-application title: "@kbn/management-settings-application" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-application plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-application'] --- import kbnManagementSettingsApplicationObj from './kbn_management_settings_application.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_category.mdx b/api_docs/kbn_management_settings_components_field_category.mdx index 1f590380d4eb6..e60e55570031c 100644 --- a/api_docs/kbn_management_settings_components_field_category.mdx +++ b/api_docs/kbn_management_settings_components_field_category.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-category title: "@kbn/management-settings-components-field-category" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-category plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-category'] --- import kbnManagementSettingsComponentsFieldCategoryObj from './kbn_management_settings_components_field_category.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_input.mdx b/api_docs/kbn_management_settings_components_field_input.mdx index a09b48d3f5e24..fed47598591b6 100644 --- a/api_docs/kbn_management_settings_components_field_input.mdx +++ b/api_docs/kbn_management_settings_components_field_input.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-input title: "@kbn/management-settings-components-field-input" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-input plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-input'] --- import kbnManagementSettingsComponentsFieldInputObj from './kbn_management_settings_components_field_input.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_row.mdx b/api_docs/kbn_management_settings_components_field_row.mdx index b1352550c85a3..d328cfeaedd37 100644 --- a/api_docs/kbn_management_settings_components_field_row.mdx +++ b/api_docs/kbn_management_settings_components_field_row.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-row title: "@kbn/management-settings-components-field-row" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-row plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-row'] --- import kbnManagementSettingsComponentsFieldRowObj from './kbn_management_settings_components_field_row.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_form.mdx b/api_docs/kbn_management_settings_components_form.mdx index a0eda8f3c2b75..59acd227f9ce4 100644 --- a/api_docs/kbn_management_settings_components_form.mdx +++ b/api_docs/kbn_management_settings_components_form.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-form title: "@kbn/management-settings-components-form" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-form plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-form'] --- import kbnManagementSettingsComponentsFormObj from './kbn_management_settings_components_form.devdocs.json'; diff --git a/api_docs/kbn_management_settings_field_definition.mdx b/api_docs/kbn_management_settings_field_definition.mdx index 9340c74a999b4..5843fae2c4013 100644 --- a/api_docs/kbn_management_settings_field_definition.mdx +++ b/api_docs/kbn_management_settings_field_definition.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-field-definition title: "@kbn/management-settings-field-definition" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-field-definition plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-field-definition'] --- import kbnManagementSettingsFieldDefinitionObj from './kbn_management_settings_field_definition.devdocs.json'; diff --git a/api_docs/kbn_management_settings_ids.devdocs.json b/api_docs/kbn_management_settings_ids.devdocs.json index a9745d04f0356..9c877724f217c 100644 --- a/api_docs/kbn_management_settings_ids.devdocs.json +++ b/api_docs/kbn_management_settings_ids.devdocs.json @@ -1327,21 +1327,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/management-settings-ids", - "id": "def-common.OBSERVABILITY_ENABLE_LOGS_STREAM", - "type": "string", - "tags": [], - "label": "OBSERVABILITY_ENABLE_LOGS_STREAM", - "description": [], - "signature": [ - "\"observability:enableLogsStream\"" - ], - "path": "packages/kbn-management/settings/setting_ids/index.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/management-settings-ids", "id": "def-common.OBSERVABILITY_ENTITY_CENTRIC_EXPERIENCE", diff --git a/api_docs/kbn_management_settings_ids.mdx b/api_docs/kbn_management_settings_ids.mdx index 7c3f327ccb619..930e86b0cb680 100644 --- a/api_docs/kbn_management_settings_ids.mdx +++ b/api_docs/kbn_management_settings_ids.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-ids title: "@kbn/management-settings-ids" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-ids plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-ids'] --- import kbnManagementSettingsIdsObj from './kbn_management_settings_ids.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 137 | 0 | 136 | 0 | +| 136 | 0 | 135 | 0 | ## Common diff --git a/api_docs/kbn_management_settings_section_registry.mdx b/api_docs/kbn_management_settings_section_registry.mdx index 5a4c0c84e6803..08d30d72df8b1 100644 --- a/api_docs/kbn_management_settings_section_registry.mdx +++ b/api_docs/kbn_management_settings_section_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-section-registry title: "@kbn/management-settings-section-registry" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-section-registry plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-section-registry'] --- import kbnManagementSettingsSectionRegistryObj from './kbn_management_settings_section_registry.devdocs.json'; diff --git a/api_docs/kbn_management_settings_types.mdx b/api_docs/kbn_management_settings_types.mdx index f2384dd9e2f87..9a314a3bcaf76 100644 --- a/api_docs/kbn_management_settings_types.mdx +++ b/api_docs/kbn_management_settings_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-types title: "@kbn/management-settings-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-types'] --- import kbnManagementSettingsTypesObj from './kbn_management_settings_types.devdocs.json'; diff --git a/api_docs/kbn_management_settings_utilities.mdx b/api_docs/kbn_management_settings_utilities.mdx index e00a71497e297..329d6d514816a 100644 --- a/api_docs/kbn_management_settings_utilities.mdx +++ b/api_docs/kbn_management_settings_utilities.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-utilities title: "@kbn/management-settings-utilities" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-utilities plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-utilities'] --- import kbnManagementSettingsUtilitiesObj from './kbn_management_settings_utilities.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index fbcacdc40c346..4ca75b23625c9 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-storybook-config'] --- import kbnManagementStorybookConfigObj from './kbn_management_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_manifest.mdx b/api_docs/kbn_manifest.mdx index 668bb56c52b9e..334276f0b1844 100644 --- a/api_docs/kbn_manifest.mdx +++ b/api_docs/kbn_manifest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-manifest title: "@kbn/manifest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/manifest plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/manifest'] --- import kbnManifestObj from './kbn_manifest.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.devdocs.json b/api_docs/kbn_mapbox_gl.devdocs.json index 2f8e5ff4b1091..51d2bbba3ec88 100644 --- a/api_docs/kbn_mapbox_gl.devdocs.json +++ b/api_docs/kbn_mapbox_gl.devdocs.json @@ -9624,7 +9624,7 @@ "signature": [ "any" ], - "path": "packages/kbn-mapbox-gl/index.ts", + "path": "src/platform/packages/private/kbn-mapbox-gl/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 0d2d6cf0ef0fb..0f3b1a090feab 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_maps_vector_tile_utils.devdocs.json b/api_docs/kbn_maps_vector_tile_utils.devdocs.json index d9dd62f526990..6070222a5b2c6 100644 --- a/api_docs/kbn_maps_vector_tile_utils.devdocs.json +++ b/api_docs/kbn_maps_vector_tile_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(params: Record) => string" ], - "path": "x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts", + "path": "x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "Record" ], - "path": "x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts", + "path": "x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_maps_vector_tile_utils.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index cd64d5c0a8181..d77827e46b8ce 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/maps-vector-tile-utils'] --- import kbnMapsVectorTileUtilsObj from './kbn_maps_vector_tile_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.devdocs.json b/api_docs/kbn_ml_agg_utils.devdocs.json index ebfc86245c21e..d20d375a4744b 100644 --- a/api_docs/kbn_ml_agg_utils.devdocs.json +++ b/api_docs/kbn_ml_agg_utils.devdocs.json @@ -471,7 +471,8 @@ "section": "def-common.NumberValidationResult", "text": "NumberValidationResult" }, - " | null) & _.MemoizedFunction" + " | null) & ", + "MemoizedFunction" ], "path": "x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts", "deprecated": false, diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 9a8e5cc6809b8..9b140bf2c7427 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index 6a3eb87c1553b..e71548dec71c5 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-anomaly-utils'] --- import kbnMlAnomalyUtilsObj from './kbn_ml_anomaly_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_cancellable_search.mdx b/api_docs/kbn_ml_cancellable_search.mdx index 9a9a160d5e362..872fe2e90f859 100644 --- a/api_docs/kbn_ml_cancellable_search.mdx +++ b/api_docs/kbn_ml_cancellable_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-cancellable-search title: "@kbn/ml-cancellable-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-cancellable-search plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-cancellable-search'] --- import kbnMlCancellableSearchObj from './kbn_ml_cancellable_search.devdocs.json'; diff --git a/api_docs/kbn_ml_category_validator.mdx b/api_docs/kbn_ml_category_validator.mdx index cb8aa1cd9d7d4..7f235da1cc9b6 100644 --- a/api_docs/kbn_ml_category_validator.mdx +++ b/api_docs/kbn_ml_category_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-category-validator title: "@kbn/ml-category-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-category-validator plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-category-validator'] --- import kbnMlCategoryValidatorObj from './kbn_ml_category_validator.devdocs.json'; diff --git a/api_docs/kbn_ml_chi2test.mdx b/api_docs/kbn_ml_chi2test.mdx index ea57430826ff6..0abdcb8984ce8 100644 --- a/api_docs/kbn_ml_chi2test.mdx +++ b/api_docs/kbn_ml_chi2test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-chi2test title: "@kbn/ml-chi2test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-chi2test plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-chi2test'] --- import kbnMlChi2testObj from './kbn_ml_chi2test.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index fea4aa272ef69..36ce0b7a3e0c6 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-frame-analytics-utils'] --- import kbnMlDataFrameAnalyticsUtilsObj from './kbn_ml_data_frame_analytics_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index fd910f03eb242..b980959b81a86 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-grid'] --- import kbnMlDataGridObj from './kbn_ml_data_grid.devdocs.json'; diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index aaf9eceba696a..f79acf7d83428 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-picker'] --- import kbnMlDatePickerObj from './kbn_ml_date_picker.devdocs.json'; diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index c75b7b7132c0d..952b99c700c2b 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-utils'] --- import kbnMlDateUtilsObj from './kbn_ml_date_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index 52f914ed5bf83..c3d9313d2759f 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_field_stats_flyout.mdx b/api_docs/kbn_ml_field_stats_flyout.mdx index 1a547d10a96cb..ed4a1b56d7207 100644 --- a/api_docs/kbn_ml_field_stats_flyout.mdx +++ b/api_docs/kbn_ml_field_stats_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-field-stats-flyout title: "@kbn/ml-field-stats-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-field-stats-flyout plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-field-stats-flyout'] --- import kbnMlFieldStatsFlyoutObj from './kbn_ml_field_stats_flyout.devdocs.json'; diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index f6235f21adff4..c1352186d4bc2 100644 --- a/api_docs/kbn_ml_in_memory_table.mdx +++ b/api_docs/kbn_ml_in_memory_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-in-memory-table title: "@kbn/ml-in-memory-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-in-memory-table plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-in-memory-table'] --- import kbnMlInMemoryTableObj from './kbn_ml_in_memory_table.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index f511cee37d612..5ec6638e032aa 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] --- import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 959d5fada301f..960369adaed6a 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index 16f53d6c15ffd..d494888dbb4df 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-kibana-theme'] --- import kbnMlKibanaThemeObj from './kbn_ml_kibana_theme.devdocs.json'; diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index daebb1b1afac5..0574b6e80b0aa 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] --- import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index 193780361ca70..1657272a6333b 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-nested-property'] --- import kbnMlNestedPropertyObj from './kbn_ml_nested_property.devdocs.json'; diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index 51bb6e31fea9e..956dbe7830e83 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-number-utils'] --- import kbnMlNumberUtilsObj from './kbn_ml_number_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_parse_interval.mdx b/api_docs/kbn_ml_parse_interval.mdx index d4d47be97f261..f7345ced75b2f 100644 --- a/api_docs/kbn_ml_parse_interval.mdx +++ b/api_docs/kbn_ml_parse_interval.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-parse-interval title: "@kbn/ml-parse-interval" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-parse-interval plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-parse-interval'] --- import kbnMlParseIntervalObj from './kbn_ml_parse_interval.devdocs.json'; diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index 25c567ec441f7..ae7137dd7cef0 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index 024b2c48afbf8..710bddfa5dfc6 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index 16f7e91473c8a..1bdd326c54133 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-route-utils'] --- import kbnMlRouteUtilsObj from './kbn_ml_route_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index 949a90ee41e6b..72eed788f406c 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-runtime-field-utils'] --- import kbnMlRuntimeFieldUtilsObj from './kbn_ml_runtime_field_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index deddf6ec8972d..4aabbe81f9f47 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_ml_time_buckets.mdx b/api_docs/kbn_ml_time_buckets.mdx index 6e7199513d252..a1ecd1ecfce68 100644 --- a/api_docs/kbn_ml_time_buckets.mdx +++ b/api_docs/kbn_ml_time_buckets.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-time-buckets title: "@kbn/ml-time-buckets" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-time-buckets plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-time-buckets'] --- import kbnMlTimeBucketsObj from './kbn_ml_time_buckets.devdocs.json'; diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index 558b61354f352..dd6326ae431c8 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_ui_actions.mdx b/api_docs/kbn_ml_ui_actions.mdx index 01eaaa562d2a0..972f51661bb21 100644 --- a/api_docs/kbn_ml_ui_actions.mdx +++ b/api_docs/kbn_ml_ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-ui-actions title: "@kbn/ml-ui-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-ui-actions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-ui-actions'] --- import kbnMlUiActionsObj from './kbn_ml_ui_actions.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index 743d91185cac4..54bf07e5f72be 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_ml_validators.mdx b/api_docs/kbn_ml_validators.mdx index 93cad8bfd8dde..b74a1f7627a00 100644 --- a/api_docs/kbn_ml_validators.mdx +++ b/api_docs/kbn_ml_validators.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-validators title: "@kbn/ml-validators" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-validators plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-validators'] --- import kbnMlValidatorsObj from './kbn_ml_validators.devdocs.json'; diff --git a/api_docs/kbn_mock_idp_utils.mdx b/api_docs/kbn_mock_idp_utils.mdx index 743da6d0f9617..e1b0e09e4c631 100644 --- a/api_docs/kbn_mock_idp_utils.mdx +++ b/api_docs/kbn_mock_idp_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mock-idp-utils title: "@kbn/mock-idp-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mock-idp-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mock-idp-utils'] --- import kbnMockIdpUtilsObj from './kbn_mock_idp_utils.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 211a4449cf0de..7c50ed183874b 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_object_versioning.mdx b/api_docs/kbn_object_versioning.mdx index d9b2a5d3a68c0..b1c28ab8aa4f5 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning'] --- import kbnObjectVersioningObj from './kbn_object_versioning.devdocs.json'; diff --git a/api_docs/kbn_object_versioning_utils.mdx b/api_docs/kbn_object_versioning_utils.mdx index bc073b15ca8fa..14fbe76df421b 100644 --- a/api_docs/kbn_object_versioning_utils.mdx +++ b/api_docs/kbn_object_versioning_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning-utils title: "@kbn/object-versioning-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning-utils'] --- import kbnObjectVersioningUtilsObj from './kbn_object_versioning_utils.devdocs.json'; diff --git a/api_docs/kbn_observability_alert_details.mdx b/api_docs/kbn_observability_alert_details.mdx index fe283ebbbb9bd..43ac6aea4f575 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_observability_alerting_rule_utils.mdx b/api_docs/kbn_observability_alerting_rule_utils.mdx index 312454b73b051..cd16e9c83a636 100644 --- a/api_docs/kbn_observability_alerting_rule_utils.mdx +++ b/api_docs/kbn_observability_alerting_rule_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alerting-rule-utils title: "@kbn/observability-alerting-rule-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alerting-rule-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alerting-rule-utils'] --- import kbnObservabilityAlertingRuleUtilsObj from './kbn_observability_alerting_rule_utils.devdocs.json'; diff --git a/api_docs/kbn_observability_alerting_test_data.mdx b/api_docs/kbn_observability_alerting_test_data.mdx index 6fcb2d55a6f4b..5dc9a8e2a75d7 100644 --- a/api_docs/kbn_observability_alerting_test_data.mdx +++ b/api_docs/kbn_observability_alerting_test_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alerting-test-data title: "@kbn/observability-alerting-test-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alerting-test-data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alerting-test-data'] --- import kbnObservabilityAlertingTestDataObj from './kbn_observability_alerting_test_data.devdocs.json'; diff --git a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx index 5420bc2d6fa7d..c7ffcecb11c79 100644 --- a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx +++ b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-get-padded-alert-time-range-util title: "@kbn/observability-get-padded-alert-time-range-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-get-padded-alert-time-range-util plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-get-padded-alert-time-range-util'] --- import kbnObservabilityGetPaddedAlertTimeRangeUtilObj from './kbn_observability_get_padded_alert_time_range_util.devdocs.json'; diff --git a/api_docs/kbn_observability_logs_overview.devdocs.json b/api_docs/kbn_observability_logs_overview.devdocs.json index e43439900367a..e445f48d30f77 100644 --- a/api_docs/kbn_observability_logs_overview.devdocs.json +++ b/api_docs/kbn_observability_logs_overview.devdocs.json @@ -21,7 +21,7 @@ }, ">" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -75,7 +75,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -95,7 +95,7 @@ "text": "LogsOverviewErrorContentProps" } ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -114,7 +114,7 @@ "signature": [ "({}: {}) => React.JSX.Element" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -128,7 +128,7 @@ "signature": [ "{}" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -146,7 +146,7 @@ "tags": [], "label": "DataViewLogsSourceConfiguration", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -160,7 +160,7 @@ "signature": [ "\"data_view\"" ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -180,7 +180,7 @@ "text": "DataView" } ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -194,7 +194,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false } @@ -208,7 +208,7 @@ "tags": [], "label": "IndexNameLogsSourceConfiguration", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -222,7 +222,7 @@ "signature": [ "\"index_name\"" ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -233,7 +233,7 @@ "tags": [], "label": "indexName", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -244,7 +244,7 @@ "tags": [], "label": "timestampField", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -255,7 +255,7 @@ "tags": [], "label": "messageField", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false } @@ -269,7 +269,7 @@ "tags": [], "label": "LogsOverviewErrorContentProps", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -283,7 +283,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx", "deprecated": false, "trackAdoption": false } @@ -297,7 +297,7 @@ "tags": [], "label": "LogsOverviewProps", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -338,7 +338,7 @@ }, "; }" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false }, @@ -353,7 +353,7 @@ "QueryDslQueryContainer", "[] | undefined" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false }, @@ -374,7 +374,7 @@ }, " | undefined" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false }, @@ -388,7 +388,7 @@ "signature": [ "{ start: string; end: string; }" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false } @@ -402,7 +402,7 @@ "tags": [], "label": "SharedSettingLogsSourceConfiguration", "description": [], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -416,7 +416,7 @@ "signature": [ "\"shared_setting\"" ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -430,7 +430,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false }, @@ -444,7 +444,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false } @@ -491,7 +491,7 @@ }, "; }" ], - "path": "x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -528,7 +528,7 @@ "text": "DataViewLogsSourceConfiguration" } ], - "path": "x-pack/packages/observability/logs_overview/src/utils/logs_source.ts", + "path": "x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_observability_logs_overview.mdx b/api_docs/kbn_observability_logs_overview.mdx index b7182c6c9a9b5..999a91385f641 100644 --- a/api_docs/kbn_observability_logs_overview.mdx +++ b/api_docs/kbn_observability_logs_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-logs-overview title: "@kbn/observability-logs-overview" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-logs-overview plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-logs-overview'] --- import kbnObservabilityLogsOverviewObj from './kbn_observability_logs_overview.devdocs.json'; diff --git a/api_docs/kbn_observability_synthetics_test_data.mdx b/api_docs/kbn_observability_synthetics_test_data.mdx index 1cc1940856488..44ea5be6e0d62 100644 --- a/api_docs/kbn_observability_synthetics_test_data.mdx +++ b/api_docs/kbn_observability_synthetics_test_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-synthetics-test-data title: "@kbn/observability-synthetics-test-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-synthetics-test-data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-synthetics-test-data'] --- import kbnObservabilitySyntheticsTestDataObj from './kbn_observability_synthetics_test_data.devdocs.json'; diff --git a/api_docs/kbn_openapi_bundler.mdx b/api_docs/kbn_openapi_bundler.mdx index 69f7de8503441..115dbe5af16d6 100644 --- a/api_docs/kbn_openapi_bundler.mdx +++ b/api_docs/kbn_openapi_bundler.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-bundler title: "@kbn/openapi-bundler" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-bundler plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-bundler'] --- import kbnOpenapiBundlerObj from './kbn_openapi_bundler.devdocs.json'; diff --git a/api_docs/kbn_openapi_generator.mdx b/api_docs/kbn_openapi_generator.mdx index fc2ae8eab213d..3fedfd7f65533 100644 --- a/api_docs/kbn_openapi_generator.mdx +++ b/api_docs/kbn_openapi_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-generator title: "@kbn/openapi-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-generator plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-generator'] --- import kbnOpenapiGeneratorObj from './kbn_openapi_generator.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 552e951d56f2b..e1698b36e8b55 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 418c340d7393d..612e829d369cc 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index f153ff52b0283..c4dc0bca71aa7 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_palettes.mdx b/api_docs/kbn_palettes.mdx index 2201e7c0c4c79..adddda98ade8d 100644 --- a/api_docs/kbn_palettes.mdx +++ b/api_docs/kbn_palettes.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-palettes title: "@kbn/palettes" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/palettes plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/palettes'] --- import kbnPalettesObj from './kbn_palettes.devdocs.json'; diff --git a/api_docs/kbn_panel_loader.devdocs.json b/api_docs/kbn_panel_loader.devdocs.json index 666bb9078ab7e..e5b33ccfbff57 100644 --- a/api_docs/kbn_panel_loader.devdocs.json +++ b/api_docs/kbn_panel_loader.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(props: { showShadow?: boolean | undefined; showBorder?: boolean | undefined; dataTestSubj?: string | undefined; }) => React.JSX.Element" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -24,7 +24,7 @@ "tags": [], "label": "props", "description": [], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -38,7 +38,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -52,7 +52,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -66,7 +66,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_panel_loader.mdx b/api_docs/kbn_panel_loader.mdx index 9908d0fdda2de..843c32e3e33a1 100644 --- a/api_docs/kbn_panel_loader.mdx +++ b/api_docs/kbn_panel_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-panel-loader title: "@kbn/panel-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/panel-loader plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/panel-loader'] --- import kbnPanelLoaderObj from './kbn_panel_loader.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index d206bcaa6309b..e3feb3e8db1c4 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_check.mdx b/api_docs/kbn_plugin_check.mdx index b331869e61a41..b0c7e5ef58b50 100644 --- a/api_docs/kbn_plugin_check.mdx +++ b/api_docs/kbn_plugin_check.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-check title: "@kbn/plugin-check" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-check plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-check'] --- import kbnPluginCheckObj from './kbn_plugin_check.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 9b753cc4b829c..e02512f4bbaa4 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 12b00d45d0547..0e11aae6d1247 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_presentation_containers.devdocs.json b/api_docs/kbn_presentation_containers.devdocs.json index 305426d8d15c6..e8cc526c4bb59 100644 --- a/api_docs/kbn_presentation_containers.devdocs.json +++ b/api_docs/kbn_presentation_containers.devdocs.json @@ -22,7 +22,7 @@ "text": "CanAddNewPanel" } ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36,7 +36,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "text": "CanDuplicatePanels" } ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "text": "CanExpandPanels" } ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -116,7 +116,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -143,7 +143,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -157,7 +157,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -183,7 +183,7 @@ "text": "HasSaveNotification" } ], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -197,7 +197,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -224,7 +224,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -238,7 +238,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -265,7 +265,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -279,7 +279,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -305,7 +305,7 @@ "text": "PresentationContainer" } ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -319,7 +319,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -345,7 +345,7 @@ "text": "PublishesSettings" } ], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -359,7 +359,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -385,7 +385,7 @@ "text": "TrackContentfulRender" } ], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -399,7 +399,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -430,7 +430,7 @@ "Observable", "<{ [key: string]: object; } | undefined>" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -451,7 +451,7 @@ }, "<{ [key: string]: unknown; }>" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -472,7 +472,7 @@ "Observable", "" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -486,7 +486,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -501,7 +501,7 @@ "signature": [ "keyof ApiType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -516,7 +516,7 @@ "signature": [ "(api: unknown) => api is ApiType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -531,7 +531,7 @@ "signature": [ "PublishingSubjectType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -546,7 +546,7 @@ "signature": [ "((array: PublishingSubjectType[]) => PublishingSubjectType) | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -573,7 +573,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -587,7 +587,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -630,7 +630,7 @@ }, "; cleanup: () => void; }" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -644,7 +644,7 @@ "signature": [ "RuntimeState" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -659,7 +659,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -681,7 +681,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -700,7 +700,7 @@ "signature": [ "(parent: unknown, isCompatible: (api: unknown) => api is ApiType, apiFound: (api: ApiType | undefined) => void | (() => void)) => () => void" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -714,7 +714,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -729,7 +729,7 @@ "signature": [ "(api: unknown) => api is ApiType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -744,7 +744,7 @@ "signature": [ "(api: ApiType | undefined) => void | (() => void)" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -770,7 +770,7 @@ "text": "TracksOverlays" } ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -784,7 +784,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -804,7 +804,7 @@ "description": [ "\nThis API can add a new panel as a child." ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -826,7 +826,7 @@ }, ", displaySuccessMessage?: boolean | undefined) => Promise" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -847,7 +847,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -862,7 +862,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -880,7 +880,7 @@ "tags": [], "label": "CanDuplicatePanels", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -894,7 +894,7 @@ "signature": [ "(panelId: string) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -908,7 +908,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -926,7 +926,7 @@ "tags": [], "label": "CanExpandPanels", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -940,7 +940,7 @@ "signature": [ "(panelId: string) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -954,7 +954,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1122,7 +1122,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false } @@ -1146,7 +1146,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1160,7 +1160,7 @@ "signature": [ "(childId: string) => Partial | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1174,7 +1174,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1192,7 +1192,7 @@ "tags": [], "label": "HasSaveNotification", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1207,7 +1207,7 @@ "Subject", "" ], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false } @@ -1231,7 +1231,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,7 +1255,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1281,7 +1281,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1303,7 +1303,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1317,7 +1317,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1345,7 +1345,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1361,7 +1361,7 @@ "signature": [ "() => RuntimeState" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1387,7 +1387,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1398,7 +1398,7 @@ "tags": [], "label": "panelType", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false }, @@ -1412,7 +1412,7 @@ "signature": [ "SerializedState | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false } @@ -1443,7 +1443,7 @@ "text": "CanAddNewPanel" } ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1459,7 +1459,7 @@ "signature": [ "(panelId: string) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1473,7 +1473,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1493,7 +1493,7 @@ "signature": [ "(() => boolean) | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1519,7 +1519,7 @@ }, ") => Promise" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1533,7 +1533,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1555,7 +1555,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1575,7 +1575,7 @@ "signature": [ "() => number" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1743,7 +1743,7 @@ "Observable", "<{ [key: string]: unknown; }>; }" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false } @@ -1757,7 +1757,7 @@ "tags": [], "label": "PublishesSettings", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1779,7 +1779,7 @@ }, "; }" ], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false } @@ -1805,7 +1805,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1826,7 +1826,7 @@ }, "[] | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false }, @@ -1840,7 +1840,7 @@ "signature": [ "RawStateType" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false } @@ -1854,7 +1854,7 @@ "tags": [], "label": "TrackContentfulRender", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1870,7 +1870,7 @@ "signature": [ "() => void" ], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1886,7 +1886,7 @@ "tags": [], "label": "TracksOverlays", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1910,7 +1910,7 @@ "TracksOverlaysOptions", " | undefined) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1930,7 +1930,7 @@ "text": "OverlayRef" } ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1946,7 +1946,7 @@ "TracksOverlaysOptions", " | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1964,7 +1964,7 @@ "signature": [ "() => void" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_presentation_containers.mdx b/api_docs/kbn_presentation_containers.mdx index 41907de7faedf..e92dfbbb66877 100644 --- a/api_docs/kbn_presentation_containers.mdx +++ b/api_docs/kbn_presentation_containers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-containers title: "@kbn/presentation-containers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-containers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-containers'] --- import kbnPresentationContainersObj from './kbn_presentation_containers.devdocs.json'; diff --git a/api_docs/kbn_presentation_publishing.devdocs.json b/api_docs/kbn_presentation_publishing.devdocs.json index 4ceb8a61c0e47..4300e8875526b 100644 --- a/api_docs/kbn_presentation_publishing.devdocs.json +++ b/api_docs/kbn_presentation_publishing.devdocs.json @@ -22,7 +22,7 @@ "text": "CanAccessViewMode" } ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36,7 +36,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "text": "CanLockHoverActions" } ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "text": "HasAppContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -116,7 +116,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -142,7 +142,7 @@ "text": "HasDisableTriggers" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -156,7 +156,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -182,7 +182,7 @@ "text": "HasExecutionContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -196,7 +196,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -223,7 +223,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -237,7 +237,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -265,25 +265,25 @@ "text": "HasLegacyLibraryTransforms" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" } ], "children": [ @@ -297,7 +297,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -324,7 +324,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -338,7 +338,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -367,7 +367,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -381,7 +381,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -407,7 +407,7 @@ "text": "HasSupportedTriggers" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -421,7 +421,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -448,7 +448,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -462,7 +462,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -488,7 +488,7 @@ "text": "HasUniqueId" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -502,7 +502,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -529,7 +529,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -543,7 +543,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -558,7 +558,7 @@ "signature": [ "T" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -584,7 +584,7 @@ "text": "PublishesBlockingError" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -598,7 +598,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -624,7 +624,7 @@ "text": "PublishesDataLoading" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -638,7 +638,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -664,7 +664,7 @@ "text": "PublishesDataViews" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -678,7 +678,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -706,7 +706,7 @@ "text": "PublishesDisabledActionIds" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -720,7 +720,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -746,7 +746,7 @@ "text": "PublishesFilters" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -760,7 +760,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -786,7 +786,7 @@ "text": "PublishesPanelDescription" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -800,7 +800,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -826,7 +826,7 @@ "text": "PublishesPanelTitle" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -840,7 +840,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -867,7 +867,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -881,7 +881,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -907,7 +907,7 @@ "text": "PublishesPhaseEvents" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -921,7 +921,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -947,7 +947,7 @@ "text": "PublishesReload" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -961,7 +961,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -987,7 +987,7 @@ "text": "PublishesRendered" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1001,7 +1001,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1029,7 +1029,7 @@ "text": "PublishesSavedObjectId" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1043,7 +1043,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1069,7 +1069,7 @@ "text": "PublishesTimeRange" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1083,7 +1083,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1109,7 +1109,7 @@ "text": "PublishesTimeslice" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1123,7 +1123,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1149,7 +1149,7 @@ "text": "PublishesUnifiedSearch" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1163,7 +1163,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1190,7 +1190,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1204,7 +1204,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1232,7 +1232,7 @@ "text": "PublishesViewMode" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1246,7 +1246,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1272,7 +1272,7 @@ "text": "PublishesWritablePanelDescription" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1286,7 +1286,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1312,7 +1312,7 @@ "text": "PublishesWritablePanelTitle" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1326,7 +1326,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1352,7 +1352,7 @@ "text": "PublishesWritableUnifiedSearch" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1366,7 +1366,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1392,7 +1392,7 @@ "text": "PublishesWritableViewMode" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1406,7 +1406,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1425,7 +1425,7 @@ "signature": [ "(api: unknown) => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1439,7 +1439,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1468,7 +1468,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1482,7 +1482,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1519,7 +1519,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1540,7 +1540,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1567,7 +1567,7 @@ }, ", comparatorKeys: (keyof StateType)[]) => Partial" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1588,7 +1588,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1603,7 +1603,7 @@ "signature": [ "(keyof StateType)[]" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1630,7 +1630,7 @@ }, ">) => string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1652,7 +1652,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1679,7 +1679,7 @@ }, ">) => string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1701,7 +1701,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1730,7 +1730,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/comparators/fallback_comparator.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1771,7 +1771,7 @@ }, "> | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1792,7 +1792,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1811,7 +1811,7 @@ "signature": [ "(api: unknown) => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1825,7 +1825,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1853,7 +1853,7 @@ "text": "HasEditCapabilities" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1867,7 +1867,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1920,7 +1920,7 @@ }, ">; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1940,7 +1940,7 @@ "text": "SerializedTimeRange" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1993,7 +1993,7 @@ }, "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2013,7 +2013,7 @@ "text": "SerializedTitles" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2040,7 +2040,7 @@ }, ", comparatorKeys: (keyof StateType)[], lastSavedState: StateType | undefined, latestState: Partial) => Partial | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2061,7 +2061,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2076,7 +2076,7 @@ "signature": [ "(keyof StateType)[]" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2091,7 +2091,7 @@ "signature": [ "StateType | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2106,7 +2106,7 @@ "signature": [ "Partial" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2132,7 +2132,7 @@ "text": "SerializedTitles" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2146,7 +2146,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2171,7 +2171,7 @@ "UnwrapPublishingSubjectTuple", "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2187,7 +2187,7 @@ "signature": [ "[...SubjectsType]" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2218,7 +2218,7 @@ "UnwrapPublishingSubjectTuple", "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2234,7 +2234,7 @@ "signature": [ "[...SubjectsType]" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2260,7 +2260,7 @@ "text": "FetchContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2274,7 +2274,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2319,7 +2319,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2333,7 +2333,7 @@ "signature": [ "ApiType | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2362,7 +2362,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2378,7 +2378,7 @@ "signature": [ "T" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2469,7 +2469,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2480,7 +2480,7 @@ "tags": [], "label": "{\n filters,\n query,\n timeRange,\n}", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2501,7 +2501,7 @@ }, "[] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false }, @@ -2530,7 +2530,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false }, @@ -2551,7 +2551,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -2591,7 +2591,7 @@ "ValueFromPublishingSubject", "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2607,7 +2607,7 @@ "signature": [ "SubjectType" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2627,7 +2627,7 @@ "description": [ "\nThis API can lock hover actions" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2791,7 +2791,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -2805,7 +2805,7 @@ "signature": [ "(lock: boolean) => void" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2819,7 +2819,7 @@ "signature": [ "boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2837,7 +2837,7 @@ "tags": [], "label": "EmbeddableApiContext", "description": [], - "path": "packages/presentation/presentation_publishing/index.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2853,7 +2853,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/index.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/index.ts", "deprecated": false, "trackAdoption": false } @@ -2867,7 +2867,7 @@ "tags": [], "label": "EmbeddableAppContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2883,7 +2883,7 @@ "signature": [ "(() => string) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2896,7 +2896,7 @@ "tags": [], "label": "currentAppId", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false } @@ -2910,7 +2910,7 @@ "tags": [], "label": "FetchContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2921,7 +2921,7 @@ "tags": [], "label": "isReload", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -2942,7 +2942,7 @@ }, "[] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -2971,7 +2971,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -2985,7 +2985,7 @@ "signature": [ "string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -3006,7 +3006,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -3020,7 +3020,7 @@ "signature": [ "[number, number] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false } @@ -3034,7 +3034,7 @@ "tags": [], "label": "HasAppContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3055,7 +3055,7 @@ "text": "EmbeddableAppContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3071,7 +3071,7 @@ "tags": [], "label": "HasDisableTriggers", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3082,7 +3082,7 @@ "tags": [], "label": "disableTriggers", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false } @@ -3115,7 +3115,7 @@ "text": "HasTypeDisplayName" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3129,7 +3129,7 @@ "signature": [ "() => Promise" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3145,7 +3145,7 @@ "signature": [ "() => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3161,7 +3161,7 @@ "signature": [ "(() => Promise) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3177,7 +3177,7 @@ "tags": [], "label": "HasExecutionContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3199,7 +3199,7 @@ }, " | undefined; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false } @@ -3225,7 +3225,7 @@ }, " extends Partial,DuplicateTitleCheck" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3391,7 +3391,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false }, @@ -3407,7 +3407,7 @@ "signature": [ "(title: string) => Promise" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3421,7 +3421,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3443,7 +3443,7 @@ "signature": [ "() => RuntimeState" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3461,7 +3461,7 @@ "signature": [ "() => void" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3489,7 +3489,7 @@ }, " extends LibraryTransformGuards,DuplicateTitleCheck" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -3511,35 +3511,35 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/library_transforms.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/library_transforms.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts" } ], "children": [ @@ -3555,7 +3555,7 @@ "signature": [ "(title: string) => Promise" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3569,7 +3569,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3591,7 +3591,7 @@ "signature": [ "(libraryId: string) => StateT" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3605,7 +3605,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3627,7 +3627,7 @@ "signature": [ "() => StateT" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3655,7 +3655,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3669,7 +3669,7 @@ "signature": [ "ParentApiType" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false } @@ -3683,7 +3683,7 @@ "tags": [], "label": "HasSupportedTriggers", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3697,7 +3697,7 @@ "signature": [ "() => string[]" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3723,7 +3723,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3737,7 +3737,7 @@ "signature": [ "T" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false } @@ -3751,7 +3751,7 @@ "tags": [], "label": "HasTypeDisplayName", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3765,7 +3765,7 @@ "signature": [ "() => string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3781,7 +3781,7 @@ "signature": [ "(() => string) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3797,7 +3797,7 @@ "tags": [], "label": "HasUniqueId", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3808,7 +3808,7 @@ "tags": [], "label": "uuid", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false } @@ -3822,7 +3822,7 @@ "tags": [], "label": "PhaseEvent", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3833,7 +3833,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false }, @@ -3847,7 +3847,7 @@ "signature": [ "\"error\" | \"loading\" | \"rendered\" | \"loaded\"" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false }, @@ -3868,7 +3868,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false }, @@ -3879,7 +3879,7 @@ "tags": [], "label": "timeToEvent", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false } @@ -3893,7 +3893,7 @@ "tags": [], "label": "PublishesBlockingError", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4057,7 +4057,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false } @@ -4071,7 +4071,7 @@ "tags": [], "label": "PublishesDataLoading", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4235,7 +4235,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false } @@ -4249,7 +4249,7 @@ "tags": [], "label": "PublishesDataViews", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4613,7 +4613,7 @@ }, "[] | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false } @@ -4627,7 +4627,7 @@ "tags": [], "label": "PublishesDisabledActionIds", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4791,7 +4791,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false }, @@ -4805,7 +4805,7 @@ "signature": [ "(ids: string[] | undefined) => void" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4819,7 +4819,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4837,7 +4837,7 @@ "signature": [ "(() => boolean) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4853,7 +4853,7 @@ "tags": [], "label": "PublishesFilters", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5217,7 +5217,7 @@ }, "[] | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -5231,7 +5231,7 @@ "tags": [], "label": "PublishesPanelDescription", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5395,7 +5395,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false }, @@ -5416,7 +5416,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false } @@ -5430,7 +5430,7 @@ "tags": [], "label": "PublishesPanelTitle", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5594,7 +5594,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false }, @@ -5758,7 +5758,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false }, @@ -5779,7 +5779,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false } @@ -5793,7 +5793,7 @@ "tags": [], "label": "PublishesPhaseEvents", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6157,7 +6157,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false } @@ -6171,7 +6171,7 @@ "tags": [], "label": "PublishesReload", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6331,7 +6331,7 @@ "Subscription", "; }; toPromise: { (): Promise; (PromiseCtor: PromiseConstructor): Promise; (PromiseCtor: PromiseConstructorLike): Promise; }; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false } @@ -6345,7 +6345,7 @@ "tags": [], "label": "PublishesRendered", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6509,7 +6509,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false } @@ -6525,7 +6525,7 @@ "description": [ "\nThis API publishes a saved object id which can be used to determine which saved object this API is linked to." ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6689,7 +6689,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false } @@ -6721,7 +6721,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7085,7 +7085,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false }, @@ -7106,7 +7106,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -7120,7 +7120,7 @@ "tags": [], "label": "PublishesTimeslice", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7284,7 +7284,7 @@ "Observable", "<[number, number] | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -7308,7 +7308,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7472,7 +7472,7 @@ "Observable", " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false }, @@ -7486,7 +7486,7 @@ "signature": [ "() => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7504,7 +7504,7 @@ "description": [ "\nThis API publishes a universal view mode which can change compatibility of actions and the\nvisibility of components." ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7868,7 +7868,7 @@ }, ">; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false } @@ -7882,7 +7882,7 @@ "tags": [], "label": "SerializedTimeRange", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7903,7 +7903,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false } @@ -7917,7 +7917,7 @@ "tags": [], "label": "SerializedTitles", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7931,7 +7931,7 @@ "signature": [ "string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false }, @@ -7945,7 +7945,7 @@ "signature": [ "string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false }, @@ -7959,7 +7959,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false } @@ -8005,7 +8005,7 @@ }, ">>>" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8036,7 +8036,7 @@ }, " | undefined)?]" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8051,7 +8051,7 @@ "signature": [ "(last: StateType[KeyType] | undefined, current: StateType[KeyType] | undefined, lastState?: Partial | undefined, currentState?: Partial | undefined) => boolean" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -8066,7 +8066,7 @@ "signature": [ "StateType[KeyType] | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8080,7 +8080,7 @@ "signature": [ "StateType[KeyType] | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8094,7 +8094,7 @@ "signature": [ "Partial | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8108,7 +8108,7 @@ "signature": [ "Partial | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false } @@ -8135,25 +8135,25 @@ }, ", \"canLinkToLibrary\" | \"canUnlinkFromLibrary\"> & { linkToLibrary: () => Promise; unlinkFromLibrary: () => Promise; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" } ], "initialIsOpen": false @@ -8170,7 +8170,7 @@ "signature": [ "\"error\" | \"loading\" | \"rendered\" | \"loaded\"" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8224,7 +8224,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8254,7 +8254,7 @@ }, "[]) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8276,7 +8276,7 @@ }, " & { setPanelDescription: (newTitle: string | undefined) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8298,7 +8298,7 @@ }, " & { setPanelTitle: (newTitle: string | undefined) => void; setHidePanelTitle: (hide: boolean | undefined) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8376,7 +8376,7 @@ }, " | undefined) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8408,7 +8408,7 @@ }, ") => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8575,7 +8575,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8598,7 +8598,7 @@ }, "; }" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8613,7 +8613,7 @@ "signature": [ "\"edit\" | \"view\" | \"print\" | \"preview\"" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_presentation_publishing.mdx b/api_docs/kbn_presentation_publishing.mdx index e77ba122396ab..f89cf39a6b636 100644 --- a/api_docs/kbn_presentation_publishing.mdx +++ b/api_docs/kbn_presentation_publishing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-publishing title: "@kbn/presentation-publishing" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-publishing plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-publishing'] --- import kbnPresentationPublishingObj from './kbn_presentation_publishing.devdocs.json'; diff --git a/api_docs/kbn_product_doc_artifact_builder.mdx b/api_docs/kbn_product_doc_artifact_builder.mdx index 8e265aaad8f82..c2fa6c1302250 100644 --- a/api_docs/kbn_product_doc_artifact_builder.mdx +++ b/api_docs/kbn_product_doc_artifact_builder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-product-doc-artifact-builder title: "@kbn/product-doc-artifact-builder" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/product-doc-artifact-builder plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/product-doc-artifact-builder'] --- import kbnProductDocArtifactBuilderObj from './kbn_product_doc_artifact_builder.devdocs.json'; diff --git a/api_docs/kbn_product_doc_common.mdx b/api_docs/kbn_product_doc_common.mdx index ee7aea6f5cfc5..e01400d83b176 100644 --- a/api_docs/kbn_product_doc_common.mdx +++ b/api_docs/kbn_product_doc_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-product-doc-common title: "@kbn/product-doc-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/product-doc-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/product-doc-common'] --- import kbnProductDocCommonObj from './kbn_product_doc_common.devdocs.json'; diff --git a/api_docs/kbn_profiling_utils.mdx b/api_docs/kbn_profiling_utils.mdx index 91a65ca9ae775..b4b6a95e528d1 100644 --- a/api_docs/kbn_profiling_utils.mdx +++ b/api_docs/kbn_profiling_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-profiling-utils title: "@kbn/profiling-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/profiling-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/profiling-utils'] --- import kbnProfilingUtilsObj from './kbn_profiling_utils.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index dc6a9a0ed9326..96b8df160299b 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/random-sampling'] --- import kbnRandomSamplingObj from './kbn_random_sampling.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index 6f4cdea9f072b..147245c172b27 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_react_hooks.devdocs.json b/api_docs/kbn_react_hooks.devdocs.json index 5482346499d30..8f1e72d50efdf 100644 --- a/api_docs/kbn_react_hooks.devdocs.json +++ b/api_docs/kbn_react_hooks.devdocs.json @@ -36,7 +36,7 @@ "text": "UseBooleanResult" } ], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -50,7 +50,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -70,7 +70,7 @@ "() => ", "SerializedStyles" ], - "path": "packages/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -86,7 +86,7 @@ "tags": [], "label": "UseBooleanHandlers", "description": [], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -100,7 +100,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -116,7 +116,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -132,7 +132,7 @@ "signature": [ "(nextValue?: any) => void" ], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -177,7 +177,7 @@ }, "]" ], - "path": "packages/kbn-react-hooks/src/use_boolean/use_boolean.ts", + "path": "src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_react_hooks.mdx b/api_docs/kbn_react_hooks.mdx index 3a10145ba35bb..d8ad87156c18d 100644 --- a/api_docs/kbn_react_hooks.mdx +++ b/api_docs/kbn_react_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-hooks title: "@kbn/react-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-hooks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-hooks'] --- import kbnReactHooksObj from './kbn_react_hooks.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_common.mdx b/api_docs/kbn_react_kibana_context_common.mdx index 03fc6f84d65aa..75f0405cb5a2a 100644 --- a/api_docs/kbn_react_kibana_context_common.mdx +++ b/api_docs/kbn_react_kibana_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-common title: "@kbn/react-kibana-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-common'] --- import kbnReactKibanaContextCommonObj from './kbn_react_kibana_context_common.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_render.devdocs.json b/api_docs/kbn_react_kibana_context_render.devdocs.json index 94ea2f639e0de..46459a91d8c48 100644 --- a/api_docs/kbn_react_kibana_context_render.devdocs.json +++ b/api_docs/kbn_react_kibana_context_render.devdocs.json @@ -93,13 +93,7 @@ "text": "I18nStart" }, "; analytics?: Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined; executionContext?: ", { "pluginId": "@kbn/core-execution-context-browser", diff --git a/api_docs/kbn_react_kibana_context_render.mdx b/api_docs/kbn_react_kibana_context_render.mdx index d7378324be6f0..c6174fe173814 100644 --- a/api_docs/kbn_react_kibana_context_render.mdx +++ b/api_docs/kbn_react_kibana_context_render.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-render title: "@kbn/react-kibana-context-render" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-render plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-render'] --- import kbnReactKibanaContextRenderObj from './kbn_react_kibana_context_render.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_root.devdocs.json b/api_docs/kbn_react_kibana_context_root.devdocs.json index 7460c7c16cc1e..f81ac5f4ff05b 100644 --- a/api_docs/kbn_react_kibana_context_root.devdocs.json +++ b/api_docs/kbn_react_kibana_context_root.devdocs.json @@ -270,13 +270,7 @@ ], "signature": [ "Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined" ], "path": "packages/react/kibana_context/root/root_provider.tsx", diff --git a/api_docs/kbn_react_kibana_context_root.mdx b/api_docs/kbn_react_kibana_context_root.mdx index 10760506ec60b..bb43be4ac7b9e 100644 --- a/api_docs/kbn_react_kibana_context_root.mdx +++ b/api_docs/kbn_react_kibana_context_root.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-root title: "@kbn/react-kibana-context-root" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-root plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-root'] --- import kbnReactKibanaContextRootObj from './kbn_react_kibana_context_root.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_styled.mdx b/api_docs/kbn_react_kibana_context_styled.mdx index 5207801f188e5..3c119e39f08b5 100644 --- a/api_docs/kbn_react_kibana_context_styled.mdx +++ b/api_docs/kbn_react_kibana_context_styled.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-styled title: "@kbn/react-kibana-context-styled" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-styled plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-styled'] --- import kbnReactKibanaContextStyledObj from './kbn_react_kibana_context_styled.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_theme.mdx b/api_docs/kbn_react_kibana_context_theme.mdx index d67252820f935..2e5f56c7a434b 100644 --- a/api_docs/kbn_react_kibana_context_theme.mdx +++ b/api_docs/kbn_react_kibana_context_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-theme title: "@kbn/react-kibana-context-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-theme plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-theme'] --- import kbnReactKibanaContextThemeObj from './kbn_react_kibana_context_theme.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_mount.devdocs.json b/api_docs/kbn_react_kibana_mount.devdocs.json index c55e4669fa28f..bbb272487b6ce 100644 --- a/api_docs/kbn_react_kibana_mount.devdocs.json +++ b/api_docs/kbn_react_kibana_mount.devdocs.json @@ -258,13 +258,7 @@ "text": "I18nStart" }, "; analytics?: Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined; theme: ", { "pluginId": "@kbn/react-kibana-context-common", diff --git a/api_docs/kbn_react_kibana_mount.mdx b/api_docs/kbn_react_kibana_mount.mdx index a08c0341c0323..e99d08e4b283e 100644 --- a/api_docs/kbn_react_kibana_mount.mdx +++ b/api_docs/kbn_react_kibana_mount.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-mount title: "@kbn/react-kibana-mount" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-mount plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-mount'] --- import kbnReactKibanaMountObj from './kbn_react_kibana_mount.devdocs.json'; diff --git a/api_docs/kbn_react_mute_legacy_root_warning.mdx b/api_docs/kbn_react_mute_legacy_root_warning.mdx index 107fd636935db..23c2c59b7ebd8 100644 --- a/api_docs/kbn_react_mute_legacy_root_warning.mdx +++ b/api_docs/kbn_react_mute_legacy_root_warning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-mute-legacy-root-warning title: "@kbn/react-mute-legacy-root-warning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-mute-legacy-root-warning plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-mute-legacy-root-warning'] --- import kbnReactMuteLegacyRootWarningObj from './kbn_react_mute_legacy_root_warning.devdocs.json'; diff --git a/api_docs/kbn_recently_accessed.mdx b/api_docs/kbn_recently_accessed.mdx index 1a8ccb9da6e7e..968cac4318e67 100644 --- a/api_docs/kbn_recently_accessed.mdx +++ b/api_docs/kbn_recently_accessed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-recently-accessed title: "@kbn/recently-accessed" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/recently-accessed plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/recently-accessed'] --- import kbnRecentlyAccessedObj from './kbn_recently_accessed.devdocs.json'; diff --git a/api_docs/kbn_relocate.mdx b/api_docs/kbn_relocate.mdx index 7aa5f48a3e889..812f1eaafad49 100644 --- a/api_docs/kbn_relocate.mdx +++ b/api_docs/kbn_relocate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-relocate title: "@kbn/relocate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/relocate plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/relocate'] --- import kbnRelocateObj from './kbn_relocate.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index 2d1eaa4db95be..3d0e480481bdf 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-file-maps'] --- import kbnRepoFileMapsObj from './kbn_repo_file_maps.devdocs.json'; diff --git a/api_docs/kbn_repo_linter.mdx b/api_docs/kbn_repo_linter.mdx index 32c9fc93b3b21..92024608f5fa6 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-linter'] --- import kbnRepoLinterObj from './kbn_repo_linter.devdocs.json'; diff --git a/api_docs/kbn_repo_path.mdx b/api_docs/kbn_repo_path.mdx index b256130f88657..b62ee8cc2c400 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-path'] --- import kbnRepoPathObj from './kbn_repo_path.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 2c91b679d8654..cfd2885b843ca 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_reporting_common.mdx b/api_docs/kbn_reporting_common.mdx index 3951c221eda2f..48f62d61dc175 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_csv_share_panel.mdx b/api_docs/kbn_reporting_csv_share_panel.mdx index ffc6c2065076a..e1f5d1e914479 100644 --- a/api_docs/kbn_reporting_csv_share_panel.mdx +++ b/api_docs/kbn_reporting_csv_share_panel.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-csv-share-panel title: "@kbn/reporting-csv-share-panel" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-csv-share-panel plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-csv-share-panel'] --- import kbnReportingCsvSharePanelObj from './kbn_reporting_csv_share_panel.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv.mdx b/api_docs/kbn_reporting_export_types_csv.mdx index bc6b00f08b1ce..2ac8ed3d7eae5 100644 --- a/api_docs/kbn_reporting_export_types_csv.mdx +++ b/api_docs/kbn_reporting_export_types_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv title: "@kbn/reporting-export-types-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv'] --- import kbnReportingExportTypesCsvObj from './kbn_reporting_export_types_csv.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv_common.mdx b/api_docs/kbn_reporting_export_types_csv_common.mdx index 97a77c5c378a7..4464e3aafbefe 100644 --- a/api_docs/kbn_reporting_export_types_csv_common.mdx +++ b/api_docs/kbn_reporting_export_types_csv_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv-common title: "@kbn/reporting-export-types-csv-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv-common'] --- import kbnReportingExportTypesCsvCommonObj from './kbn_reporting_export_types_csv_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf.mdx b/api_docs/kbn_reporting_export_types_pdf.mdx index f4a41d1dc9e34..1b839fe19f175 100644 --- a/api_docs/kbn_reporting_export_types_pdf.mdx +++ b/api_docs/kbn_reporting_export_types_pdf.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf title: "@kbn/reporting-export-types-pdf" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf'] --- import kbnReportingExportTypesPdfObj from './kbn_reporting_export_types_pdf.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf_common.mdx b/api_docs/kbn_reporting_export_types_pdf_common.mdx index cdbe046536861..e32e3b5cdddcf 100644 --- a/api_docs/kbn_reporting_export_types_pdf_common.mdx +++ b/api_docs/kbn_reporting_export_types_pdf_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf-common title: "@kbn/reporting-export-types-pdf-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf-common'] --- import kbnReportingExportTypesPdfCommonObj from './kbn_reporting_export_types_pdf_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png.mdx b/api_docs/kbn_reporting_export_types_png.mdx index 70727468adbcd..1c7b750926464 100644 --- a/api_docs/kbn_reporting_export_types_png.mdx +++ b/api_docs/kbn_reporting_export_types_png.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png title: "@kbn/reporting-export-types-png" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png'] --- import kbnReportingExportTypesPngObj from './kbn_reporting_export_types_png.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png_common.mdx b/api_docs/kbn_reporting_export_types_png_common.mdx index 1bb474699632f..70f97b7d20f82 100644 --- a/api_docs/kbn_reporting_export_types_png_common.mdx +++ b/api_docs/kbn_reporting_export_types_png_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png-common title: "@kbn/reporting-export-types-png-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png-common'] --- import kbnReportingExportTypesPngCommonObj from './kbn_reporting_export_types_png_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_mocks_server.mdx b/api_docs/kbn_reporting_mocks_server.mdx index 8655b0ba71896..07ad75810ef35 100644 --- a/api_docs/kbn_reporting_mocks_server.mdx +++ b/api_docs/kbn_reporting_mocks_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-mocks-server title: "@kbn/reporting-mocks-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-mocks-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-mocks-server'] --- import kbnReportingMocksServerObj from './kbn_reporting_mocks_server.devdocs.json'; diff --git a/api_docs/kbn_reporting_public.devdocs.json b/api_docs/kbn_reporting_public.devdocs.json index 474ecf1139f3e..e6bbec136221d 100644 --- a/api_docs/kbn_reporting_public.devdocs.json +++ b/api_docs/kbn_reporting_public.devdocs.json @@ -1780,13 +1780,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "packages/kbn-reporting/public/index.ts", "deprecated": false, diff --git a/api_docs/kbn_reporting_public.mdx b/api_docs/kbn_reporting_public.mdx index 059c450f92424..a065c92fc7757 100644 --- a/api_docs/kbn_reporting_public.mdx +++ b/api_docs/kbn_reporting_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-public title: "@kbn/reporting-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-public plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-public'] --- import kbnReportingPublicObj from './kbn_reporting_public.devdocs.json'; diff --git a/api_docs/kbn_reporting_server.mdx b/api_docs/kbn_reporting_server.mdx index 2e76fa90237d8..9dafc2a49bb7a 100644 --- a/api_docs/kbn_reporting_server.mdx +++ b/api_docs/kbn_reporting_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-server title: "@kbn/reporting-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-server'] --- import kbnReportingServerObj from './kbn_reporting_server.devdocs.json'; diff --git a/api_docs/kbn_resizable_layout.mdx b/api_docs/kbn_resizable_layout.mdx index fbd2e537156a7..01fd2b7156c22 100644 --- a/api_docs/kbn_resizable_layout.mdx +++ b/api_docs/kbn_resizable_layout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-resizable-layout title: "@kbn/resizable-layout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/resizable-layout plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/resizable-layout'] --- import kbnResizableLayoutObj from './kbn_resizable_layout.devdocs.json'; diff --git a/api_docs/kbn_response_ops_feature_flag_service.mdx b/api_docs/kbn_response_ops_feature_flag_service.mdx index 8188e60603c50..dff6bf4c1b279 100644 --- a/api_docs/kbn_response_ops_feature_flag_service.mdx +++ b/api_docs/kbn_response_ops_feature_flag_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-feature-flag-service title: "@kbn/response-ops-feature-flag-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-feature-flag-service plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-feature-flag-service'] --- import kbnResponseOpsFeatureFlagServiceObj from './kbn_response_ops_feature_flag_service.devdocs.json'; diff --git a/api_docs/kbn_response_ops_rule_form.devdocs.json b/api_docs/kbn_response_ops_rule_form.devdocs.json index 1df902627c59b..64fb522c5d7d0 100644 --- a/api_docs/kbn_response_ops_rule_form.devdocs.json +++ b/api_docs/kbn_response_ops_rule_form.devdocs.json @@ -1376,13 +1376,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "packages/response-ops/rule_form/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_response_ops_rule_form.mdx b/api_docs/kbn_response_ops_rule_form.mdx index ef4ca387d3c24..bba45fe40ea2c 100644 --- a/api_docs/kbn_response_ops_rule_form.mdx +++ b/api_docs/kbn_response_ops_rule_form.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-rule-form title: "@kbn/response-ops-rule-form" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-rule-form plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-rule-form'] --- import kbnResponseOpsRuleFormObj from './kbn_response_ops_rule_form.devdocs.json'; diff --git a/api_docs/kbn_response_ops_rule_params.mdx b/api_docs/kbn_response_ops_rule_params.mdx index 2307ac4d0c1cf..d77b9d06da11c 100644 --- a/api_docs/kbn_response_ops_rule_params.mdx +++ b/api_docs/kbn_response_ops_rule_params.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-rule-params title: "@kbn/response-ops-rule-params" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-rule-params plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-rule-params'] --- import kbnResponseOpsRuleParamsObj from './kbn_response_ops_rule_params.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index dbb60fab11153..68da6e40afb01 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_rollup.mdx b/api_docs/kbn_rollup.mdx index 8d2093c36e494..ac93d444176fa 100644 --- a/api_docs/kbn_rollup.mdx +++ b/api_docs/kbn_rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rollup title: "@kbn/rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rollup plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rollup'] --- import kbnRollupObj from './kbn_rollup.devdocs.json'; diff --git a/api_docs/kbn_router_to_openapispec.mdx b/api_docs/kbn_router_to_openapispec.mdx index 98050f73ecbc0..7d6b271d9622c 100644 --- a/api_docs/kbn_router_to_openapispec.mdx +++ b/api_docs/kbn_router_to_openapispec.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-to-openapispec title: "@kbn/router-to-openapispec" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-to-openapispec plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-to-openapispec'] --- import kbnRouterToOpenapispecObj from './kbn_router_to_openapispec.devdocs.json'; diff --git a/api_docs/kbn_router_utils.devdocs.json b/api_docs/kbn_router_utils.devdocs.json index da95c94131258..2207b77faa9c8 100644 --- a/api_docs/kbn_router_utils.devdocs.json +++ b/api_docs/kbn_router_utils.devdocs.json @@ -32,7 +32,7 @@ "({ href, onClick }: GetRouterLinkPropsDeps) => ", "RouterLinkProps" ], - "path": "packages/kbn-router-utils/src/get_router_link_props/index.ts", + "path": "src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46,7 +46,7 @@ "signature": [ "GetRouterLinkPropsDeps" ], - "path": "packages/kbn-router-utils/src/get_router_link_props/index.ts", + "path": "src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_router_utils.mdx b/api_docs/kbn_router_utils.mdx index f1cc78e90588a..d37ad020b2e10 100644 --- a/api_docs/kbn_router_utils.mdx +++ b/api_docs/kbn_router_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-utils title: "@kbn/router-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-utils'] --- import kbnRouterUtilsObj from './kbn_router_utils.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index af955559ccb35..f460010e6a2b9 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rrule'] --- import kbnRruleObj from './kbn_rrule.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 91956ef22b77d..709fdbf598c4c 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_saved_objects_settings.mdx b/api_docs/kbn_saved_objects_settings.mdx index e577305bd617a..5e4260198c14c 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_saved_search_component.mdx b/api_docs/kbn_saved_search_component.mdx index 9fe0244c0514d..d110e5fa09031 100644 --- a/api_docs/kbn_saved_search_component.mdx +++ b/api_docs/kbn_saved_search_component.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-search-component title: "@kbn/saved-search-component" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-search-component plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-search-component'] --- import kbnSavedSearchComponentObj from './kbn_saved_search_component.devdocs.json'; diff --git a/api_docs/kbn_scout.devdocs.json b/api_docs/kbn_scout.devdocs.json index 2b4edec870188..288822a265b49 100644 --- a/api_docs/kbn_scout.devdocs.json +++ b/api_docs/kbn_scout.devdocs.json @@ -1504,7 +1504,7 @@ "PlaywrightTestConfig", "<{}, {}>" ], - "path": "packages/kbn-scout/src/playwright/config/index.ts", + "path": "packages/kbn-scout/src/playwright/config/create_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1524,7 +1524,7 @@ "text": "ScoutPlaywrightOptions" } ], - "path": "packages/kbn-scout/src/playwright/config/index.ts", + "path": "packages/kbn-scout/src/playwright/config/create_config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2003,7 +2003,7 @@ "label": "config", "description": [], "signature": [ - "ScoutServerConfig" + "ScoutTestConfig" ], "path": "packages/kbn-scout/src/playwright/fixtures/types/worker_scope.ts", "deprecated": false, diff --git a/api_docs/kbn_scout.mdx b/api_docs/kbn_scout.mdx index 542958dbfe692..7395ce3f3f016 100644 --- a/api_docs/kbn_scout.mdx +++ b/api_docs/kbn_scout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-scout title: "@kbn/scout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/scout plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout'] --- import kbnScoutObj from './kbn_scout.devdocs.json'; diff --git a/api_docs/kbn_scout_info.mdx b/api_docs/kbn_scout_info.mdx index 1cff87245acbb..7b60a3485f738 100644 --- a/api_docs/kbn_scout_info.mdx +++ b/api_docs/kbn_scout_info.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-scout-info title: "@kbn/scout-info" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/scout-info plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout-info'] --- import kbnScoutInfoObj from './kbn_scout_info.devdocs.json'; diff --git a/api_docs/kbn_scout_reporting.mdx b/api_docs/kbn_scout_reporting.mdx index b13a0d627193e..190979b353b88 100644 --- a/api_docs/kbn_scout_reporting.mdx +++ b/api_docs/kbn_scout_reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-scout-reporting title: "@kbn/scout-reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/scout-reporting plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout-reporting'] --- import kbnScoutReportingObj from './kbn_scout_reporting.devdocs.json'; diff --git a/api_docs/kbn_screenshotting_server.mdx b/api_docs/kbn_screenshotting_server.mdx index aa12e8b445ec7..a828694c9f2a8 100644 --- a/api_docs/kbn_screenshotting_server.mdx +++ b/api_docs/kbn_screenshotting_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-screenshotting-server title: "@kbn/screenshotting-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/screenshotting-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/screenshotting-server'] --- import kbnScreenshottingServerObj from './kbn_screenshotting_server.devdocs.json'; diff --git a/api_docs/kbn_search_api_keys_components.mdx b/api_docs/kbn_search_api_keys_components.mdx index 0a00afd37e4d9..08ce42ecd59c9 100644 --- a/api_docs/kbn_search_api_keys_components.mdx +++ b/api_docs/kbn_search_api_keys_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-keys-components title: "@kbn/search-api-keys-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-keys-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-keys-components'] --- import kbnSearchApiKeysComponentsObj from './kbn_search_api_keys_components.devdocs.json'; diff --git a/api_docs/kbn_search_api_keys_server.mdx b/api_docs/kbn_search_api_keys_server.mdx index 2b082dce4587d..4ead466b2d3f5 100644 --- a/api_docs/kbn_search_api_keys_server.mdx +++ b/api_docs/kbn_search_api_keys_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-keys-server title: "@kbn/search-api-keys-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-keys-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-keys-server'] --- import kbnSearchApiKeysServerObj from './kbn_search_api_keys_server.devdocs.json'; diff --git a/api_docs/kbn_search_api_panels.devdocs.json b/api_docs/kbn_search_api_panels.devdocs.json index 78824e760c8fc..5feb9b8a79b38 100644 --- a/api_docs/kbn_search_api_panels.devdocs.json +++ b/api_docs/kbn_search_api_panels.devdocs.json @@ -1173,13 +1173,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", " | undefined" ], "path": "packages/kbn-search-api-panels/components/select_client.tsx", diff --git a/api_docs/kbn_search_api_panels.mdx b/api_docs/kbn_search_api_panels.mdx index e6ccd8df90874..4f219caa1e9b4 100644 --- a/api_docs/kbn_search_api_panels.mdx +++ b/api_docs/kbn_search_api_panels.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-panels title: "@kbn/search-api-panels" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-panels plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-panels'] --- import kbnSearchApiPanelsObj from './kbn_search_api_panels.devdocs.json'; diff --git a/api_docs/kbn_search_connectors.mdx b/api_docs/kbn_search_connectors.mdx index b4d16e98dcae5..142e7aa0f9509 100644 --- a/api_docs/kbn_search_connectors.mdx +++ b/api_docs/kbn_search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-connectors title: "@kbn/search-connectors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-connectors plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-connectors'] --- import kbnSearchConnectorsObj from './kbn_search_connectors.devdocs.json'; diff --git a/api_docs/kbn_search_errors.mdx b/api_docs/kbn_search_errors.mdx index 91408b781f685..f37753390cd69 100644 --- a/api_docs/kbn_search_errors.mdx +++ b/api_docs/kbn_search_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-errors title: "@kbn/search-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-errors plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-errors'] --- import kbnSearchErrorsObj from './kbn_search_errors.devdocs.json'; diff --git a/api_docs/kbn_search_index_documents.mdx b/api_docs/kbn_search_index_documents.mdx index c9d54f8804d0c..39d058ae28f07 100644 --- a/api_docs/kbn_search_index_documents.mdx +++ b/api_docs/kbn_search_index_documents.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-index-documents title: "@kbn/search-index-documents" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-index-documents plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-index-documents'] --- import kbnSearchIndexDocumentsObj from './kbn_search_index_documents.devdocs.json'; diff --git a/api_docs/kbn_search_response_warnings.mdx b/api_docs/kbn_search_response_warnings.mdx index 27f0e61dba5cc..3545fee985d1b 100644 --- a/api_docs/kbn_search_response_warnings.mdx +++ b/api_docs/kbn_search_response_warnings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-response-warnings title: "@kbn/search-response-warnings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-response-warnings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-response-warnings'] --- import kbnSearchResponseWarningsObj from './kbn_search_response_warnings.devdocs.json'; diff --git a/api_docs/kbn_search_shared_ui.devdocs.json b/api_docs/kbn_search_shared_ui.devdocs.json index 112b95d861efc..f07d84726b44a 100644 --- a/api_docs/kbn_search_shared_ui.devdocs.json +++ b/api_docs/kbn_search_shared_ui.devdocs.json @@ -3,6 +3,72 @@ "client": { "classes": [], "functions": [ + { + "parentPluginId": "@kbn/search-shared-ui", + "id": "def-public.ConnectorIcon", + "type": "Function", + "tags": [], + "label": "ConnectorIcon", + "description": [], + "signature": [ + "({ name, serviceType, iconPath, showTooltip, }: ConnectorIconProps) => React.JSX.Element" + ], + "path": "x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/search-shared-ui", + "id": "def-public.ConnectorIcon.$1", + "type": "Object", + "tags": [], + "label": "{\n name,\n serviceType,\n iconPath,\n showTooltip = true,\n}", + "description": [], + "signature": [ + "ConnectorIconProps" + ], + "path": "x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/search-shared-ui", + "id": "def-public.DecorativeHorizontalStepper", + "type": "Function", + "tags": [], + "label": "DecorativeHorizontalStepper", + "description": [], + "signature": [ + "({ stepCount, }: DecorativeHorizontalStepperProps) => React.JSX.Element" + ], + "path": "x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/search-shared-ui", + "id": "def-public.DecorativeHorizontalStepper.$1", + "type": "Object", + "tags": [], + "label": "{\n stepCount = 2,\n}", + "description": [], + "signature": [ + "DecorativeHorizontalStepperProps" + ], + "path": "x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/search-shared-ui", "id": "def-public.FormInfoField", @@ -35,6 +101,39 @@ ], "returnComment": [], "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/search-shared-ui", + "id": "def-public.SearchEmptyPrompt", + "type": "Function", + "tags": [], + "label": "SearchEmptyPrompt", + "description": [], + "signature": [ + "({ actions, backButton, body, description, icon, isComingSoon, comingSoonLabel, title, }: SearchEmptyPromptProps) => React.JSX.Element" + ], + "path": "x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/search-shared-ui", + "id": "def-public.SearchEmptyPrompt.$1", + "type": "Object", + "tags": [], + "label": "{\n actions,\n backButton,\n body,\n description,\n icon,\n isComingSoon,\n comingSoonLabel,\n title,\n}", + "description": [], + "signature": [ + "SearchEmptyPromptProps" + ], + "path": "x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false } ], "interfaces": [], diff --git a/api_docs/kbn_search_shared_ui.mdx b/api_docs/kbn_search_shared_ui.mdx index 903a107d4bcf8..ece6b767cde39 100644 --- a/api_docs/kbn_search_shared_ui.mdx +++ b/api_docs/kbn_search_shared_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-shared-ui title: "@kbn/search-shared-ui" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-shared-ui plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-shared-ui'] --- import kbnSearchSharedUiObj from './kbn_search_shared_ui.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-ki | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2 | 0 | 2 | 0 | +| 8 | 0 | 8 | 0 | ## Client diff --git a/api_docs/kbn_search_types.mdx b/api_docs/kbn_search_types.mdx index 76b4784c8fef1..4930306a3386c 100644 --- a/api_docs/kbn_search_types.mdx +++ b/api_docs/kbn_search_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-types title: "@kbn/search-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-types'] --- import kbnSearchTypesObj from './kbn_search_types.devdocs.json'; diff --git a/api_docs/kbn_security_api_key_management.mdx b/api_docs/kbn_security_api_key_management.mdx index 4f18273e4c2a1..7adadb5025e2b 100644 --- a/api_docs/kbn_security_api_key_management.mdx +++ b/api_docs/kbn_security_api_key_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-api-key-management title: "@kbn/security-api-key-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-api-key-management plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-api-key-management'] --- import kbnSecurityApiKeyManagementObj from './kbn_security_api_key_management.devdocs.json'; diff --git a/api_docs/kbn_security_authorization_core.mdx b/api_docs/kbn_security_authorization_core.mdx index 827eb06ac9319..6e827513af072 100644 --- a/api_docs/kbn_security_authorization_core.mdx +++ b/api_docs/kbn_security_authorization_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-authorization-core title: "@kbn/security-authorization-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-authorization-core plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-authorization-core'] --- import kbnSecurityAuthorizationCoreObj from './kbn_security_authorization_core.devdocs.json'; diff --git a/api_docs/kbn_security_authorization_core_common.mdx b/api_docs/kbn_security_authorization_core_common.mdx index fbde2204f48fe..cf743b6da8b7f 100644 --- a/api_docs/kbn_security_authorization_core_common.mdx +++ b/api_docs/kbn_security_authorization_core_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-authorization-core-common title: "@kbn/security-authorization-core-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-authorization-core-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-authorization-core-common'] --- import kbnSecurityAuthorizationCoreCommonObj from './kbn_security_authorization_core_common.devdocs.json'; diff --git a/api_docs/kbn_security_form_components.mdx b/api_docs/kbn_security_form_components.mdx index 95444dadfc622..f2c242329619d 100644 --- a/api_docs/kbn_security_form_components.mdx +++ b/api_docs/kbn_security_form_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-form-components title: "@kbn/security-form-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-form-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-form-components'] --- import kbnSecurityFormComponentsObj from './kbn_security_form_components.devdocs.json'; diff --git a/api_docs/kbn_security_hardening.mdx b/api_docs/kbn_security_hardening.mdx index 0d09da6fb41cf..e09db01d6594b 100644 --- a/api_docs/kbn_security_hardening.mdx +++ b/api_docs/kbn_security_hardening.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-hardening title: "@kbn/security-hardening" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-hardening plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-hardening'] --- import kbnSecurityHardeningObj from './kbn_security_hardening.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_common.devdocs.json b/api_docs/kbn_security_plugin_types_common.devdocs.json index 886b1bffd0d93..0c7b8cf26d937 100644 --- a/api_docs/kbn_security_plugin_types_common.devdocs.json +++ b/api_docs/kbn_security_plugin_types_common.devdocs.json @@ -286,6 +286,23 @@ "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/security-plugin-types-common", + "id": "def-common.AuthenticatedUser.api_key", + "type": "Object", + "tags": [], + "label": "api_key", + "description": [ + "\nMetadata of the API key that was used to authenticate the user." + ], + "signature": [ + "ApiKeyDescriptor", + " | undefined" + ], + "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_security_plugin_types_common.mdx b/api_docs/kbn_security_plugin_types_common.mdx index a18b6f8a5196a..c0d6f15576f8b 100644 --- a/api_docs/kbn_security_plugin_types_common.mdx +++ b/api_docs/kbn_security_plugin_types_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-common title: "@kbn/security-plugin-types-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-common plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-common'] --- import kbnSecurityPluginTypesCommonObj from './kbn_security_plugin_types_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 126 | 0 | 66 | 0 | +| 127 | 0 | 66 | 0 | ## Common diff --git a/api_docs/kbn_security_plugin_types_public.mdx b/api_docs/kbn_security_plugin_types_public.mdx index efda7c18d08bb..650674fa986b8 100644 --- a/api_docs/kbn_security_plugin_types_public.mdx +++ b/api_docs/kbn_security_plugin_types_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-public title: "@kbn/security-plugin-types-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-public plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-public'] --- import kbnSecurityPluginTypesPublicObj from './kbn_security_plugin_types_public.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_server.devdocs.json b/api_docs/kbn_security_plugin_types_server.devdocs.json index de0db32f5dbac..0a9d1643148b8 100644 --- a/api_docs/kbn_security_plugin_types_server.devdocs.json +++ b/api_docs/kbn_security_plugin_types_server.devdocs.json @@ -4899,23 +4899,15 @@ }, { "plugin": "entityManager", - "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts" }, { "plugin": "entityManager", - "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts" + "plugin": "entityManager", + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" }, { "plugin": "fleet", diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index 2279a9c2fa747..87ee596d85886 100644 --- a/api_docs/kbn_security_plugin_types_server.mdx +++ b/api_docs/kbn_security_plugin_types_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-server title: "@kbn/security-plugin-types-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-server'] --- import kbnSecurityPluginTypesServerObj from './kbn_security_plugin_types_server.devdocs.json'; diff --git a/api_docs/kbn_security_role_management_model.mdx b/api_docs/kbn_security_role_management_model.mdx index 201d5e6a981a7..0a539610bb943 100644 --- a/api_docs/kbn_security_role_management_model.mdx +++ b/api_docs/kbn_security_role_management_model.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-role-management-model title: "@kbn/security-role-management-model" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-role-management-model plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-role-management-model'] --- import kbnSecurityRoleManagementModelObj from './kbn_security_role_management_model.devdocs.json'; diff --git a/api_docs/kbn_security_solution_distribution_bar.mdx b/api_docs/kbn_security_solution_distribution_bar.mdx index 62bf62e4ac58a..5613ef8503555 100644 --- a/api_docs/kbn_security_solution_distribution_bar.mdx +++ b/api_docs/kbn_security_solution_distribution_bar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-distribution-bar title: "@kbn/security-solution-distribution-bar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-distribution-bar plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-distribution-bar'] --- import kbnSecuritySolutionDistributionBarObj from './kbn_security_solution_distribution_bar.devdocs.json'; diff --git a/api_docs/kbn_security_solution_features.devdocs.json b/api_docs/kbn_security_solution_features.devdocs.json index 4e2fd77a59f29..5fbfcd72090a6 100644 --- a/api_docs/kbn_security_solution_features.devdocs.json +++ b/api_docs/kbn_security_solution_features.devdocs.json @@ -60,13 +60,7 @@ "[] | undefined; order?: number | undefined; name: string; alerting?: ", "AlertingKibanaPrivilege", " | undefined; cases?: readonly string[] | undefined; hidden?: boolean | undefined; description?: string | undefined; category: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", "; management?: { [sectionId: string]: readonly string[]; } | undefined; app: readonly string[]; readonly deprecated?: Readonly<{ notice: string; }> | undefined; privileges: { all: ", { "pluginId": "features", @@ -175,13 +169,7 @@ "[] | undefined; order?: number | undefined; name: string; alerting?: ", "AlertingKibanaPrivilege", " | undefined; cases?: readonly string[] | undefined; hidden?: boolean | undefined; description?: string | undefined; category: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", "; management?: { [sectionId: string]: readonly string[]; } | undefined; app: readonly string[]; readonly deprecated?: Readonly<{ notice: string; }> | undefined; privileges: { all: ", { "pluginId": "features", diff --git a/api_docs/kbn_security_solution_features.mdx b/api_docs/kbn_security_solution_features.mdx index 7726b4a8d04e6..0a91cf10ea5b8 100644 --- a/api_docs/kbn_security_solution_features.mdx +++ b/api_docs/kbn_security_solution_features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-features title: "@kbn/security-solution-features" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-features plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-features'] --- import kbnSecuritySolutionFeaturesObj from './kbn_security_solution_features.devdocs.json'; diff --git a/api_docs/kbn_security_solution_navigation.devdocs.json b/api_docs/kbn_security_solution_navigation.devdocs.json index 45942b22304fd..3b74efc9473ce 100644 --- a/api_docs/kbn_security_solution_navigation.devdocs.json +++ b/api_docs/kbn_security_solution_navigation.devdocs.json @@ -1041,13 +1041,7 @@ "description": [], "signature": [ "(param: { url?: string | undefined; appId?: string | undefined; restoreScroll?: boolean | undefined; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", ") => void" ], "path": "x-pack/solutions/security/packages/navigation/src/navigation.ts", @@ -1064,13 +1058,7 @@ "description": [], "signature": [ "{ url?: string | undefined; appId?: string | undefined; restoreScroll?: boolean | undefined; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - } + "NavigateToAppOptions" ], "path": "x-pack/solutions/security/packages/navigation/src/navigation.ts", "deprecated": false, diff --git a/api_docs/kbn_security_solution_navigation.mdx b/api_docs/kbn_security_solution_navigation.mdx index a29624ce07ae3..e8cfab5250db8 100644 --- a/api_docs/kbn_security_solution_navigation.mdx +++ b/api_docs/kbn_security_solution_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-navigation title: "@kbn/security-solution-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-navigation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-navigation'] --- import kbnSecuritySolutionNavigationObj from './kbn_security_solution_navigation.devdocs.json'; diff --git a/api_docs/kbn_security_solution_side_nav.mdx b/api_docs/kbn_security_solution_side_nav.mdx index 528bc29fe6fd4..0c7b33fa47d9d 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-side-nav'] --- import kbnSecuritySolutionSideNavObj from './kbn_security_solution_side_nav.devdocs.json'; diff --git a/api_docs/kbn_security_solution_storybook_config.mdx b/api_docs/kbn_security_solution_storybook_config.mdx index 4007e1fd77b50..6b5ad05cf64aa 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-storybook-config'] --- import kbnSecuritySolutionStorybookConfigObj from './kbn_security_solution_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_security_ui_components.mdx b/api_docs/kbn_security_ui_components.mdx index b4e9162a00475..783ef75399236 100644 --- a/api_docs/kbn_security_ui_components.mdx +++ b/api_docs/kbn_security_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-ui-components title: "@kbn/security-ui-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-ui-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-ui-components'] --- import kbnSecurityUiComponentsObj from './kbn_security_ui_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index bbc65e7d1f06c..e19e3e4bfbe5b 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_data_table.mdx b/api_docs/kbn_securitysolution_data_table.mdx index ef1eea02f9e3f..c8d022bf73020 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-data-table'] --- import kbnSecuritysolutionDataTableObj from './kbn_securitysolution_data_table.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_ecs.mdx b/api_docs/kbn_securitysolution_ecs.mdx index 5f88850c89729..c9e6648691114 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-ecs'] --- import kbnSecuritysolutionEcsObj from './kbn_securitysolution_ecs.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 97b79c4572f0b..bdc4b6567c11d 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index d3670019c938c..7129294283034 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 100cec79805d3..26be41e453fb7 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index ab55eefd1be6a..caf8e910d0e44 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index bf73c33c37483..7f7a794403a5f 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index e3d1a874bfd05..e524450411f32 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 029ff5617117a..93efdcb0f3c00 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index aa4dc26967a5e..76402a9542618 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index e1d63a5da6b75..13b4852ea084a 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 84fcbee6667a3..a28363b36614b 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index a61fbb67a875a..678d2d51eafd8 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 5b1d8a3f5bbb7..5e06e66ddb2de 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index af6b3918557fb..bd36a7c700d46 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index e0a9a8e641ea5..eca0764396ad1 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 16f5592b19174..443f58610f06a 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 59f31198c18f0..2e193bba55d96 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository_client.mdx b/api_docs/kbn_server_route_repository_client.mdx index 00f831b686a52..fad3d5fb4963d 100644 --- a/api_docs/kbn_server_route_repository_client.mdx +++ b/api_docs/kbn_server_route_repository_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository-client title: "@kbn/server-route-repository-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository-client plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository-client'] --- import kbnServerRouteRepositoryClientObj from './kbn_server_route_repository_client.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository_utils.mdx b/api_docs/kbn_server_route_repository_utils.mdx index f05d4ce4900b5..e58a6416ba344 100644 --- a/api_docs/kbn_server_route_repository_utils.mdx +++ b/api_docs/kbn_server_route_repository_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository-utils title: "@kbn/server-route-repository-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository-utils'] --- import kbnServerRouteRepositoryUtilsObj from './kbn_server_route_repository_utils.devdocs.json'; diff --git a/api_docs/kbn_serverless_common_settings.mdx b/api_docs/kbn_serverless_common_settings.mdx index 92b569200c563..babdd2fe05766 100644 --- a/api_docs/kbn_serverless_common_settings.mdx +++ b/api_docs/kbn_serverless_common_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-common-settings title: "@kbn/serverless-common-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-common-settings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-common-settings'] --- import kbnServerlessCommonSettingsObj from './kbn_serverless_common_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_observability_settings.mdx b/api_docs/kbn_serverless_observability_settings.mdx index 94243052223ba..943c7c75fdfca 100644 --- a/api_docs/kbn_serverless_observability_settings.mdx +++ b/api_docs/kbn_serverless_observability_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-observability-settings title: "@kbn/serverless-observability-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-observability-settings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-observability-settings'] --- import kbnServerlessObservabilitySettingsObj from './kbn_serverless_observability_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index 0aae9acdb7313..fde7b330c1546 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_search_settings.mdx b/api_docs/kbn_serverless_search_settings.mdx index a94e8adfcc067..c0b1770a6cd13 100644 --- a/api_docs/kbn_serverless_search_settings.mdx +++ b/api_docs/kbn_serverless_search_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-search-settings title: "@kbn/serverless-search-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-search-settings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-search-settings'] --- import kbnServerlessSearchSettingsObj from './kbn_serverless_search_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_security_settings.mdx b/api_docs/kbn_serverless_security_settings.mdx index 0c485df313997..fcfc4c8f474dd 100644 --- a/api_docs/kbn_serverless_security_settings.mdx +++ b/api_docs/kbn_serverless_security_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-security-settings title: "@kbn/serverless-security-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-security-settings plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-security-settings'] --- import kbnServerlessSecuritySettingsObj from './kbn_serverless_security_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index eba400dd16932..1a2c7ba961c4c 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-storybook-config'] --- import kbnServerlessStorybookConfigObj from './kbn_serverless_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index e566ae1be2d9f..d74d0e9bb736e 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index 434e304562386..38314be8cdb3b 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 21d17535a9a70..fc0df5ec1a1a9 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 6abd3beed279e..31649f5399aa3 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index f42d12d63d30b..01a8da755bf83 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index e058f6fdbe351..0c21075417dfc 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json b/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json index 11d4e3caff928..60e5024fa01e4 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json +++ b/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json @@ -183,13 +183,7 @@ "description": [], "signature": [ "{ application: { navigateToUrl: (url: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined) => Promise; }; chrome: { recentlyAccessed: { get$: () => ", "Observable", "<", @@ -327,13 +321,7 @@ "description": [], "signature": [ "(url: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined) => Promise" ], "path": "packages/shared-ux/chrome/navigation/src/types.ts", @@ -348,7 +336,7 @@ "tags": [], "label": "url", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -360,16 +348,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_shared_ux_chrome_navigation.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index 6354a9f54578f..23029a1e64b4f 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_error_boundary.mdx b/api_docs/kbn_shared_ux_error_boundary.mdx index 759228a4bb95c..ffb17e1ca7caf 100644 --- a/api_docs/kbn_shared_ux_error_boundary.mdx +++ b/api_docs/kbn_shared_ux_error_boundary.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-error-boundary title: "@kbn/shared-ux-error-boundary" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-error-boundary plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-error-boundary'] --- import kbnSharedUxErrorBoundaryObj from './kbn_shared_ux_error_boundary.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index 4162461494751..a642d59aad1b2 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-context'] --- import kbnSharedUxFileContextObj from './kbn_shared_ux_file_context.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image.mdx b/api_docs/kbn_shared_ux_file_image.mdx index c8b3155c985e5..3ee576c793f68 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image'] --- import kbnSharedUxFileImageObj from './kbn_shared_ux_file_image.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image_mocks.mdx b/api_docs/kbn_shared_ux_file_image_mocks.mdx index 56ca5474a760f..cd0f6b7bafa78 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image-mocks'] --- import kbnSharedUxFileImageMocksObj from './kbn_shared_ux_file_image_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_mocks.mdx b/api_docs/kbn_shared_ux_file_mocks.mdx index 006d52335bb98..a73322a76c1ad 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-mocks'] --- import kbnSharedUxFileMocksObj from './kbn_shared_ux_file_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_picker.mdx b/api_docs/kbn_shared_ux_file_picker.mdx index f41dfe07fe6e5..bb55905c843d1 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-picker'] --- import kbnSharedUxFilePickerObj from './kbn_shared_ux_file_picker.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_types.mdx b/api_docs/kbn_shared_ux_file_types.mdx index e98b151876604..020927aa2dcfa 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-types'] --- import kbnSharedUxFileTypesObj from './kbn_shared_ux_file_types.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_upload.mdx b/api_docs/kbn_shared_ux_file_upload.mdx index 9b5672a26d3e2..2745f7b0b5196 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-upload'] --- import kbnSharedUxFileUploadObj from './kbn_shared_ux_file_upload.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_util.mdx b/api_docs/kbn_shared_ux_file_util.mdx index 8069b1f4755eb..41945841eede1 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-util'] --- import kbnSharedUxFileUtilObj from './kbn_shared_ux_file_util.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index c51a2acec6181..dd8e19295c891 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index f9b21f150cbf6..0eff9efabb8c1 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index 90bd4dfac73b7..fe3fe0e59e8a6 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 59bbc5d34dd30..35255b73d49b2 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index d46f97036d9c3..d748b1b976a05 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index 9c682e2a23070..397282a95c131 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 06f07f19ab6f6..cf9e144d497e7 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index 98bb093706ad0..30afaac2872fd 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index f95510da8f870..1efec5952aa11 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index 748834a06f616..ad09b1d845a08 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index db95458be4c2f..d61a990eaee06 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index 9da55b5c12a73..e850b68803282 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index 6b583738420f3..084ed0a41b289 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index c308968bf7758..8669b2fbf5b74 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 1be81c51437ca..dc3f9b555ee55 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json b/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json index aa11474d34560..ed875e1cf5201 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json @@ -259,7 +259,8 @@ "The background color of the prompt; defaults to `plain`." ], "signature": [ - "\"warning\" | \"success\" | \"plain\" | \"subdued\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | \"transparent\" | undefined" + "PanelColor", + " | undefined" ], "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 1c88cde97d758..33bfe076f9a53 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index 2c35410c1c899..429728b946fa0 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_not_found.mdx b/api_docs/kbn_shared_ux_prompt_not_found.mdx index f2217007b13f0..d78266c75065b 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-not-found'] --- import kbnSharedUxPromptNotFoundObj from './kbn_shared_ux_prompt_not_found.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index a68e7fcbbd5fe..d4b884bae2a6f 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index fe2f2284dcfc7..48f7e7208348e 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 8d5cb0149fad9..21ff8f160690d 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 30778049c32d9..d6af7f1f6ba13 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_tabbed_modal.mdx b/api_docs/kbn_shared_ux_tabbed_modal.mdx index b7d1890072303..87009e9c3f838 100644 --- a/api_docs/kbn_shared_ux_tabbed_modal.mdx +++ b/api_docs/kbn_shared_ux_tabbed_modal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-tabbed-modal title: "@kbn/shared-ux-tabbed-modal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-tabbed-modal plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-tabbed-modal'] --- import kbnSharedUxTabbedModalObj from './kbn_shared_ux_tabbed_modal.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_table_persist.mdx b/api_docs/kbn_shared_ux_table_persist.mdx index e654fe5fcaf73..f9bee8e953707 100644 --- a/api_docs/kbn_shared_ux_table_persist.mdx +++ b/api_docs/kbn_shared_ux_table_persist.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-table-persist title: "@kbn/shared-ux-table-persist" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-table-persist plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-table-persist'] --- import kbnSharedUxTablePersistObj from './kbn_shared_ux_table_persist.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.devdocs.json b/api_docs/kbn_shared_ux_utility.devdocs.json index 2a5982327f50e..712774ac927f0 100644 --- a/api_docs/kbn_shared_ux_utility.devdocs.json +++ b/api_docs/kbn_shared_ux_utility.devdocs.json @@ -304,13 +304,7 @@ "\nThe `AnalyticsServiceStart` object from `CoreStart`" ], "signature": [ - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", " | undefined" ], "path": "packages/kbn-shared-ux-utility/src/with_suspense.tsx", diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index 7dcd791c4cf66..74ac274580636 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index b10e7f83c33bf..0482b0b26da30 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/slo-schema'] --- import kbnSloSchemaObj from './kbn_slo_schema.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index 20c0f72dfeadd..4613f823bbdd5 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_predicates.mdx b/api_docs/kbn_sort_predicates.mdx index dab3b073d6dff..c45d3c4925b8b 100644 --- a/api_docs/kbn_sort_predicates.mdx +++ b/api_docs/kbn_sort_predicates.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-predicates title: "@kbn/sort-predicates" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-predicates plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-predicates'] --- import kbnSortPredicatesObj from './kbn_sort_predicates.devdocs.json'; diff --git a/api_docs/kbn_sse_utils.mdx b/api_docs/kbn_sse_utils.mdx index 82d20eeab0386..817b45b5d8237 100644 --- a/api_docs/kbn_sse_utils.mdx +++ b/api_docs/kbn_sse_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sse-utils title: "@kbn/sse-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sse-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sse-utils'] --- import kbnSseUtilsObj from './kbn_sse_utils.devdocs.json'; diff --git a/api_docs/kbn_sse_utils_client.mdx b/api_docs/kbn_sse_utils_client.mdx index 1131acf7255fc..d5de8ef00f99c 100644 --- a/api_docs/kbn_sse_utils_client.mdx +++ b/api_docs/kbn_sse_utils_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sse-utils-client title: "@kbn/sse-utils-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sse-utils-client plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sse-utils-client'] --- import kbnSseUtilsClientObj from './kbn_sse_utils_client.devdocs.json'; diff --git a/api_docs/kbn_sse_utils_server.mdx b/api_docs/kbn_sse_utils_server.mdx index dd9c7c826ea4f..246006856ff37 100644 --- a/api_docs/kbn_sse_utils_server.mdx +++ b/api_docs/kbn_sse_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sse-utils-server title: "@kbn/sse-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sse-utils-server plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sse-utils-server'] --- import kbnSseUtilsServerObj from './kbn_sse_utils_server.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index ffc70515afe40..d9c1b185e0bf0 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 74451f37443de..7cb18247ecf06 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index bc1f80582d681..efc7ef391981d 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_streams_schema.devdocs.json b/api_docs/kbn_streams_schema.devdocs.json new file mode 100644 index 0000000000000..377cd97e90f64 --- /dev/null +++ b/api_docs/kbn_streams_schema.devdocs.json @@ -0,0 +1,4402 @@ +{ + "id": "@kbn/streams-schema", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isAndCondition", + "type": "Function", + "tags": [], + "label": "isAndCondition", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isAndCondition.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isDissectProcessor", + "type": "Function", + "tags": [], + "label": "isDissectProcessor", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isDissectProcessor.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isFilterCondition", + "type": "Function", + "tags": [], + "label": "isFilterCondition", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isFilterCondition.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isGrokProcessor", + "type": "Function", + "tags": [], + "label": "isGrokProcessor", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isGrokProcessor.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestReadStream", + "type": "Function", + "tags": [], + "label": "isIngestReadStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestReadStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStream", + "type": "Function", + "tags": [], + "label": "isIngestStream", + "description": [], + "signature": [ + "(subject: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStream.$1", + "type": "CompoundType", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStreamConfig", + "type": "Function", + "tags": [], + "label": "isIngestStreamConfig", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStreamConfig.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isOrCondition", + "type": "Function", + "tags": [], + "label": "isOrCondition", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isOrCondition.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isReadStream", + "type": "Function", + "tags": [], + "label": "isReadStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isReadStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isSchema", + "type": "Function", + "tags": [], + "label": "isSchema", + "description": [], + "signature": [ + "(zodSchema: Zod.ZodType, subject: T) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isSchema.$1", + "type": "Object", + "tags": [], + "label": "zodSchema", + "description": [], + "signature": [ + "Zod.ZodType" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isSchema.$2", + "type": "Uncategorized", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "T" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStream", + "type": "Function", + "tags": [], + "label": "isStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStreamConfig", + "type": "Function", + "tags": [], + "label": "isStreamConfig", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStreamConfig.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredReadStream", + "type": "Function", + "tags": [], + "label": "isWiredReadStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredReadStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStream", + "type": "Function", + "tags": [], + "label": "isWiredStream", + "description": [], + "signature": [ + "(subject: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStream.$1", + "type": "CompoundType", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStreamConfig", + "type": "Function", + "tags": [], + "label": "isWiredStreamConfig", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStreamConfig.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.AndCondition", + "type": "Interface", + "tags": [], + "label": "AndCondition", + "description": [], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.AndCondition.and", + "type": "Array", + "tags": [], + "label": "and", + "description": [], + "signature": [ + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "[]" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.OrCondition", + "type": "Interface", + "tags": [], + "label": "OrCondition", + "description": [], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.OrCondition.or", + "type": "Array", + "tags": [], + "label": "or", + "description": [], + "signature": [ + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "[]" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.BinaryFilterCondition", + "type": "Type", + "tags": [], + "label": "BinaryFilterCondition", + "description": [], + "signature": [ + "{ value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.Condition", + "type": "Type", + "tags": [], + "label": "Condition", + "description": [], + "signature": [ + "{ field: string; operator: \"exists\" | \"notExists\"; } | { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; } | ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.AndCondition", + "text": "AndCondition" + }, + " | ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.OrCondition", + "text": "OrCondition" + }, + " | undefined" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.DissectProcssingDefinition", + "type": "Type", + "tags": [], + "label": "DissectProcssingDefinition", + "description": [], + "signature": [ + "{ dissect: { field: string; pattern: string; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ElasticsearchAsset", + "type": "Type", + "tags": [], + "label": "ElasticsearchAsset", + "description": [], + "signature": [ + "{ id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[]" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FieldDefinition", + "type": "Type", + "tags": [], + "label": "FieldDefinition", + "description": [], + "signature": [ + "{ [x: string]: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FieldDefinitionConfig", + "type": "Type", + "tags": [], + "label": "FieldDefinitionConfig", + "description": [], + "signature": [ + "{ type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FieldDefinitionConfigWithName", + "type": "Type", + "tags": [], + "label": "FieldDefinitionConfigWithName", + "description": [], + "signature": [ + "{ type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FilterCondition", + "type": "Type", + "tags": [], + "label": "FilterCondition", + "description": [], + "signature": [ + "{ field: string; operator: \"exists\" | \"notExists\"; } | { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.GrokProcessingDefinition", + "type": "Type", + "tags": [], + "label": "GrokProcessingDefinition", + "description": [], + "signature": [ + "{ grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.IngestReadStreamDefinition", + "type": "Type", + "tags": [], + "label": "IngestReadStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.IngestStreamConfigDefinition", + "type": "Type", + "tags": [], + "label": "IngestStreamConfigDefinition", + "description": [], + "signature": [ + "{ ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.IngestStreamDefinition", + "type": "Type", + "tags": [], + "label": "IngestStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.InheritedFieldDefinition", + "type": "Type", + "tags": [], + "label": "InheritedFieldDefinition", + "description": [], + "signature": [ + "{ [x: string]: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ListStreamsResponse", + "type": "Type", + "tags": [], + "label": "ListStreamsResponse", + "description": [], + "signature": [ + "{ streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ProcessingDefinition", + "type": "Type", + "tags": [], + "label": "ProcessingDefinition", + "description": [], + "signature": [ + "{ config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ReadStreamDefinition", + "type": "Type", + "tags": [], + "label": "ReadStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ReadStreamResponse", + "type": "Type", + "tags": [], + "label": "ReadStreamResponse", + "description": [], + "signature": [ + "{ streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.StreamChild", + "type": "Type", + "tags": [], + "label": "StreamChild", + "description": [], + "signature": [ + "{ name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.StreamConfigDefinition", + "type": "Type", + "tags": [], + "label": "StreamConfigDefinition", + "description": [], + "signature": [ + "{ ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; } | { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.StreamDefinition", + "type": "Type", + "tags": [], + "label": "StreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.UnaryFilterCondition", + "type": "Type", + "tags": [], + "label": "UnaryFilterCondition", + "description": [], + "signature": [ + "{ field: string; operator: \"exists\" | \"notExists\"; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.WiredReadStreamDefinition", + "type": "Type", + "tags": [], + "label": "WiredReadStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.WiredStreamConfigDefinition", + "type": "Type", + "tags": [], + "label": "WiredStreamConfigDefinition", + "description": [], + "signature": [ + "{ ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.WiredStreamDefinition", + "type": "Type", + "tags": [], + "label": "WiredStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.binaryConditionSchema", + "type": "Object", + "tags": [], + "label": "binaryConditionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"eq\", \"neq\", \"lt\", \"lte\", \"gt\", \"gte\", \"contains\", \"startsWith\", \"endsWith\"]>; value: Zod.ZodUnion<[Zod.ZodString, Zod.ZodNumber, Zod.ZodBoolean]>; }, \"strip\", Zod.ZodTypeAny, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.conditionSchema", + "type": "Object", + "tags": [], + "label": "conditionSchema", + "description": [], + "signature": [ + "Zod.ZodType<", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ", Zod.ZodTypeDef, ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.dissectProcessingDefinitionSchema", + "type": "Object", + "tags": [], + "label": "dissectProcessingDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.elasticsearchAssetSchema", + "type": "Object", + "tags": [], + "label": "elasticsearchAssetSchema", + "description": [], + "signature": [ + "Zod.ZodArray; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.fieldDefinitionConfigSchema", + "type": "Object", + "tags": [], + "label": "fieldDefinitionConfigSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ type: Zod.ZodEnum<[\"keyword\", \"match_only_text\", \"long\", \"double\", \"date\", \"boolean\", \"ip\"]>; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.fieldDefinitionConfigWithNameSchema", + "type": "Object", + "tags": [], + "label": "fieldDefinitionConfigWithNameSchema", + "description": [], + "signature": [ + "Zod.ZodObject; format: Zod.ZodOptional; }, { name: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.fieldDefinitionSchema", + "type": "Object", + "tags": [], + "label": "fieldDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodRecord; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.filterConditionSchema", + "type": "Object", + "tags": [], + "label": "filterConditionSchema", + "description": [], + "signature": [ + "Zod.ZodDiscriminatedUnion<\"operator\", [Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"exists\", \"notExists\"]>; }, \"strip\", Zod.ZodTypeAny, { field: string; operator: \"exists\" | \"notExists\"; }, { field: string; operator: \"exists\" | \"notExists\"; }>, Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"eq\", \"neq\", \"lt\", \"lte\", \"gt\", \"gte\", \"contains\", \"startsWith\", \"endsWith\"]>; value: Zod.ZodUnion<[Zod.ZodString, Zod.ZodNumber, Zod.ZodBoolean]>; }, \"strip\", Zod.ZodTypeAny, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.grokProcessingDefinitionSchema", + "type": "Object", + "tags": [], + "label": "grokProcessingDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ingestReadStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "ingestReadStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ingestStreamConfigDefinitonSchema", + "type": "Object", + "tags": [], + "label": "ingestStreamConfigDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ingestStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "ingestStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.inheritedFieldDefinitionSchema", + "type": "Object", + "tags": [], + "label": "inheritedFieldDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodRecord; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.listStreamsResponseSchema", + "type": "Object", + "tags": [], + "label": "listStreamsResponseSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ streams: Zod.ZodArray; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>]>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, { streams: ({ name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.processingConfigSchema", + "type": "Object", + "tags": [], + "label": "processingConfigSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.processingDefinitionSchema", + "type": "Object", + "tags": [], + "label": "processingDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ condition: Zod.ZodOptional>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.readStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "readStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>, Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.readStreamResponseSchema", + "type": "Object", + "tags": [], + "label": "readStreamResponseSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ streams: Zod.ZodArray; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>, Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>]>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, { streams: ({ name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; } | { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; })[]; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.streamChildSchema", + "type": "Object", + "tags": [], + "label": "streamChildSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ name: Zod.ZodString; condition: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.streamConfigDefinitionSchema", + "type": "Object", + "tags": [], + "label": "streamConfigDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>, Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.streamDefintionSchema", + "type": "Object", + "tags": [], + "label": "streamDefintionSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.unaryFilterConditionSchema", + "type": "Object", + "tags": [], + "label": "unaryFilterConditionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"exists\", \"notExists\"]>; }, \"strip\", Zod.ZodTypeAny, { field: string; operator: \"exists\" | \"notExists\"; }, { field: string; operator: \"exists\" | \"notExists\"; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.wiredReadStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "wiredReadStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.wiredStreamConfigDefinitonSchema", + "type": "Object", + "tags": [], + "label": "wiredStreamConfigDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.wiredStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "wiredStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_streams_schema.mdx b/api_docs/kbn_streams_schema.mdx new file mode 100644 index 0000000000000..e1a1a36cb228b --- /dev/null +++ b/api_docs/kbn_streams_schema.mdx @@ -0,0 +1,39 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnStreamsSchemaPluginApi +slug: /kibana-dev-docs/api/kbn-streams-schema +title: "@kbn/streams-schema" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/streams-schema plugin +date: 2024-12-24 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/streams-schema'] +--- +import kbnStreamsSchemaObj from './kbn_streams_schema.devdocs.json'; + + + +Contact [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 84 | 12 | 84 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_synthetics_e2e.mdx b/api_docs/kbn_synthetics_e2e.mdx index 76a5fdac59644..5ba585baadffa 100644 --- a/api_docs/kbn_synthetics_e2e.mdx +++ b/api_docs/kbn_synthetics_e2e.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-synthetics-e2e title: "@kbn/synthetics-e2e" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/synthetics-e2e plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/synthetics-e2e'] --- import kbnSyntheticsE2eObj from './kbn_synthetics_e2e.devdocs.json'; diff --git a/api_docs/kbn_synthetics_private_location.mdx b/api_docs/kbn_synthetics_private_location.mdx index 99cc4a805ccc4..b4b3ae392173a 100644 --- a/api_docs/kbn_synthetics_private_location.mdx +++ b/api_docs/kbn_synthetics_private_location.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-synthetics-private-location title: "@kbn/synthetics-private-location" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/synthetics-private-location plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/synthetics-private-location'] --- import kbnSyntheticsPrivateLocationObj from './kbn_synthetics_private_location.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 119b3629ba264..bfae769bb3f47 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 10160e866bd80..bf81d411b5096 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_eui_helpers.mdx b/api_docs/kbn_test_eui_helpers.mdx index 584bafc9870a1..01530a8e20843 100644 --- a/api_docs/kbn_test_eui_helpers.mdx +++ b/api_docs/kbn_test_eui_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-eui-helpers title: "@kbn/test-eui-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-eui-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-eui-helpers'] --- import kbnTestEuiHelpersObj from './kbn_test_eui_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 39c0dfceb2256..7dced6b8864c6 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 2723102649c48..48fcc456240e6 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_timerange.devdocs.json b/api_docs/kbn_timerange.devdocs.json index 6c66de05c49d4..2e76a1d85d8d7 100644 --- a/api_docs/kbn_timerange.devdocs.json +++ b/api_docs/kbn_timerange.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "({ from, to }: { from: string; to: string; }) => { startDate: string; endDate: string; }" ], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40,7 +40,7 @@ "tags": [], "label": "{ from, to }", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51,7 +51,7 @@ "tags": [], "label": "from", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false }, @@ -62,7 +62,7 @@ "tags": [], "label": "to", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false } @@ -82,7 +82,7 @@ "signature": [ "({ from, to }: { from: string; to: string; }) => { startDate: number; endDate: number; }" ], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "tags": [], "label": "{ from, to }", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -104,7 +104,7 @@ "tags": [], "label": "from", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false }, @@ -115,7 +115,7 @@ "tags": [], "label": "to", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false } @@ -135,7 +135,7 @@ "signature": [ "(epochDate: number) => number" ], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -149,7 +149,7 @@ "signature": [ "number" ], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -168,7 +168,7 @@ "signature": [ "({\n startDate,\n endDate,\n}: { startDate: number; endDate: number; }) => number" ], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -179,7 +179,7 @@ "tags": [], "label": "{\n startDate,\n endDate,\n}", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -190,7 +190,7 @@ "tags": [], "label": "startDate", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false }, @@ -201,7 +201,7 @@ "tags": [], "label": "endDate", "description": [], - "path": "packages/kbn-timerange/src/index.ts", + "path": "src/platform/packages/shared/kbn-timerange/src/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_timerange.mdx b/api_docs/kbn_timerange.mdx index 41cf6ffa27ca4..efd191cc55455 100644 --- a/api_docs/kbn_timerange.mdx +++ b/api_docs/kbn_timerange.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-timerange title: "@kbn/timerange" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/timerange plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/timerange'] --- import kbnTimerangeObj from './kbn_timerange.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 8542293f868d3..6e1dfaa2370ed 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_transpose_utils.mdx b/api_docs/kbn_transpose_utils.mdx index 1a9bd959ba54c..23fc5200cca68 100644 --- a/api_docs/kbn_transpose_utils.mdx +++ b/api_docs/kbn_transpose_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-transpose-utils title: "@kbn/transpose-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/transpose-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/transpose-utils'] --- import kbnTransposeUtilsObj from './kbn_transpose_utils.devdocs.json'; diff --git a/api_docs/kbn_triggers_actions_ui_types.mdx b/api_docs/kbn_triggers_actions_ui_types.mdx index a3563ca688f67..42773a55305e5 100644 --- a/api_docs/kbn_triggers_actions_ui_types.mdx +++ b/api_docs/kbn_triggers_actions_ui_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-triggers-actions-ui-types title: "@kbn/triggers-actions-ui-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/triggers-actions-ui-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/triggers-actions-ui-types'] --- import kbnTriggersActionsUiTypesObj from './kbn_triggers_actions_ui_types.devdocs.json'; diff --git a/api_docs/kbn_try_in_console.mdx b/api_docs/kbn_try_in_console.mdx index b97f412784e60..4a4f35338394c 100644 --- a/api_docs/kbn_try_in_console.mdx +++ b/api_docs/kbn_try_in_console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-try-in-console title: "@kbn/try-in-console" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/try-in-console plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/try-in-console'] --- import kbnTryInConsoleObj from './kbn_try_in_console.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index 333d79f187bd7..8bc7b0658a5f5 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ts-projects'] --- import kbnTsProjectsObj from './kbn_ts_projects.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index a67ccfcd3030f..4aceddde4598a 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_actions_browser.mdx b/api_docs/kbn_ui_actions_browser.mdx index 420d2224655f8..7efbc5704261d 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-actions-browser'] --- import kbnUiActionsBrowserObj from './kbn_ui_actions_browser.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index ea743f208e0a0..cbc45993bca61 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 006748a3960a4..b8085ff0d3de2 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_data_table.mdx b/api_docs/kbn_unified_data_table.mdx index 20ffde5092c8a..f8c07836645cd 100644 --- a/api_docs/kbn_unified_data_table.mdx +++ b/api_docs/kbn_unified_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-data-table title: "@kbn/unified-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-data-table plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-data-table'] --- import kbnUnifiedDataTableObj from './kbn_unified_data_table.devdocs.json'; diff --git a/api_docs/kbn_unified_doc_viewer.mdx b/api_docs/kbn_unified_doc_viewer.mdx index 4dcc328514cdf..3c715e56e2cec 100644 --- a/api_docs/kbn_unified_doc_viewer.mdx +++ b/api_docs/kbn_unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-doc-viewer title: "@kbn/unified-doc-viewer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-doc-viewer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-doc-viewer'] --- import kbnUnifiedDocViewerObj from './kbn_unified_doc_viewer.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index 04c7751ddbe42..5d1e31b21ce4a 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_badge.mdx b/api_docs/kbn_unsaved_changes_badge.mdx index cc6fa0359dcc0..cf3089e74b0aa 100644 --- a/api_docs/kbn_unsaved_changes_badge.mdx +++ b/api_docs/kbn_unsaved_changes_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-badge title: "@kbn/unsaved-changes-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-badge plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-badge'] --- import kbnUnsavedChangesBadgeObj from './kbn_unsaved_changes_badge.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_prompt.mdx b/api_docs/kbn_unsaved_changes_prompt.mdx index 85554da61a735..0c47b06c237b8 100644 --- a/api_docs/kbn_unsaved_changes_prompt.mdx +++ b/api_docs/kbn_unsaved_changes_prompt.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-prompt title: "@kbn/unsaved-changes-prompt" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-prompt plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-prompt'] --- import kbnUnsavedChangesPromptObj from './kbn_unsaved_changes_prompt.devdocs.json'; diff --git a/api_docs/kbn_use_tracked_promise.mdx b/api_docs/kbn_use_tracked_promise.mdx index 3e8acb5072d16..95c7efb367dc8 100644 --- a/api_docs/kbn_use_tracked_promise.mdx +++ b/api_docs/kbn_use_tracked_promise.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-use-tracked-promise title: "@kbn/use-tracked-promise" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/use-tracked-promise plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/use-tracked-promise'] --- import kbnUseTrackedPromiseObj from './kbn_use_tracked_promise.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.devdocs.json b/api_docs/kbn_user_profile_components.devdocs.json index 05679e867fa4d..85718e3880056 100644 --- a/api_docs/kbn_user_profile_components.devdocs.json +++ b/api_docs/kbn_user_profile_components.devdocs.json @@ -974,13 +974,7 @@ "text": "I18nStart" }, "; analytics?: Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined; theme: ", { "pluginId": "@kbn/react-kibana-context-common", diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 61d56ff7782c0..9ea28621acbf0 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index d86582f789dbb..34b6a678acb3f 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 857414d1af090..2f9c6fff6d5a9 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index 68320ff80ec8f..e0ee0e65a725d 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_visualization_ui_components.devdocs.json b/api_docs/kbn_visualization_ui_components.devdocs.json index f6e3a7ee20b24..07a3804e0fcbe 100644 --- a/api_docs/kbn_visualization_ui_components.devdocs.json +++ b/api_docs/kbn_visualization_ui_components.devdocs.json @@ -315,7 +315,9 @@ "label": "DragDropBuckets", "description": [], "signature": [ - "({\n items,\n onDragStart,\n onDragEnd,\n droppableId,\n children,\n bgColor,\n}: { items: T[]; droppableId: string; children: React.ReactElement>[]; onDragStart?: (() => void) | undefined; onDragEnd?: ((items: T[]) => void) | undefined; bgColor?: \"warning\" | \"success\" | \"plain\" | \"subdued\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | \"transparent\" | undefined; }) => React.JSX.Element" + "({\n items,\n onDragStart,\n onDragEnd,\n droppableId,\n children,\n bgColor,\n}: { items: T[]; droppableId: string; children: React.ReactElement>[]; onDragStart?: (() => void) | undefined; onDragEnd?: ((items: T[]) => void) | undefined; bgColor?: ", + "PanelColor", + " | undefined; }) => React.JSX.Element" ], "path": "packages/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx", "deprecated": false, @@ -427,7 +429,8 @@ "label": "bgColor", "description": [], "signature": [ - "\"warning\" | \"success\" | \"plain\" | \"subdued\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | \"transparent\" | undefined" + "PanelColor", + " | undefined" ], "path": "packages/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx", "deprecated": false, diff --git a/api_docs/kbn_visualization_ui_components.mdx b/api_docs/kbn_visualization_ui_components.mdx index 329170a3058f7..5f3e68117f6fc 100644 --- a/api_docs/kbn_visualization_ui_components.mdx +++ b/api_docs/kbn_visualization_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-ui-components title: "@kbn/visualization-ui-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-ui-components plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-ui-components'] --- import kbnVisualizationUiComponentsObj from './kbn_visualization_ui_components.devdocs.json'; diff --git a/api_docs/kbn_visualization_utils.mdx b/api_docs/kbn_visualization_utils.mdx index a2688ef8a576c..b12398873fa34 100644 --- a/api_docs/kbn_visualization_utils.mdx +++ b/api_docs/kbn_visualization_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-utils title: "@kbn/visualization-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-utils'] --- import kbnVisualizationUtilsObj from './kbn_visualization_utils.devdocs.json'; diff --git a/api_docs/kbn_xstate_utils.devdocs.json b/api_docs/kbn_xstate_utils.devdocs.json index 8f93144f2b47a..645e4a57de806 100644 --- a/api_docs/kbn_xstate_utils.devdocs.json +++ b/api_docs/kbn_xstate_utils.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "() => (inspectionEvent: InspectionEvent) => void" ], - "path": "packages/kbn-xstate-utils/src/console_inspector.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/console_inspector.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -40,7 +40,7 @@ }, "" ], - "path": "packages/kbn-xstate-utils/src/notification_channel.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54,7 +54,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-xstate-utils/src/notification_channel.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -73,7 +73,7 @@ "signature": [ "() => boolean | object" ], - "path": "packages/kbn-xstate-utils/src/dev_tools.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/dev_tools.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -90,7 +90,7 @@ "signature": [ "() => boolean" ], - "path": "packages/kbn-xstate-utils/src/dev_tools.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/dev_tools.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -121,7 +121,7 @@ "PureAction", "" ], - "path": "packages/kbn-xstate-utils/src/actions.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -137,7 +137,7 @@ "ActorRef", "" ], - "path": "packages/kbn-xstate-utils/src/actions.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -165,7 +165,7 @@ }, "" ], - "path": "packages/kbn-xstate-utils/src/notification_channel.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -181,7 +181,7 @@ "Subscribable", "" ], - "path": "packages/kbn-xstate-utils/src/notification_channel.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -203,7 +203,7 @@ "BaseActionObject", ">) => void" ], - "path": "packages/kbn-xstate-utils/src/notification_channel.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -218,7 +218,7 @@ "Expr", "" ], - "path": "packages/kbn-xstate-utils/src/notification_channel.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -252,7 +252,7 @@ "State", "<(TTypestate extends any ? { value: TStateValue; context: any; } extends TTypestate ? TTypestate : never : never)[\"context\"], TEvent, TStateSchema, TTypestate, TResolvedTypesMeta> & { value: TStateValue; } : never" ], - "path": "packages/kbn-xstate-utils/src/types.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -278,7 +278,7 @@ "State", "<(TTypestate extends any ? { value: TStateValue; context: any; } extends TTypestate ? TTypestate : never : never)[\"context\"], TEvent, TStateSchema, TTypestate, TResolvedTypesMeta> & { value: TStateValue; } : never" ], - "path": "packages/kbn-xstate-utils/src/types.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -293,7 +293,7 @@ "signature": [ "{ [P in Exclude]: T[P]; }" ], - "path": "packages/kbn-xstate-utils/src/types.ts", + "path": "src/platform/packages/shared/kbn-xstate-utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_xstate_utils.mdx b/api_docs/kbn_xstate_utils.mdx index cb5aa50f35f3f..d585aa8b53fac 100644 --- a/api_docs/kbn_xstate_utils.mdx +++ b/api_docs/kbn_xstate_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-xstate-utils title: "@kbn/xstate-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/xstate-utils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/xstate-utils'] --- import kbnXstateUtilsObj from './kbn_xstate_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 23e48415f5e9c..9af767692944a 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kbn_zod.mdx b/api_docs/kbn_zod.mdx index f841426029a8a..a10ff4d27fc6a 100644 --- a/api_docs/kbn_zod.mdx +++ b/api_docs/kbn_zod.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-zod title: "@kbn/zod" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/zod plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/zod'] --- import kbnZodObj from './kbn_zod.devdocs.json'; diff --git a/api_docs/kbn_zod_helpers.mdx b/api_docs/kbn_zod_helpers.mdx index 1ce9ec75a3287..2d05081bdc41e 100644 --- a/api_docs/kbn_zod_helpers.mdx +++ b/api_docs/kbn_zod_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-zod-helpers title: "@kbn/zod-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/zod-helpers plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/zod-helpers'] --- import kbnZodHelpersObj from './kbn_zod_helpers.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 02bd3d402a1fb..83aa90dca5c28 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index 196ce59fefbab..359fd329f8241 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -772,13 +772,7 @@ "description": [], "signature": [ "(history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", ", to: string | LocationObject, onClickCallback?: Function | undefined) => { href: string; onClick: (event: React.MouseEvent) => void; }" @@ -795,13 +789,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", "" @@ -854,13 +842,7 @@ "description": [], "signature": [ "(history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", ", to: string | LocationObject, onClickCallback?: Function | undefined) => (event: React.MouseEvent) => void" @@ -877,13 +859,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", "" @@ -2216,13 +2192,7 @@ "label": "analytics", "description": [], "signature": [ - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", " | undefined" ], "path": "src/plugins/kibana_react/public/util/index.tsx", @@ -2553,21 +2523,9 @@ "description": [], "signature": [ "{ analytics?: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", " | undefined; application?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", " | undefined; chrome?: ", { "pluginId": "@kbn/core-chrome-browser", diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 8cea617d7cc39..043aef227ab37 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.devdocs.json b/api_docs/kibana_utils.devdocs.json index 83e839ee43cf6..5a8ff256ae2f8 100644 --- a/api_docs/kibana_utils.devdocs.json +++ b/api_docs/kibana_utils.devdocs.json @@ -1972,13 +1972,7 @@ "; }[]; storageKey: string; navLinkUpdater$: ", "BehaviorSubject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; toastNotifications: ", { "pluginId": "@kbn/core-notifications-browser", @@ -2078,13 +2072,7 @@ "signature": [ "BehaviorSubject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">" ], "path": "src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts", @@ -3330,13 +3318,7 @@ "({\n history,\n navigateToApp,\n basePath,\n mapping,\n toastNotifications,\n onBeforeRedirect,\n theme,\n userProfile,\n}: { history: ", "History", "; navigateToApp: (appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise; basePath: ", { "pluginId": "@kbn/core-http-browser", @@ -3426,13 +3408,7 @@ "description": [], "signature": [ "(appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise" ], "path": "src/plugins/kibana_utils/public/history/redirect_when_missing.tsx", @@ -3447,7 +3423,7 @@ "tags": [], "label": "appId", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3459,16 +3435,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 977c058caf68f..7d9b9676c536e 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index c0f4259b92cbb..0dbfe3f99da22 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.devdocs.json b/api_docs/lens.devdocs.json index 846e8479c6c1b..2a22e3c4512cf 100644 --- a/api_docs/lens.devdocs.json +++ b/api_docs/lens.devdocs.json @@ -369,7 +369,7 @@ "section": "def-common.KibanaExecutionContext", "text": "KibanaExecutionContext" }, - " | undefined; enhancements?: { dynamicActions: ", + " | undefined; forceDSL?: boolean | undefined; enhancements?: { dynamicActions: ", { "pluginId": "uiActionsEnhanced", "scope": "common", @@ -559,7 +559,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -903,7 +903,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -1135,7 +1135,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -6678,7 +6678,7 @@ "\nReact component which can be used to embed a Lens visualization into another application.\nSee `x-pack/examples/embedded_lens_example` for exemplary usage.\n\nThis API might undergo breaking changes even in minor versions.\n" ], "signature": [ - "({ title, withDefaultActions, extraActions, showInspector, syncColors, syncCursor, syncTooltips, viewMode, id, query, filters, timeRange, disabledActions, searchSessionId, hidePanelTitles, ...props }: { id?: string | undefined; className?: string | undefined; style?: React.CSSProperties | undefined; title?: string | undefined; description?: string | undefined; viewMode?: ", + "({ title, withDefaultActions, extraActions, showInspector, syncColors, syncCursor, syncTooltips, viewMode, id, query, filters, timeRange, disabledActions, searchSessionId, forceDSL, hidePanelTitles, lastReloadRequestTime, ...props }: { id?: string | undefined; className?: string | undefined; style?: React.CSSProperties | undefined; title?: string | undefined; description?: string | undefined; viewMode?: ", { "pluginId": "@kbn/presentation-publishing", "scope": "public", @@ -6868,7 +6868,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", { "pluginId": "@kbn/core-saved-objects-common", "scope": "common", @@ -7667,7 +7667,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", { "pluginId": "@kbn/core-saved-objects-common", "scope": "common", @@ -8555,7 +8555,7 @@ "section": "def-common.KibanaExecutionContext", "text": "KibanaExecutionContext" }, - " | undefined; enhancements?: { dynamicActions: ", + " | undefined; forceDSL?: boolean | undefined; enhancements?: { dynamicActions: ", { "pluginId": "uiActionsEnhanced", "scope": "common", @@ -8807,7 +8807,7 @@ "section": "def-common.KibanaExecutionContext", "text": "KibanaExecutionContext" }, - " | undefined; enhancements?: { dynamicActions: ", + " | undefined; forceDSL?: boolean | undefined; enhancements?: { dynamicActions: ", { "pluginId": "uiActionsEnhanced", "scope": "common", @@ -16068,7 +16068,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", { "pluginId": "@kbn/core-saved-objects-common", "scope": "common", @@ -16852,7 +16852,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", { "pluginId": "@kbn/core-saved-objects-common", "scope": "common", @@ -17993,7 +17993,7 @@ "section": "def-common.KibanaExecutionContext", "text": "KibanaExecutionContext" }, - " | undefined; enhancements?: { dynamicActions: ", + " | undefined; forceDSL?: boolean | undefined; enhancements?: { dynamicActions: ", { "pluginId": "uiActionsEnhanced", "scope": "common", @@ -18183,7 +18183,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -18527,7 +18527,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -18759,7 +18759,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -19312,7 +19312,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; noPadding?: boolean | undefined; isNewPanel?: boolean | undefined; extraActions?: ", + " | undefined; noPadding?: boolean | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; extraActions?: ", { "pluginId": "uiActions", "scope": "public", @@ -20113,7 +20113,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; noPadding?: boolean | undefined; isNewPanel?: boolean | undefined; extraActions?: ", + " | undefined; noPadding?: boolean | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; extraActions?: ", { "pluginId": "uiActions", "scope": "public", @@ -20547,7 +20547,7 @@ "section": "def-common.KibanaExecutionContext", "text": "KibanaExecutionContext" }, - " | undefined; enhancements?: { dynamicActions: ", + " | undefined; forceDSL?: boolean | undefined; enhancements?: { dynamicActions: ", { "pluginId": "uiActionsEnhanced", "scope": "common", @@ -20737,7 +20737,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -21081,7 +21081,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -21313,7 +21313,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -21818,7 +21818,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; references: ", { "pluginId": "@kbn/core-saved-objects-common", "scope": "common", @@ -22611,7 +22611,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", + " | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; attributes: { title: string; description?: string | undefined; state: { datasourceStates: Record; visualization: unknown; query: ", { "pluginId": "@kbn/es-query", "scope": "common", @@ -22971,7 +22971,7 @@ "section": "def-common.KibanaExecutionContext", "text": "KibanaExecutionContext" }, - " | undefined; enhancements?: { dynamicActions: ", + " | undefined; forceDSL?: boolean | undefined; enhancements?: { dynamicActions: ", { "pluginId": "uiActionsEnhanced", "scope": "common", @@ -25235,7 +25235,7 @@ "section": "def-public.ViewMode", "text": "ViewMode" }, - " | undefined; noPadding?: boolean | undefined; isNewPanel?: boolean | undefined; extraActions?: ", + " | undefined; noPadding?: boolean | undefined; forceDSL?: boolean | undefined; isNewPanel?: boolean | undefined; extraActions?: ", { "pluginId": "uiActions", "scope": "public", diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index f257bed151417..4a54a75423ede 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index e987592f8d2a8..f15d0f1bbe57d 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 947c99a08d8df..ee914c3911f99 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.devdocs.json b/api_docs/licensing.devdocs.json index f738e3bba61ea..e271795594f37 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -822,10 +822,6 @@ "plugin": "logstash", "path": "x-pack/plugins/logstash/public/plugin.ts" }, - { - "plugin": "slo", - "path": "x-pack/solutions/observability/plugins/slo/public/plugin.ts" - }, { "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/public/plugin.ts" @@ -853,6 +849,10 @@ { "plugin": "searchprofiler", "path": "x-pack/platform/plugins/shared/searchprofiler/public/plugin.ts" + }, + { + "plugin": "slo", + "path": "x-pack/solutions/observability/plugins/slo/public/plugin.ts" } ] }, diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index df59380b7bf81..ff1e41ac9e278 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/links.devdocs.json b/api_docs/links.devdocs.json index 1ab91b751ab1f..2f67b34b34699 100644 --- a/api_docs/links.devdocs.json +++ b/api_docs/links.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "\"link\"" ], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -44,7 +44,7 @@ "tags": [], "label": "APP_NAME", "description": [], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -59,7 +59,7 @@ "signature": [ "\"links\"" ], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -71,7 +71,7 @@ "tags": [], "label": "DISPLAY_NAME", "description": [], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -86,7 +86,7 @@ "signature": [ "1" ], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/links.mdx b/api_docs/links.mdx index 8850c8a308aca..d1062fe1df644 100644 --- a/api_docs/links.mdx +++ b/api_docs/links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/links title: "links" image: https://source.unsplash.com/400x175/?github description: API docs for the links plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'links'] --- import linksObj from './links.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index bb44106ddc1ec..691bb065a0aa9 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/llm_tasks.mdx b/api_docs/llm_tasks.mdx index 90b54871090b4..15f94a4ed4e1a 100644 --- a/api_docs/llm_tasks.mdx +++ b/api_docs/llm_tasks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/llmTasks title: "llmTasks" image: https://source.unsplash.com/400x175/?github description: API docs for the llmTasks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'llmTasks'] --- import llmTasksObj from './llm_tasks.devdocs.json'; diff --git a/api_docs/logs_data_access.devdocs.json b/api_docs/logs_data_access.devdocs.json index fcbe2a1ad9a45..5cf297c8841db 100644 --- a/api_docs/logs_data_access.devdocs.json +++ b/api_docs/logs_data_access.devdocs.json @@ -15,7 +15,7 @@ "LogSourcesService", "; }>>" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/public/hooks/use_log_sources.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/public/hooks/use_log_sources.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -61,7 +61,7 @@ "signature": [ "({ isLoading, logSourcesValue, getUrlForApp, title }: { isLoading: boolean; logSourcesValue: string; getUrlForApp: (appId: string, options?: { path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined) => string; title?: string | undefined; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/public/components/logs_sources_setting.tsx", + "path": "x-pack/platform/plugins/shared/logs_data_access/public/components/logs_sources_setting.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,7 +75,7 @@ "signature": [ "{ isLoading: boolean; logSourcesValue: string; getUrlForApp: (appId: string, options?: { path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined) => string; title?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/public/components/logs_sources_setting.tsx", + "path": "x-pack/platform/plugins/shared/logs_data_access/public/components/logs_sources_setting.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -96,7 +96,7 @@ "LogSource", "[]; combinedIndices: string; }" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/public/hooks/use_log_sources.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/public/hooks/use_log_sources.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -118,7 +118,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -136,7 +136,7 @@ "LogSourcesService", "; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -154,7 +154,7 @@ "tags": [], "label": "LogsRatesMetrics", "description": [], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -165,7 +165,7 @@ "tags": [], "label": "logRatePerMinute", "description": [], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts", "deprecated": false, "trackAdoption": false }, @@ -179,7 +179,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts", "deprecated": false, "trackAdoption": false } @@ -193,7 +193,7 @@ "tags": [], "label": "LogsRatesServiceReturnType", "description": [], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -214,7 +214,7 @@ "text": "LogsRatesMetrics" } ], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts", "deprecated": false, "trackAdoption": false } @@ -235,7 +235,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -289,7 +289,7 @@ "LogSourcesService", ">; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_data_access/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/logs_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", diff --git a/api_docs/logs_data_access.mdx b/api_docs/logs_data_access.mdx index 74ebbfe93624b..f5b581677579a 100644 --- a/api_docs/logs_data_access.mdx +++ b/api_docs/logs_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsDataAccess title: "logsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the logsDataAccess plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsDataAccess'] --- import logsDataAccessObj from './logs_data_access.devdocs.json'; diff --git a/api_docs/logs_explorer.devdocs.json b/api_docs/logs_explorer.devdocs.json index d05a47b7590d0..6d24a51787f6e 100644 --- a/api_docs/logs_explorer.devdocs.json +++ b/api_docs/logs_explorer.devdocs.json @@ -21,7 +21,7 @@ }, ") => string[] | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "text": "DisplayOptions" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -68,7 +68,7 @@ }, ") => string[] | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -88,7 +88,7 @@ "text": "DisplayOptions" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -125,7 +125,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -139,7 +139,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -161,7 +161,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -177,7 +177,7 @@ "ControlOptions", " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -212,7 +212,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -232,7 +232,7 @@ "text": "DisplayOptions" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -250,7 +250,7 @@ "tags": [], "label": "LogsExplorerController", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -264,7 +264,7 @@ "signature": [ "{}" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -284,7 +284,7 @@ "text": "LogsExplorerCustomizations" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -298,7 +298,7 @@ "signature": [ "IDatasetsClient" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -328,7 +328,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -345,7 +345,7 @@ "LogsExplorerPublicEvent", ">" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -474,7 +474,7 @@ "ServiceMap", ">>" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -497,7 +497,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false }, @@ -630,7 +630,7 @@ "ServiceMap", ">>" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false } @@ -644,7 +644,7 @@ "tags": [], "label": "LogsExplorerCustomizationEvents", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -659,7 +659,7 @@ "OnUknownDataViewSelectionHandler", " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts", "deprecated": false, "trackAdoption": false } @@ -673,7 +673,7 @@ "tags": [], "label": "LogsExplorerCustomizations", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -694,7 +694,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts", "deprecated": false, "trackAdoption": false } @@ -730,7 +730,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -753,7 +753,7 @@ }, " | undefined; initialState?: InitialState | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts", "deprecated": false, "trackAdoption": false } @@ -870,7 +870,7 @@ "WithDiscoverStateContainer", ")" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -910,7 +910,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -950,7 +950,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }; } | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -973,7 +973,7 @@ "text": "AllDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -986,7 +986,7 @@ "tags": [], "label": "LogsExplorerPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1000,7 +1000,7 @@ "signature": [ "LogsExplorerLocators" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1015,7 +1015,7 @@ "tags": [], "label": "LogsExplorerPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1033,7 +1033,7 @@ "LogsExplorerProps", ">" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1063,7 +1063,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1086,7 +1086,7 @@ }, " | undefined; initialState?: InitialState | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts", "deprecated": false, "trackAdoption": false } @@ -1125,7 +1125,7 @@ " implements ", "DataSourceSelectionStrategy" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1139,7 +1139,7 @@ "signature": [ "\"all\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1155,7 +1155,7 @@ "Dataset", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1170,7 +1170,7 @@ "() => ", "DataViewSpecWithId" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1186,7 +1186,7 @@ "signature": [ "() => { selectionType: \"all\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1202,7 +1202,7 @@ "signature": [ "() => { selectionType: \"all\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1225,7 +1225,7 @@ "text": "AllDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1236,7 +1236,7 @@ "tags": [], "label": "{ indices }", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1247,7 +1247,7 @@ "tags": [], "label": "indices", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false } @@ -1277,7 +1277,7 @@ " implements ", "DataSourceSelectionStrategy" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1291,7 +1291,7 @@ "signature": [ "\"dataView\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1307,7 +1307,7 @@ "DataViewDescriptor", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1322,7 +1322,7 @@ "() => ", "DataViewSpecWithId" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1338,7 +1338,7 @@ "signature": [ "() => { selectionType: \"dataView\"; selection: { dataView: { id: string; dataType: \"unknown\" | \"logs\" | \"unresolved\" | undefined; name: string | undefined; title: string | undefined; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1361,7 +1361,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1375,7 +1375,7 @@ "signature": [ "{ dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1402,7 +1402,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1416,7 +1416,7 @@ "signature": [ "DataViewDescriptor" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1445,7 +1445,7 @@ " implements ", "DataSourceSelectionStrategy" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1459,7 +1459,7 @@ "signature": [ "\"unresolved\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1475,7 +1475,7 @@ "Dataset", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1490,7 +1490,7 @@ "() => ", "DataViewSpecWithId" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1510,7 +1510,7 @@ "IndexPatternBrand", ">; title: string; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1537,7 +1537,7 @@ "text": "UnresolvedDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1555,7 +1555,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1582,7 +1582,7 @@ "text": "UnresolvedDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1596,7 +1596,7 @@ "signature": [ "Dataset" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1660,7 +1660,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1682,7 +1682,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1703,7 +1703,7 @@ "text": "AllDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1723,7 +1723,7 @@ "(input: any) => input is ", "DatasetSelection" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1737,7 +1737,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1757,7 +1757,7 @@ "(input: any) => input is ", "DataSourceSelection" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1771,7 +1771,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1797,7 +1797,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1811,7 +1811,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1837,7 +1837,7 @@ "text": "UnresolvedDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1851,7 +1851,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1869,7 +1869,7 @@ "tags": [], "label": "ChartDisplayOptions", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1883,7 +1883,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -1897,7 +1897,7 @@ "tags": [], "label": "DisplayOptions", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1917,7 +1917,7 @@ "text": "GridDisplayOptions" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1937,7 +1937,7 @@ "text": "ChartDisplayOptions" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -1951,7 +1951,7 @@ "tags": [], "label": "GridDisplayOptions", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1972,7 +1972,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1992,7 +1992,7 @@ "text": "GridRowsDisplayOptions" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -2006,7 +2006,7 @@ "tags": [], "label": "GridRowsDisplayOptions", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2017,7 +2017,7 @@ "tags": [], "label": "rowHeight", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2028,7 +2028,7 @@ "tags": [], "label": "rowsPerPage", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -2042,7 +2042,7 @@ "tags": [], "label": "PartialDisplayOptions", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2072,7 +2072,7 @@ }, "> | undefined; }> | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2094,7 +2094,7 @@ }, "> | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -2114,7 +2114,7 @@ "signature": [ "\"data_stream.namespace\"[]" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2129,7 +2129,7 @@ "signature": [ "{ readonly NAMESPACE: \"data_stream.namespace\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2144,7 +2144,7 @@ "signature": [ "\"content\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2159,7 +2159,7 @@ "signature": [ "{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; exclude?: boolean | undefined; existsSelected?: boolean | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2182,7 +2182,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2199,7 +2199,7 @@ " | ", "SmartFieldGridColumnOptions" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2214,7 +2214,7 @@ "signature": [ "{ breakdownField?: string | null | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2245,7 +2245,7 @@ }, "> | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2260,7 +2260,7 @@ "signature": [ "{ rowHeight?: number | undefined; rowsPerPage?: number | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2277,7 +2277,7 @@ "signature": [ "{ readonly NAMESPACE: \"data_stream.namespace\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2289,7 +2289,7 @@ "tags": [], "label": "CONTENT_FIELD_CONFIGURATION", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2303,7 +2303,7 @@ "signature": [ "\"smart-field\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -2317,7 +2317,7 @@ "signature": [ "\"content\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -2331,7 +2331,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -2345,7 +2345,7 @@ "tags": [], "label": "controlPanelConfigs", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2356,7 +2356,7 @@ "tags": [], "label": "[availableControlsPanels.NAMESPACE]", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2367,7 +2367,7 @@ "tags": [], "label": "order", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false }, @@ -2381,7 +2381,7 @@ "signature": [ "\"medium\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false }, @@ -2395,7 +2395,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false }, @@ -2406,7 +2406,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false }, @@ -2420,7 +2420,7 @@ "signature": [ "\"data_stream.namespace\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false }, @@ -2431,7 +2431,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts", "deprecated": false, "trackAdoption": false } @@ -2491,7 +2491,7 @@ "StringC", ">; }>]>>" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2603,7 +2603,7 @@ "StringC", "; }>]>>; }>]>; }>]>" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2615,7 +2615,7 @@ "tags": [], "label": "RESOURCE_FIELD_CONFIGURATION", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2629,7 +2629,7 @@ "signature": [ "\"smart-field\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -2643,7 +2643,7 @@ "signature": [ "\"resource\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -2657,7 +2657,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -2668,7 +2668,7 @@ "tags": [], "label": "width", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -2720,7 +2720,7 @@ "StringC", "; }>]>>; }>]>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2732,7 +2732,7 @@ "tags": [], "label": "SMART_FALLBACK_FIELDS", "description": [], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2746,7 +2746,7 @@ "signature": [ "SmartFieldGridColumnOptions" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -2760,7 +2760,7 @@ "signature": [ "SmartFieldGridColumnOptions" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/logs_explorer.mdx b/api_docs/logs_explorer.mdx index 80a917d5a01f5..496e42d8e0c6f 100644 --- a/api_docs/logs_explorer.mdx +++ b/api_docs/logs_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsExplorer title: "logsExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the logsExplorer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsExplorer'] --- import logsExplorerObj from './logs_explorer.devdocs.json'; diff --git a/api_docs/logs_shared.devdocs.json b/api_docs/logs_shared.devdocs.json index f0c1e97569f1b..e75cb78569575 100644 --- a/api_docs/logs_shared.devdocs.json +++ b/api_docs/logs_shared.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "({ logViewKey, sourceIdKey, toastsService, urlStateStorage, }: LogViewUrlStateDependencies) => { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } | null" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "LogViewUrlStateDependencies" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -106,7 +106,7 @@ "LogViewEvent", ">" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "signature": [ "LogViewUrlStateDependencies" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -207,7 +207,7 @@ "LogViewEvent", ">" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -218,7 +218,7 @@ "tags": [], "label": "{\n urlStateStorage,\n logViewKey = defaultLogViewKey,\n }", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -238,7 +238,7 @@ "text": "IKbnUrlStateStorage" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false }, @@ -252,7 +252,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false } @@ -280,7 +280,7 @@ }, " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -314,7 +314,7 @@ "LogEntryColumnWidth", "; 'data-test-subj'?: string | undefined; } & { children?: React.ReactNode; } & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -346,7 +346,7 @@ "signature": [ "React.ForwardRefExoticComponent & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -394,7 +394,7 @@ }, " | undefined; } & { children?: React.ReactNode; } & { as?: React.ComponentType | keyof JSX.IntrinsicElements | undefined; forwardedAs?: React.ComponentType | keyof JSX.IntrinsicElements | undefined; }, \"ref\">) & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -428,7 +428,7 @@ "LogEntryContextMenuProps", " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -462,7 +462,7 @@ "LogEntryFieldColumnProps", " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -496,7 +496,7 @@ "LogEntryFlyoutProps", " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -530,7 +530,7 @@ "LogEntryMessageColumnProps", " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -578,7 +578,7 @@ }, " | undefined; } & { children?: React.ReactNode; } & { as?: React.ComponentType | keyof JSX.IntrinsicElements | undefined; forwardedAs?: React.ComponentType | keyof JSX.IntrinsicElements | undefined; }, \"ref\">) & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -612,7 +612,7 @@ "LogEntryTimestampColumnProps", " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -644,7 +644,7 @@ "signature": [ "React.FunctionComponent>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -694,7 +694,7 @@ "LogStreamPageCallbacks", "; }>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/use_log_position.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/use_log_position.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -748,7 +748,7 @@ }, " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -780,7 +780,7 @@ "signature": [ "React.FunctionComponent>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1004,7 +1004,7 @@ "LogViewEvent", "> | undefined; }>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1062,7 +1062,7 @@ "CommonEuiButtonEmptyProps", " & { href?: string | undefined; onClick?: React.MouseEventHandler | undefined; } & React.AnchorHTMLAttributes), \"size\" | \"flush\" | \"href\"> & { testSubject: string; } & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1104,7 +1104,7 @@ }, ">, \"ref\"> & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1192,7 +1192,7 @@ "LogViewEvent", ") => void" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1206,7 +1206,7 @@ "signature": [ "LogViewUrlStateDependencies" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1241,7 +1241,7 @@ }, "; CharacterDimensionsProbe: () => React.JSX.Element; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1252,7 +1252,7 @@ "tags": [], "label": "{\n columnConfigurations,\n scale,\n timeFormat = 'time',\n}", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1267,7 +1267,7 @@ "LogColumnRenderConfiguration", "[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -1281,7 +1281,7 @@ "signature": [ "\"small\" | \"medium\" | \"large\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -1296,7 +1296,7 @@ "TimeFormat", " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false } @@ -1408,7 +1408,7 @@ }, " | null; hasPreviousHighlight: boolean; hasNextHighlight: boolean; goToPreviousHighlight: () => void; goToNextHighlight: () => void; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1426,7 +1426,7 @@ "() => DateRange & { targetPosition: TimeKeyOrNull; isStreaming: boolean; firstVisiblePosition: TimeKeyOrNull; pagesBeforeStart: number; pagesAfterEnd: number; visibleMidpoint: TimeKeyOrNull; visibleMidpointTime: number | null; visibleTimeInterval: { start: number; end: number; } | null; } & ", "LogPositionCallbacks" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/use_log_position.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/use_log_position.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1459,7 +1459,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; topCursor: { time: string; tiebreaker: number; } | null; bottomCursor: { time: string; tiebreaker: number; } | null; hasMoreBefore: boolean; hasMoreAfter: boolean; lastLoadedTime?: Date | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1946,7 +1946,7 @@ "ServiceMap", ">>; update: (logViewAttributes: Partial<{ name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }>) => Promise; changeLogViewReference: (logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }) => void; revertToDefaultLogView: () => void; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1957,7 +1957,7 @@ "tags": [], "label": "{\n initialLogViewReference,\n logViews,\n useDevTools = isDevMode(),\n initializeFromUrl,\n updateContextInUrl,\n listenForUrlChanges,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1971,7 +1971,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -1985,7 +1985,7 @@ "signature": [ "ILogViewsClient" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -1999,7 +1999,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -2072,7 +2072,7 @@ "LogViewEvent", "> | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -2142,7 +2142,7 @@ "LogViewEvent", ") => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -2215,7 +2215,7 @@ "LogViewEvent", "> | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false } @@ -2527,7 +2527,7 @@ "ServiceMap", ">>; update: (logViewAttributes: Partial<{ name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }>) => Promise; changeLogViewReference: (logViewReference: { logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }) => void; revertToDefaultLogView: () => void; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2552,7 +2552,7 @@ }, " & React.RefAttributes<{}>>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/index.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2583,7 +2583,7 @@ "tags": [], "label": "LogAIAssistantDocument", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2605,7 +2605,7 @@ }, "; }[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", "deprecated": false, "trackAdoption": false } @@ -2619,7 +2619,7 @@ "tags": [], "label": "LogAIAssistantProps", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2639,7 +2639,7 @@ "text": "ObservabilityAIAssistantPublicStart" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", "deprecated": false, "trackAdoption": false }, @@ -2660,7 +2660,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx", "deprecated": false, "trackAdoption": false } @@ -2674,7 +2674,7 @@ "tags": [], "label": "LogEntryColumnWidths", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2689,7 +2689,7 @@ "[columnId: string]: ", "LogEntryColumnWidth" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false }, @@ -2703,7 +2703,7 @@ "signature": [ "{ baseWidth: string; growWeight: number; shrinkWeight: number; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false } @@ -2717,7 +2717,7 @@ "tags": [], "label": "LogEntryStreamItem", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2731,7 +2731,7 @@ "signature": [ "\"logEntry\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts", "deprecated": false, "trackAdoption": false }, @@ -2761,7 +2761,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts", "deprecated": false, "trackAdoption": false }, @@ -2791,7 +2791,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts", "deprecated": false, "trackAdoption": false } @@ -2805,7 +2805,7 @@ "tags": [], "label": "LogsSharedClientSetupDeps", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2853,7 +2853,7 @@ }, ") => void; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -2867,7 +2867,7 @@ "tags": [], "label": "LogsSharedClientStartDeps", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2890,7 @@ "ActiveCursor", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2910,7 +2910,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2930,7 +2930,7 @@ "text": "DataViewsServicePublic" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2950,7 +2950,7 @@ "text": "DiscoverSharedPublicStart" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2966,7 +2966,7 @@ "LogSourcesService", "; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2987,7 +2987,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3027,7 +3027,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3115,7 +3115,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3145,7 +3145,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3165,7 +3165,7 @@ "text": "EmbeddableStart" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3185,7 +3185,7 @@ "text": "SavedSearchPublicPluginStart" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3209,7 +3209,7 @@ }, " extends LogStreamContentProps" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3223,7 +3223,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.tsx", "deprecated": false, "trackAdoption": false } @@ -3237,7 +3237,7 @@ "tags": [], "label": "LogViewContextWithError", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3251,7 +3251,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3265,7 +3265,7 @@ "tags": [], "label": "LogViewContextWithResolvedLogView", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3285,7 +3285,7 @@ "text": "ResolvedLogView" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3299,7 +3299,7 @@ "tags": [], "label": "UpdatedDateRange", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3313,7 +3313,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -3327,7 +3327,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false } @@ -3341,7 +3341,7 @@ "tags": [], "label": "VisibleInterval", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3352,7 +3352,7 @@ "tags": [], "label": "pagesBeforeStart", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -3363,7 +3363,7 @@ "tags": [], "label": "pagesAfterEnd", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -3377,7 +3377,7 @@ "signature": [ "({ time: string; tiebreaker: number; } & { gid?: string | undefined; fromAutoReload?: boolean | undefined; }) | null" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -3391,7 +3391,7 @@ "signature": [ "({ time: string; tiebreaker: number; } & { gid?: string | undefined; fromAutoReload?: boolean | undefined; }) | null" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -3405,7 +3405,7 @@ "signature": [ "({ time: string; tiebreaker: number; } & { gid?: string | undefined; fromAutoReload?: boolean | undefined; }) | null" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -3416,7 +3416,7 @@ "tags": [], "label": "fromScroll", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx", "deprecated": false, "trackAdoption": false } @@ -3430,7 +3430,7 @@ "tags": [], "label": "WithSummaryProps", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3444,7 +3444,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3459,7 +3459,7 @@ "(args: { buckets: { start: number; end: number; entriesCount: number; }[]; start: number | null; end: number | null; }) => ", "RendererResult" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3474,7 +3474,7 @@ "signature": [ "RenderArgs" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/utils/typed_react.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/utils/typed_react.tsx", "deprecated": false, "trackAdoption": false } @@ -3503,7 +3503,7 @@ "text": "iconColumnId" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3528,7 +3528,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3543,7 +3543,7 @@ "signature": [ "{ start: number; end: number; entriesCount: number; }[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.tsx", + "path": "x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3623,7 +3623,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3646,7 +3646,7 @@ }, "; status: { index: \"unknown\" | \"missing\" | \"empty\" | \"available\"; }; } | { type: \"LOADING_LOG_VIEW_FAILED\"; error: Error; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/notifications.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/notifications.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3660,7 +3660,7 @@ "tags": [], "label": "LogsSharedClientSetupExports", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3674,7 +3674,7 @@ "signature": [ "LogViewsServiceSetup" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3688,7 +3688,7 @@ "signature": [ "LogsSharedLocators" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3703,7 +3703,7 @@ "tags": [], "label": "LogsSharedClientStartExports", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3717,7 +3717,7 @@ "signature": [ "LogViewsServiceStart" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3739,7 +3739,7 @@ }, ", \"observabilityAIAssistant\">) => JSX.Element) | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3761,7 +3761,7 @@ }, ", \"observabilityAIAssistant\">" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3781,7 +3781,7 @@ " & ", "SelfContainedLogsOverviewHelpers" ], - "path": "x-pack/plugins/observability_solution/logs_shared/public/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3816,7 +3816,7 @@ "text": "ILogsSharedLogEntriesDomain" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3830,7 +3830,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3844,7 +3844,7 @@ "signature": [ "LogEntriesAdapter" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3861,7 +3861,7 @@ "LogsSharedBackendLibs", ", \"framework\" | \"getStartServices\">" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3905,7 +3905,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3925,7 +3925,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3940,7 +3940,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3955,7 +3955,7 @@ "signature": [ "LogEntriesAroundParams" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3970,7 +3970,7 @@ "signature": [ "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4014,7 +4014,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4034,7 +4034,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4049,7 +4049,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4064,7 +4064,7 @@ "signature": [ "LogEntriesParams" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4079,7 +4079,7 @@ "signature": [ "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4113,7 +4113,7 @@ }, " | undefined) => Promise<{ start: number; end: number; entriesCount: number; }[]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4133,7 +4133,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4148,7 +4148,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4163,7 +4163,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4178,7 +4178,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4193,7 +4193,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4215,7 +4215,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4249,7 +4249,7 @@ }, " | undefined) => Promise<({ start: number; end: number; entriesCount: number; } & { representativeKey: { time: string; tiebreaker: number; }; })[][]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4269,7 +4269,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4284,7 +4284,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4299,7 +4299,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4314,7 +4314,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4329,7 +4329,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4344,7 +4344,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4366,7 +4366,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4394,7 +4394,7 @@ "MappingRuntimeFields", ") => Promise" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4414,7 +4414,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4429,7 +4429,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4444,7 +4444,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4459,7 +4459,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4474,7 +4474,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4489,7 +4489,7 @@ "signature": [ "MappingRuntimeFields" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4510,7 +4510,7 @@ "tags": [], "label": "ILogsSharedLogEntriesDomain", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4550,7 +4550,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4570,7 +4570,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4585,7 +4585,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4600,7 +4600,7 @@ "signature": [ "LogEntriesAroundParams" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4615,7 +4615,7 @@ "signature": [ "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4659,7 +4659,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }[]; hasMoreBefore?: boolean | undefined; hasMoreAfter?: boolean | undefined; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4679,7 +4679,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4694,7 +4694,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4709,7 +4709,7 @@ "signature": [ "LogEntriesParams" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4724,7 +4724,7 @@ "signature": [ "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[] | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4758,7 +4758,7 @@ }, " | undefined) => Promise<{ start: number; end: number; entriesCount: number; }[]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4778,7 +4778,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4793,7 +4793,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4808,7 +4808,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4823,7 +4823,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4838,7 +4838,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4860,7 +4860,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4894,7 +4894,7 @@ }, " | undefined) => Promise<({ start: number; end: number; entriesCount: number; } & { representativeKey: { time: string; tiebreaker: number; }; })[][]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4914,7 +4914,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4929,7 +4929,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4944,7 +4944,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4959,7 +4959,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4974,7 +4974,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4989,7 +4989,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5011,7 +5011,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5039,7 +5039,7 @@ "MappingRuntimeFields", ") => Promise" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5059,7 +5059,7 @@ "text": "RequestHandlerContext" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5074,7 +5074,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5089,7 +5089,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5104,7 +5104,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5119,7 +5119,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5134,7 +5134,7 @@ "signature": [ "MappingRuntimeFields" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5158,7 +5158,7 @@ "signature": [ "\"infrastructure-monitoring-log-view\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5183,7 +5183,7 @@ " extends ", "LogsSharedDomainLibs" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5197,7 +5197,7 @@ "signature": [ "LogViewsServiceSetup" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5213,7 +5213,7 @@ "UsageCollector", ") => void" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5227,7 +5227,7 @@ "signature": [ "UsageCollector" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5246,7 +5246,7 @@ "tags": [], "label": "LogsSharedPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/server/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5260,7 +5260,7 @@ "signature": [ "LogViewsServiceStart" ], - "path": "x-pack/plugins/observability_solution/logs_shared/server/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -5288,7 +5288,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5302,7 +5302,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5316,7 +5316,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5331,7 +5331,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5359,7 +5359,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5373,7 +5373,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5387,7 +5387,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5402,7 +5402,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5430,7 +5430,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5444,7 +5444,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5458,7 +5458,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5473,7 +5473,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5496,7 +5496,7 @@ "signature": [ "(date: string) => string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5510,7 +5510,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5537,7 +5537,7 @@ }, ") => string" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/helpers.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5557,7 +5557,7 @@ "text": "NodeLogsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/helpers.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5576,7 +5576,7 @@ "signature": [ "(hit: { sort: [string, number]; }) => { time: string; tiebreaker: number; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5587,7 +5587,7 @@ "tags": [], "label": "hit", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5601,7 +5601,7 @@ "signature": [ "[string, number]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false } @@ -5673,7 +5673,7 @@ }, ">; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/get_logs_locators.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/get_logs_locators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5690,7 +5690,7 @@ "IShortUrlClient", ">" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/get_logs_locators.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/get_logs_locators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5725,7 +5725,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5741,7 +5741,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5757,7 +5757,7 @@ "signature": [ "{ startTime: number; endTime: number; } | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5771,7 +5771,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5785,7 +5785,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } | undefined" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false } @@ -5816,7 +5816,7 @@ "text": "LogsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5827,7 +5827,7 @@ "tags": [], "label": "nodeField", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5838,7 +5838,7 @@ "tags": [], "label": "nodeId", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false } @@ -5852,7 +5852,7 @@ "tags": [], "label": "ResolvedLogView", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5863,7 +5863,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5874,7 +5874,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5885,7 +5885,7 @@ "tags": [], "label": "indices", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5896,7 +5896,7 @@ "tags": [], "label": "timestampField", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5907,7 +5907,7 @@ "tags": [], "label": "tiebreakerField", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5921,7 +5921,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5942,7 +5942,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5958,7 +5958,7 @@ "MappingRuntimeField", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5972,7 +5972,7 @@ "signature": [ "({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false }, @@ -5992,7 +5992,7 @@ "text": "DataView" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false } @@ -6023,7 +6023,7 @@ "text": "LogsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6034,7 +6034,7 @@ "tags": [], "label": "traceId", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts", "deprecated": false, "trackAdoption": false } @@ -6054,7 +6054,7 @@ "signature": [ "\"logFilter\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6069,7 +6069,7 @@ "signature": [ "\"logPosition\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6084,7 +6084,7 @@ "signature": [ "\"/api/log_entries/highlights\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6099,7 +6099,7 @@ "signature": [ "\"/api/log_entries/summary\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6130,7 +6130,7 @@ }, "; highlights: string[]; })[]; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6145,7 +6145,7 @@ "signature": [ "{ type: \"data_view\"; dataViewId: string; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6160,7 +6160,7 @@ "signature": [ "{ start: number; end: number; entriesCount: number; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6175,7 +6175,7 @@ "signature": [ "{ start: number; end: number; entriesCount: number; } & { representativeKey: { time: string; tiebreaker: number; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6206,7 +6206,7 @@ }, "; highlights: string[]; })[]; })[]; context: {} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6221,7 +6221,7 @@ "signature": [ "{ after: \"first\" | { time: string; tiebreaker: number; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6236,7 +6236,7 @@ "signature": [ "{ center: { time: string; tiebreaker: number; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6251,7 +6251,7 @@ "signature": [ "{ before: { time: string; tiebreaker: number; } | \"last\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6266,7 +6266,7 @@ "signature": [ "{} | { 'container.id': string; } | { 'host.name': string; 'log.file.path': string; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6281,7 +6281,7 @@ "signature": [ "{ time: string; tiebreaker: number; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6304,7 +6304,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6319,7 +6319,7 @@ "signature": [ "{ time: string; tiebreaker: number; } & { gid?: string | undefined; fromAutoReload?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6342,7 +6342,7 @@ }, "; highlights: string[]; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6357,7 +6357,7 @@ "signature": [ "{ type: \"index_name\"; indexName: string; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6372,7 +6372,7 @@ "signature": [ "{ type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6395,7 +6395,7 @@ }, "; highlights: string[]; })[]; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6410,7 +6410,7 @@ "signature": [ "{ constant: string; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6433,7 +6433,7 @@ }, "; highlights: string[]; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6456,7 +6456,7 @@ }, "; highlights: string[]; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6471,7 +6471,7 @@ "signature": [ "\"LOGS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/logs_locator.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/logs_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6486,7 +6486,7 @@ "signature": [ "{ type: \"kibana_advanced_setting\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6501,7 +6501,7 @@ "signature": [ "{ columnId: string; time: string; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6516,7 +6516,7 @@ "signature": [ "{ id: string; origin: \"internal\" | \"inline\" | \"stored\" | \"infra-source-stored\" | \"infra-source-internal\" | \"infra-source-fallback\"; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; } & { updatedAt?: number | undefined; version?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6531,7 +6531,7 @@ "signature": [ "{ name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6546,7 +6546,7 @@ "signature": [ "{ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6561,7 +6561,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; } | { type: \"log-view-inline\"; id: string; attributes: { name: string; description: string; logIndices: { type: \"data_view\"; dataViewId: string; } | { type: \"index_name\"; indexName: string; } | { type: \"kibana_advanced_setting\"; }; logColumns: ({ timestampColumn: { id: string; }; } | { messageColumn: { id: string; }; } | { fieldColumn: { id: string; } & { field: string; }; })[]; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6576,7 +6576,7 @@ "signature": [ "{ index: \"unknown\" | \"missing\" | \"empty\" | \"available\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6591,7 +6591,7 @@ "signature": [ "\"NODE_LOGS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/node_logs_locator.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/node_logs_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6606,7 +6606,7 @@ "signature": [ "{ logViewId: string; type: \"log-view-reference\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6654,7 +6654,7 @@ "MappingTimeSeriesMetricType", " | undefined; shortDotsEnable?: boolean | undefined; isMapped?: boolean | undefined; parentName?: string | undefined; defaultFormatter?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6669,7 +6669,7 @@ "signature": [ "\"TRACE_LOGS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/locators/trace_logs_locator.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/locators/trace_logs_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6683,7 +6683,7 @@ "tags": [], "label": "DEFAULT_LOG_VIEW", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6697,7 +6697,7 @@ "signature": [ "\"log-view-reference\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false }, @@ -6708,7 +6708,7 @@ "tags": [], "label": "logViewId", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false } @@ -6722,7 +6722,7 @@ "tags": [], "label": "DEFAULT_REFRESH_INTERVAL", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6733,7 +6733,7 @@ "tags": [], "label": "pause", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false }, @@ -6744,7 +6744,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false } @@ -6758,7 +6758,7 @@ "tags": [], "label": "defaultLogViewAttributes", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6769,7 +6769,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false }, @@ -6780,7 +6780,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false }, @@ -6791,7 +6791,7 @@ "tags": [], "label": "logIndices", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6805,7 +6805,7 @@ "signature": [ "\"index_name\"" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false }, @@ -6816,7 +6816,7 @@ "tags": [], "label": "indexName", "description": [], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false } @@ -6832,7 +6832,7 @@ "signature": [ "({ timestampColumn: { id: string; }; } | { fieldColumn: { id: string; field: string; }; } | { messageColumn: { id: string; }; })[]" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts", "deprecated": false, "trackAdoption": false } @@ -6922,7 +6922,7 @@ "StringC", ">; }>]>>; }>]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6942,7 +6942,7 @@ "StringC", "; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7580,7 +7580,7 @@ "NumberC", "; }>; }>]>]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7828,7 +7828,7 @@ "StringC", "; }>]>; }>>; }>]>>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7940,7 +7940,7 @@ "NullC", "]>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7972,7 +7972,7 @@ "NumberC", "; }>>; }>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7998,7 +7998,7 @@ "LiteralC", "<\"first\">]>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8020,7 +8020,7 @@ "NumberC", "; }>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8046,7 +8046,7 @@ "LiteralC", "<\"last\">]>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8076,7 +8076,7 @@ "StringC", "; }>]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8096,7 +8096,7 @@ "NumberC", "; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8132,7 +8132,7 @@ }, ", unknown>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8250,7 +8250,7 @@ "StringC", "; }>]>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8292,7 +8292,7 @@ "StringC", ">; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8312,7 +8312,7 @@ "StringC", "; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8364,7 +8364,7 @@ "StringC", ">; }>]>>; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8384,7 +8384,7 @@ "StringC", "; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8424,7 +8424,7 @@ "StringC", ">; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8470,7 +8470,7 @@ "StringC", ">; }>]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8488,7 +8488,7 @@ "LiteralC", "<\"kibana_advanced_setting\">; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8510,7 +8510,7 @@ "StringC", "; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8564,7 +8564,7 @@ "StringC", "; }>>]>; }>>]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8660,7 +8660,7 @@ "StringC", "; }>>]>; }>>]>>; }>>; }>]>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8680,7 +8680,7 @@ "LiteralC", "<\"log-view-reference\">; }>" ], - "path": "x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts", + "path": "x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index 9c280fb4739bd..79c35c7b4a155 100644 --- a/api_docs/logs_shared.mdx +++ b/api_docs/logs_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsShared title: "logsShared" image: https://source.unsplash.com/400x175/?github description: API docs for the logsShared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.devdocs.json b/api_docs/management.devdocs.json index 1eb477d2ca7d3..ef59722f81a3c 100644 --- a/api_docs/management.devdocs.json +++ b/api_docs/management.devdocs.json @@ -564,13 +564,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "src/platform/plugins/shared/management/public/types.ts", diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 396b68ac777de..3c8cdf199e29f 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.devdocs.json b/api_docs/maps.devdocs.json index 9fc15f88d570b..5b7722d572eb0 100644 --- a/api_docs/maps.devdocs.json +++ b/api_docs/maps.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "DataRequest", "description": [], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -23,7 +23,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "signature": [ "DataRequestDescriptor" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -55,7 +55,7 @@ "signature": [ "() => object | undefined" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -71,7 +71,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -88,7 +88,7 @@ "() => ", "DataRequestMeta" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -104,7 +104,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -120,7 +120,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -136,7 +136,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -152,7 +152,7 @@ "signature": [ "() => symbol | undefined" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -168,7 +168,7 @@ "signature": [ "() => Error | undefined" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -184,7 +184,7 @@ "signature": [ "() => React.ReactNode" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -212,7 +212,7 @@ "text": "MapApi" } ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -226,7 +226,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -244,7 +244,7 @@ "tags": [], "label": "BoundsRequestMeta", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -255,7 +255,7 @@ "tags": [], "label": "applyGlobalQuery", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -266,7 +266,7 @@ "tags": [], "label": "applyGlobalTime", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -287,7 +287,7 @@ }, "[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -308,7 +308,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -338,7 +338,7 @@ }, "[]; } | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -359,7 +359,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -373,7 +373,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -388,7 +388,7 @@ "Timeslice", " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -399,7 +399,7 @@ "tags": [], "label": "isFeatureEditorOpenForLayer", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -420,7 +420,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -442,7 +442,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false } @@ -456,7 +456,7 @@ "tags": [], "label": "CreateLayerDescriptorParams", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -467,7 +467,7 @@ "tags": [], "label": "indexPatternId", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false }, @@ -478,7 +478,7 @@ "tags": [], "label": "geoFieldName", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false }, @@ -498,7 +498,7 @@ "text": "ES_GEO_FIELD_TYPE" } ], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false }, @@ -519,7 +519,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false } @@ -533,7 +533,7 @@ "tags": [], "label": "EMSTermJoinConfig", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -544,7 +544,7 @@ "tags": [], "label": "layerId", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false }, @@ -555,7 +555,7 @@ "tags": [], "label": "field", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false }, @@ -566,7 +566,7 @@ "tags": [], "label": "displayName", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false } @@ -580,7 +580,7 @@ "tags": [], "label": "GeoJsonWithMeta", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -594,7 +594,7 @@ "signature": [ "GeoJSON.FeatureCollection" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -609,7 +609,7 @@ "DataRequestMeta", " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false } @@ -623,7 +623,7 @@ "tags": [], "label": "GetFeatureActionsArgs", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -645,7 +645,7 @@ }, "[], actionId: string) => Promise) | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -656,7 +656,7 @@ "tags": [], "label": "featureId", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -670,7 +670,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -692,7 +692,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -716,7 +716,7 @@ }, "[]>) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -732,7 +732,7 @@ "signature": [ "() => GeoJSON.Geometry | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -748,7 +748,7 @@ "signature": [ "maplibregl.GeoJSONFeature & { layer: (Omit | Omit | Omit | Omit | Omit | Omit | Omit | Omit | Omit) & { source: string; }; source: string; sourceLayer?: string | undefined; state: { [key: string]: any; }; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -762,7 +762,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -778,7 +778,7 @@ "tags": [], "label": "IField", "description": [], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -792,7 +792,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -808,7 +808,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -824,7 +824,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -840,7 +840,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -856,7 +856,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -872,7 +872,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -896,7 +896,7 @@ }, ">" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -910,7 +910,7 @@ "signature": [ "string | string[] | undefined" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -935,7 +935,7 @@ "text": "IVectorSource" } ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -958,7 +958,7 @@ "text": "FIELD_ORIGIN" } ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -974,7 +974,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -992,7 +992,7 @@ "AggregationsExtendedStatsAggregation", "; }> | null>" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1010,7 +1010,7 @@ "AggregationsPercentilesAggregation", "; }> | null>" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1024,7 +1024,7 @@ "signature": [ "number[]" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1044,7 +1044,7 @@ "AggregationsTermsAggregation", "; }> | null>" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1058,7 +1058,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1076,7 +1076,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1092,7 +1092,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1116,7 +1116,7 @@ }, ") => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1136,7 +1136,7 @@ "text": "IField" } ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1156,7 +1156,7 @@ "TileMetaFeature", ") => { min: number; max: number; } | null" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1170,7 +1170,7 @@ "signature": [ "TileMetaFeature" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1188,7 +1188,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1221,7 +1221,7 @@ "text": "ITMSSource" } ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1245,7 +1245,7 @@ "DataRequestMeta", ") => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1265,7 +1265,7 @@ "text": "DataRequest" } ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1280,7 +1280,7 @@ "signature": [ "DataRequestMeta" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1300,7 +1300,7 @@ "RasterTileSourceData", ") => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1314,7 +1314,7 @@ "signature": [ "maplibregl.RasterTileSource" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1329,7 +1329,7 @@ "signature": [ "RasterTileSourceData" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1347,7 +1347,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1371,7 +1371,7 @@ }, " | undefined) => React.ReactElement> | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1392,7 +1392,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1421,7 +1421,7 @@ " extends ", "ISource" ], - "path": "x-pack/plugins/maps/public/classes/sources/tms_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1437,7 +1437,7 @@ "SourceRequestMeta", ") => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/tms_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1451,7 +1451,7 @@ "signature": [ "SourceRequestMeta" ], - "path": "x-pack/plugins/maps/public/classes/sources/tms_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1469,7 +1469,7 @@ "tags": [], "label": "ITooltipProperty", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1483,7 +1483,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1499,7 +1499,7 @@ "signature": [ "() => React.ReactNode" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1515,7 +1515,7 @@ "signature": [ "() => React.ReactNode" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1531,7 +1531,7 @@ "signature": [ "() => string | string[] | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1547,7 +1547,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1571,7 +1571,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1598,7 +1598,7 @@ " extends ", "ISource" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1612,7 +1612,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1644,7 +1644,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1658,7 +1658,7 @@ "signature": [ "GeoJSON.GeoJsonProperties" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1679,7 +1679,7 @@ "text": "KibanaExecutionContext" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1707,7 +1707,7 @@ "MapExtent", " | null>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1727,7 +1727,7 @@ "text": "BoundsRequestMeta" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1742,7 +1742,7 @@ "signature": [ "(callback: () => void) => void" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1784,7 +1784,7 @@ }, ">" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1798,7 +1798,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1819,7 +1819,7 @@ "text": "VectorSourceRequestMeta" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1834,7 +1834,7 @@ "signature": [ "(callback: () => void) => void" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1849,7 +1849,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1870,7 +1870,7 @@ "text": "Adapters" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1896,7 +1896,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1920,7 +1920,7 @@ }, " | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1934,7 +1934,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1960,7 +1960,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1976,7 +1976,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2000,7 +2000,7 @@ }, ") => object | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2020,7 +2020,7 @@ "text": "DataFilters" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2038,7 +2038,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2062,7 +2062,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2078,7 +2078,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2109,7 +2109,7 @@ "text": "SourceStatus" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2130,7 +2130,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2148,7 +2148,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2164,7 +2164,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2180,7 +2180,7 @@ "signature": [ "(geometry: GeoJSON.Geometry | GeoJSON.Position[]) => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2194,7 +2194,7 @@ "signature": [ "GeoJSON.Geometry | GeoJSON.Position[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2212,7 +2212,7 @@ "signature": [ "(featureId: string) => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2226,7 +2226,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2260,7 +2260,7 @@ }, "[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2280,7 +2280,7 @@ "text": "GetFeatureActionsArgs" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2298,7 +2298,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2316,7 +2316,7 @@ "signature": [ "(() => Promise) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2336,7 +2336,7 @@ "IVectorStyle", ") => React.ReactElement> | null) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2350,7 +2350,7 @@ "signature": [ "IVectorStyle" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2368,7 +2368,7 @@ "tags": [], "label": "RenderTooltipContentParams", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2390,7 +2390,7 @@ }, "[], actionId: string) => Promise) | null" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2404,7 +2404,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2427,7 +2427,7 @@ }, "[]" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2449,7 +2449,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2473,7 +2473,7 @@ }, "[]>) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2489,7 +2489,7 @@ "signature": [ "(layerId: string) => Promise" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2503,7 +2503,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2518,7 +2518,7 @@ "tags": [], "label": "isLocked", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2540,7 +2540,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2551,7 +2551,7 @@ "tags": [], "label": "{\n layerId,\n properties,\n }", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2562,7 +2562,7 @@ "tags": [], "label": "layerId", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2576,7 +2576,7 @@ "signature": [ "{ [name: string]: any; } | null" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false } @@ -2595,7 +2595,7 @@ "signature": [ "({ layerId, featureId, }: { layerId: string; featureId?: string | number | undefined; }) => GeoJSON.Geometry | null" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2606,7 +2606,7 @@ "tags": [], "label": "{\n layerId,\n featureId,\n }", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2617,7 +2617,7 @@ "tags": [], "label": "layerId", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2631,7 +2631,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false } @@ -2652,7 +2652,7 @@ "RawValue", ") => void) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2666,7 +2666,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2681,7 +2681,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2696,7 +2696,7 @@ "signature": [ "RawValue" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2714,7 +2714,7 @@ "tags": [], "label": "SampleValuesConfig", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2728,7 +2728,7 @@ "signature": [ "(string | number)[] | undefined" ], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false }, @@ -2742,7 +2742,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false } @@ -2756,7 +2756,7 @@ "tags": [], "label": "SourceStatus", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2770,7 +2770,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -2781,7 +2781,7 @@ "tags": [], "label": "areResultsTrimmed", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -2795,7 +2795,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false } @@ -2815,7 +2815,7 @@ "signature": [ "{ label: string; url: string; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2830,7 +2830,7 @@ "signature": [ "\"__kbn__feature_id__\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2845,7 +2845,7 @@ "signature": [ "{ label: string; value: string; link?: string | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/source.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2878,7 +2878,7 @@ "LayerWizardStep", "[] | undefined; disabledReason?: string | undefined; getIsDisabled?: (() => boolean | Promise) | undefined; isBeta?: boolean | undefined; checkVisibility?: (() => Promise) | undefined; showFeatureEditTools?: boolean | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2893,7 +2893,7 @@ "signature": [ "\"map\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3081,7 +3081,7 @@ "Observable", "; }" ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3096,7 +3096,7 @@ "signature": [ "\"MAPS_APP_LOCATOR\"" ], - "path": "x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts", + "path": "x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3136,7 +3136,7 @@ }, " | undefined; filterByMapExtent?: boolean | undefined; isMovementSynchronized?: boolean | undefined; }" ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3159,7 +3159,7 @@ }, "[]) => void; mapColors: string[]; mostCommonDataViewId?: string | undefined; currentStepId: string | null; isOnFinalStep: boolean; enableNextBtn: () => void; disableNextBtn: () => void; startStepLoading: () => void; stopStepLoading: () => void; advanceToNextStep: () => void; }" ], - "path": "x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3180,7 +3180,7 @@ "IStyle", "; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/source.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3194,7 +3194,7 @@ "tags": [], "label": "MapsSetupApi", "description": [], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3216,7 +3216,7 @@ }, ") => void" ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3236,7 +3236,7 @@ "text": "LayerWizard" } ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3256,7 +3256,7 @@ "SourceRegistryEntry", ") => void" ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3270,7 +3270,7 @@ "signature": [ "SourceRegistryEntry" ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3289,7 +3289,7 @@ "tags": [], "label": "MapsStartApi", "description": [], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3335,7 +3335,7 @@ }, ">; }" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false }, @@ -3351,7 +3351,7 @@ "Props", ">" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3398,7 +3398,7 @@ "Props", ">" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3459,7 +3459,7 @@ }, " | null>" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3479,7 +3479,7 @@ "text": "SampleValuesConfig" } ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3512,7 +3512,7 @@ "tags": [], "label": "AGG_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3524,7 +3524,7 @@ "tags": [], "label": "COLOR_MAP_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3536,7 +3536,7 @@ "tags": [], "label": "ES_GEO_FIELD_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3548,7 +3548,7 @@ "tags": [], "label": "FIELD_ORIGIN", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3560,7 +3560,7 @@ "tags": [], "label": "INITIAL_LOCATION", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3572,7 +3572,7 @@ "tags": [], "label": "LABEL_BORDER_SIZES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3584,7 +3584,7 @@ "tags": [], "label": "LABEL_POSITIONS", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3596,7 +3596,7 @@ "tags": [], "label": "LAYER_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3608,7 +3608,7 @@ "tags": [], "label": "LAYER_WIZARD_CATEGORY", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3620,7 +3620,7 @@ "tags": [], "label": "SCALING_TYPES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3632,7 +3632,7 @@ "tags": [], "label": "SOURCE_TYPES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3644,7 +3644,7 @@ "tags": [], "label": "STYLE_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3656,7 +3656,7 @@ "tags": [], "label": "SYMBOLIZE_AS_TYPES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3668,7 +3668,7 @@ "tags": [], "label": "VECTOR_SHAPE_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3680,7 +3680,7 @@ "tags": [], "label": "VECTOR_STYLES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3697,7 +3697,7 @@ "signature": [ "\"maps\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3774,7 +3774,7 @@ }, "; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3789,7 +3789,7 @@ "signature": [ "5" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3805,7 +3805,7 @@ "AbstractSourceDescriptor", " & { id: string; tooltipProperties: string[]; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3839,7 +3839,7 @@ }, ".ES_TERM_SOURCE; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3856,7 +3856,7 @@ "RawValue", ") => string | number" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3871,7 +3871,7 @@ "signature": [ "string | number | boolean | string[] | null | undefined" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -3916,7 +3916,7 @@ }, " | undefined; includeInFitToBounds?: boolean | undefined; parent?: string | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3931,7 +3931,7 @@ "signature": [ "\"map\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3946,7 +3946,7 @@ "signature": [ "24" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3961,7 +3961,7 @@ "signature": [ "0" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3984,7 +3984,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3999,7 +3999,7 @@ "signature": [ "{ label: string; id: string; form?: React.ReactNode; onClick?: (() => void) | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4055,7 +4055,7 @@ }, "; disableTooltips?: boolean | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4085,7 +4085,7 @@ }, " | undefined; isForceRefresh: boolean; } & { fieldNames: string[]; timesliceMaskField?: string | undefined; sourceMeta: object | null; isFeatureEditorOpenForLayer: boolean; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4105,7 +4105,7 @@ "StyleMetaDescriptor", " | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 2f5c948df4698..d5c4330614efc 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.devdocs.json b/api_docs/maps_ems.devdocs.json index 533a678e1eeb8..b33b56e1fcb52 100644 --- a/api_docs/maps_ems.devdocs.json +++ b/api_docs/maps_ems.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "EMSConfig", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "includeElasticMapsService", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -33,7 +33,7 @@ "tags": [], "label": "emsUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -44,7 +44,7 @@ "tags": [], "label": "emsFileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -55,7 +55,7 @@ "tags": [], "label": "emsTileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -66,7 +66,7 @@ "tags": [], "label": "emsLandingPageUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -77,7 +77,7 @@ "tags": [], "label": "emsFontLibraryUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false } @@ -97,7 +97,7 @@ "signature": [ "{ readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }" ], - "path": "src/plugins/maps_ems/server/config.ts", + "path": "src/platform/plugins/private/maps_ems/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -112,7 +112,7 @@ "signature": [ "{ readonly url?: string | undefined; readonly options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }" ], - "path": "src/plugins/maps_ems/server/config.ts", + "path": "src/platform/plugins/private/maps_ems/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -126,7 +126,7 @@ "tags": [], "label": "MapsEmsPluginPublicSetup", "description": [], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -140,7 +140,7 @@ "tags": [], "label": "MapsEmsPluginPublicStart", "description": [], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -154,7 +154,7 @@ "signature": [ "{ readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }" ], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -175,7 +175,7 @@ "text": "EMSSettings" } ], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -193,7 +193,7 @@ "EMSClient", ">" ], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -213,7 +213,7 @@ "tags": [], "label": "EMSSettings", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -227,7 +227,7 @@ "signature": [ "any" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ "text": "EMSConfig" } ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -262,7 +262,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -280,7 +280,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -296,7 +296,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -312,7 +312,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -328,7 +328,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -344,7 +344,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -360,7 +360,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -376,7 +376,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -392,7 +392,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -408,7 +408,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -430,7 +430,7 @@ "tags": [], "label": "MapsEmsPluginServerSetup", "description": [], - "path": "src/plugins/maps_ems/server/plugin.ts", + "path": "src/platform/plugins/private/maps_ems/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -444,7 +444,7 @@ "signature": [ "{ readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }" ], - "path": "src/plugins/maps_ems/server/plugin.ts", + "path": "src/platform/plugins/private/maps_ems/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -465,7 +465,7 @@ "text": "EMSSettings" } ], - "path": "src/plugins/maps_ems/server/plugin.ts", + "path": "src/platform/plugins/private/maps_ems/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -485,7 +485,7 @@ "tags": [], "label": "EMSSettings", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -499,7 +499,7 @@ "signature": [ "any" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -519,7 +519,7 @@ "text": "EMSConfig" } ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -534,7 +534,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -552,7 +552,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -568,7 +568,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -584,7 +584,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -600,7 +600,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -616,7 +616,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -632,7 +632,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -648,7 +648,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -664,7 +664,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -680,7 +680,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -699,7 +699,7 @@ "tags": [], "label": "EMSConfig", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -710,7 +710,7 @@ "tags": [], "label": "includeElasticMapsService", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -721,7 +721,7 @@ "tags": [], "label": "emsUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -732,7 +732,7 @@ "tags": [], "label": "emsFileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -743,7 +743,7 @@ "tags": [], "label": "emsTileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -754,7 +754,7 @@ "tags": [], "label": "emsLandingPageUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -765,7 +765,7 @@ "tags": [], "label": "emsFontLibraryUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false } @@ -785,7 +785,7 @@ "signature": [ "\"dark_map\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -800,7 +800,7 @@ "signature": [ "\"https://vector.maps.elastic.co\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -815,7 +815,7 @@ "signature": [ "\"https://tiles.maps.elastic.co/fonts/{fontstack}/{range}.pbf\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -830,7 +830,7 @@ "signature": [ "\"https://maps.elastic.co\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -845,7 +845,7 @@ "signature": [ "\"2023-10-31\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -860,7 +860,7 @@ "signature": [ "\"road_map_desaturated\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -875,7 +875,7 @@ "signature": [ "\"road_map\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -890,7 +890,7 @@ "signature": [ "\"https://tiles.maps.elastic.co\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -905,7 +905,7 @@ "signature": [ "\"kibana\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -920,7 +920,7 @@ "signature": [ "\"maps\"" ], - "path": "src/plugins/maps_ems/common/index.ts", + "path": "src/platform/plugins/private/maps_ems/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 35c1e9f581b15..0b2bad48e489c 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/metrics_data_access.mdx b/api_docs/metrics_data_access.mdx index 018ffc56e887d..71a4b88527b84 100644 --- a/api_docs/metrics_data_access.mdx +++ b/api_docs/metrics_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/metricsDataAccess title: "metricsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the metricsDataAccess plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index acf8a96577a27..7ecaed5617c34 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/mock_idp_plugin.mdx b/api_docs/mock_idp_plugin.mdx index d6ecb44775669..963a042505adb 100644 --- a/api_docs/mock_idp_plugin.mdx +++ b/api_docs/mock_idp_plugin.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mockIdpPlugin title: "mockIdpPlugin" image: https://source.unsplash.com/400x175/?github description: API docs for the mockIdpPlugin plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index acb8d84d7301d..aa2c5f8d3a16b 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 7545307952acf..263474539167f 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.devdocs.json b/api_docs/navigation.devdocs.json index 066ea166d2c12..6c2c601d9c297 100644 --- a/api_docs/navigation.devdocs.json +++ b/api_docs/navigation.devdocs.json @@ -554,7 +554,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & LabelAsString) | (", "CommonProps", @@ -570,7 +570,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & ", "DisambiguateSet", @@ -590,7 +590,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & LabelAsString) | (", "CommonProps", @@ -608,7 +608,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & ", "DisambiguateSet", @@ -628,7 +628,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & ", "DisambiguateSet", @@ -648,7 +648,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & LabelAsString) | (", "CommonProps", @@ -666,7 +666,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & ", "DisambiguateSet", @@ -686,7 +686,7 @@ "ToolTipPositions", " | undefined; anchorProps?: (", "CommonProps", - " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"accentSecondary\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", + " & React.HTMLAttributes) | undefined; title?: string | undefined; color?: \"warning\" | \"subdued\" | \"accent\" | \"hollow\" | undefined; size?: \"m\" | \"s\" | undefined; alignment?: \"middle\" | \"baseline\" | undefined; } & ", "DisambiguateSet", " & ", "DisambiguateSet", diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 907443790510f..4e855154c7db6 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 603e940ee4195..8ed7838ee1690 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/no_data_page.mdx b/api_docs/no_data_page.mdx index 6b9e1bca7d78e..e97399ed74a3f 100644 --- a/api_docs/no_data_page.mdx +++ b/api_docs/no_data_page.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/noDataPage title: "noDataPage" image: https://source.unsplash.com/400x175/?github description: API docs for the noDataPage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'noDataPage'] --- import noDataPageObj from './no_data_page.devdocs.json'; diff --git a/api_docs/notifications.mdx b/api_docs/notifications.mdx index 5138dbb2e6f0e..abf5128b3866d 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index aeed728394be9..624b38572eb43 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -3295,23 +3295,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/solutions/observability/plugins/observability/public/plugin.ts", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 7145c18b04ddf..1b90d66cee49a 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant.devdocs.json b/api_docs/observability_a_i_assistant.devdocs.json index 755f9fb6ca8b9..d3bae3276e596 100644 --- a/api_docs/observability_a_i_assistant.devdocs.json +++ b/api_docs/observability_a_i_assistant.devdocs.json @@ -657,39 +657,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-public.isSupportedConnectorType", - "type": "Function", - "tags": [], - "label": "isSupportedConnectorType", - "description": [], - "signature": [ - "(type: string) => boolean" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-public.isSupportedConnectorType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "observabilityAIAssistant", "id": "def-public.MessageText", @@ -11030,39 +10997,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-common.isSupportedConnectorType", - "type": "Function", - "tags": [], - "label": "isSupportedConnectorType", - "description": [], - "signature": [ - "(type: string) => boolean" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-common.isSupportedConnectorType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "observabilityAIAssistant", "id": "def-common.isTokenLimitReachedError", diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index 22dcbffbad586..6d933e52a3d8f 100644 --- a/api_docs/observability_a_i_assistant.mdx +++ b/api_docs/observability_a_i_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistant title: "observabilityAIAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistant plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 385 | 1 | 383 | 30 | +| 381 | 1 | 379 | 30 | ## Client diff --git a/api_docs/observability_a_i_assistant_app.mdx b/api_docs/observability_a_i_assistant_app.mdx index 4e87f3c34cac6..45b93869fc273 100644 --- a/api_docs/observability_a_i_assistant_app.mdx +++ b/api_docs/observability_a_i_assistant_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistantApp title: "observabilityAIAssistantApp" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistantApp plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistantApp'] --- import observabilityAIAssistantAppObj from './observability_a_i_assistant_app.devdocs.json'; diff --git a/api_docs/observability_ai_assistant_management.mdx b/api_docs/observability_ai_assistant_management.mdx index ae7cd0b661354..ceb7721cfc047 100644 --- a/api_docs/observability_ai_assistant_management.mdx +++ b/api_docs/observability_ai_assistant_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAiAssistantManagement title: "observabilityAiAssistantManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAiAssistantManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAiAssistantManagement'] --- import observabilityAiAssistantManagementObj from './observability_ai_assistant_management.devdocs.json'; diff --git a/api_docs/observability_logs_explorer.devdocs.json b/api_docs/observability_logs_explorer.devdocs.json index d223d4c0b72f8..032e91447eeea 100644 --- a/api_docs/observability_logs_explorer.devdocs.json +++ b/api_docs/observability_logs_explorer.devdocs.json @@ -51,7 +51,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -65,7 +65,7 @@ "signature": [ "\"ALL_DATASETS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -79,7 +79,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "signature": [ "ObsLogsExplorerLocatorDependencies" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -119,7 +119,7 @@ }, ") => Promise<{ app: string; path: string; state: { origin?: { id: \"application-log-onboarding\"; } | undefined; }; }>" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -139,7 +139,7 @@ "text": "DatasetLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -183,7 +183,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -197,7 +197,7 @@ "signature": [ "\"SINGLE_DATASET_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -211,7 +211,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -225,7 +225,7 @@ "signature": [ "ObsLogsExplorerLocatorDependencies" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -251,7 +251,7 @@ }, ") => Promise<{ app: string; path: string; state: { origin?: { id: \"application-log-onboarding\"; } | undefined; }; }>" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -271,7 +271,7 @@ "text": "SingleDatasetLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -294,7 +294,7 @@ "signature": [ ">(obj: Value) => Value" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/utils/deep_compact_object.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -308,7 +308,7 @@ "signature": [ "Value" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/utils/deep_compact_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -326,7 +326,7 @@ "tags": [], "label": "ObservabilityLogsExplorerLocators", "description": [], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -355,7 +355,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts", "deprecated": false, "trackAdoption": false }, @@ -384,7 +384,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts", "deprecated": false, "trackAdoption": false }, @@ -413,7 +413,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts", "deprecated": false, "trackAdoption": false } @@ -433,7 +433,7 @@ "signature": [ "\"pageState\"" ], - "path": "x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts", + "path": "x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/observability_logs_explorer.mdx b/api_docs/observability_logs_explorer.mdx index b4348fd8b20da..a5613e488b853 100644 --- a/api_docs/observability_logs_explorer.mdx +++ b/api_docs/observability_logs_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityLogsExplorer title: "observabilityLogsExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityLogsExplorer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityLogsExplorer'] --- import observabilityLogsExplorerObj from './observability_logs_explorer.devdocs.json'; diff --git a/api_docs/observability_onboarding.devdocs.json b/api_docs/observability_onboarding.devdocs.json index da3e58096ae87..7260e821b086c 100644 --- a/api_docs/observability_onboarding.devdocs.json +++ b/api_docs/observability_onboarding.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "AppContext", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "isDev", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -33,7 +33,7 @@ "tags": [], "label": "isCloud", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -44,7 +44,7 @@ "tags": [], "label": "isServerless", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -55,7 +55,7 @@ "tags": [], "label": "stackVersion", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -69,7 +69,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -83,7 +83,7 @@ "tags": [], "label": "ConfigSchema", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -97,7 +97,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -111,7 +111,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -125,7 +125,7 @@ "tags": [], "label": "ObservabilityOnboardingAppServices", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -137,15 +137,9 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -165,7 +159,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -205,7 +199,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -225,7 +219,7 @@ "text": "AppContext" } ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -245,7 +239,7 @@ "text": "ConfigSchema" } ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -265,7 +259,7 @@ "text": "DocLinksStart" } ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -285,7 +279,7 @@ "text": "ChromeStart" } ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -306,7 +300,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -329,7 +323,7 @@ "signature": [ "{ readonly ui: Readonly<{} & { enabled: boolean; }>; readonly serverless: Readonly<{} & { enabled: true; }>; }" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/server/config.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -343,7 +337,7 @@ "tags": [], "label": "ObservabilityOnboardingPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/server/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -357,7 +351,7 @@ "tags": [], "label": "ObservabilityOnboardingPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/observability_onboarding/server/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -381,7 +375,7 @@ "signature": [ "\"observabilityOnboarding\"" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -396,7 +390,7 @@ "signature": [ "\"observabilityOnboarding\"" ], - "path": "x-pack/plugins/observability_solution/observability_onboarding/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_onboarding/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index f45eaa49e8f19..148a4f82e8a8e 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityOnboarding'] --- import observabilityOnboardingObj from './observability_onboarding.devdocs.json'; diff --git a/api_docs/observability_shared.devdocs.json b/api_docs/observability_shared.devdocs.json index f3b9a7109251f..61c4c0deaa41e 100644 --- a/api_docs/observability_shared.devdocs.json +++ b/api_docs/observability_shared.devdocs.json @@ -152,23 +152,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", @@ -1706,13 +1694,13 @@ "label": "useChartThemes", "description": [], "signature": [ - "() => { theme: ", + "() => { baseTheme: ", + "Theme", + "; theme: ", "RecursivePartial", "<", "Theme", - ">[]; baseTheme: ", - "Theme", - "; }" + ">[]; }" ], "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx", "deprecated": false, @@ -3998,23 +3986,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 0209d7aba8753..7ec3bcceea096 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.devdocs.json b/api_docs/osquery.devdocs.json index df87b16bced25..e9217c50786ac 100644 --- a/api_docs/osquery.devdocs.json +++ b/api_docs/osquery.devdocs.json @@ -309,7 +309,9 @@ "section": "def-common.MultiField", "text": "MultiField" }, - "[]; }; readonly \"kibana.alert.rule.execution.timestamp\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.execution.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.parameters\": { readonly array: false; readonly type: \"flattened\"; readonly ignore_above: 4096; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.severity_improving\": { readonly type: \"boolean\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.time_range\": { readonly type: \"date_range\"; readonly format: \"epoch_millis||strict_date_optional_time\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.url\": { readonly type: \"keyword\"; readonly array: false; readonly index: false; readonly required: false; readonly ignore_above: 2048; }; readonly \"kibana.alert.workflow_assignee_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; }>> & { _index: string; }) | undefined) => Promise<{ response: { action_id: string; '@timestamp': string; expiration: string; type: string; input_type: string; alert_ids: string[] | undefined; event_ids: string[] | undefined; case_ids: string[] | undefined; agent_ids: string[] | undefined; agent_all: boolean | undefined; agent_platforms: string[] | undefined; agent_policy_ids: string[] | undefined; agents: string[]; user_id: string | undefined; metadata: object | undefined; pack_id: string | undefined; pack_name: string | undefined; pack_prebuilt: boolean | undefined; queries: _.Dictionary[]; }; fleetActionsCount: number; }>; stop: () => void; }" + "[]; }; readonly \"kibana.alert.rule.execution.timestamp\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.execution.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.parameters\": { readonly array: false; readonly type: \"flattened\"; readonly ignore_above: 4096; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.severity_improving\": { readonly type: \"boolean\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.time_range\": { readonly type: \"date_range\"; readonly format: \"epoch_millis||strict_date_optional_time\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.url\": { readonly type: \"keyword\"; readonly array: false; readonly index: false; readonly required: false; readonly ignore_above: 2048; }; readonly \"kibana.alert.workflow_assignee_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; }>> & { _index: string; }) | undefined) => Promise<{ response: { action_id: string; '@timestamp': string; expiration: string; type: string; input_type: string; alert_ids: string[] | undefined; event_ids: string[] | undefined; case_ids: string[] | undefined; agent_ids: string[] | undefined; agent_all: boolean | undefined; agent_platforms: string[] | undefined; agent_policy_ids: string[] | undefined; agents: string[]; user_id: string | undefined; metadata: object | undefined; pack_id: string | undefined; pack_name: string | undefined; pack_prebuilt: boolean | undefined; queries: ", + "Dictionary", + "[]; }; fleetActionsCount: number; }>; stop: () => void; }" ], "path": "x-pack/platform/plugins/shared/osquery/server/types.ts", "deprecated": false, diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 267e3315f128f..ce3cb74def5b0 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/painless_lab.mdx b/api_docs/painless_lab.mdx index 911e4b38ebfd6..2e63a4df26ebb 100644 --- a/api_docs/painless_lab.mdx +++ b/api_docs/painless_lab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/painlessLab title: "painlessLab" image: https://source.unsplash.com/400x175/?github description: API docs for the painlessLab plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'painlessLab'] --- import painlessLabObj from './painless_lab.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 21212e4b1b47f..3057602a5816d 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 54975 | 243 | 41289 | 2034 | +| 54925 | 253 | 41259 | 2061 | ## Plugin Directory @@ -31,12 +31,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 4 | 0 | 4 | 1 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | AIOps plugin maintained by ML team. | 72 | 0 | 8 | 2 | -| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 872 | 1 | 839 | 50 | +| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 874 | 1 | 841 | 50 | | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | The user interface for Elastic APM | 29 | 0 | 29 | 119 | | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | - | 93 | 0 | 93 | 3 | -| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | Centralized asset inventory experience within the Elastic Security solution. A central place for users to view and manage all their assets from different environments | 6 | 0 | 6 | 0 | +| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | Centralized asset inventory experience within the Elastic Security solution. A central place for users to view and manage all their assets from different environments | 8 | 0 | 8 | 1 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 9 | 0 | 9 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 60 | 1 | 59 | 2 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Canvas application to Kibana | 9 | 0 | 8 | 3 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | The Case management system in Kibana | 125 | 0 | 105 | 28 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 271 | 2 | 255 | 9 | @@ -54,9 +53,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | crossClusterReplication | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 0 | 0 | 0 | 0 | | customBranding | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Enables customization of Kibana | 0 | 0 | 0 | 0 | | | [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 268 | 0 | 249 | 1 | -| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 114 | 0 | 111 | 13 | +| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 117 | 0 | 113 | 13 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | - | 54 | 0 | 51 | 0 | -| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3209 | 31 | 2594 | 24 | +| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3208 | 31 | 2593 | 25 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 6 | 0 | 6 | 0 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 9 | 0 | 9 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin provides the ability to create data views via a modal flyout inside Kibana apps | 35 | 0 | 25 | 5 | @@ -71,7 +70,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | A stateful layer to register shared features and provide an access point to discover without a direct dependency | 26 | 0 | 23 | 2 | | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | APIs used to assess the quality of data in Elasticsearch indexes | 2 | 0 | 0 | 0 | | | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | Server APIs for the Elastic AI Assistant | 55 | 0 | 40 | 2 | -| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 374 | 1 | 289 | 4 | +| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 280 | 0 | 222 | 2 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Extends embeddable plugin with more functionality | 15 | 0 | 15 | 2 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 54 | 0 | 47 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Adds dashboards for discovering and managing Enterprise Search products. | 5 | 0 | 5 | 0 | @@ -79,7 +78,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/obs-entities](https://github.com/orgs/elastic/teams/obs-entities) | Entity manager plugin for entity assets (inventory, topology, etc) | 43 | 0 | 43 | 4 | | entityManagerApp | [@elastic/obs-entities](https://github.com/orgs/elastic/teams/obs-entities) | Entity manager plugin for entity assets (inventory, topology, etc) | 0 | 0 | 0 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 99 | 3 | 97 | 3 | -| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 25 | 0 | 9 | 0 | +| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 26 | 0 | 9 | 0 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 2 | 0 | 2 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | The Event Annotation service contains expressions for event annotations | 201 | 0 | 201 | 6 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | The listing page for event annotations. | 15 | 0 | 15 | 0 | @@ -117,7 +116,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Image embeddable | 1 | 0 | 1 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 4 | 0 | 4 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 244 | 0 | 239 | 1 | -| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 40 | 0 | 28 | 6 | +| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 40 | 0 | 28 | 5 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin visualizes data from Filebeat and Metricbeat, and integrates with other Observability solutions | 24 | 0 | 24 | 5 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 4 | 0 | 4 | 0 | | inputControlVis | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Input Control visualization to Kibana | 0 | 0 | 0 | 0 | @@ -156,7 +155,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 3 | 0 | 3 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 1 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 697 | 2 | 689 | 23 | -| | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 385 | 1 | 383 | 30 | +| | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 381 | 1 | 379 | 30 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 8 | 0 | 7 | 0 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 2 | 0 | 2 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin exposes and registers observability log consumption features. | 19 | 0 | 19 | 1 | @@ -191,7 +190,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Plugin to provide access to and rendering of python notebooks for use in the persistent developer console. | 10 | 0 | 10 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 13 | 0 | 13 | 0 | | searchprofiler | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 0 | 0 | 0 | 0 | -| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 458 | 0 | 238 | 0 | +| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 461 | 0 | 238 | 0 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | - | 191 | 0 | 123 | 34 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | ESS customizations for Security Solution. | 6 | 0 | 6 | 0 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | Serverless customizations for security. | 7 | 0 | 7 | 0 | @@ -205,7 +204,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 269 | 0 | 73 | 1 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 25 | 0 | 25 | 3 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 10 | 0 | 10 | 0 | -| | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | A manager for Streams | 13 | 0 | 13 | 3 | +| | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | A manager for Streams | 9 | 0 | 9 | 2 | | | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | - | 8 | 0 | 8 | 0 | | synthetics | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | This plugin visualizes data from Synthetics and Heartbeat, and integrates with other Observability solutions. | 0 | 0 | 0 | 0 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 105 | 0 | 62 | 6 | @@ -273,7 +272,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | - | 12 | 0 | 12 | 0 | | | [@elastic/security-defend-workflows](https://github.com/orgs/elastic/teams/security-defend-workflows) | - | 3 | 0 | 3 | 0 | | | [@elastic/kibana-qa](https://github.com/orgs/elastic/teams/kibana-qa) | - | 12 | 0 | 12 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 4 | 0 | 1 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 10 | 0 | 10 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 7 | 0 | 7 | 1 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 19 | 0 | 16 | 0 | @@ -281,13 +279,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | - | 44 | 1 | 30 | 1 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 25 | 0 | 21 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 90 | 0 | 90 | 0 | +| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 1 | 0 | 0 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 7 | 0 | 2 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 3 | 0 | 3 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 62 | 0 | 17 | 1 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 2 | 0 | | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 93 | 1 | 93 | 0 | | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 122 | 0 | 120 | 1 | -| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 25 | 0 | 16 | 6 | +| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 27 | 0 | 19 | 6 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 41 | 0 | 17 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | | | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 12 | 0 | 5 | 0 | @@ -308,18 +307,18 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 34 | 0 | 34 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 195 | 1 | 128 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 100 | 0 | 0 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 1 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 4 | 0 | 4 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 99 | 0 | 0 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 5 | 0 | 5 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 105 | 0 | 26 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 20 | 0 | 17 | 3 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 20 | 0 | 17 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 13 | 0 | 13 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 2 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 24 | 0 | 23 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2 | 0 | 2 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 1 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 3 | 0 | 3 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 14 | 0 | 4 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 2 | @@ -451,7 +450,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 10 | 0 | 3 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 8 | 0 | 8 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 8 | 0 | 8 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 21 | 0 | 6 | 0 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 22 | 0 | 6 | 1 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 146 | 1 | 63 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 16 | 0 | 16 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 15 | 0 | 15 | 2 | @@ -531,8 +530,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 31 | 0 | 31 | 1 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 1 | 0 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 287 | 1 | 225 | 25 | -| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 29 | 0 | 12 | 0 | -| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 83 | 0 | 74 | 0 | +| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 30 | 0 | 12 | 0 | +| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 85 | 0 | 76 | 0 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 205 | 0 | 193 | 12 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 40 | 0 | 40 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 52 | 0 | 52 | 1 | @@ -561,7 +560,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/security-threat-hunting](https://github.com/orgs/elastic/teams/security-threat-hunting) | - | 85 | 0 | 80 | 2 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 75 | 0 | 73 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 126 | 3 | 126 | 0 | -| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 141 | 0 | 40 | 3 | +| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 150 | 0 | 46 | 4 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 7 | 1 | 7 | 1 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 9 | 0 | 9 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 52 | 12 | 43 | 0 | @@ -588,7 +587,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 23 | 0 | 7 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 8 | 0 | 2 | 3 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 45 | 0 | 0 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 137 | 0 | 136 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 136 | 0 | 135 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 20 | 0 | 11 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 88 | 0 | 10 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 56 | 0 | 6 | 0 | @@ -701,14 +700,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 18 | 1 | 17 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 36 | 0 | 34 | 3 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 20 | 0 | 18 | 1 | -| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 2 | 0 | 2 | 0 | +| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 8 | 0 | 8 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 51 | 0 | 25 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 66 | 0 | 63 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 21 | 0 | 17 | 7 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 4 | 0 | 0 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 35 | 0 | 25 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 7 | 0 | 7 | 0 | -| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 126 | 0 | 66 | 0 | +| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 127 | 0 | 66 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 67 | 0 | 40 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 282 | 1 | 161 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 74 | 0 | 73 | 0 | @@ -795,6 +794,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 108 | 2 | 70 | 1 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 4 | 0 | 2 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 41 | 2 | 21 | 0 | +| | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | - | 84 | 12 | 84 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 9 | 0 | 9 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 19 | 0 | 19 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 5 | 1 | diff --git a/api_docs/presentation_panel.devdocs.json b/api_docs/presentation_panel.devdocs.json index ed8d46e52734d..931703ce6f8e7 100644 --- a/api_docs/presentation_panel.devdocs.json +++ b/api_docs/presentation_panel.devdocs.json @@ -14,7 +14,7 @@ "() => ", "EditPanelAction" ], - "path": "src/plugins/presentation_panel/public/panel_actions/panel_actions.ts", + "path": "src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -47,7 +47,7 @@ "PanelCompatibleComponent", " | null>; } & { hidePanelChrome?: boolean | undefined; }) => React.JSX.Element | null" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -73,7 +73,7 @@ "PanelCompatibleComponent", " | null>; } & { hidePanelChrome?: boolean | undefined; }" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "DefaultPresentationPanelApi", " | undefined; }) => React.JSX.Element" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -113,7 +113,7 @@ "tags": [], "label": "{\n api,\n error,\n}", "description": [], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -142,7 +142,7 @@ }, " | undefined; }" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false }, @@ -157,7 +157,7 @@ "DefaultPresentationPanelApi", " | undefined" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false } @@ -181,7 +181,7 @@ "signature": [ "\"ACTION_CUSTOMIZE_PANEL\"" ], - "path": "src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -208,7 +208,7 @@ "PanelCompatibleComponent", " | null>; }" ], - "path": "src/plugins/presentation_panel/public/panel_component/types.ts", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -240,7 +240,7 @@ "signature": [ "\"presentationPanel\"" ], - "path": "src/plugins/presentation_panel/common/index.ts", + "path": "src/platform/plugins/private/presentation_panel/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -255,7 +255,7 @@ "signature": [ "\"presentationPanel\"" ], - "path": "src/plugins/presentation_panel/common/index.ts", + "path": "src/platform/plugins/private/presentation_panel/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/presentation_panel.mdx b/api_docs/presentation_panel.mdx index 945fc971c4a3e..95aa202e84743 100644 --- a/api_docs/presentation_panel.mdx +++ b/api_docs/presentation_panel.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationPanel title: "presentationPanel" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationPanel plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationPanel'] --- import presentationPanelObj from './presentation_panel.devdocs.json'; diff --git a/api_docs/presentation_util.devdocs.json b/api_docs/presentation_util.devdocs.json index ea50ab8480f1e..e08e196fc1845 100644 --- a/api_docs/presentation_util.devdocs.json +++ b/api_docs/presentation_util.devdocs.json @@ -15,7 +15,7 @@ "DashboardDrilldownOptionsProps", " & React.RefAttributes<{}>>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -49,7 +49,7 @@ "FloatingActionsProps", ") => React.JSX.Element" ], - "path": "src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -63,7 +63,7 @@ "signature": [ "FloatingActionsProps" ], - "path": "src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -84,7 +84,7 @@ "DashboardPickerProps", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -128,7 +128,7 @@ "EuiSelectableProps", "<{}>> | undefined; }) => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -170,7 +170,7 @@ }, ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -204,7 +204,7 @@ "FieldPickerProps", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -238,7 +238,7 @@ "Props", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -272,7 +272,7 @@ "Props", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -312,7 +312,7 @@ }, ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -354,7 +354,7 @@ }, "[]) => Promise" ], - "path": "src/plugins/presentation_util/public/index.ts", + "path": "src/platform/plugins/shared/presentation_util/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -377,7 +377,7 @@ }, "[]" ], - "path": "src/plugins/presentation_util/public/index.ts", + "path": "src/platform/plugins/shared/presentation_util/public/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -398,7 +398,7 @@ "signature": [ "

(Component: React.ComponentType

, fallback?: React.ReactElement> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -414,7 +414,7 @@ "signature": [ "React.ComponentType

" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -431,7 +431,7 @@ "signature": [ "React.ReactElement> | null" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -461,7 +461,7 @@ }, " extends Pick, \"className\" | \"style\">" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -484,7 +484,7 @@ }, "[]" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -497,7 +497,7 @@ "description": [ "Value of expression" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -513,7 +513,7 @@ "signature": [ "(value?: string | undefined) => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -527,7 +527,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -547,7 +547,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -564,7 +564,7 @@ "Property", ".Height | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -587,7 +587,7 @@ }, " | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -608,7 +608,7 @@ }, " | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -622,7 +622,7 @@ "tags": [], "label": "PresentationLabsService", "description": [], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -636,7 +636,7 @@ "signature": [ "(id: \"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\") => boolean" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -650,7 +650,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -675,7 +675,7 @@ "text": "Project" } ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -689,7 +689,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -715,7 +715,7 @@ }, ">" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -729,7 +729,7 @@ "signature": [ "(\"canvas\" | \"presentation\" | \"dashboard\")[] | undefined" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -747,7 +747,7 @@ "signature": [ "(id: \"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\", env: \"kibana\" | \"browser\" | \"session\", status: boolean) => void" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -761,7 +761,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -776,7 +776,7 @@ "signature": [ "\"kibana\" | \"browser\" | \"session\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -791,7 +791,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -809,7 +809,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -825,7 +825,7 @@ "tags": [], "label": "SaveModalDashboardProps", "description": [], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -839,7 +839,7 @@ "signature": [ "SaveModalDocumentInfo" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -850,7 +850,7 @@ "tags": [], "label": "canSaveByReference", "description": [], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -861,7 +861,7 @@ "tags": [], "label": "objectType", "description": [], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -875,7 +875,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -899,7 +899,7 @@ }, " & { dashboardId: string | null; addToLibrary: boolean; }) => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -920,7 +920,7 @@ }, " & { dashboardId: string | null; addToLibrary: boolean; }" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -946,7 +946,7 @@ }, ") => React.ReactNode)" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -960,7 +960,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -980,7 +980,7 @@ "signature": [ "{ useCurrentFilters: boolean; useCurrentDateRange: boolean; openInNewTab: boolean; }" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -999,7 +999,7 @@ "editor", ".IStandaloneCodeEditor | null>" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1016,7 +1016,7 @@ "editor", ".IStandaloneCodeEditor | null) => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1032,7 +1032,7 @@ "editor", ".IStandaloneCodeEditor | null" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -1048,7 +1048,7 @@ "tags": [], "label": "DEFAULT_DASHBOARD_DRILLDOWN_OPTIONS", "description": [], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1062,7 +1062,7 @@ "signature": [ "false" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1076,7 +1076,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1090,7 +1090,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -1105,7 +1105,7 @@ "tags": [], "label": "PresentationUtilPluginSetup", "description": [], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1119,7 +1119,7 @@ "tags": [], "label": "PresentationUtilPluginStart", "description": [], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1139,7 +1139,7 @@ "text": "PresentationLabsService" } ], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1161,7 +1161,7 @@ }, "[]) => Promise" ], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1183,7 +1183,7 @@ }, "[]" ], - "path": "src/plugins/presentation_util/public/index.ts", + "path": "src/platform/plugins/shared/presentation_util/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -1210,7 +1210,7 @@ "signature": [ "\"Presentation Labs\"" ], - "path": "src/plugins/presentation_util/server/ui_settings.ts", + "path": "src/platform/plugins/shared/presentation_util/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1231,7 +1231,7 @@ "signature": [ "(data: any, type: string) => Promise" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1245,7 +1245,7 @@ "signature": [ "any" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1260,7 +1260,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1278,10 +1278,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "src/plugins/presentation_util/common/lib/utils/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1297,10 +1297,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "src/plugins/presentation_util/common/lib/utils/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1317,7 +1317,7 @@ "signature": [ "() => readonly [\"labs:dashboard:deferBelowFold\", \"labs:canvas:byValueEmbeddable\"]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1342,7 +1342,7 @@ }, ") => boolean" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1356,7 +1356,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1377,7 +1377,7 @@ "text": "EnvironmentStatus" } ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1396,7 +1396,7 @@ "signature": [ "(str: string) => boolean" ], - "path": "src/plugins/presentation_util/common/lib/utils/httpurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1410,7 +1410,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/httpurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1429,7 +1429,7 @@ "signature": [ "(url: string) => boolean" ], - "path": "src/plugins/presentation_util/common/lib/utils/url.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1443,7 +1443,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/url.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1462,7 +1462,7 @@ "signature": [ "(str: string, withData: boolean) => { mimetype: string; encoding: string; charset: string; data: string | null; isImage: boolean; extension: any; } | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1476,7 +1476,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1491,7 +1491,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1510,7 +1510,7 @@ "signature": [ "(args: any, defaultDataurl?: string | null) => string" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1524,7 +1524,7 @@ "signature": [ "any" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1539,7 +1539,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1558,7 +1558,7 @@ "signature": [ "(img: string | null, alt?: string | null) => string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1572,7 +1572,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1587,7 +1587,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1605,7 +1605,7 @@ "tags": [], "label": "ProjectConfig", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1619,7 +1619,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1630,7 +1630,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1641,7 +1641,7 @@ "tags": [], "label": "isActive", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1652,7 +1652,7 @@ "tags": [], "label": "isDisplayed", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1666,7 +1666,7 @@ "signature": [ "(\"kibana\" | \"browser\" | \"session\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1677,7 +1677,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1691,7 +1691,7 @@ "signature": [ "(\"canvas\" | \"presentation\" | \"dashboard\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false } @@ -1711,7 +1711,7 @@ "signature": [ "\"kibana\" | \"browser\" | \"session\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1726,7 +1726,7 @@ "signature": [ "{ kibana?: boolean | undefined; browser?: boolean | undefined; session?: boolean | undefined; }" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1743,7 +1743,7 @@ "signature": [ "\"kibana-expressions\"" ], - "path": "src/plugins/presentation_util/common/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1758,7 +1758,7 @@ "signature": [ "\"labs:\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1773,7 +1773,7 @@ "signature": [ "\"presentationUtil\"" ], - "path": "src/plugins/presentation_util/common/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1788,7 +1788,7 @@ "signature": [ "\"presentationUtil\"" ], - "path": "src/plugins/presentation_util/common/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1818,7 +1818,7 @@ }, "; }" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1833,7 +1833,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1855,7 +1855,7 @@ "text": "EnvironmentStatus" } ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1870,7 +1870,7 @@ "signature": [ "\"canvas\" | \"presentation\" | \"dashboard\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1887,7 +1887,7 @@ "signature": [ "readonly [\"kibana\", \"browser\", \"session\"]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1902,7 +1902,7 @@ "signature": [ "readonly [\"labs:dashboard:deferBelowFold\", \"labs:canvas:byValueEmbeddable\"]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1916,7 +1916,7 @@ "description": [ "\nThis is a list of active Labs Projects for the Presentation Team. It is the \"source of truth\" for all projects\nprovided to users of our solutions in Kibana." ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1927,7 +1927,7 @@ "tags": [], "label": "[DEFER_BELOW_FOLD]", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1941,7 +1941,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1955,7 +1955,7 @@ "signature": [ "false" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1969,7 +1969,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1983,7 +1983,7 @@ "signature": [ "(\"kibana\" | \"browser\" | \"session\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1994,7 +1994,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2005,7 +2005,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2019,7 +2019,7 @@ "signature": [ "\"dashboard\"[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false } @@ -2032,7 +2032,7 @@ "tags": [], "label": "[BY_VALUE_EMBEDDABLE]", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2046,7 +2046,7 @@ "signature": [ "\"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2060,7 +2060,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2074,7 +2074,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2088,7 +2088,7 @@ "signature": [ "(\"kibana\" | \"browser\" | \"session\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2099,7 +2099,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2110,7 +2110,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2124,7 +2124,7 @@ "signature": [ "\"canvas\"[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index ce045f5348c2b..0a4bb1da17e2b 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/product_doc_base.mdx b/api_docs/product_doc_base.mdx index f99ec370bf479..8672e69e0254f 100644 --- a/api_docs/product_doc_base.mdx +++ b/api_docs/product_doc_base.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/productDocBase title: "productDocBase" image: https://source.unsplash.com/400x175/?github description: API docs for the productDocBase plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'productDocBase'] --- import productDocBaseObj from './product_doc_base.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 6dd5528ad6099..0b1d95c209419 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/profiling_data_access.mdx b/api_docs/profiling_data_access.mdx index 7f7823cfc6ac3..bdbec77701cf1 100644 --- a/api_docs/profiling_data_access.mdx +++ b/api_docs/profiling_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profilingDataAccess title: "profilingDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the profilingDataAccess plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profilingDataAccess'] --- import profilingDataAccessObj from './profiling_data_access.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 310fb3afe843e..01d3196a7c586 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index c1b36fbe650e0..de39ba21e0c91 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index ba9cb7c07d44f..c1443ea102d94 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index eb580162bf5a1..45d1c502eb669 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index bb412fe5b8589..26b89bd4db271 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.devdocs.json b/api_docs/saved_objects.devdocs.json index 56c2bcd5d8cd7..1f6ec0c2f2dc6 100644 --- a/api_docs/saved_objects.devdocs.json +++ b/api_docs/saved_objects.devdocs.json @@ -36,11 +36,11 @@ "references": [ { "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" + "path": "src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" }, { "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" + "path": "src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" }, { "plugin": "visualizations", @@ -60,19 +60,19 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "discover", @@ -92,11 +92,11 @@ }, { "plugin": "links", - "path": "src/plugins/links/public/content_management/save_to_library.tsx" + "path": "src/platform/plugins/private/links/public/content_management/save_to_library.tsx" }, { "plugin": "links", - "path": "src/plugins/links/public/content_management/save_to_library.tsx" + "path": "src/platform/plugins/private/links/public/content_management/save_to_library.tsx" } ], "children": [ diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 3070576e67a25..b32443ab4bb6a 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index f0a7bffbae467..73a4a39643759 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index b5b1690450280..961eaa7ee1195 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 07c87063de87e..2dfcab3635c6f 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 9587eeb3c4756..0e25fb5f3ce66 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 5e9a1bc226cc3..80e1d4c3913f0 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index d85fe1527b6fc..1409f2934e902 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index daeaaedf42005..6e287411b2065 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/search_assistant.mdx b/api_docs/search_assistant.mdx index 51f1183102b67..158e081aa41db 100644 --- a/api_docs/search_assistant.mdx +++ b/api_docs/search_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchAssistant title: "searchAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the searchAssistant plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchAssistant'] --- import searchAssistantObj from './search_assistant.devdocs.json'; diff --git a/api_docs/search_connectors.mdx b/api_docs/search_connectors.mdx index 99b5effbe4d40..5c28fb93091fe 100644 --- a/api_docs/search_connectors.mdx +++ b/api_docs/search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchConnectors title: "searchConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the searchConnectors plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchConnectors'] --- import searchConnectorsObj from './search_connectors.devdocs.json'; diff --git a/api_docs/search_homepage.mdx b/api_docs/search_homepage.mdx index ca311d7e88337..d987ba156ce7c 100644 --- a/api_docs/search_homepage.mdx +++ b/api_docs/search_homepage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchHomepage title: "searchHomepage" image: https://source.unsplash.com/400x175/?github description: API docs for the searchHomepage plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchHomepage'] --- import searchHomepageObj from './search_homepage.devdocs.json'; diff --git a/api_docs/search_indices.devdocs.json b/api_docs/search_indices.devdocs.json index ee436dbc5ddd7..699243d6082b8 100644 --- a/api_docs/search_indices.devdocs.json +++ b/api_docs/search_indices.devdocs.json @@ -85,7 +85,7 @@ "label": "startAppId", "description": [], "signature": [ - "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" + "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], "path": "x-pack/plugins/search_indices/public/types.ts", "deprecated": false, diff --git a/api_docs/search_indices.mdx b/api_docs/search_indices.mdx index cb71bc7c96cde..622c563fb142e 100644 --- a/api_docs/search_indices.mdx +++ b/api_docs/search_indices.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchIndices title: "searchIndices" image: https://source.unsplash.com/400x175/?github description: API docs for the searchIndices plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchIndices'] --- import searchIndicesObj from './search_indices.devdocs.json'; diff --git a/api_docs/search_inference_endpoints.mdx b/api_docs/search_inference_endpoints.mdx index e9b9e2af2aea9..98172cc6e9647 100644 --- a/api_docs/search_inference_endpoints.mdx +++ b/api_docs/search_inference_endpoints.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchInferenceEndpoints title: "searchInferenceEndpoints" image: https://source.unsplash.com/400x175/?github description: API docs for the searchInferenceEndpoints plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchInferenceEndpoints'] --- import searchInferenceEndpointsObj from './search_inference_endpoints.devdocs.json'; diff --git a/api_docs/search_navigation.devdocs.json b/api_docs/search_navigation.devdocs.json index 94e0857bfcb6b..55b0e6b4b958b 100644 --- a/api_docs/search_navigation.devdocs.json +++ b/api_docs/search_navigation.devdocs.json @@ -132,7 +132,7 @@ "label": "link", "description": [], "signature": [ - "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" + "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, @@ -289,13 +289,7 @@ "description": [], "signature": [ "(history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", ") => ", { "pluginId": "@kbn/shared-ux-page-solution-nav", @@ -318,13 +312,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", diff --git a/api_docs/search_navigation.mdx b/api_docs/search_navigation.mdx index 6d69a22a45ae4..d04bf74948539 100644 --- a/api_docs/search_navigation.mdx +++ b/api_docs/search_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchNavigation title: "searchNavigation" image: https://source.unsplash.com/400x175/?github description: API docs for the searchNavigation plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNavigation'] --- import searchNavigationObj from './search_navigation.devdocs.json'; diff --git a/api_docs/search_notebooks.mdx b/api_docs/search_notebooks.mdx index 804fee6810e41..ca2fd6ee7b4cb 100644 --- a/api_docs/search_notebooks.mdx +++ b/api_docs/search_notebooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchNotebooks title: "searchNotebooks" image: https://source.unsplash.com/400x175/?github description: API docs for the searchNotebooks plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNotebooks'] --- import searchNotebooksObj from './search_notebooks.devdocs.json'; diff --git a/api_docs/search_playground.mdx b/api_docs/search_playground.mdx index bd976c4a65236..3a8a009e62d5c 100644 --- a/api_docs/search_playground.mdx +++ b/api_docs/search_playground.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchPlayground title: "searchPlayground" image: https://source.unsplash.com/400x175/?github description: API docs for the searchPlayground plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchPlayground'] --- import searchPlaygroundObj from './search_playground.devdocs.json'; diff --git a/api_docs/security.devdocs.json b/api_docs/security.devdocs.json index 6124bdd2f482f..0f6eb0052c401 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -157,6 +157,23 @@ "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "security", + "id": "def-public.AuthenticatedUser.api_key", + "type": "Object", + "tags": [], + "label": "api_key", + "description": [ + "\nMetadata of the API key that was used to authenticate the user." + ], + "signature": [ + "ApiKeyDescriptor", + " | undefined" + ], + "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -1190,13 +1207,7 @@ "text": "I18nStart" }, "; analytics: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", "; theme: ", { "pluginId": "@kbn/core-theme-browser", @@ -3705,6 +3716,23 @@ "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "security", + "id": "def-server.AuthenticatedUser.api_key", + "type": "Object", + "tags": [], + "label": "api_key", + "description": [ + "\nMetadata of the API key that was used to authenticate the user." + ], + "signature": [ + "ApiKeyDescriptor", + " | undefined" + ], + "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -6406,10 +6434,6 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/plugin.ts" }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts" - }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts" @@ -6426,6 +6450,10 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts" }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts" + }, { "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts" @@ -6547,23 +6575,15 @@ }, { "plugin": "entityManager", - "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts" }, { "plugin": "entityManager", - "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts" + "plugin": "entityManager", + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" }, { "plugin": "fleet", @@ -7011,6 +7031,23 @@ "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticatedUser.api_key", + "type": "Object", + "tags": [], + "label": "api_key", + "description": [ + "\nMetadata of the API key that was used to authenticate the user." + ], + "signature": [ + "ApiKeyDescriptor", + " | undefined" + ], + "path": "packages/core/security/core-security-common/src/authentication/authenticated_user.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/security.mdx b/api_docs/security.mdx index ecffc85a8a740..25069bc6909c0 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 458 | 0 | 238 | 0 | +| 461 | 0 | 238 | 0 | ## Client diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index e84f41806e8ef..85b4b332c5d2c 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -851,13 +851,7 @@ "\nLocations where the link is visible in the UI" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined" ], "path": "x-pack/solutions/security/plugins/security_solution/public/common/links/types.ts", @@ -1931,7 +1925,7 @@ "label": "setComponents", "description": [], "signature": [ - "(components: Partial<{ GetStarted: React.ComponentType<{ indicesExist?: boolean | undefined; }>; DashboardsLandingCallout: React.ComponentType<{}>; EnablementModalCallout: React.ComponentType<{}>; }>) => void" + "(components: Partial<{ GetStarted: React.ComponentType<{ indicesExist?: boolean | undefined; }>; DashboardsLandingCallout: React.ComponentType<{}>; AdditionalChargesMessage: React.ComponentType<{}>; }>) => void" ], "path": "x-pack/solutions/security/plugins/security_solution/public/types.ts", "deprecated": false, @@ -1946,7 +1940,7 @@ "label": "components", "description": [], "signature": [ - "{ GetStarted?: React.ComponentType<{ indicesExist?: boolean | undefined; }> | undefined; DashboardsLandingCallout?: React.ComponentType<{}> | undefined; EnablementModalCallout?: React.ComponentType<{}> | undefined; }" + "{ GetStarted?: React.ComponentType<{ indicesExist?: boolean | undefined; }> | undefined; DashboardsLandingCallout?: React.ComponentType<{}> | undefined; AdditionalChargesMessage?: React.ComponentType<{}> | undefined; }" ], "path": "x-pack/solutions/security/plugins/security_solution/public/contract_components.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 30b93bedf8912..49562bbaa62b8 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/security_solution_ess.mdx b/api_docs/security_solution_ess.mdx index c3bc270e07b38..be305832328aa 100644 --- a/api_docs/security_solution_ess.mdx +++ b/api_docs/security_solution_ess.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionEss title: "securitySolutionEss" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionEss plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionEss'] --- import securitySolutionEssObj from './security_solution_ess.devdocs.json'; diff --git a/api_docs/security_solution_serverless.mdx b/api_docs/security_solution_serverless.mdx index 8526161bc5b51..ec8243c55bdd0 100644 --- a/api_docs/security_solution_serverless.mdx +++ b/api_docs/security_solution_serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionServerless title: "securitySolutionServerless" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionServerless plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionServerless'] --- import securitySolutionServerlessObj from './security_solution_serverless.devdocs.json'; diff --git a/api_docs/serverless.mdx b/api_docs/serverless.mdx index f634685081dec..8767cfaaed751 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverless'] --- import serverlessObj from './serverless.devdocs.json'; diff --git a/api_docs/serverless_observability.mdx b/api_docs/serverless_observability.mdx index 2efde2f4a1173..09f0745d308ac 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index 79f553148e2fa..ed9013ad5f725 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessSearch'] --- import serverlessSearchObj from './serverless_search.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index b535088de67ff..3119ef27eca7e 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.devdocs.json b/api_docs/share.devdocs.json index 36ca1c42b9b08..99be9475ead0f 100644 --- a/api_docs/share.devdocs.json +++ b/api_docs/share.devdocs.json @@ -901,13 +901,13 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "@kbn/reporting-public", - "path": "packages/kbn-reporting/public/share/share_context_menu/register_pdf_png_modal_reporting.tsx" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_share.tsx" + }, + { + "plugin": "@kbn/reporting-public", + "path": "packages/kbn-reporting/public/share/share_context_menu/register_pdf_png_modal_reporting.tsx" } ] }, diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 96bb064600302..b14cb700e08aa 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/slo.devdocs.json b/api_docs/slo.devdocs.json index 10274a3f7c2c0..1469c068bd2ca 100644 --- a/api_docs/slo.devdocs.json +++ b/api_docs/slo.devdocs.json @@ -846,23 +846,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/solutions/observability/plugins/slo/public/types.ts", diff --git a/api_docs/slo.mdx b/api_docs/slo.mdx index 1c8ccf4ecebcb..7da61e5658346 100644 --- a/api_docs/slo.mdx +++ b/api_docs/slo.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/slo title: "slo" image: https://source.unsplash.com/400x175/?github description: API docs for the slo plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'slo'] --- import sloObj from './slo.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index fd685a5a1c04b..0b38cdc2a1388 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 3c5d96b8cbfdc..5eb096bd7436d 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 126a2e67d42eb..41ac103a711a0 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 3f3ea14529028..49c52a2ac8b8d 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/streams.devdocs.json b/api_docs/streams.devdocs.json index 4e6151b341ba7..742a88ca60f17 100644 --- a/api_docs/streams.devdocs.json +++ b/api_docs/streams.devdocs.json @@ -71,7 +71,7 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", + "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, { name: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", "StreamsRouteHandlerResources", ", { status: \"unknown\" | \"success\" | \"failure\"; simulationError: string | null; documentsWithRuntimeFieldsApplied: unknown[] | null; }, undefined>; \"GET /api/streams/{id}/schema/unmapped_fields\": ", { @@ -92,17 +92,53 @@ "text": "ServerRoute" }, "<\"POST /api/streams/{id}/_sample\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ condition: Zod.ZodOptional>; start: Zod.ZodOptional; end: Zod.ZodOptional; number: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { documents: unknown[]; }, undefined>; \"POST /api/streams/_disable\": ", @@ -147,11 +183,39 @@ }, "<\"GET /api/streams\", Zod.ZodObject<{}, \"strip\", Zod.ZodTypeAny, {}, {}>, ", "StreamsRouteHandlerResources", - ", { definitions: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }[]; }, undefined>; \"DELETE /api/streams/{id}\": ", + ", { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, undefined>; \"DELETE /api/streams/{id}\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -169,39 +233,327 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"PUT /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ processing: Zod.ZodDefault; body: Zod.ZodUnion<[Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }, { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }; }, { path: { id: string; }; body: { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }; }>, ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>, Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; } | { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; }, { path: { id: string; }; body: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; } | { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: boolean; }, undefined>; \"GET /api/streams/{id}\": ", { @@ -213,11 +565,39 @@ }, "<\"GET /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; }, { path: { id: string; }; }>, ", "StreamsRouteHandlerResources", - ", { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; inheritedFields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; from: string; format?: string | undefined; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", + ", { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -225,46 +605,54 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, { id: Zod.ZodString; unmanaged_elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; }>, \"children\">, \"strip\", Zod.ZodTypeAny, { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>; condition: Zod.ZodType<", - "Condition", + "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject<{ name: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; }, { name: string; }>; condition: Zod.ZodType<", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, ", Zod.ZodTypeDef, ", - "Condition", - ">; }, \"strip\", Zod.ZodTypeAny, { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }, { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }; }, { path: { id: string; }; body: { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">; }, \"strip\", Zod.ZodTypeAny, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }; }, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: true; }, undefined>; \"POST /api/streams/_resync\": ", @@ -318,40 +706,7 @@ "server": { "classes": [], "functions": [], - "interfaces": [ - { - "parentPluginId": "streams", - "id": "def-server.ListStreamResponse", - "type": "Interface", - "tags": [], - "label": "ListStreamResponse", - "description": [], - "path": "x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "streams", - "id": "def-server.ListStreamResponse.definitions", - "type": "Array", - "tags": [], - "label": "definitions", - "description": [], - "signature": [ - "{ id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }[]" - ], - "path": "x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - } - ], + "interfaces": [], "enums": [], "misc": [ { @@ -385,7 +740,7 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", + "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, { name: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", "StreamsRouteHandlerResources", ", { status: \"unknown\" | \"success\" | \"failure\"; simulationError: string | null; documentsWithRuntimeFieldsApplied: unknown[] | null; }, undefined>; \"GET /api/streams/{id}/schema/unmapped_fields\": ", { @@ -406,17 +761,53 @@ "text": "ServerRoute" }, "<\"POST /api/streams/{id}/_sample\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ condition: Zod.ZodOptional>; start: Zod.ZodOptional; end: Zod.ZodOptional; number: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { documents: unknown[]; }, undefined>; \"POST /api/streams/_disable\": ", @@ -461,11 +852,39 @@ }, "<\"GET /api/streams\", Zod.ZodObject<{}, \"strip\", Zod.ZodTypeAny, {}, {}>, ", "StreamsRouteHandlerResources", - ", { definitions: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }[]; }, undefined>; \"DELETE /api/streams/{id}\": ", + ", { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, undefined>; \"DELETE /api/streams/{id}\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -483,39 +902,327 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"PUT /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ processing: Zod.ZodDefault; body: Zod.ZodUnion<[Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }, { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }; }, { path: { id: string; }; body: { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }; }>, ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>, Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; } | { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; }, { path: { id: string; }; body: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; } | { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: boolean; }, undefined>; \"GET /api/streams/{id}\": ", { @@ -527,11 +1234,39 @@ }, "<\"GET /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; }, { path: { id: string; }; }>, ", "StreamsRouteHandlerResources", - ", { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; inheritedFields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; from: string; format?: string | undefined; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", + ", { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -539,46 +1274,54 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, { id: Zod.ZodString; unmanaged_elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; }>, \"children\">, \"strip\", Zod.ZodTypeAny, { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>; condition: Zod.ZodType<", - "Condition", + "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject<{ name: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; }, { name: string; }>; condition: Zod.ZodType<", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, ", Zod.ZodTypeDef, ", - "Condition", - ">; }, \"strip\", Zod.ZodTypeAny, { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }, { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }; }, { path: { id: string; }; body: { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">; }, \"strip\", Zod.ZodTypeAny, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }; }, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: true; }, undefined>; \"POST /api/streams/_resync\": ", @@ -644,46 +1387,7 @@ "functions": [], "interfaces": [], "enums": [], - "misc": [ - { - "parentPluginId": "streams", - "id": "def-common.ReadStreamDefinition", - "type": "Type", - "tags": [], - "label": "ReadStreamDefinition", - "description": [], - "signature": [ - "{ id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; inheritedFields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; from: string; format?: string | undefined; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" - ], - "path": "x-pack/solutions/observability/plugins/streams/common/types.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, - { - "parentPluginId": "streams", - "id": "def-common.StreamDefinition", - "type": "Type", - "tags": [], - "label": "StreamDefinition", - "description": [], - "signature": [ - "{ id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" - ], - "path": "x-pack/solutions/observability/plugins/streams/common/types.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - } - ], + "misc": [], "objects": [] } } \ No newline at end of file diff --git a/api_docs/streams.mdx b/api_docs/streams.mdx index d24695f85797e..3579d370fad05 100644 --- a/api_docs/streams.mdx +++ b/api_docs/streams.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/streams title: "streams" image: https://source.unsplash.com/400x175/?github description: API docs for the streams plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'streams'] --- import streamsObj from './streams.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/st | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 13 | 3 | +| 9 | 0 | 9 | 2 | ## Client @@ -39,14 +39,6 @@ Contact [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/st ### Start -### Interfaces - - ### Consts, variables and types -## Common - -### Consts, variables and types - - diff --git a/api_docs/streams_app.devdocs.json b/api_docs/streams_app.devdocs.json index 0c7fcf59a750f..e8d864dd253ec 100644 --- a/api_docs/streams_app.devdocs.json +++ b/api_docs/streams_app.devdocs.json @@ -112,11 +112,39 @@ "label": "Entity", "description": [], "signature": [ - "EntityBase & { type: \"stream\"; properties: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" + "EntityBase & { type: \"stream\"; properties: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" ], "path": "x-pack/solutions/observability/plugins/streams_app/common/index.ts", "deprecated": false, @@ -131,11 +159,39 @@ "label": "StreamEntity", "description": [], "signature": [ - "EntityBase & { type: \"stream\"; properties: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" + "EntityBase & { type: \"stream\"; properties: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" ], "path": "x-pack/solutions/observability/plugins/streams_app/common/index.ts", "deprecated": false, diff --git a/api_docs/streams_app.mdx b/api_docs/streams_app.mdx index 4a823b5fde7b4..74581f6cb2318 100644 --- a/api_docs/streams_app.mdx +++ b/api_docs/streams_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/streamsApp title: "streamsApp" image: https://source.unsplash.com/400x175/?github description: API docs for the streamsApp plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'streamsApp'] --- import streamsAppObj from './streams_app.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 0443667ead7d8..4837a02abb490 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.devdocs.json b/api_docs/telemetry.devdocs.json index 765689834b183..9d6b148161993 100644 --- a/api_docs/telemetry.devdocs.json +++ b/api_docs/telemetry.devdocs.json @@ -807,10 +807,6 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/server/telemetry/sender.ts" }, - { - "plugin": "datasetQuality", - "path": "x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts" - }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/server/telemetry/sender.test.ts" @@ -819,6 +815,10 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/server/telemetry/sender.test.ts" }, + { + "plugin": "datasetQuality", + "path": "x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/telemetry/sender.ts" diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 62e0c30621cba..e96f9494402b9 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index dee4d18d74aa2..aedf02baad246 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 179389de786d4..85ff28102e5ed 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index bf1be15c47d1a..be9601b9f2d9c 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.devdocs.json b/api_docs/timelines.devdocs.json index b916d23908995..4b0fbbe202505 100644 --- a/api_docs/timelines.devdocs.json +++ b/api_docs/timelines.devdocs.json @@ -1017,13 +1017,7 @@ "text": "I18nStart" }, "; analytics: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", "; theme: ", { "pluginId": "@kbn/core-theme-browser", @@ -1178,13 +1172,7 @@ "text": "I18nStart" }, "; analytics: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", "; theme: ", { "pluginId": "@kbn/core-theme-browser", @@ -3944,71 +3932,71 @@ }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/helpers.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/column_headers/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/helpers.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/column_headers/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/helpers.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/column_headers/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/helpers.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/helpers.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_actions.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/helpers.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_actions.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_actions.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_badge.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/add_data_provider_popover.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_badge.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/add_data_provider_popover.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/column_headers/helpers.ts" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/empty.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/column_headers/helpers.ts" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/empty.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/column_headers/helpers.ts" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_actions.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/add_data_provider_popover.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_actions.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/add_data_provider_popover.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_actions.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/empty.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_badge.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/empty.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/data_providers/provider_item_badge.tsx" }, { "plugin": "securitySolution", @@ -4056,11 +4044,11 @@ }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/right/tabs/table_tab.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/tabs/shared/utils.ts" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/right/tabs/table_tab.tsx" + "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/tabs/shared/utils.ts" }, { "plugin": "securitySolution", @@ -4068,11 +4056,11 @@ }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/tabs/shared/utils.ts" + "path": "x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/right/tabs/table_tab.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/tabs/shared/utils.ts" + "path": "x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/right/tabs/table_tab.tsx" }, { "plugin": "securitySolution", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 0abc1d5c77463..f9529bb0d8651 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index c89b011acf0c1..8f7c765f01d2e 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.devdocs.json b/api_docs/triggers_actions_ui.devdocs.json index 8d469da5e53df..29cf93d49aa38 100644 --- a/api_docs/triggers_actions_ui.devdocs.json +++ b/api_docs/triggers_actions_ui.devdocs.json @@ -5744,13 +5744,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index d02c8fc3bdedb..13fc3cd9cae43 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index c5e29e0779ead..4ce1fcd61fcb1 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 257de6e94096b..1285e7601c30e 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_doc_viewer.mdx b/api_docs/unified_doc_viewer.mdx index a9105887e861f..763f90711fb07 100644 --- a/api_docs/unified_doc_viewer.mdx +++ b/api_docs/unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedDocViewer title: "unifiedDocViewer" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedDocViewer plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedDocViewer'] --- import unifiedDocViewerObj from './unified_doc_viewer.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 42fd5d65b313e..619dbd01c9ca5 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.devdocs.json b/api_docs/unified_search.devdocs.json index 7cf8791b9a017..8297dd04d1d15 100644 --- a/api_docs/unified_search.devdocs.json +++ b/api_docs/unified_search.devdocs.json @@ -1503,13 +1503,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 08acfecaf75a5..8939402397fdc 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 4977842164b0a..a02c2380c2601 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/uptime.mdx b/api_docs/uptime.mdx index 22477c231c723..0fe614b98b056 100644 --- a/api_docs/uptime.mdx +++ b/api_docs/uptime.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uptime title: "uptime" image: https://source.unsplash.com/400x175/?github description: API docs for the uptime plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uptime'] --- import uptimeObj from './uptime.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 626e47c6ad331..ea5eaa196e226 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 7fb407e9c70b3..a2fbc55c78bbc 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index fb13de158f1f9..c3959e5fee8ca 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index b001bbb32b7f3..e7139300483de 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index fa7986a01bd25..b16ff6424139c 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index 5f55e0f1b8c70..34a93f07fba79 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 388b483088a1d..6b47b3034f7e2 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 3681feba8524f..be8480d17f8b6 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 1968802097cc7..7411d34b2db38 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index c2994826491d1..182b77c1838ba 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 06735365d1cc0..4a25966e3cb64 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index e10f3976ade16..9dca4a7300515 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 56f15227f0ea0..a699b374b1c13 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.devdocs.json b/api_docs/visualizations.devdocs.json index b05bac81ecc16..0a94dce7a5404 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -1331,26 +1331,7 @@ }, ", ", "VisualizeOutput", - ", any> implements ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ReferenceOrValueEmbeddable", - "text": "ReferenceOrValueEmbeddable" - }, - "<", - "VisualizeByValueInput", - ", ", - "VisualizeByReferenceInput", - ">,", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.FilterableEmbeddable", - "text": "FilterableEmbeddable" - } + ", any>" ], "path": "src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx", "deprecated": true, @@ -1358,15 +1339,15 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts" + "path": "x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts" + "path": "x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts" + "path": "x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts" } ], "children": [ @@ -6798,15 +6779,7 @@ "section": "def-common.Filter", "text": "Filter" }, - "[]; getExplicitInput: () => Readonly<", - { - "pluginId": "visualizations", - "scope": "public", - "docId": "kibVisualizationsPluginApi", - "section": "def-public.VisualizeInput", - "text": "VisualizeInput" - }, - ">; getDescription: () => string; render: (domNode: HTMLElement) => Promise; supportedTriggers: () => string[]; getInspectorAdapters: () => ", + "[]; render: (domNode: HTMLElement) => Promise; supportedTriggers: () => string[]; getInspectorAdapters: () => ", { "pluginId": "inspector", "scope": "common", @@ -6914,7 +6887,15 @@ "section": "def-public.VisualizeInput", "text": "VisualizeInput" }, - ">) => Promise; getPersistableInput: () => Readonly<", + ">) => Promise; getExplicitInput: () => Readonly<", + { + "pluginId": "visualizations", + "scope": "public", + "docId": "kibVisualizationsPluginApi", + "section": "def-public.VisualizeInput", + "text": "VisualizeInput" + }, + ">; getPersistableInput: () => Readonly<", { "pluginId": "visualizations", "scope": "public", @@ -6930,7 +6911,7 @@ "section": "def-public.VisualizeInput", "text": "VisualizeInput" }, - ">; getTitle: () => string; untilInitializationFinished: () => Promise; updateOutput: (outputChanges: Partial<", + ">; getTitle: () => string; getDescription: () => string; untilInitializationFinished: () => Promise; updateOutput: (outputChanges: Partial<", "VisualizeOutput", ">) => void; }" ], diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 8c24dab611e53..6ec42ffcf9156 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2024-12-19 +date: 2024-12-24 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/dev_docs/nav-kibana-dev.docnav.json b/dev_docs/nav-kibana-dev.docnav.json index 141af7984adf8..976bab0d8316f 100644 --- a/dev_docs/nav-kibana-dev.docnav.json +++ b/dev_docs/nav-kibana-dev.docnav.json @@ -465,9 +465,6 @@ { "id": "kibDataSearchPluginApi" }, - { - "id": "kibBfetchPluginApi" - }, { "id": "kibAlertingPluginApi" }, diff --git a/docs/developer/architecture/core/application_service.asciidoc b/docs/developer/architecture/core/application_service.asciidoc index 31b0a3d2a4356..66a0c09c60eb3 100644 --- a/docs/developer/architecture/core/application_service.asciidoc +++ b/docs/developer/architecture/core/application_service.asciidoc @@ -29,7 +29,7 @@ export class MyPlugin implements Plugin { } } ---- -<1> Refer to {kib-repo}/blob/8.9/packages/core/application/core-application-browser/src/contracts.ts[application.register interface] +<1> Refer to {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[application.register interface] <2> Application specific URL. <3> `mount` callback is invoked when a user navigates to the application-specific URL. <4> `core.getStartServices` method provides API available during `start` lifecycle. diff --git a/docs/developer/architecture/security/feature-registration.asciidoc b/docs/developer/architecture/security/feature-registration.asciidoc index b16142311cc75..b53df66f9a94e 100644 --- a/docs/developer/architecture/security/feature-registration.asciidoc +++ b/docs/developer/architecture/security/feature-registration.asciidoc @@ -39,7 +39,7 @@ Registering a feature consists of the following fields. For more information, co |A human readable name for your feature. |`category` (required) -|{kib-repo}blob/{branch}/packages/core/application/core-application-common/src/app_category.ts[`AppCategory`] +|{kib-repo}blob/{branch}/src/core/packages/application/common/src/app_category.ts[`AppCategory`] |`DEFAULT_APP_CATEGORIES.kibana` |The `AppCategory` which best represents your feature. Used to organize the display of features within the management screens. diff --git a/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 57a10ee06a697..f4c6baab43281 100644 --- a/docs/developer/best-practices/index.asciidoc +++ b/docs/developer/best-practices/index.asciidoc @@ -78,7 +78,7 @@ strategies] *** Use the `esSearchStrategy` to make raw queries to ES that will support async searching and partial results, as well as injecting the right advanced settings like whether to include frozen indices or not. -* {kib-repo}blob/{branch}/src/plugins/embeddable/README.md[Embeddables] +* {kib-repo}blob/{branch}/src/platform/plugins/shared/embeddable/README.md[Embeddables] ** Rendering maps, visualizations, dashboards in your application ** Register new widgets that will can be added to a dashboard or Canvas workpad, or rendered in another plugin. diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index 6d6ebb38e558b..05247574641af 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -87,13 +87,13 @@ window.location.href = urlToADashboard; To navigate between different {kib} apps without a page reload (by default) there are APIs in `core`: -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToApp] -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToUrl] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToApp] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToUrl] Both methods offer customization such as opening the target in a new page, with an `options` parameter. All the options are optional be default. -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToApp options] -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToUrl options] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToApp options] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToUrl options] *Rendering a link to a different {kib} app on its own would also cause a full page reload:* @@ -163,8 +163,8 @@ Common rules to follow in this scenario: This is required to make sure `core` is aware of navigations triggered inside your app, so it could act accordingly when needed. -* `Core`'s {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] instance. -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/app_mount.ts[Example usage] +* `Core`'s {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] instance. +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/app_mount.ts[Example usage] * {kib-repo}tree/{branch}/test/plugin_functional/plugins/core_plugin_a/public/application.tsx#L120[Example plugin] Relative links will be resolved relative to your app's route (e.g.: `http://localhost5601/app/{your-app-id}`) @@ -181,14 +181,14 @@ const MyInternalLink = () => === Using history and browser location Try to avoid using `window.location` and `window.history` directly. + -Instead, consider using {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] +Instead, consider using {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] instance provided by `core`. * This way `core` will know about location changes triggered within your app, and it would act accordingly. * Some plugins are listening to location changes. Triggering location change manually could lead to unpredictable and hard-to-catch bugs. Common use-case for using -`core`'s {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] directly: +`core`'s {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] directly: * Reading/writing query params or hash. * Imperatively triggering internal navigations within your app. diff --git a/docs/developer/contributing/development-tests.asciidoc b/docs/developer/contributing/development-tests.asciidoc index d4a478040b4f8..fc610a2ffca84 100644 --- a/docs/developer/contributing/development-tests.asciidoc +++ b/docs/developer/contributing/development-tests.asciidoc @@ -33,27 +33,27 @@ Kibana primarily uses Jest for unit testing. Each plugin or package defines a `j [source,bash] ---- -yarn jest --config src/plugins/dashboard/jest.config.js +yarn jest --config src/platform/plugins/shared/dashboard/jest.config.js ---- A script is available to provide a better user experience when testing while navigating throughout the repository. To run the tests within your current working directory, use `yarn test:jest`. Like the Jest CLI, you can also supply a path to determine which tests to run. [source,bash] ---- -kibana/src/plugins/dashboard/server$ yarn test:jest #or -kibana/src/plugins/dashboard$ yarn test:jest server #or -kibana$ yarn test:jest src/plugins/dashboard/server +kibana/src/platform/plugins/shared/dashboard/server$ yarn test:jest #or +kibana/src/platform/plugins/shared/dashboard$ yarn test:jest server #or +kibana$ yarn test:jest src/platform/plugins/shared/dashboard/server ---- Any additional options supplied to `test:jest` will be passed onto the Jest CLI with the resulting Jest command always being outputted. [source,bash] ---- -kibana/src/plugins/dashboard/server$ yarn test:jest --coverage +kibana/src/platform/plugins/shared/dashboard/server$ yarn test:jest --coverage # is equivalent to -yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/plugins/dashboard/jest.config.js server +yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/platform/plugins/shared/dashboard/jest.config.js server ---- You can generate code coverage report for a single plugin. diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 80511095a000f..4d92984925ff8 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -32,10 +32,6 @@ as uiSettings within the code. |The aiAssistantManagementSelection plugin manages the Ai Assistant management section. -|{kib-repo}blob/{branch}/src/plugins/bfetch/README.md[bfetch] -|bfetch allows to batch HTTP requests and streams responses back. - - |{kib-repo}blob/{branch}/src/plugins/charts/README.md[charts] |The Charts plugin is a way to create easier integration of shared colors, themes, types and other utilities across all Kibana charts and visualizations. @@ -48,7 +44,7 @@ as uiSettings within the code. |The content management plugin provides functionality to manage content in Kibana. -|{kib-repo}blob/{branch}/src/plugins/controls/README.mdx[controls] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/controls/README.mdx[controls] |The Controls plugin contains Embeddables which can be used to add user-friendly interactivity to apps. @@ -98,7 +94,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |A stateful layer to register shared features and provide an access point to discover without a direct dependency. -|{kib-repo}blob/{branch}/src/plugins/embeddable/README.md[embeddable] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/embeddable/README.md[embeddable] |Embeddables are React components that manage their own state, can be serialized and deserialized, and return an API that can be used to interact with them imperatively. @@ -122,7 +118,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |This plugin contains the library listing page for event annotation groups. -|{kib-repo}blob/{branch}/src/plugins/expression_error/README.md[expressionError] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_error/README.md[expressionError] |Expression Error plugin adds an error renderer to the expression plugin. The renderer will display the error image. @@ -134,7 +130,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/expression_image/README.md[expressionImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_image/README.md[expressionImage] |Expression Image plugin adds an image renderer to the expression plugin. The renderer will display the given image. @@ -142,7 +138,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression MetricVis plugin adds a metric renderer and function to the expression plugin. The renderer will display the metric chart. -|{kib-repo}blob/{branch}/src/plugins/expression_metric/README.md[expressionMetric] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_metric/README.md[expressionMetric] |Expression Metric plugin adds a metric renderer and function to the expression plugin. @@ -154,11 +150,11 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Partition Visualization plugin adds a partitionVis renderer and pieVis, mosaicVis, treemapVis, waffleVis functions to the expression plugin. The renderer will display the pie, waffle, treemap and mosaic charts. -|{kib-repo}blob/{branch}/src/plugins/expression_repeat_image/README.md[expressionRepeatImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_repeat_image/README.md[expressionRepeatImage] |Expression Repeat Image plugin adds a repeatImage function to the expression plugin and an associated renderer. The renderer will display the given image in mutliple instances. -|{kib-repo}blob/{branch}/src/plugins/expression_reveal_image/README.md[expressionRevealImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_reveal_image/README.md[expressionRevealImage] |Expression Reveal Image plugin adds a revealImage function to the expression plugin and an associated renderer. The renderer will display the given percentage of a given image. @@ -184,7 +180,7 @@ want to incorporate their own functions, types, and renderers into the service for use in their own application. -|{kib-repo}blob/{branch}/src/plugins/expression_shape/README.md[expressionShape] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_shape/README.md[expressionShape] |Expression Shape plugin adds a shape function to the expression plugin and an associated renderer. The renderer will display the given shape with selected decorations. @@ -225,11 +221,11 @@ for use in their own application. Images can be added either by URL or by uploading the image file via file service. -|{kib-repo}blob/{branch}/src/plugins/input_control_vis/README.md[inputControlVis] +|{kib-repo}blob/{branch}/src/platform/plugins/private/input_control_vis/README.md[inputControlVis] |Contains the input control visualization allowing to place custom filter controls on a dashboard. -|{kib-repo}blob/{branch}/src/plugins/inspector/README.md[inspector] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/inspector/README.md[inspector] |The inspector is a contextual tool to gain insights into different elements in Kibana, e.g. visualizations. It has the form of a flyout panel. @@ -254,7 +250,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |Utilities for building Kibana plugins. -|{kib-repo}blob/{branch}/src/plugins/links/README.md[links] +|{kib-repo}blob/{branch}/src/platform/plugins/private/links/README.md[links] |This plugin adds the Links panel which allows authors to create hard links to navigate on click and bring all context from the source dashboard to the destination dashboard. @@ -264,7 +260,7 @@ to link individual management section into it. This plugin does not contain any management section itself. -|{kib-repo}blob/{branch}/src/plugins/maps_ems/README.md[mapsEms] +|{kib-repo}blob/{branch}/src/platform/plugins/private/maps_ems/README.md[mapsEms] |Utility plugin: @@ -282,11 +278,11 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |Helps to globally configure the no data page components -|{kib-repo}blob/{branch}/src/plugins/presentation_panel/README.md[presentationPanel] +|{kib-repo}blob/{branch}/src/platform/plugins/private/presentation_panel/README.md[presentationPanel] |The Presentation Panel is the point of contact between any React component and any registered UI actions. Components provided to the Presentation Panel should use an imperative handle to expose methods and state. -|{kib-repo}blob/{branch}/src/plugins/presentation_util/README.mdx[presentationUtil] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/presentation_util/README.mdx[presentationUtil] |The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). @@ -396,7 +392,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_type_markdown/README.md[visTypeMarkdown] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_type_markdown/README.md[visTypeMarkdown] |The markdown visualization that can be used to place text panels on dashboards. @@ -479,7 +475,7 @@ The plugin exposes the static DefaultEditorController class to consume. |Allow to add a header banner that will be displayed on every page of the Kibana application -|{kib-repo}blob/{branch}/x-pack/plugins/canvas/README.md[canvas] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/canvas/README.md[canvas] |"Never look back. The past is done. The future is a blank canvas." ― Suzy Kassem, Rise Up and Salute the Sun @@ -534,11 +530,11 @@ Plugin server-side only. Plugin has three main functions: |Adds drilldown capabilities to dashboard. Owned by the Kibana App team. -|{kib-repo}blob/{branch}/x-pack/plugins/data_quality/README.md[dataQuality] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/data_quality/README.md[dataQuality] |Page where users can see the quality of their log data sets. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/dataset_quality/README.md[datasetQuality] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/dataset_quality/README.md[datasetQuality] |In order to make ongoing maintenance of log collection easy we want to introduce the concept of data set quality, where users can easily get an overview on the data sets they have with information such as integration, size, last activity, among others. @@ -601,11 +597,11 @@ activities. |The features plugin enhance Kibana with a per-feature privilege system. -|{kib-repo}blob/{branch}/x-pack/plugins/fields_metadata/README.md[fieldsMetadata] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/fields_metadata/README.md[fieldsMetadata] |The @kbn/fields-metadata-plugin is designed to provide a centralized and asynchronous way to consume field metadata across Kibana. This plugin addresses the need for on-demand retrieval of field metadata from static ECS/Metadata definitions and integration manifests, with the flexibility to extend to additional resolution sources in the future. -|{kib-repo}blob/{branch}/x-pack/plugins/file_upload[fileUpload] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/file_upload[fileUpload] |WARNING: Missing README. @@ -640,7 +636,7 @@ which are particularly useful for ingesting logs. Index Management by running this series of requests in Console: -|{kib-repo}blob/{branch}/x-pack/plugins/index_management/README.md[indexManagement] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/index_management/README.md[indexManagement] |This service is exposed from the Index Management setup contract and can be used to add content to the indices list and the index details page. @@ -649,7 +645,7 @@ Index Management by running this series of requests in Console: external LLM APIs. Its goals are: -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/infra/README.md[infra] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/infra/README.md[infra] |This is the home of the infra plugin, which aims to provide a solution for the infrastructure monitoring use-case within Kibana. @@ -703,23 +699,23 @@ using the CURL scripts in the scripts folder. |This plugin contains various LLM tasks. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/logs_data_access/README.md[logsDataAccess] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/logs_data_access/README.md[logsDataAccess] |Exposes services to access logs data. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/logs_explorer/README.md[logsExplorer] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/logs_explorer/README.md[logsExplorer] |This plugin is home to the component and related types. It implements several of the underlying concepts that the Observability Logs Explorer app builds upon. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/logs_shared/README.md[logsShared] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/logs_shared/README.md[logsShared] |Exposes the shared components and APIs to access and visualize logs. -|{kib-repo}blob/{branch}/x-pack/plugins/logstash[logstash] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/logstash[logstash] |WARNING: Missing README. -|{kib-repo}blob/{branch}/x-pack/plugins/maps/README.md[maps] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/maps/README.md[maps] |Visualize geo data from Elasticsearch or 3rd party geo-services. @@ -732,11 +728,11 @@ using the CURL scripts in the scripts folder. Elastic. -|{kib-repo}blob/{branch}/x-pack/plugins/monitoring/readme.md[monitoring] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/monitoring/readme.md[monitoring] |This plugin provides the Stack Monitoring kibana application. -|{kib-repo}blob/{branch}/x-pack/plugins/monitoring_collection/README.md[monitoringCollection] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/monitoring_collection/README.md[monitoringCollection] |This plugin allows for other plugins to add data to Kibana stack monitoring documents. @@ -760,11 +756,11 @@ Elastic. |The observabilityAiAssistantManagement plugin manages the Ai Assistant for Observability and Search management section. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_logs_explorer/README.md[observabilityLogsExplorer] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_logs_explorer/README.md[observabilityLogsExplorer] |This plugin provides an app based on the LogsExplorer component from the logs_explorer plugin, but adds observability-specific affordances. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_onboarding/README.md[observabilityOnboarding] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_onboarding/README.md[observabilityOnboarding] |This plugin provides an onboarding framework for observability solutions: Logs and APM. @@ -984,9 +980,9 @@ in their infrastructure. |=== -include::{kibana-root}/src/plugins/dashboard/README.asciidoc[leveloffset=+1] +include::{kibana-root}/src/platform/plugins/shared/dashboard/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1] diff --git a/docs/user/dashboard/create-dashboards.asciidoc b/docs/user/dashboard/create-dashboards.asciidoc index 8b0d5e5f524fd..2bc2825cd4fda 100644 --- a/docs/user/dashboard/create-dashboards.asciidoc +++ b/docs/user/dashboard/create-dashboards.asciidoc @@ -56,7 +56,7 @@ image::images/add_content_to_dashboard_8.15.0.png[Options to add content to your .. Click *Apply*. + [role="screenshot"] -image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt532d6c9ca72817d6/66f31b1f80b55f3a20e1a329/dashboard_settings_8.15.0.gif[Change and apply dashboard settings, width 30%] +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt4a6e9807f1fac9f8/6750ee9cef6d5a250c229e50/dashboard-settings-8.17.0.gif[Change and apply dashboard settings, width 30%] . Click **Save** to save the dashboard. @@ -74,14 +74,14 @@ TIP: When looking for a specific dashboard, you can filter them by tag or by cre . Make sure that you are in **Edit** mode to be able to make changes to the dashboard. You can switch between **Edit** and **View** modes from the toolbar. + [role="screenshot"] -image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/bltf75cdb828cef8b5a/66f5cfcfad4f59f38b73ba64/switch-to-view-mode-8.15.0.gif[Switch between Edit and View modes, width 30%] +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt619b284e92c2be27/6750f3a512a5eae780936fe3/switch-to-view-mode-8.17.0.gif[Switch between Edit and View modes, width 30%] . Make the changes that you need to the dashboard: ** Adjust the dashboard's settings ** <> ** <> [[save-dashboards]] -. **Save** the dashboard. You can then leave the **Edit** mode and *Switch to view mode*. +. **Save** the dashboard. You automatically switch to *View* mode upon saving. NOTE: Managed dashboards can't be edited directly, but you can <> them and edit these duplicates. @@ -98,7 +98,7 @@ NOTE: Once changes are saved, you can no longer revert them in one click, and in + [role="screenshot"] -image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/bltcd3dbda9caf48a9b/66f4957fc9f9c71ce7533774/reset-dashboard-8.15.0.gif[Reset dashboard to revert unsaved changes, width 30%] +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blte0c08bede75b3874/6750f5566cdeea14b273b048/reset-dashboard-8.17.0.gif[Reset dashboard to revert unsaved changes, width 30%] include::dashboard-controls.asciidoc[leveloffset=-1] @@ -116,11 +116,11 @@ Compare the data in your panels side-by-side, organize panels by priority, resiz In the toolbar, click *Edit*, then use the following options: -* To move, click and hold the panel header, then drag to the new location. +* To move, hover over the panel, click and hold image:images/move-control.png[The move control icon, width=4%], then drag to the new location. * To resize, click the resize control, then drag to the new dimensions. -* To maximize to full screen, open the panel menu, then click *More > Maximize*. +* To maximize to full screen, open the panel menu and click *Maximize*. + TIP: If you <> a dashboard while viewing a full screen panel, the generated link will directly open the same panel in full screen mode. @@ -138,10 +138,7 @@ Duplicated panels appear next to the original panel, and move the other panels t . In the toolbar, click *Edit*. -. Open the panel menu, then select *Duplicate*. -+ -[role="screenshot"] -image::images/duplicate-panels-8.15.0.png[Duplicate a panel, width=50%] +. Open the panel menu and select *Duplicate*. [float] [[copy-to-dashboard]] @@ -149,12 +146,12 @@ image::images/duplicate-panels-8.15.0.png[Duplicate a panel, width=50%] Copy panels from one dashboard to another dashboard. -. Open the panel menu, then select *More > Copy to dashboard*. +. Open the panel menu and select *Copy to dashboard*. . On the *Copy to dashboard* window, select the dashboard, then click *Copy and go to dashboard*. + [role="screenshot"] -image:https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt64206db263cf5514/66f49286833cffb09bebd18d/copy-to-dashboard-8.15.0.gif[Copy a panel to another dashboard, width 30%] +image:https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt48304cb3cd1ee2e6/6753879eb7c4663812148d47/copy-to-dashboard-8.17.0.gif[Copy a panel to another dashboard, width 30%] [[duplicate-dashboards]] == Duplicate dashboards diff --git a/docs/user/dashboard/create-visualizations.asciidoc b/docs/user/dashboard/create-visualizations.asciidoc index f0cf95733a972..abe9a0ef45cfb 100644 --- a/docs/user/dashboard/create-visualizations.asciidoc +++ b/docs/user/dashboard/create-visualizations.asciidoc @@ -110,7 +110,7 @@ If you created the panel from the *Visualize Library*: To add unsaved dashboard panels to the *Visualize Library*: -. Open the panel menu, then select *More > Save to library*. +. Open the panel menu and select *Save to library*. . Enter the panel title, then click *Save*. @@ -155,7 +155,7 @@ There are three types of *Discover* interactions you can add to dashboard panels + To enable panel interactions, configure <> in kibana.yml. If you are using 7.13.0 and earlier, panel interactions are enabled by default. + -To use panel interactions, open the panel menu, then click *Explore underlying data*. +To use panel interactions, open the panel menu and click *Explore underlying data*. * *Series data interactions* — Opens the series data in *Discover*. + @@ -165,7 +165,7 @@ To use series data interactions, click a data series in the panel. * *Discover session interactions* — Opens <> data in *Discover*. + -To use saved Discover session interactions, open the panel menu, then click *More > View Discover session*. +To use saved Discover session interactions, open the panel menu and click *View Discover session*. [[edit-panels]] === Edit panels @@ -178,15 +178,13 @@ To make changes to the panel, use the panel menu options. * *Edit visualization* — Opens the editor so you can make changes to the panel. + -To make changes without changing the original version, open the panel menu, then click *More > Unlink from library*. +To make changes without changing the original version, open the panel menu and click *Unlink from library*. * *Convert to Lens* — Opens *TSVB* and aggregation-based visualizations in *Lens*. * *Settings* — Opens the *Settings* window to change the *title*, *description*, and *time range*. -* *More > Replace panel* — Opens the *Visualize Library* so you can select a new panel to replace the existing panel. - -* *More > Delete from dashboard* — Removes the panel from the dashboard. +* *Remove* — Removes the panel from the dashboard. + If you want to use the panel later, make sure that you save the panel to the *Visualize Library*. diff --git a/docs/user/dashboard/dashboard-controls.asciidoc b/docs/user/dashboard/dashboard-controls.asciidoc index 1db623f7cea96..629bcfbdff36e 100644 --- a/docs/user/dashboard/dashboard-controls.asciidoc +++ b/docs/user/dashboard/dashboard-controls.asciidoc @@ -23,7 +23,7 @@ image::images/dashboard_controlsRangeSlider_8.3.0.png[Range slider control for t + For example, you are using the *[Logs] Web Traffic* dashboard from the sample web logs data, and the global time filter is *Last 7 days*. When you add the time slider, you can click the previous and next buttons to advance the time range backward or forward, and click the play button to watch how the data changes over the last 7 days. [role="screenshot"] -image::images/dashboard_timeSliderControl_8.7.0.gif[Time slider control for the the Last 7 days] +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt672f3aaadf9ea5a6/6750dd6c2452f972af0a88b4/dashboard_timeslidercontrol_8.17.0.gif[Time slider control for the the Last 7 days] [float] [[create-and-add-options-list-and-range-slider-controls]] @@ -54,10 +54,10 @@ TIP: Range sliders are for Number type fields only. . Specify the additional settings: -* For option lists: +* For Options lists: ** Define whether users can select multiple values to filter with the control, or only one. -** For option list controls on _string_ and _IP address_ type fields, you can define how the control's embedded search should behave: +** For Options list controls on _string_ and _IP address_ type fields, you can define how the control's embedded search should behave: *** **Prefix**: Show options that _start with_ the entered value. *** **Contains**: Show options that _contain_ the entered value. This setting option is only available for _string_ type fields. Results can take longer to show with this option. diff --git a/docs/user/dashboard/images/dashboard-panel-maximized.png b/docs/user/dashboard/images/dashboard-panel-maximized.png index 26d0dc448c990..1be941430b913 100644 Binary files a/docs/user/dashboard/images/dashboard-panel-maximized.png and b/docs/user/dashboard/images/dashboard-panel-maximized.png differ diff --git a/docs/user/dashboard/images/duplicate-panels-8.15.0.png b/docs/user/dashboard/images/duplicate-panels-8.15.0.png deleted file mode 100644 index 23c5b831dcdb4..0000000000000 Binary files a/docs/user/dashboard/images/duplicate-panels-8.15.0.png and /dev/null differ diff --git a/docs/user/dashboard/images/edit-link-icon.png b/docs/user/dashboard/images/edit-link-icon.png new file mode 100644 index 0000000000000..42f698b7f9fbd Binary files /dev/null and b/docs/user/dashboard/images/edit-link-icon.png differ diff --git a/docs/user/dashboard/images/edit-links-panel.png b/docs/user/dashboard/images/edit-links-panel.png new file mode 100644 index 0000000000000..428f91e5a38e0 Binary files /dev/null and b/docs/user/dashboard/images/edit-links-panel.png differ diff --git a/docs/user/dashboard/images/edit-visualization-icon.png b/docs/user/dashboard/images/edit-visualization-icon.png new file mode 100644 index 0000000000000..fab4eef47cce5 Binary files /dev/null and b/docs/user/dashboard/images/edit-visualization-icon.png differ diff --git a/docs/user/dashboard/images/move-control.png b/docs/user/dashboard/images/move-control.png new file mode 100644 index 0000000000000..b75eb6fb7622e Binary files /dev/null and b/docs/user/dashboard/images/move-control.png differ diff --git a/docs/user/dashboard/images/settings-icon-hover-action.png b/docs/user/dashboard/images/settings-icon-hover-action.png new file mode 100644 index 0000000000000..96a60f5131ba6 Binary files /dev/null and b/docs/user/dashboard/images/settings-icon-hover-action.png differ diff --git a/docs/user/dashboard/images/vertical-actions-menu.png b/docs/user/dashboard/images/vertical-actions-menu.png new file mode 100644 index 0000000000000..a7a6c3dc4e887 Binary files /dev/null and b/docs/user/dashboard/images/vertical-actions-menu.png differ diff --git a/docs/user/dashboard/lens.asciidoc b/docs/user/dashboard/lens.asciidoc index 525ff8d7bfb6a..27b2526df4544 100644 --- a/docs/user/dashboard/lens.asciidoc +++ b/docs/user/dashboard/lens.asciidoc @@ -39,19 +39,19 @@ Choose the data you want to visualize. Edit and delete. -. Click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to clear Lens visualization layers] on the panel, then **Edit visualization**. +. Hover over the panel and click image:dashboard/images/edit-visualization-icon.png[Edit visualization icon, width=3%] to edit the visualization. The *Edit visualization* flyout appears. -. To change the aggregation *Quick function* and, click the field in the flyout. +. To change the aggregation *Quick function*, click the field in the flyout. . To delete a field, click image:dashboard/images/trash_can.png[Actions menu icon to delete a field, width=5%] next to the field. -. To duplicate a layer, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to duplicate Lens visualization layers] in the flyout, then select *Duplicate layer*. +. To duplicate a layer, click image:dashboard/images/vertical-actions-menu.png[Actions menu to duplicate Lens visualization layers] in the flyout, then select *Duplicate layer*. -. To clear the layer configuration, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to clear Lens visualization layers] in the flyout, then select *Clear layer*. +. To clear the layer configuration, click image:dashboard/images/vertical-actions-menu.png[Actions menu to clear Lens visualization layers] in the flyout, then select *Clear layer*. . Click **Apply and close**. -TIP: Use the **Edit visualization** flyout to make edits without having to leave the dashboard, or click **Edit in Lens** to make edits using the Lens application. +TIP: Use the **Edit visualization** flyout to make edits without having to leave the dashboard, or click **Edit in Lens** in the flyout to make edits using the Lens application. [float] [[change-the-fields]] @@ -671,7 +671,7 @@ For area, line, and bar charts, press Shift, then click the series in the legend .*How do I visualize saved Discover sessions?* [%collapsible] ==== -Visualizing saved Discover sessions in unsupported. +Visualizing saved Discover sessions is unsupported. ==== [discrete] diff --git a/docs/user/dashboard/links-panel.asciidoc b/docs/user/dashboard/links-panel.asciidoc index 62c5538c7fcc3..e8d4273db7de2 100644 --- a/docs/user/dashboard/links-panel.asciidoc +++ b/docs/user/dashboard/links-panel.asciidoc @@ -1,5 +1,5 @@ [[dashboard-links]] -=== Link panels +=== Links panels You can use **Links** panels to create links to other dashboards or external websites. When creating links to other dashboards, you have the option to carry the time range, query, and filters to apply over to the linked dashboard. Links to external websites follow the <> settings. **Links** panels support vertical and horizontal layouts and may be saved to the *Library* for use in other dashboards. @@ -46,10 +46,10 @@ To add a previously saved links panel to another dashboard: To edit links panels: -. From the panel menu (image:images/lens_layerActions_8.5.0.png[panel menu image]), select **Edit Links**. -. Click the Edit icon (image:images/dashboard_controlsEditControl_8.3.0.png[Edit icon image]) next to the link. +. Hover over the panel and click image:dashboard/images/edit-visualization-icon.png[Edit links icon, width=3%] to edit the link. The *Edit links panel* flyout appears. +. Click image:dashboard/images/edit-link-icon.png[Edit link icon, width=3%] next to the link. + [role="screenshot"] -image::images/edit-links-panel-8.16.0.png[A screenshot displaying the Edit icon next to the link] +image::images/edit-links-panel.png[A screenshot displaying the Edit icon next to the link] . Edit the link as needed and then click **Update link**. . Click **Save**. \ No newline at end of file diff --git a/docs/user/dashboard/share-dashboards.asciidoc b/docs/user/dashboard/share-dashboards.asciidoc index 4e8f1839ae9b2..5cb2b752c65cd 100644 --- a/docs/user/dashboard/share-dashboards.asciidoc +++ b/docs/user/dashboard/share-dashboards.asciidoc @@ -1,12 +1,9 @@ -= Share dashboards - -[float] [[share-the-dashboard]] -== Share dashboards += Share dashboards To share a dashboard with a larger audience, click *Share* in the toolbar. For detailed information about the sharing options, refer to <>. -image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt49f2b5a80ec89a34/66b9e919af508f4ac182c194/share-dashboard.gif[getting a shareable link for a dashboard] +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt9428300b184af4c6/6763173de7201118db0315a7/share-dashboard-copy-link.gif[getting a shareable link for a dashboard] TIP: When sharing a dashboard with a link while a panel is in maximized view, the generated link will also open the dashboard on the same maximized panel view. @@ -18,7 +15,7 @@ TIP: When sharing a dashboard with a link while a panel is in maximized view, th You can export dashboards from **Stack Management** > **Saved Objects**. To configure and start the export: -. Select the dashboard that you want, then select **Export**. +. Select the dashboard that you want, then click **Export**. . Enable **Include related objects** if you want that objects associated to the selected dashboard, such as data views and visualizations, also get exported. This option is enabled by default and recommended if you plan to import that dashboard again in a different space or cluster. . Select **Export**. diff --git a/docs/user/dashboard/tutorial-create-a-dashboard-of-lens-panels.asciidoc b/docs/user/dashboard/tutorial-create-a-dashboard-of-lens-panels.asciidoc index 4d299ba951296..0b3f340af1014 100644 --- a/docs/user/dashboard/tutorial-create-a-dashboard-of-lens-panels.asciidoc +++ b/docs/user/dashboard/tutorial-create-a-dashboard-of-lens-panels.asciidoc @@ -83,8 +83,6 @@ In the layer pane, *Unique count of clientip* appears because the editor automat .. Click *Close*. . Click *Save and return*. -+ -*[No Title]* appears in the visualization panel header. Since the visualization has its own `Unique visitors` label, you do not need to add a panel title. [discrete] [[mixed-multiaxis]] @@ -138,7 +136,7 @@ image::images/line-chart-bottom-axis-8.16.0.png[Bottom axis menu, width=50%] Since you removed the axis labels, add a panel title: -. Open the panel menu, then select *Settings*. +. Hover over the panel and click image:dashboard/images/settings-icon-hover-action.png[Settings icon, width=3%]. The *Settings* flyout appears. . In the *Title* field, enter `Median of bytes`, then click *Apply*. + @@ -242,7 +240,7 @@ image::images/lens_pieChartCompareSubsetOfDocs_7.16.png[Pie chart that compares Add a panel title: -. Open the panel menu, then select *Settings*. +. Hover over the panel and click image:dashboard/images/settings-icon-hover-action.png[Settings icon, width=3%]. The *Settings* flyout appears. . In the *Title* field, enter `Sum of bytes from large requests`, then click *Apply*. @@ -275,7 +273,7 @@ image::images/lens_barChartDistributionOfNumberField_7.16.png[Bar chart that dis Add a panel title: -. Open the panel menu, then select *Settings*. +. Hover over the panel and click image:dashboard/images/settings-icon-hover-action.png[Settings icon, width=3%]. The *Settings* flyout appears. . In the *Title* field, enter `Website traffic`, then click *Apply*. @@ -339,7 +337,7 @@ image::images/lens_treemapMultiLevelChart_7.16.png[Treemap visualization] Add a panel title: -. Open the panel menu, then select *Settings*. +. Hover over the panel and click image:dashboard/images/settings-icon-hover-action.png[Settings icon, width=3%]. The *Settings* flyout appears. . In the *Title* field, enter `Page views by location and referrer`, then click *Apply*. diff --git a/docs/user/dashboard/use-dashboards.asciidoc b/docs/user/dashboard/use-dashboards.asciidoc index 1baa7d49ab8f8..127a8048f4056 100644 --- a/docs/user/dashboard/use-dashboards.asciidoc +++ b/docs/user/dashboard/use-dashboards.asciidoc @@ -7,7 +7,7 @@ {kib} supports several ways to explore the data displayed in a dashboard more in depth: * The **query bar**, using KQL expressions by default. -* The **Time range**, that allows you to display data only for the period that you want to focus on. You can set a global time range for the entire dashboard, or specify a custom time range for each panel. +* The **time range**, that allows you to display data only for the period that you want to focus on. You can set a global time range for the entire dashboard, or specify a custom time range for each panel. * **Controls**, that dashboard creators can add to help viewers filter on specific values. * **Filter pills**, that you can add and combine by clicking on specific parts of the dashboard visualizations, or by defining conditions manually from the filter editor. The filter editor is a good alternative if you're not comfortable with using KQL expressions in the main query bar. * View the data of a panel and the requests used to build it. @@ -16,6 +16,28 @@ This section shows the most common ways for you to filter dashboard data. For more information about {kib} and {es} filtering capabilities, refer to <>. +[float] +=== Use filter pills + +Use filter pills to focus in on the specific data you want. + +[role="screenshot"] +image::images/dashboard_filter_pills_8.15.0.png[Filter pills, width=50%] + +[float] +==== Add pills by interacting with visualizations + +You can interact with some panel visualizations to explore specific data more in depth. Upon clicking, filter pills are added and applied to the entire dashboard, so that surrounding panels and visualizations also reflect your browsing. + +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt93fcc34395a310d4/6750e7e9b09fe993fbc0824a/add-filter-pills-8.17.gif[Browsing a chart creates a filter dynamically] + +[float] +==== Add pills using the filter editor + +As an alternative to the main query bar, you can filter dashboard data by defining individual conditions on specific fields and values, and by combining these conditions together in a filter pill. + +image::images/dashboard-filter-editor.png[Filter editor with 2 conditions] + [float] === Filter dashboards using the KQL query bar @@ -40,11 +62,11 @@ image::images/dashboard-global-time-range.png[Time range menu with multiple time **To apply a panel-level time range:** -. Open the panel menu, then select *Settings*. +. Hover over the panel and click image:dashboard/images/settings-icon-hover-action.png[Settings icon, width=3%]. The *Settings* flyout appears. . Turn on *Apply a custom time range*. -. Enter the time range you want to view, then *Apply* it. +. Enter the time range you want to view, then click *Apply*. **To view and edit the time range applied to a specific panel:** @@ -66,7 +88,7 @@ Filter the data with one or more options that you select. . Select the available options. + -The *Exists* query returns all documents that contain an indexed value for the field. +Selecting _Exists_ returns all documents that contain an indexed value for the field. . Select how to filter the options. @@ -113,30 +135,7 @@ Filter the data within a specified range of time. . To clear the specified values, click image:images/dashboard_controlsClearSelections_8.3.0.png[The icon to clear all specified values in the Range slider]. [role="screenshot"] -image::images/dashboard_timeSliderControl_8.7.0.gif[Time slider control] - -[float] -=== Use filter pills - -Use filter pills to focus in on the specific data you want. - -[role="screenshot"] -image::images/dashboard_filter_pills_8.15.0.png[Filter pills, width=50%] - -[float] -==== Add pills by interacting with visualizations - -You can interact with some panel visualizations to explore specific data more in depth. Upon clicking, filter pills are added and applied to the entire dashboard, so that surrounding panels and visualizations also reflect your browsing. - -image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt3636aae815d783f9/66c467d346b3f438b396fafa/dashboard-filter-pills.gif[Browsing a chart creates a filter dynamically] - -[float] -==== Add pills using the filter editor - -As an alternative to the main query bar, you can filter dashboard data by defining individual conditions on specific fields and values, and by combining these conditions together in a filter pill. - -image::images/dashboard-filter-editor.png[Filter editor with 2 conditions] - +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt672f3aaadf9ea5a6/6750dd6c2452f972af0a88b4/dashboard_timeslidercontrol_8.17.0.gif[Time slider control] [float] [[download-csv]] @@ -145,7 +144,7 @@ image::images/dashboard-filter-editor.png[Filter editor with 2 conditions] **View the data in visualizations and the requests that collect the data:** -. Open the panel menu, then select **Inspect**. +. Open the panel menu and select **Inspect**. . View and download the panel data. @@ -181,7 +180,7 @@ You can display dashboards in full screen mode to gain visual space and view or image::images/dashboard-full-screen.png[A dashboard in full screen mode] -If you need to focus on a particular panel, you can maximize it. To do that, open the panel menu, and select **More** > **Maximize**. You can minimize it again the same way. +If you need to focus on a particular panel, you can maximize it by opening the panel menu and selecting **Maximize**. You can minimize it again the same way. TIP: When sharing a dashboard with a link while a panel is in maximized view, the generated link will also open the dashboard on the same maximized panel view. diff --git a/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx b/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx index 2ad9cd639a223..7c262d744a55e 100644 --- a/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx +++ b/examples/embeddable_examples/public/react_embeddables/eui_markdown/eui_markdown_react_embeddable.tsx @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { EuiMarkdownEditor, EuiMarkdownFormat } from '@elastic/eui'; +import { EuiMarkdownEditor, EuiMarkdownFormat, useEuiTheme } from '@elastic/eui'; import { css } from '@emotion/react'; import { ReactEmbeddableFactory } from '@kbn/embeddable-plugin/public'; import { i18n } from '@kbn/i18n'; @@ -16,7 +16,6 @@ import { useInheritedViewMode, useStateFromPublishingSubject, } from '@kbn/presentation-publishing'; -import { euiThemeVars } from '@kbn/ui-theme'; import React from 'react'; import { BehaviorSubject } from 'rxjs'; import { EUI_MARKDOWN_ID } from './constants'; @@ -80,6 +79,7 @@ export const markdownEmbeddableFactory: ReactEmbeddableFactory< // get state for rendering const content = useStateFromPublishingSubject(content$); const viewMode = useInheritedViewMode(api) ?? 'view'; + const { euiTheme } = useEuiTheme(); return viewMode === 'edit' ? ( {content ?? ''} diff --git a/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx b/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx index c6b13d2419971..c88219d1fafc3 100644 --- a/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx +++ b/examples/embeddable_examples/public/react_embeddables/field_list/field_list_react_embeddable.tsx @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { EuiFlexGroup, EuiFlexItem, useEuiTheme } from '@elastic/eui'; import { css } from '@emotion/react'; import type { Reference } from '@kbn/content-management-utils'; import { CoreStart } from '@kbn/core-lifecycle-browser'; @@ -17,7 +17,6 @@ import { ReactEmbeddableFactory } from '@kbn/embeddable-plugin/public'; import { i18n } from '@kbn/i18n'; import { initializeTitles, useBatchedPublishingSubjects } from '@kbn/presentation-publishing'; import { LazyDataViewPicker, withSuspense } from '@kbn/presentation-util-plugin/public'; -import { euiThemeVars } from '@kbn/ui-theme'; import { UnifiedFieldListSidebarContainer, type UnifiedFieldListSidebarContainerProps, @@ -150,6 +149,7 @@ export const getFieldListFactory = ( dataViews$, selectedFieldNames$ ); + const { euiTheme } = useEuiTheme(); const selectedDataView = renderDataViews?.[0]; @@ -165,7 +165,7 @@ export const getFieldListFactory = ( { bookAttributesManager.bookTitle, bookAttributesManager.bookSynopsis ); + const { euiTheme } = useEuiTheme(); return (

{ )}
{ api, Component: () => { const [count, error] = useBatchedPublishingSubjects(count$, blockingError$); + const { euiTheme } = useEuiTheme(); useEffect(() => { return () => { @@ -138,7 +138,7 @@ export const getSearchEmbeddableFactory = (services: Services) => {
formatDate(d, `MM/DD`); const seriesName = i18n.translate('contentManagement.contentEditor.viewsStats.viewsLabel', { @@ -26,8 +29,7 @@ const weekOfFormatter = (date: Date) => }); export const ViewsChart = ({ data }: { data: Array<[week: number, views: number]> }) => { - const { colorMode } = useEuiTheme(); - + const baseTheme = useElasticChartsTheme(); const momentDow = moment().localeData().firstDayOfWeek(); // configured from advanced settings const isoDow = momentDow === 0 ? 7 : momentDow; @@ -35,11 +37,7 @@ export const ViewsChart = ({ data }: { data: Array<[week: number, views: number] return ( - + /packages/core/analytics/core-analytics-server-internal'], -}; diff --git a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap index 52a55d3113173..373c07ecf976c 100644 --- a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap +++ b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap @@ -31,8 +31,10 @@ exports[`#start() returns \`Context\` component 1`] = ` "euiCardSelect.select": "Select", "euiCardSelect.selected": "Selected", "euiCardSelect.unavailable": "Unavailable", + "euiCodeBlock.label": [Function], "euiCodeBlockAnnotations.ariaLabel": [Function], "euiCodeBlockCopy.copy": "Copy", + "euiCodeBlockFullScreen.ariaLabel": "Expanded code block", "euiCodeBlockFullScreen.fullscreenCollapse": "Collapse", "euiCodeBlockFullScreen.fullscreenExpand": "Expand", "euiCollapsedItemActions.allActions": [Function], diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx index c48dffd8caa45..d77134acb2437 100644 --- a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx +++ b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx @@ -1828,5 +1828,13 @@ export const getEuiContextMapping = (): EuiTokensObject => { defaultMessage: 'Selection', } ), + 'euiCodeBlockFullScreen.ariaLabel': i18n.translate('core.euiCodeBlockFullScreen.ariaLabel', { + defaultMessage: 'Expanded code block', + }), + 'euiCodeBlock.label': ({ language }: EuiValues) => + i18n.translate('core.euiCodeBlock.label', { + defaultMessage: '{language} code block:', + values: { language }, + }), }; }; diff --git a/packages/core/security/core-security-common/src/authentication/authenticated_user.ts b/packages/core/security/core-security-common/src/authentication/authenticated_user.ts index d80ff8f434a4f..f550707290de7 100644 --- a/packages/core/security/core-security-common/src/authentication/authenticated_user.ts +++ b/packages/core/security/core-security-common/src/authentication/authenticated_user.ts @@ -25,6 +25,21 @@ export interface UserRealm { type: string; } +/** + * Represents the metadata of an API key. + */ +export interface ApiKeyDescriptor { + /** + * Name of the API key. + */ + name: string; + + /** + * The ID of the API key. + */ + id: string; +} + /** * Represents the currently authenticated user. */ @@ -65,4 +80,9 @@ export interface AuthenticatedUser extends User { * Indicates whether user is an operator. */ operator?: boolean; + + /** + * Metadata of the API key that was used to authenticate the user. + */ + api_key?: ApiKeyDescriptor; } diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index 707053b68585f..d1b09556a8bf2 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -21,15 +21,7 @@ module.exports = { /x-pack[\/\\]plugins[\/\\]observability_solution[\/\\]observability_shared[\/\\]/, /x-pack[\/\\]plugins[\/\\]security_solution[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]exploratory_view[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]investigate_app[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]investigate[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_ai_assistant_app[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_ai_assistant_management[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_solution[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]serverless_observability[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]streams_app[\/\\]/, - /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]streams[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]synthetics[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]uptime[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]ux[\/\\]/, diff --git a/packages/kbn-bfetch-error/BUILD.bazel b/packages/kbn-bfetch-error/BUILD.bazel deleted file mode 100644 index 88cb5bbe5b9e8..0000000000000 --- a/packages/kbn-bfetch-error/BUILD.bazel +++ /dev/null @@ -1,35 +0,0 @@ -load("@build_bazel_rules_nodejs//:index.bzl", "js_library") - -SRCS = glob( - [ - "**/*.ts", - "**/*.tsx", - ], - exclude = [ - "**/test_helpers.ts", - "**/*.config.js", - "**/*.mock.*", - "**/*.test.*", - "**/*.stories.*", - "**/__snapshots__/**", - "**/integration_tests/**", - "**/mocks/**", - "**/scripts/**", - "**/storybook/**", - "**/test_fixtures/**", - "**/test_helpers/**", - ], -) - -BUNDLER_DEPS = [ - "//packages/kbn-i18n", - "@npm//tslib", -] - -js_library( - name = "kbn-bfetch-error", - package_name = "@kbn/bfetch-error", - srcs = ["package.json"] + SRCS, - deps = BUNDLER_DEPS, - visibility = ["//visibility:public"], -) diff --git a/packages/kbn-bfetch-error/README.md b/packages/kbn-bfetch-error/README.md deleted file mode 100644 index c44118eef53a6..0000000000000 --- a/packages/kbn-bfetch-error/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @kbn/bfetch-error - -package isolating befetch error logic diff --git a/packages/kbn-bfetch-error/kibana.jsonc b/packages/kbn-bfetch-error/kibana.jsonc deleted file mode 100644 index c5f0f63bc8b13..0000000000000 --- a/packages/kbn-bfetch-error/kibana.jsonc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "shared-common", - "id": "@kbn/bfetch-error", - "owner": [ - "@elastic/appex-sharedux" - ], - "group": "platform", - "visibility": "shared" -} \ No newline at end of file diff --git a/packages/kbn-bfetch-error/src/bfetch_error.ts b/packages/kbn-bfetch-error/src/bfetch_error.ts deleted file mode 100644 index 77c5325cdd289..0000000000000 --- a/packages/kbn-bfetch-error/src/bfetch_error.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 { i18n } from '@kbn/i18n'; - -/** - * Error thrown when xhr request fails - * @public - */ -export class BfetchRequestError extends Error { - /** - * constructor - * @param code - Xhr error code - */ - constructor(code: number) { - const message = - code === 0 - ? i18n.translate('bfetchError.networkError', { - defaultMessage: 'Check your network connection and try again.', - }) - : i18n.translate('bfetchError.networkErrorWithStatus', { - defaultMessage: 'Check your network connection and try again. Code {code}', - values: { code }, - }); - - super(message); - this.name = 'BfetchRequestError'; - this.code = code; - } - - code: number; -} diff --git a/packages/kbn-charts-theme/README.md b/packages/kbn-charts-theme/README.md new file mode 100644 index 0000000000000..d884b1458b0d7 --- /dev/null +++ b/packages/kbn-charts-theme/README.md @@ -0,0 +1,24 @@ +# @kbn/charts-theme + +A temporary package to provide a hook for getting `@elastic/charts` theme based on `@elastic/eui` theme. + +To be refactored to be consumed from `ElasticChartsProvider`. + +```tsx +import { useElasticChartsTheme } from '@kbn/charts-theme'; +import { Chart, Settings } from '@elastic/charts'; + +export function MyComponent() { + const baseTheme = useElasticChartsTheme(); + + return ( + + + {/* ... */} + + ) +} +``` \ No newline at end of file diff --git a/src/plugins/bfetch/server/index.ts b/packages/kbn-charts-theme/index.ts similarity index 51% rename from src/plugins/bfetch/server/index.ts rename to packages/kbn-charts-theme/index.ts index 368779a4ff7c6..933af3cc77257 100644 --- a/src/plugins/bfetch/server/index.ts +++ b/packages/kbn-charts-theme/index.ts @@ -7,11 +7,17 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { PluginInitializerContext } from '@kbn/core/server'; +import { type Theme, getChartsTheme } from '@elastic/charts'; +import { useEuiTheme } from '@elastic/eui'; +import { useMemo } from 'react'; -export type { BfetchServerSetup, BfetchServerStart, BatchProcessingRouteParams } from './plugin'; - -export async function plugin(initializerContext: PluginInitializerContext) { - const { BfetchServerPlugin } = await import('./plugin'); - return new BfetchServerPlugin(initializerContext); +/** + * A hook used to get the `@elastic/charts` theme based on the current eui theme. + */ +export function useElasticChartsTheme(): Theme { + const { euiTheme, colorMode } = useEuiTheme(); + return useMemo( + () => getChartsTheme(euiTheme.themeName, colorMode), + [colorMode, euiTheme.themeName] + ); } diff --git a/packages/kbn-bfetch-error/jest.config.js b/packages/kbn-charts-theme/jest.config.js similarity index 91% rename from packages/kbn-bfetch-error/jest.config.js rename to packages/kbn-charts-theme/jest.config.js index 88b5bf7b9adc8..9216db5e10b6b 100644 --- a/packages/kbn-bfetch-error/jest.config.js +++ b/packages/kbn-charts-theme/jest.config.js @@ -10,5 +10,5 @@ module.exports = { preset: '@kbn/test', rootDir: '../..', - roots: ['/packages/kbn-bfetch-error'], + roots: ['/packages/kbn-charts-theme'], }; diff --git a/packages/kbn-charts-theme/kibana.jsonc b/packages/kbn-charts-theme/kibana.jsonc new file mode 100644 index 0000000000000..b43497bc92ba9 --- /dev/null +++ b/packages/kbn-charts-theme/kibana.jsonc @@ -0,0 +1,5 @@ +{ + "type": "shared-common", + "id": "@kbn/charts-theme", + "owner": "@elastic/kibana-visualizations" +} diff --git a/packages/kbn-bfetch-error/package.json b/packages/kbn-charts-theme/package.json similarity index 77% rename from packages/kbn-bfetch-error/package.json rename to packages/kbn-charts-theme/package.json index 39e05c4e4be06..1aa732346ed3b 100644 --- a/packages/kbn-bfetch-error/package.json +++ b/packages/kbn-charts-theme/package.json @@ -1,5 +1,5 @@ { - "name": "@kbn/bfetch-error", + "name": "@kbn/charts-theme", "private": true, "version": "1.0.0", "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" diff --git a/packages/kbn-router-utils/tsconfig.json b/packages/kbn-charts-theme/tsconfig.json similarity index 100% rename from packages/kbn-router-utils/tsconfig.json rename to packages/kbn-charts-theme/tsconfig.json diff --git a/packages/kbn-check-mappings-update-cli/current_fields.json b/packages/kbn-check-mappings-update-cli/current_fields.json index 45313933ab1b4..5f3ec0c8552b1 100644 --- a/packages/kbn-check-mappings-update-cli/current_fields.json +++ b/packages/kbn-check-mappings-update-cli/current_fields.json @@ -169,6 +169,9 @@ "external_service.pushed_by.full_name", "external_service.pushed_by.profile_uid", "external_service.pushed_by.username", + "observables", + "observables.typeKey", + "observables.value", "owner", "settings", "settings.syncAlerts", @@ -762,7 +765,10 @@ ], "maintenance-window": [ "enabled", - "events" + "events", + "expirationDate", + "title", + "updatedAt" ], "map": [ "bounds", diff --git a/packages/kbn-check-mappings-update-cli/current_mappings.json b/packages/kbn-check-mappings-update-cli/current_mappings.json index 663fef8f4fef1..64dc6150ab4b0 100644 --- a/packages/kbn-check-mappings-update-cli/current_mappings.json +++ b/packages/kbn-check-mappings-update-cli/current_mappings.json @@ -585,6 +585,17 @@ } } }, + "observables": { + "properties": { + "typeKey": { + "type": "keyword" + }, + "value": { + "type": "keyword" + } + }, + "type": "nested" + }, "owner": { "type": "keyword" }, @@ -2521,6 +2532,20 @@ "events": { "format": "epoch_millis||strict_date_optional_time", "type": "date_range" + }, + "expirationDate": { + "type": "date" + }, + "title": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "updatedAt": { + "type": "date" } } }, diff --git a/packages/kbn-cli-dev-mode/src/watcher.ts b/packages/kbn-cli-dev-mode/src/watcher.ts index 193458495aa21..ddbe5eb2844a1 100644 --- a/packages/kbn-cli-dev-mode/src/watcher.ts +++ b/packages/kbn-cli-dev-mode/src/watcher.ts @@ -20,7 +20,7 @@ const packageMatcher = makeMatcher([ '**/*', '!**/.*', '!x-pack/platform/plugins/shared/screenshotting/chromium/**', - '!x-pack/plugins/canvas/shareable_runtime/**', + '!x-pack/platform/plugins/private/canvas/shareable_runtime/**', ]); /** diff --git a/packages/kbn-custom-integrations/src/components/index.ts b/packages/kbn-custom-integrations/src/components/index.ts deleted file mode 100644 index d32c85801643d..0000000000000 --- a/packages/kbn-custom-integrations/src/components/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { ConnectedCreateCustomIntegrationForm } from './create/form'; -export * from './create/error_callout'; -export * from './custom_integrations_button'; -export * from './custom_integrations_form'; diff --git a/packages/kbn-custom-integrations/src/hooks/index.ts b/packages/kbn-custom-integrations/src/hooks/index.ts deleted file mode 100644 index 4f44ba441e794..0000000000000 --- a/packages/kbn-custom-integrations/src/hooks/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { useConsumerCustomIntegrations } from './use_consumer_custom_integrations'; -export { useCustomIntegrations } from './use_custom_integrations'; -export type { DispatchableEvents } from './use_consumer_custom_integrations'; diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts b/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts deleted file mode 100644 index ad8a949e1123b..0000000000000 --- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -import { DefaultCustomIntegrationsContext } from './types'; - -export const DEFAULT_CONTEXT: DefaultCustomIntegrationsContext = { - mode: 'create' as const, -}; diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts b/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts deleted file mode 100644 index 79722e15a4522..0000000000000 --- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts +++ /dev/null @@ -1,13 +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 { CustomIntegrationsState } from './state_machine'; - -export const createIsInitializedSelector = (state: CustomIntegrationsState) => - state && state.matches({ create: 'initialized' }); diff --git a/packages/kbn-custom-integrations/src/state_machines/index.ts b/packages/kbn-custom-integrations/src/state_machines/index.ts deleted file mode 100644 index f9ea08dac8714..0000000000000 --- a/packages/kbn-custom-integrations/src/state_machines/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { CustomIntegrationsProvider } from './custom_integrations/provider'; -export type { Callbacks } from './custom_integrations/provider'; -export type { InitialState } from './custom_integrations/types'; diff --git a/packages/kbn-docs-utils/src/utils.test.ts b/packages/kbn-docs-utils/src/utils.test.ts index 8f3b11b9700b9..6b4a08fe9b50a 100644 --- a/packages/kbn-docs-utils/src/utils.test.ts +++ b/packages/kbn-docs-utils/src/utils.test.ts @@ -28,7 +28,10 @@ it('getFileName', () => { it('test getPluginForPath', () => { const plugins = findPlugins(); - const path = Path.resolve(REPO_ROOT, 'src/plugins/embeddable/public/service/file.ts'); + const path = Path.resolve( + REPO_ROOT, + 'src/platform/plugins/shared/embeddable/public/service/file.ts' + ); expect(getPluginForPath(path, plugins)).toBeDefined(); }); diff --git a/packages/kbn-ebt-tools/BUILD.bazel b/packages/kbn-ebt-tools/BUILD.bazel index 1ea329e82638e..93567fde14c11 100644 --- a/packages/kbn-ebt-tools/BUILD.bazel +++ b/packages/kbn-ebt-tools/BUILD.bazel @@ -25,7 +25,7 @@ SHARED_DEPS = [ "@npm//@elastic/apm-rum-core", "@npm//react", "@npm//react-router-dom", - "//packages/kbn-timerange" + "//src/platform/packages/shared/kbn-timerange" ] js_library( diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml index 3152a02cd730f..85434fe0f2b21 100644 --- a/packages/kbn-optimizer/limits.yml +++ b/packages/kbn-optimizer/limits.yml @@ -7,7 +7,6 @@ pageLoadAssetSize: apm: 64385 assetInventory: 18478 banners: 17946 - bfetch: 22837 canvas: 29355 cases: 180037 charts: 55000 diff --git a/packages/kbn-react-hooks/jest.config.js b/packages/kbn-react-hooks/jest.config.js deleted file mode 100644 index 41f446862f962..0000000000000 --- a/packages/kbn-react-hooks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-react-hooks'], -}; diff --git a/packages/kbn-relocate/relocate.ts b/packages/kbn-relocate/relocate.ts index 16b2c17f4b066..f9ead5f815736 100644 --- a/packages/kbn-relocate/relocate.ts +++ b/packages/kbn-relocate/relocate.ts @@ -52,6 +52,12 @@ const moveModule = async (module: Package, log: ToolingLog) => { const relocateModules = async (toMove: Package[], log: ToolingLog): Promise => { let relocated: number = 0; + + // filter out modules that are not categorised (lacking group, visibility) + toMove = toMove.filter( + (module) => module.group && module.group !== 'common' && module.visibility + ); + for (let i = 0; i < toMove.length; ++i) { const module = toMove[i]; @@ -102,15 +108,15 @@ const findModules = ({ teams, paths, included, excluded }: FindModulesParams, lo modules // exclude devOnly modules (they will remain in /packages) .filter(({ manifest }) => !manifest.devOnly) - // exclude modules that do not specify a group - .filter(({ manifest }) => manifest.group) // explicit exclusions .filter(({ id }) => !EXCLUDED_MODULES.includes(id) && !excluded.includes(id)) - // we don't want to move test modules (just yet) + // we don't want to move test and example modules (just yet) .filter( ({ directory }) => !directory.includes(`/${KIBANA_FOLDER}/test/`) && - !directory.includes(`/${KIBANA_FOLDER}/x-pack/test/`) + !directory.includes(`/${KIBANA_FOLDER}/x-pack/test/`) && + !directory.includes(`/${KIBANA_FOLDER}/examples/`) && + !directory.includes(`/${KIBANA_FOLDER}/x-pack/examples/`) ) // the module is under the umbrella specified by the user .filter( diff --git a/packages/kbn-relocate/utils/git.ts b/packages/kbn-relocate/utils/git.ts index 0085e07fdd6b5..85e68dccd3f5d 100644 --- a/packages/kbn-relocate/utils/git.ts +++ b/packages/kbn-relocate/utils/git.ts @@ -14,13 +14,16 @@ import { safeExec } from './exec'; export const findRemoteName = async (repo: string) => { const res = await safeExec('git remote -v', true, false); + repo = repo.toLowerCase(); const remotes = res.stdout .trim() .split('\n') .map((line) => line.split(/\t| /).filter(Boolean)) .filter((chunks) => chunks.length >= 2); return remotes.find( - ([, url]) => url.includes(`github.com/${repo}`) || url.includes(`github.com:${repo}`) + ([, url]) => + url.toLowerCase().includes(`github.com/${repo}`) || + url.toLowerCase().includes(`github.com:${repo}`) )?.[0]; }; diff --git a/packages/kbn-relocate/utils/logging.ts b/packages/kbn-relocate/utils/logging.ts index 4aec07a1d9bf9..bd8f8fde42ae0 100644 --- a/packages/kbn-relocate/utils/logging.ts +++ b/packages/kbn-relocate/utils/logging.ts @@ -22,11 +22,15 @@ import { UPDATED_RELATIVE_PATHS, } from '../constants'; -export const createModuleTable = (entries: string[][]) => { +export const createModuleTable = ( + entries: string[][], + head: string[] = ['Id', 'Target folder'] +) => { const table = new Table({ - head: ['Id', 'Target folder'], + head, colAligns: ['left', 'left'], style: { + compact: true, 'padding-left': 2, 'padding-right': 2, }, @@ -37,12 +41,12 @@ export const createModuleTable = (entries: string[][]) => { }; export const relocatePlan = (modules: Package[], log: ToolingLog) => { - const plugins = modules.filter((module) => module.manifest.type === 'plugin'); - const packages = modules.filter((module) => module.manifest.type !== 'plugin'); - const target = (module: Package) => calculateModuleTargetFolder(module).replace(BASE_FOLDER, ''); writeFileSync(DESCRIPTION, GLOBAL_DESCRIPTION); + const plugins = modules.filter( + (module) => module.group && module.group !== 'common' && module.manifest.type === 'plugin' + ); if (plugins.length) { const pluginList = dedent` \n\n#### ${plugins.length} plugin(s) are going to be relocated:\n @@ -56,6 +60,10 @@ export const relocatePlan = (modules: Package[], log: ToolingLog) => { log.info(`${plugins.length} plugin(s) are going to be relocated:\n${plgTable.toString()}`); } + const packages = modules.filter( + (module) => module.group && module.group !== 'common' && module.manifest.type !== 'plugin' + ); + if (packages.length) { const packageList = dedent` \n\n#### ${packages.length} packages(s) are going to be relocated:\n @@ -68,6 +76,20 @@ export const relocatePlan = (modules: Package[], log: ToolingLog) => { const pkgTable = createModuleTable(packages.map((pkg) => [pkg.id, target(pkg)])); log.info(`${packages.length} packages(s) are going to be relocated:\n${pkgTable.toString()}`); } + + const uncategorised = modules.filter((module) => !module.group || module.group === 'common'); + if (uncategorised.length) { + const uncategorisedTable = createModuleTable( + uncategorised.map(({ id, directory }) => [id, directory.replace(BASE_FOLDER, '')]), + ['Id', 'Current folder'] + ); + + log.warning( + `${ + uncategorised.length + } module(s) are missing "group" and/or "visibility" in the manifest, and cannot be relocated:\n${uncategorisedTable.toString()}` + ); + } }; export const appendCollapsible = ( diff --git a/packages/kbn-relocate/utils/relocate.ts b/packages/kbn-relocate/utils/relocate.ts index 2f2b6a78379e6..233c03b84ea05 100644 --- a/packages/kbn-relocate/utils/relocate.ts +++ b/packages/kbn-relocate/utils/relocate.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { join } from 'path'; +import { basename, join } from 'path'; import type { ToolingLog } from '@kbn/tooling-log'; import { orderBy } from 'lodash'; import type { Package } from '../types'; @@ -87,9 +87,9 @@ export const calculateModuleTargetFolder = (module: Package): string => { }; export const isInTargetFolder = (module: Package, log: ToolingLog): boolean => { - if (!module.group || !module.visibility) { + if (!module.group || module.group === 'common' || !module.visibility) { log.warning(`The module '${module.id}' is missing the group/visibility information`); - return true; + return false; } const baseTargetFolders = TARGET_FOLDERS[`${module.group}:${module.visibility}`]; @@ -154,9 +154,20 @@ const replaceReferencesInternal = async ( continue; } + let d = dst; + // For .bazel references, we need to keep the original name reference if we are renaming the path + // For example, in the move "packages/core/base/core-base-common" to "src/core/packages/base/common", + // we need to keep the reference name to core-base-common by replacing it with "src/core/packages/base/common:core-base-common" + if ( + file.endsWith('.bazel') && + relativeDestination.startsWith('src/core/packages/') && // Only on core packages for now, since are the ones being renamed + basename(relativeSource) !== basename(relativeDestination) + ) { + d = `${dst}:${basename(relativeSource)}`; + } const md5Before = (await quietExec(`md5 ${file} --quiet`)).stdout.trim(); // if we are updating packages/cloud references, we must pay attention to not update packages/cloud_defend too - await safeExec(`sed -i '' -E "/${src}[\-_a-zA-Z0-9]/! s/${src}/${dst}/g" ${file}`, false); + await safeExec(`sed -i '' -E "/${src}[\-_a-zA-Z0-9]/! s/${src}/${d}/g" ${file}`, false); const md5After = (await quietExec(`md5 ${file} --quiet`)).stdout.trim(); if (md5Before !== md5After) { diff --git a/packages/kbn-relocate/utils/transforms.ts b/packages/kbn-relocate/utils/transforms.ts index ed584abeb55ab..267d570169d67 100644 --- a/packages/kbn-relocate/utils/transforms.ts +++ b/packages/kbn-relocate/utils/transforms.ts @@ -14,6 +14,8 @@ const TRANSFORMS: Record = { 'x-pack/solutions/security/packages/security-solution/': 'x-pack/solutions/security/packages/', 'x-pack/solutions/observability/plugins/observability_solution/': 'x-pack/solutions/observability/plugins/', + 'x-pack/solutions/observability/packages/observability/observability_utils/observability_': + 'x-pack/solutions/observability/packages/', 'x-pack/solutions/observability/packages/observability/': 'x-pack/solutions/observability/packages/', 'src/core/packages/core/': (path: string) => { diff --git a/packages/kbn-router-utils/jest.config.js b/packages/kbn-router-utils/jest.config.js deleted file mode 100644 index ffbc9f07f2ebf..0000000000000 --- a/packages/kbn-router-utils/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-router-utils'], -}; diff --git a/packages/kbn-scout/README.md b/packages/kbn-scout/README.md index b5e64416d4ed2..7368b4d1bb48e 100644 --- a/packages/kbn-scout/README.md +++ b/packages/kbn-scout/README.md @@ -193,6 +193,12 @@ npx playwright test --config /ui_tests/playwright.config.ts We welcome contributions to improve and extend `kbn-scout`. This guide will help you get started, add new features, and align with existing project standards. +Make sure to run unit tests before opening the PR: + +```bash +node scripts/jest --config packages/kbn-scout/jest.config.js +``` + #### Setting Up the Environment Ensure you have the latest local copy of the Kibana repository. diff --git a/packages/kbn-scout/src/common/services/clients.ts b/packages/kbn-scout/src/common/services/clients.ts index 3a0dcf8bfe320..58a5d222e18e5 100644 --- a/packages/kbn-scout/src/common/services/clients.ts +++ b/packages/kbn-scout/src/common/services/clients.ts @@ -9,7 +9,7 @@ import { KbnClient, createEsClientForTesting } from '@kbn/test'; import type { ToolingLog } from '@kbn/tooling-log'; -import { ScoutServerConfig } from '../../types'; +import { ScoutTestConfig } from '../../types'; import { serviceLoadedMsg } from '../../playwright/utils'; interface ClientOptions { @@ -29,7 +29,7 @@ function createClientUrlWithAuth({ serviceName, url, username, password, log }: return clientUrl.toString(); } -export function createEsClient(config: ScoutServerConfig, log: ToolingLog) { +export function createEsClient(config: ScoutTestConfig, log: ToolingLog) { const { username, password } = config.auth; const elasticsearchUrl = createClientUrlWithAuth({ serviceName: 'Es', @@ -45,7 +45,7 @@ export function createEsClient(config: ScoutServerConfig, log: ToolingLog) { }); } -export function createKbnClient(config: ScoutServerConfig, log: ToolingLog) { +export function createKbnClient(config: ScoutTestConfig, log: ToolingLog) { const kibanaUrl = createClientUrlWithAuth({ serviceName: 'Kbn', url: config.hosts.kibana, diff --git a/packages/kbn-scout/src/common/services/config.ts b/packages/kbn-scout/src/common/services/config.ts index fe8e932194d91..dcbcdb2a17ab9 100644 --- a/packages/kbn-scout/src/common/services/config.ts +++ b/packages/kbn-scout/src/common/services/config.ts @@ -10,7 +10,7 @@ import path from 'path'; import fs from 'fs'; import { ToolingLog } from '@kbn/tooling-log'; -import { ScoutServerConfig } from '../../types'; +import { ScoutTestConfig } from '../../types'; import { serviceLoadedMsg } from '../../playwright/utils'; export function createScoutConfig(configDir: string, configName: string, log: ToolingLog) { @@ -21,7 +21,7 @@ export function createScoutConfig(configDir: string, configName: string, log: To const configPath = path.join(configDir, `${configName}.json`); log.info(`Reading test servers confiuration from file: ${configPath}`); - const config = JSON.parse(fs.readFileSync(configPath, 'utf-8')) as ScoutServerConfig; + const config = JSON.parse(fs.readFileSync(configPath, 'utf-8')) as ScoutTestConfig; log.debug(serviceLoadedMsg('config')); diff --git a/packages/kbn-scout/src/common/services/kibana_url.ts b/packages/kbn-scout/src/common/services/kibana_url.ts index cbfab5dc90796..65a21c80592e8 100644 --- a/packages/kbn-scout/src/common/services/kibana_url.ts +++ b/packages/kbn-scout/src/common/services/kibana_url.ts @@ -8,7 +8,7 @@ */ import type { ToolingLog } from '@kbn/tooling-log'; -import { ScoutServerConfig } from '../../types'; +import { ScoutTestConfig } from '../../types'; import { serviceLoadedMsg } from '../../playwright/utils'; export interface PathOptions { @@ -64,7 +64,7 @@ export class KibanaUrl { } } -export function createKbnUrl(scoutConfig: ScoutServerConfig, log: ToolingLog) { +export function createKbnUrl(scoutConfig: ScoutTestConfig, log: ToolingLog) { const kbnUrl = new KibanaUrl(new URL(scoutConfig.hosts.kibana)); log.debug(serviceLoadedMsg('kbnUrl')); diff --git a/packages/kbn-scout/src/common/services/saml_auth.ts b/packages/kbn-scout/src/common/services/saml_auth.ts index e3dbd47fc8c90..8d3daf8e3ccd6 100644 --- a/packages/kbn-scout/src/common/services/saml_auth.ts +++ b/packages/kbn-scout/src/common/services/saml_auth.ts @@ -17,17 +17,17 @@ import { import { REPO_ROOT } from '@kbn/repo-info'; import { HostOptions, SamlSessionManager } from '@kbn/test'; import { ToolingLog } from '@kbn/tooling-log'; -import { ScoutServerConfig } from '../../types'; +import { ScoutTestConfig } from '../../types'; import { Protocol } from '../../playwright/types'; import { serviceLoadedMsg } from '../../playwright/utils'; -const getResourceDirPath = (config: ScoutServerConfig) => { +const getResourceDirPath = (config: ScoutTestConfig) => { return config.serverless ? path.resolve(SERVERLESS_ROLES_ROOT_PATH, config.projectType!) : path.resolve(REPO_ROOT, STATEFUL_ROLES_ROOT_PATH); }; -const createKibanaHostOptions = (config: ScoutServerConfig): HostOptions => { +const createKibanaHostOptions = (config: ScoutTestConfig): HostOptions => { const kibanaUrl = new URL(config.hosts.kibana); kibanaUrl.username = config.auth.username; kibanaUrl.password = config.auth.password; @@ -42,7 +42,7 @@ const createKibanaHostOptions = (config: ScoutServerConfig): HostOptions => { }; export const createSamlSessionManager = ( - config: ScoutServerConfig, + config: ScoutTestConfig, log: ToolingLog ): SamlSessionManager => { const resourceDirPath = getResourceDirPath(config); diff --git a/packages/kbn-scout/src/config/config.test.ts b/packages/kbn-scout/src/config/config.test.ts new file mode 100644 index 0000000000000..f4401e8af2da2 --- /dev/null +++ b/packages/kbn-scout/src/config/config.test.ts @@ -0,0 +1,128 @@ +/* + * 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 { Config } from './config'; + +describe('Config.getScoutTestConfig', () => { + it(`should return a properly structured 'ScoutTestConfig' object for 'stateful'`, async () => { + const config = new Config({ + servers: { + elasticsearch: { + protocol: 'http', + hostname: 'localhost', + port: 9220, + username: 'kibana_system', + password: 'changeme', + }, + kibana: { + protocol: 'http', + hostname: 'localhost', + port: 5620, + username: 'elastic', + password: 'changeme', + }, + }, + dockerServers: {}, + esTestCluster: { + from: 'snapshot', + files: [], + serverArgs: [], + ssl: false, + }, + kbnTestServer: { + buildArgs: [], + env: {}, + sourceArgs: [], + serverArgs: [], + }, + }); + + const scoutConfig = config.getScoutTestConfig(); + + const expectedConfig = { + serverless: false, + projectType: undefined, + isCloud: false, + license: 'trial', + cloudUsersFilePath: expect.stringContaining('.ftr/role_users.json'), + hosts: { + kibana: 'http://localhost:5620', + elasticsearch: 'http://localhost:9220', + }, + auth: { + username: 'elastic', + password: 'changeme', + }, + metadata: { + generatedOn: expect.any(String), + config: expect.any(Object), + }, + }; + + expect(scoutConfig).toEqual(expectedConfig); + }); + + it(`should return a properly structured 'ScoutTestConfig' object for 'serverless=es'`, async () => { + const config = new Config({ + serverless: true, + servers: { + elasticsearch: { + protocol: 'https', + hostname: 'localhost', + port: 9220, + username: 'elastic_serverless', + password: 'changeme', + }, + kibana: { + protocol: 'http', + hostname: 'localhost', + port: 5620, + username: 'elastic_serverless', + password: 'changeme', + }, + }, + dockerServers: {}, + esTestCluster: { + from: 'serverless', + files: [], + serverArgs: [], + ssl: true, + }, + kbnTestServer: { + buildArgs: [], + env: {}, + sourceArgs: [], + serverArgs: ['--serverless=es'], + }, + }); + + const scoutConfig = config.getScoutTestConfig(); + const expectedConfig = { + serverless: true, + projectType: 'es', + isCloud: false, + license: 'trial', + cloudUsersFilePath: expect.stringContaining('.ftr/role_users.json'), + hosts: { + kibana: 'http://localhost:5620', + elasticsearch: 'https://localhost:9220', + }, + auth: { + username: 'elastic_serverless', + password: 'changeme', + }, + metadata: { + generatedOn: expect.any(String), + config: expect.any(Object), + }, + }; + + expect(scoutConfig).toEqual(expectedConfig); + }); +}); diff --git a/packages/kbn-scout/src/config/config.ts b/packages/kbn-scout/src/config/config.ts index a316aac61d69e..d790545d258e2 100644 --- a/packages/kbn-scout/src/config/config.ts +++ b/packages/kbn-scout/src/config/config.ts @@ -13,15 +13,15 @@ import Path from 'path'; import { cloneDeepWith, get, has, toPath } from 'lodash'; import { REPO_ROOT } from '@kbn/repo-info'; import { schema } from './schema'; -import { ScoutServerConfig } from '../types'; -import { formatCurrentDate, getProjectType } from './utils'; +import { ScoutServerConfig, ScoutTestConfig } from '../types'; +import { formatCurrentDate, getProjectType } from './utils/utils'; const $values = Symbol('values'); export class Config { - private [$values]: Record; + private [$values]: ScoutServerConfig; - constructor(data: Record) { + constructor(data: ScoutServerConfig) { const { error, value } = schema.validate(data, { abortEarly: false, }); @@ -104,13 +104,14 @@ export class Config { }); } - public getTestServersConfig(): ScoutServerConfig { + public getScoutTestConfig(): ScoutTestConfig { return { serverless: this.get('serverless'), projectType: this.get('serverless') ? getProjectType(this.get('kbnTestServer.serverArgs')) : undefined, isCloud: false, + license: this.get('esTestCluster.license'), cloudUsersFilePath: Path.resolve(REPO_ROOT, '.ftr', 'role_users.json'), hosts: { kibana: Url.format({ diff --git a/packages/kbn-scout/src/config/index.ts b/packages/kbn-scout/src/config/index.ts index 969edbe8e4483..fc9e334ad6596 100644 --- a/packages/kbn-scout/src/config/index.ts +++ b/packages/kbn-scout/src/config/index.ts @@ -7,7 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export { loadConfig } from './loader/config_load'; -export { getConfigFilePath } from './get_config_file'; -export { loadServersConfig } from './utils'; +export { readConfigFile } from './loader'; +export { getConfigFilePath, loadServersConfig } from './utils'; export type { Config } from './config'; diff --git a/src/plugins/bfetch/common/buffer/index.ts b/packages/kbn-scout/src/config/loader/index.ts similarity index 89% rename from src/plugins/bfetch/common/buffer/index.ts rename to packages/kbn-scout/src/config/loader/index.ts index 5ec864329f456..f84f5e89a4022 100644 --- a/src/plugins/bfetch/common/buffer/index.ts +++ b/packages/kbn-scout/src/config/loader/index.ts @@ -7,4 +7,4 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export * from './create_batched_function'; +export { readConfigFile } from './read_config_file'; diff --git a/packages/kbn-scout/src/config/loader/read_config_file.test.ts b/packages/kbn-scout/src/config/loader/read_config_file.test.ts new file mode 100644 index 0000000000000..03f0009b3b395 --- /dev/null +++ b/packages/kbn-scout/src/config/loader/read_config_file.test.ts @@ -0,0 +1,83 @@ +/* + * 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 path from 'path'; +import { Config } from '../config'; +import { readConfigFile } from './read_config_file'; + +jest.mock('path', () => ({ + resolve: jest.fn(), +})); + +jest.mock('../config', () => ({ + Config: jest.fn(), +})); + +describe('readConfigFile', () => { + const configPath = '/mock/config/path'; + const resolvedPath = '/resolved/config/path'; + const mockPathResolve = path.resolve as jest.Mock; + const mockConfigConstructor = Config as jest.Mock; + + beforeEach(() => { + jest.clearAllMocks(); + jest.resetModules(); + }); + + it(`should load and return a valid 'Config' instance when the config file exports 'servers'`, async () => { + const mockConfigModule = { servers: { host: 'localhost', port: 5601 } }; + + mockPathResolve.mockReturnValueOnce(resolvedPath); + + jest.isolateModules(async () => { + jest.mock(resolvedPath, () => mockConfigModule, { virtual: true }); + mockConfigConstructor.mockImplementation((servers) => ({ servers })); + + const result = await readConfigFile(configPath); + + expect(path.resolve).toHaveBeenCalledWith(configPath); + expect(result).toEqual({ servers: mockConfigModule.servers }); + }); + }); + + it(`should throw an error if the config file does not export 'servers'`, async () => { + const mockConfigModule = { otherProperty: 'value' }; + + mockPathResolve.mockReturnValueOnce(resolvedPath); + + jest.isolateModules(async () => { + jest.mock(resolvedPath, () => mockConfigModule, { virtual: true }); + + await expect(readConfigFile(configPath)).rejects.toThrow( + `No 'servers' found in the config file at path: ${resolvedPath}` + ); + expect(path.resolve).toHaveBeenCalledWith(configPath); + }); + }); + + it('should throw an error if the config file cannot be loaded', async () => { + mockPathResolve.mockReturnValueOnce(resolvedPath); + + jest.isolateModules(async () => { + const message = 'Module not found'; + jest.mock( + resolvedPath, + () => { + throw new Error(message); + }, + { virtual: true } + ); + + await expect(readConfigFile(configPath)).rejects.toThrow( + `Failed to load config from ${configPath}: ${message}` + ); + expect(path.resolve).toHaveBeenCalledWith(configPath); + }); + }); +}); diff --git a/packages/kbn-scout/src/config/loader/config_load.ts b/packages/kbn-scout/src/config/loader/read_config_file.ts similarity index 86% rename from packages/kbn-scout/src/config/loader/config_load.ts rename to packages/kbn-scout/src/config/loader/read_config_file.ts index c7e6b197d6a28..a4f153ff392ac 100644 --- a/packages/kbn-scout/src/config/loader/config_load.ts +++ b/packages/kbn-scout/src/config/loader/read_config_file.ts @@ -9,6 +9,7 @@ import path from 'path'; import { Config } from '../config'; +import { ScoutServerConfig } from '../../types'; /** * Dynamically loads server configuration file in the "kbn-scout" framework. It reads @@ -17,13 +18,13 @@ import { Config } from '../config'; * @param configPath Path to the configuration file to be loaded. * @returns Config instance that is used to start local servers */ -export const loadConfig = async (configPath: string): Promise => { +export const readConfigFile = async (configPath: string): Promise => { try { const absolutePath = path.resolve(configPath); const configModule = await import(absolutePath); if (configModule.servers) { - return new Config(configModule.servers); + return new Config(configModule.servers as ScoutServerConfig); } else { throw new Error(`No 'servers' found in the config file at path: ${absolutePath}`); } diff --git a/packages/kbn-scout/src/config/schema/schema.ts b/packages/kbn-scout/src/config/schema/schema.ts index 86add154cc661..77f3c352e5589 100644 --- a/packages/kbn-scout/src/config/schema/schema.ts +++ b/packages/kbn-scout/src/config/schema/schema.ts @@ -75,7 +75,7 @@ export const schema = Joi.object() esTestCluster: Joi.object() .keys({ - license: Joi.valid('basic', 'trial', 'gold').default('basic'), + license: Joi.valid('basic', 'trial', 'gold').default('trial'), from: Joi.string().default('snapshot'), serverArgs: Joi.array().items(Joi.string()).default([]), esJavaOpts: Joi.string(), diff --git a/packages/kbn-scout/src/config/serverless/es.serverless.config.ts b/packages/kbn-scout/src/config/serverless/es.serverless.config.ts index 0ae2c7e6f0b3f..6ad77bff4606f 100644 --- a/packages/kbn-scout/src/config/serverless/es.serverless.config.ts +++ b/packages/kbn-scout/src/config/serverless/es.serverless.config.ts @@ -7,10 +7,10 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { ScoutLoaderConfig } from '../../types'; +import { ScoutServerConfig } from '../../types'; import { defaultConfig } from './serverless.base.config'; -export const servers: ScoutLoaderConfig = { +export const servers: ScoutServerConfig = { ...defaultConfig, esTestCluster: { ...defaultConfig.esTestCluster, diff --git a/packages/kbn-scout/src/config/serverless/oblt.serverless.config.ts b/packages/kbn-scout/src/config/serverless/oblt.serverless.config.ts index 08eb4d9d7cf55..f0739af12d9a4 100644 --- a/packages/kbn-scout/src/config/serverless/oblt.serverless.config.ts +++ b/packages/kbn-scout/src/config/serverless/oblt.serverless.config.ts @@ -8,9 +8,9 @@ */ import { defaultConfig } from './serverless.base.config'; -import { ScoutLoaderConfig } from '../../types'; +import { ScoutServerConfig } from '../../types'; -export const servers: ScoutLoaderConfig = { +export const servers: ScoutServerConfig = { ...defaultConfig, esTestCluster: { ...defaultConfig.esTestCluster, diff --git a/packages/kbn-scout/src/config/serverless/security.serverless.config.ts b/packages/kbn-scout/src/config/serverless/security.serverless.config.ts index 289790a9ffeb1..e702ae960dca5 100644 --- a/packages/kbn-scout/src/config/serverless/security.serverless.config.ts +++ b/packages/kbn-scout/src/config/serverless/security.serverless.config.ts @@ -7,10 +7,10 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { ScoutLoaderConfig } from '../../types'; +import { ScoutServerConfig } from '../../types'; import { defaultConfig } from './serverless.base.config'; -export const servers: ScoutLoaderConfig = { +export const servers: ScoutServerConfig = { ...defaultConfig, esTestCluster: { ...defaultConfig.esTestCluster, diff --git a/packages/kbn-scout/src/config/serverless/serverless.base.config.ts b/packages/kbn-scout/src/config/serverless/serverless.base.config.ts index a20a0c3bbe7a7..0df42d354a1e1 100644 --- a/packages/kbn-scout/src/config/serverless/serverless.base.config.ts +++ b/packages/kbn-scout/src/config/serverless/serverless.base.config.ts @@ -17,7 +17,7 @@ import { MOCK_IDP_REALM_NAME } from '@kbn/mock-idp-utils'; import { dockerImage } from '@kbn/test-suites-xpack/fleet_api_integration/config.base'; import { REPO_ROOT } from '@kbn/repo-info'; -import { ScoutLoaderConfig } from '../../types'; +import { ScoutServerConfig } from '../../types'; import { SAML_IDP_PLUGIN_PATH, SERVERLESS_IDP_METADATA_PATH, JWKS_PATH } from '../constants'; const packageRegistryConfig = join(__dirname, './package_registry_config.yml'); @@ -49,7 +49,7 @@ const servers = { }, }; -export const defaultConfig: ScoutLoaderConfig = { +export const defaultConfig: ScoutServerConfig = { serverless: true, servers, dockerServers: defineDockerServersConfig({ diff --git a/packages/kbn-scout/src/config/stateful/base.config.ts b/packages/kbn-scout/src/config/stateful/base.config.ts index a2d6f1e0fa6eb..2bac0024ad4e3 100644 --- a/packages/kbn-scout/src/config/stateful/base.config.ts +++ b/packages/kbn-scout/src/config/stateful/base.config.ts @@ -25,7 +25,7 @@ import { MOCK_IDP_REALM_NAME } from '@kbn/mock-idp-utils'; import { dockerImage } from '@kbn/test-suites-xpack/fleet_api_integration/config.base'; import { REPO_ROOT } from '@kbn/repo-info'; import { STATEFUL_ROLES_ROOT_PATH } from '@kbn/es'; -import type { ScoutLoaderConfig } from '../../types'; +import type { ScoutServerConfig } from '../../types'; import { SAML_IDP_PLUGIN_PATH, STATEFUL_IDP_METADATA_PATH } from '../constants'; const packageRegistryConfig = join(__dirname, './package_registry_config.yml'); @@ -61,7 +61,7 @@ const servers = { const kbnUrl = `${servers.kibana.protocol}://${servers.kibana.hostname}:${servers.kibana.port}`; -export const defaultConfig: ScoutLoaderConfig = { +export const defaultConfig: ScoutServerConfig = { servers, dockerServers: defineDockerServersConfig({ registry: { diff --git a/packages/kbn-scout/src/config/stateful/stateful.config.ts b/packages/kbn-scout/src/config/stateful/stateful.config.ts index e67419c21fb37..2825f6e9f86df 100644 --- a/packages/kbn-scout/src/config/stateful/stateful.config.ts +++ b/packages/kbn-scout/src/config/stateful/stateful.config.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { ScoutLoaderConfig } from '../../types'; +import { ScoutServerConfig } from '../../types'; import { defaultConfig } from './base.config'; -export const servers: ScoutLoaderConfig = defaultConfig; +export const servers: ScoutServerConfig = defaultConfig; diff --git a/packages/kbn-scout/src/config/utils.ts b/packages/kbn-scout/src/config/utils.ts deleted file mode 100644 index 38c65f1573b04..0000000000000 --- a/packages/kbn-scout/src/config/utils.ts +++ /dev/null @@ -1,83 +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 * as Fs from 'fs'; -import getopts from 'getopts'; -import path from 'path'; -import { ToolingLog } from '@kbn/tooling-log'; -import { ServerlessProjectType } from '@kbn/es'; -import { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; -import { CliSupportedServerModes, ScoutServerConfig } from '../types'; -import { getConfigFilePath } from './get_config_file'; -import { loadConfig } from './loader/config_load'; -import type { Config } from './config'; - -export const formatCurrentDate = () => { - const now = new Date(); - - const format = (num: number, length: number) => String(num).padStart(length, '0'); - - return ( - `${format(now.getDate(), 2)}/${format(now.getMonth() + 1, 2)}/${now.getFullYear()} ` + - `${format(now.getHours(), 2)}:${format(now.getMinutes(), 2)}:${format(now.getSeconds(), 2)}.` + - `${format(now.getMilliseconds(), 3)}` - ); -}; - -/** - * Saves Scout server configuration to the disk. - * @param testServersConfig configuration to be saved - * @param log Logger instance to report errors or debug information. - */ -const saveTestServersConfigOnDisk = (testServersConfig: ScoutServerConfig, log: ToolingLog) => { - const configFilePath = path.join(SCOUT_SERVERS_ROOT, `local.json`); - - try { - const jsonData = JSON.stringify(testServersConfig, null, 2); - - if (!Fs.existsSync(SCOUT_SERVERS_ROOT)) { - log.debug(`scout: creating configuration directory: ${SCOUT_SERVERS_ROOT}`); - Fs.mkdirSync(SCOUT_SERVERS_ROOT, { recursive: true }); - } - - Fs.writeFileSync(configFilePath, jsonData, 'utf-8'); - log.info(`scout: Test server configuration saved at ${configFilePath}`); - } catch (error) { - log.error(`scout: Failed to save test server configuration - ${error.message}`); - throw new Error(`Failed to save test server configuration at ${configFilePath}`); - } -}; - -/** - * Loads server configuration based on the mode, creates "kbn-test" compatible Config - * instance, that can be used to start local servers and saves its "Scout"-format copy - * to the disk. - * @param mode server local run mode - * @param log Logger instance to report errors or debug information. - * @returns "kbn-test" compatible Config instance - */ -export async function loadServersConfig( - mode: CliSupportedServerModes, - log: ToolingLog -): Promise { - // get path to one of the predefined config files - const configPath = getConfigFilePath(mode); - // load config that is compatible with kbn-test input format - const config = await loadConfig(configPath); - // construct config for Playwright Test - const scoutServerConfig = config.getTestServersConfig(); - // save test config to the file - saveTestServersConfigOnDisk(scoutServerConfig, log); - return config; -} - -export const getProjectType = (kbnServerArgs: string[]) => { - const options = getopts(kbnServerArgs); - return options.serverless as ServerlessProjectType; -}; diff --git a/packages/kbn-scout/src/config/utils/get_config_file.test.ts b/packages/kbn-scout/src/config/utils/get_config_file.test.ts new file mode 100644 index 0000000000000..09b300e9ae404 --- /dev/null +++ b/packages/kbn-scout/src/config/utils/get_config_file.test.ts @@ -0,0 +1,35 @@ +/* + * 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 path from 'path'; +import { getConfigFilePath } from './get_config_file'; +import { REPO_ROOT } from '@kbn/repo-info'; + +// Not mocking to validate the actual path to the config file +const CONFIG_ROOT = path.join(REPO_ROOT, 'packages', 'kbn-scout', 'src', 'config'); + +describe('getConfigFilePath', () => { + it('should return the correct path for stateful config', () => { + const config = 'stateful'; + const expectedPath = path.join(CONFIG_ROOT, 'stateful', 'stateful.config.ts'); + + const result = getConfigFilePath(config); + + expect(result).toBe(expectedPath); + }); + + it('should return the correct path for serverless config with a valid type', () => { + const config = 'serverless=oblt'; + const expectedPath = path.join(CONFIG_ROOT, 'serverless', 'oblt.serverless.config.ts'); + + const result = getConfigFilePath(config); + + expect(result).toBe(expectedPath); + }); +}); diff --git a/packages/kbn-scout/src/config/get_config_file.ts b/packages/kbn-scout/src/config/utils/get_config_file.ts similarity index 67% rename from packages/kbn-scout/src/config/get_config_file.ts rename to packages/kbn-scout/src/config/utils/get_config_file.ts index 5976db1265797..95fa49af0d669 100644 --- a/packages/kbn-scout/src/config/get_config_file.ts +++ b/packages/kbn-scout/src/config/utils/get_config_file.ts @@ -8,19 +8,22 @@ */ import path from 'path'; -import { CliSupportedServerModes } from '../types'; +import { CliSupportedServerModes } from '../../types'; export const getConfigFilePath = (config: CliSupportedServerModes): string => { + const baseDir = path.join(__dirname, '..'); // config base directory + if (config === 'stateful') { - return path.join(__dirname, 'stateful', 'stateful.config.ts'); + return path.join(baseDir, 'stateful', 'stateful.config.ts'); } const [mode, type] = config.split('='); + if (mode !== 'serverless' || !type) { throw new Error( - `Invalid config format: ${config}. Expected "stateful" or "serverless=".` + `Invalid config format: "${config}". Expected "stateful" or "serverless=".` ); } - return path.join(__dirname, 'serverless', `${type}.serverless.config.ts`); + return path.join(baseDir, 'serverless', `${type}.serverless.config.ts`); }; diff --git a/packages/kbn-bfetch-error/index.ts b/packages/kbn-scout/src/config/utils/index.ts similarity index 72% rename from packages/kbn-bfetch-error/index.ts rename to packages/kbn-scout/src/config/utils/index.ts index c8a9f3c91c8ea..ebe3b0bc27c44 100644 --- a/packages/kbn-bfetch-error/index.ts +++ b/packages/kbn-scout/src/config/utils/index.ts @@ -7,4 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export { BfetchRequestError } from './src/bfetch_error'; +export { getConfigFilePath } from './get_config_file'; +export { loadServersConfig } from './load_servers_config'; +export { formatCurrentDate, getProjectType } from './utils'; diff --git a/packages/kbn-scout/src/config/utils/load_servers_config.test.ts b/packages/kbn-scout/src/config/utils/load_servers_config.test.ts new file mode 100644 index 0000000000000..8a33663cb4989 --- /dev/null +++ b/packages/kbn-scout/src/config/utils/load_servers_config.test.ts @@ -0,0 +1,91 @@ +/* + * 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 { ToolingLog } from '@kbn/tooling-log'; +import { getConfigFilePath } from './get_config_file'; +import { readConfigFile } from '../loader'; +import { loadServersConfig } from '..'; +import { saveScoutTestConfigOnDisk } from './save_scout_test_config'; +import { CliSupportedServerModes, ScoutTestConfig } from '../../types'; + +jest.mock('./get_config_file', () => ({ + getConfigFilePath: jest.fn(), +})); + +jest.mock('../loader', () => ({ + readConfigFile: jest.fn(), +})); + +jest.mock('./save_scout_test_config', () => ({ + saveScoutTestConfigOnDisk: jest.fn(), +})); + +const mockScoutTestConfig: ScoutTestConfig = { + hosts: { + kibana: 'http://localhost:5601', + elasticsearch: 'http://localhost:9220', + }, + auth: { + username: 'elastic', + password: 'changeme', + }, + serverless: true, + projectType: 'oblt', + isCloud: true, + license: 'trial', + cloudUsersFilePath: '/path/to/users', +}; + +describe('loadServersConfig', () => { + let mockLog: ToolingLog; + + const mockMode = `serverless=${mockScoutTestConfig.projectType}` as CliSupportedServerModes; + const mockConfigPath = '/mock/config/path.ts'; + + const mockClusterConfig = { + getScoutTestConfig: jest.fn().mockReturnValue(mockScoutTestConfig), + }; + + beforeEach(() => { + jest.clearAllMocks(); + mockLog = { + debug: jest.fn(), + info: jest.fn(), + error: jest.fn(), + } as unknown as ToolingLog; + }); + + it('should load, save, and return cluster configuration', async () => { + (getConfigFilePath as jest.Mock).mockReturnValue(mockConfigPath); + (readConfigFile as jest.Mock).mockResolvedValue(mockClusterConfig); + + const result = await loadServersConfig(mockMode, mockLog); + + expect(getConfigFilePath).toHaveBeenCalledWith(mockMode); + expect(readConfigFile).toHaveBeenCalledWith(mockConfigPath); + expect(mockClusterConfig.getScoutTestConfig).toHaveBeenCalled(); + expect(saveScoutTestConfigOnDisk).toHaveBeenCalledWith(mockScoutTestConfig, mockLog); + expect(result).toBe(mockClusterConfig); + + // no errors should be logged + expect(mockLog.info).not.toHaveBeenCalledWith(expect.stringContaining('error')); + }); + + it('should throw an error if readConfigFile fails', async () => { + const errorMessage = 'Failed to read config file'; + (getConfigFilePath as jest.Mock).mockReturnValue(mockConfigPath); + (readConfigFile as jest.Mock).mockRejectedValue(new Error(errorMessage)); + + await expect(loadServersConfig(mockMode, mockLog)).rejects.toThrow(errorMessage); + + expect(getConfigFilePath).toHaveBeenCalledWith(mockMode); + expect(readConfigFile).toHaveBeenCalledWith(mockConfigPath); + expect(saveScoutTestConfigOnDisk).not.toHaveBeenCalled(); + }); +}); diff --git a/packages/kbn-scout/src/config/utils/load_servers_config.ts b/packages/kbn-scout/src/config/utils/load_servers_config.ts new file mode 100644 index 0000000000000..007b2fd32a460 --- /dev/null +++ b/packages/kbn-scout/src/config/utils/load_servers_config.ts @@ -0,0 +1,38 @@ +/* + * 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 { ToolingLog } from '@kbn/tooling-log'; +import { CliSupportedServerModes } from '../../types'; +import { getConfigFilePath } from './get_config_file'; +import { readConfigFile } from '../loader'; +import type { Config } from '../config'; +import { saveScoutTestConfigOnDisk } from './save_scout_test_config'; + +/** + * Loads server configuration based on the mode, creates "kbn-test" compatible Config + * instance, that can be used to start local servers and saves its "Scout"-format copy + * to the disk. + * @param mode server local run mode + * @param log Logger instance to report errors or debug information. + * @returns "kbn-test" compatible Config instance + */ +export async function loadServersConfig( + mode: CliSupportedServerModes, + log: ToolingLog +): Promise { + // get path to one of the predefined config files + const configPath = getConfigFilePath(mode); + // load config that is compatible with kbn-test input format + const clusterConfig = await readConfigFile(configPath); + // construct config for Playwright Test + const scoutServerConfig = clusterConfig.getScoutTestConfig(); + // save test config to the file + saveScoutTestConfigOnDisk(scoutServerConfig, log); + return clusterConfig; +} diff --git a/packages/kbn-scout/src/config/utils/save_scout_test_config.test.ts b/packages/kbn-scout/src/config/utils/save_scout_test_config.test.ts new file mode 100644 index 0000000000000..770145c8fdf35 --- /dev/null +++ b/packages/kbn-scout/src/config/utils/save_scout_test_config.test.ts @@ -0,0 +1,130 @@ +/* + * 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 path from 'path'; +import Fs from 'fs'; +import { ToolingLog } from '@kbn/tooling-log'; +import { saveScoutTestConfigOnDisk } from './save_scout_test_config'; + +const MOCKED_SCOUT_SERVERS_ROOT = '/mock/repo/root/scout/servers'; + +jest.mock('fs'); + +jest.mock('@kbn/repo-info', () => ({ + REPO_ROOT: '/mock/repo/root', +})); + +jest.mock('@kbn/scout-info', () => ({ + SCOUT_SERVERS_ROOT: '/mock/repo/root/scout/servers', +})); + +const testServersConfig = { + hosts: { + kibana: 'http://localhost:5601', + elasticsearch: 'http://localhost:9220', + }, + auth: { + username: 'elastic', + password: 'changeme', + }, + serverless: true, + isCloud: true, + license: 'trial', + cloudUsersFilePath: '/path/to/users', +}; + +jest.mock('path', () => ({ + ...jest.requireActual('path'), + join: jest.fn((...args) => args.join('/')), +})); + +describe('saveScoutTestConfigOnDisk', () => { + let mockLog: ToolingLog; + + beforeEach(() => { + jest.clearAllMocks(); + mockLog = { + debug: jest.fn(), + info: jest.fn(), + error: jest.fn(), + } as unknown as ToolingLog; + }); + + it('should save configuration to disk successfully', () => { + const mockConfigFilePath = `${MOCKED_SCOUT_SERVERS_ROOT}/local.json`; + + // Mock path.join to return a fixed file path + (path.join as jest.Mock).mockReturnValueOnce(mockConfigFilePath); + + // Mock Fs.existsSync to return true + (Fs.existsSync as jest.Mock).mockReturnValueOnce(true); + + // Mock Fs.writeFileSync to do nothing + const writeFileSyncMock = jest.spyOn(Fs, 'writeFileSync'); + + saveScoutTestConfigOnDisk(testServersConfig, mockLog); + + expect(Fs.existsSync).toHaveBeenCalledWith(MOCKED_SCOUT_SERVERS_ROOT); + expect(writeFileSyncMock).toHaveBeenCalledWith( + mockConfigFilePath, + JSON.stringify(testServersConfig, null, 2), + 'utf-8' + ); + expect(mockLog.info).toHaveBeenCalledWith( + `scout: Test server configuration saved at ${mockConfigFilePath}` + ); + }); + + it('should throw an error if writing to file fails', () => { + const mockConfigFilePath = `${MOCKED_SCOUT_SERVERS_ROOT}/local.json`; + + (path.join as jest.Mock).mockReturnValueOnce(mockConfigFilePath); + (Fs.existsSync as jest.Mock).mockReturnValueOnce(true); + + // Mock writeFileSync to throw an error + (Fs.writeFileSync as jest.Mock).mockImplementationOnce(() => { + throw new Error('Disk is full'); + }); + + expect(() => saveScoutTestConfigOnDisk(testServersConfig, mockLog)).toThrow( + `Failed to save test server configuration at ${mockConfigFilePath}` + ); + expect(mockLog.error).toHaveBeenCalledWith( + `scout: Failed to save test server configuration - Disk is full` + ); + }); + + it('should create configuration directory if it does not exist', () => { + const mockConfigFilePath = `${MOCKED_SCOUT_SERVERS_ROOT}/local.json`; + + (path.join as jest.Mock).mockReturnValueOnce(mockConfigFilePath); + + // Mock existsSync to simulate non-existent directory + (Fs.existsSync as jest.Mock).mockReturnValueOnce(false); + + const mkdirSyncMock = jest.spyOn(Fs, 'mkdirSync'); + const writeFileSyncMock = jest.spyOn(Fs, 'writeFileSync'); + + saveScoutTestConfigOnDisk(testServersConfig, mockLog); + + expect(Fs.existsSync).toHaveBeenCalledWith(MOCKED_SCOUT_SERVERS_ROOT); + expect(mkdirSyncMock).toHaveBeenCalledWith(MOCKED_SCOUT_SERVERS_ROOT, { recursive: true }); + expect(writeFileSyncMock).toHaveBeenCalledWith( + mockConfigFilePath, + JSON.stringify(testServersConfig, null, 2), + 'utf-8' + ); + expect(mockLog.debug).toHaveBeenCalledWith( + `scout: creating configuration directory: ${MOCKED_SCOUT_SERVERS_ROOT}` + ); + expect(mockLog.info).toHaveBeenCalledWith( + `scout: Test server configuration saved at ${mockConfigFilePath}` + ); + }); +}); diff --git a/packages/kbn-scout/src/config/utils/save_scout_test_config.ts b/packages/kbn-scout/src/config/utils/save_scout_test_config.ts new file mode 100644 index 0000000000000..12d78d804bf9f --- /dev/null +++ b/packages/kbn-scout/src/config/utils/save_scout_test_config.ts @@ -0,0 +1,38 @@ +/* + * 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 * as Fs from 'fs'; +import path from 'path'; +import { ToolingLog } from '@kbn/tooling-log'; +import { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; +import { ScoutTestConfig } from '../../types'; + +/** + * Saves Scout server configuration to the disk. + * @param testServersConfig configuration to be saved + * @param log Logger instance to report errors or debug information. + */ +export const saveScoutTestConfigOnDisk = (testServersConfig: ScoutTestConfig, log: ToolingLog) => { + const configFilePath = path.join(SCOUT_SERVERS_ROOT, `local.json`); + + try { + const jsonData = JSON.stringify(testServersConfig, null, 2); + + if (!Fs.existsSync(SCOUT_SERVERS_ROOT)) { + log.debug(`scout: creating configuration directory: ${SCOUT_SERVERS_ROOT}`); + Fs.mkdirSync(SCOUT_SERVERS_ROOT, { recursive: true }); + } + + Fs.writeFileSync(configFilePath, jsonData, 'utf-8'); + log.info(`scout: Test server configuration saved at ${configFilePath}`); + } catch (error) { + log.error(`scout: Failed to save test server configuration - ${error.message}`); + throw new Error(`Failed to save test server configuration at ${configFilePath}`); + } +}; diff --git a/packages/kbn-scout/src/config/utils/utils.ts b/packages/kbn-scout/src/config/utils/utils.ts new file mode 100644 index 0000000000000..4fab350e8b4b1 --- /dev/null +++ b/packages/kbn-scout/src/config/utils/utils.ts @@ -0,0 +1,28 @@ +/* + * 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 getopts from 'getopts'; +import { ServerlessProjectType } from '@kbn/es'; + +export const formatCurrentDate = () => { + const now = new Date(); + + const format = (num: number, length: number) => String(num).padStart(length, '0'); + + return ( + `${format(now.getDate(), 2)}/${format(now.getMonth() + 1, 2)}/${now.getFullYear()} ` + + `${format(now.getHours(), 2)}:${format(now.getMinutes(), 2)}:${format(now.getSeconds(), 2)}.` + + `${format(now.getMilliseconds(), 3)}` + ); +}; + +export const getProjectType = (kbnServerArgs: string[]) => { + const options = getopts(kbnServerArgs); + return options.serverless as ServerlessProjectType; +}; diff --git a/packages/kbn-scout/src/playwright/config/create_config.test.ts b/packages/kbn-scout/src/playwright/config/create_config.test.ts new file mode 100644 index 0000000000000..730bdd5ef55e4 --- /dev/null +++ b/packages/kbn-scout/src/playwright/config/create_config.test.ts @@ -0,0 +1,48 @@ +/* + * 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 { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; +import { createPlaywrightConfig } from './create_config'; +import { VALID_CONFIG_MARKER } from '../types'; + +describe('createPlaywrightConfig', () => { + it('should return a valid default Playwright configuration', () => { + const testDir = './my_tests'; + const config = createPlaywrightConfig({ testDir }); + + expect(config.testDir).toBe(testDir); + expect(config.workers).toBe(1); + expect(config.fullyParallel).toBe(false); + expect(config.use).toEqual({ + serversConfigDir: SCOUT_SERVERS_ROOT, + [VALID_CONFIG_MARKER]: true, + screenshot: 'only-on-failure', + trace: 'on-first-retry', + }); + expect(config.globalSetup).toBeUndefined(); + expect(config.globalTeardown).toBeUndefined(); + expect(config.reporter).toEqual([ + ['html', { open: 'never', outputFolder: './output/reports' }], + ['json', { outputFile: './output/reports/test-results.json' }], + ['@kbn/scout-reporting/src/reporting/playwright.ts', { name: 'scout-playwright' }], + ]); + expect(config.timeout).toBe(60000); + expect(config.expect?.timeout).toBe(10000); + expect(config.outputDir).toBe('./output/test-artifacts'); + expect(config.projects![0].name).toEqual('chromium'); + }); + + it(`should override 'workers' count in Playwright configuration`, () => { + const testDir = './my_tests'; + const workers = 2; + + const config = createPlaywrightConfig({ testDir, workers }); + expect(config.workers).toBe(workers); + }); +}); diff --git a/packages/kbn-scout/src/playwright/config/create_config.ts b/packages/kbn-scout/src/playwright/config/create_config.ts new file mode 100644 index 0000000000000..cb1e371cb43e7 --- /dev/null +++ b/packages/kbn-scout/src/playwright/config/create_config.ts @@ -0,0 +1,76 @@ +/* + * 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 { defineConfig, PlaywrightTestConfig, devices } from '@playwright/test'; +import { scoutPlaywrightReporter } from '@kbn/scout-reporting'; +import { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; +import { ScoutPlaywrightOptions, ScoutTestOptions, VALID_CONFIG_MARKER } from '../types'; + +export function createPlaywrightConfig(options: ScoutPlaywrightOptions): PlaywrightTestConfig { + return defineConfig({ + testDir: options.testDir, + /* Run tests in files in parallel */ + fullyParallel: false, + /* Fail the build on CI if you accidentally left test.only in the source code. */ + forbidOnly: !!process.env.CI, + /* Retry on CI only */ + retries: process.env.CI ? 2 : 0, + /* Opt out of parallel tests on CI. */ + workers: options.workers ?? 1, + /* Reporter to use. See https://playwright.dev/docs/test-reporters */ + reporter: [ + ['html', { outputFolder: './output/reports', open: 'never' }], // HTML report configuration + ['json', { outputFile: './output/reports/test-results.json' }], // JSON report + scoutPlaywrightReporter({ name: 'scout-playwright' }), // Scout report + ], + /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ + use: { + serversConfigDir: SCOUT_SERVERS_ROOT, + [VALID_CONFIG_MARKER]: true, + /* Base URL to use in actions like `await page.goto('/')`. */ + // baseURL: 'http://127.0.0.1:3000', + + /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ + trace: 'on-first-retry', + screenshot: 'only-on-failure', + // video: 'retain-on-failure', + // storageState: './output/reports/state.json', // Store session state (like cookies) + }, + + // Timeout for each test, includes test, hooks and fixtures + timeout: 60000, + + // Timeout for each assertion + expect: { + timeout: 10000, + }, + + outputDir: './output/test-artifacts', // For other test artifacts (screenshots, videos, traces) + + /* Configure projects for major browsers */ + projects: [ + { + name: 'chromium', + use: { ...devices['Desktop Chrome'] }, + }, + + // { + // name: 'firefox', + // use: { ...devices['Desktop Firefox'] }, + // }, + ], + + /* Run your local dev server before starting the tests */ + // webServer: { + // command: 'npm run start', + // url: 'http://127.0.0.1:3000', + // reuseExistingServer: !process.env.CI, + // }, + }); +} diff --git a/packages/kbn-scout/src/playwright/config/index.ts b/packages/kbn-scout/src/playwright/config/index.ts index cb1e371cb43e7..c3949cca0af7a 100644 --- a/packages/kbn-scout/src/playwright/config/index.ts +++ b/packages/kbn-scout/src/playwright/config/index.ts @@ -7,70 +7,4 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { defineConfig, PlaywrightTestConfig, devices } from '@playwright/test'; -import { scoutPlaywrightReporter } from '@kbn/scout-reporting'; -import { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; -import { ScoutPlaywrightOptions, ScoutTestOptions, VALID_CONFIG_MARKER } from '../types'; - -export function createPlaywrightConfig(options: ScoutPlaywrightOptions): PlaywrightTestConfig { - return defineConfig({ - testDir: options.testDir, - /* Run tests in files in parallel */ - fullyParallel: false, - /* Fail the build on CI if you accidentally left test.only in the source code. */ - forbidOnly: !!process.env.CI, - /* Retry on CI only */ - retries: process.env.CI ? 2 : 0, - /* Opt out of parallel tests on CI. */ - workers: options.workers ?? 1, - /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: [ - ['html', { outputFolder: './output/reports', open: 'never' }], // HTML report configuration - ['json', { outputFile: './output/reports/test-results.json' }], // JSON report - scoutPlaywrightReporter({ name: 'scout-playwright' }), // Scout report - ], - /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ - use: { - serversConfigDir: SCOUT_SERVERS_ROOT, - [VALID_CONFIG_MARKER]: true, - /* Base URL to use in actions like `await page.goto('/')`. */ - // baseURL: 'http://127.0.0.1:3000', - - /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ - trace: 'on-first-retry', - screenshot: 'only-on-failure', - // video: 'retain-on-failure', - // storageState: './output/reports/state.json', // Store session state (like cookies) - }, - - // Timeout for each test, includes test, hooks and fixtures - timeout: 60000, - - // Timeout for each assertion - expect: { - timeout: 10000, - }, - - outputDir: './output/test-artifacts', // For other test artifacts (screenshots, videos, traces) - - /* Configure projects for major browsers */ - projects: [ - { - name: 'chromium', - use: { ...devices['Desktop Chrome'] }, - }, - - // { - // name: 'firefox', - // use: { ...devices['Desktop Firefox'] }, - // }, - ], - - /* Run your local dev server before starting the tests */ - // webServer: { - // command: 'npm run start', - // url: 'http://127.0.0.1:3000', - // reuseExistingServer: !process.env.CI, - // }, - }); -} +export { createPlaywrightConfig } from './create_config'; diff --git a/packages/kbn-scout/src/playwright/fixtures/types/worker_scope.ts b/packages/kbn-scout/src/playwright/fixtures/types/worker_scope.ts index c42f7143d3191..29283cbea4517 100644 --- a/packages/kbn-scout/src/playwright/fixtures/types/worker_scope.ts +++ b/packages/kbn-scout/src/playwright/fixtures/types/worker_scope.ts @@ -14,7 +14,7 @@ import { LoadActionPerfOptions } from '@kbn/es-archiver'; import { IndexStats } from '@kbn/es-archiver/src/lib/stats'; import type { UiSettingValues } from '@kbn/test/src/kbn_client/kbn_client_ui_settings'; -import { ScoutServerConfig } from '../../../types'; +import { ScoutTestConfig } from '../../../types'; import { KibanaUrl } from '../../../common/services/kibana_url'; export interface EsArchiverFixture { @@ -58,7 +58,7 @@ export interface UiSettingsFixture { */ export interface ScoutWorkerFixtures { log: ToolingLog; - config: ScoutServerConfig; + config: ScoutTestConfig; kbnUrl: KibanaUrl; esClient: Client; kbnClient: KbnClient; diff --git a/src/plugins/bfetch/common/streaming/types.ts b/packages/kbn-scout/src/playwright/runner/config_loader.ts similarity index 71% rename from src/plugins/bfetch/common/streaming/types.ts rename to packages/kbn-scout/src/playwright/runner/config_loader.ts index e25f04b17f73f..c7758f1415634 100644 --- a/src/plugins/bfetch/common/streaming/types.ts +++ b/packages/kbn-scout/src/playwright/runner/config_loader.ts @@ -7,8 +7,11 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { Observable } from 'rxjs'; - -export interface StreamingResponseHandler { - getResponseStream(payload: Payload): Observable; +/** + * Loads the config module dynamically + * @param configPath config absolute path + * @returns + */ +export async function loadConfigModule(configPath: string) { + return import(configPath); } diff --git a/packages/kbn-scout/src/playwright/runner/config_validator.test.ts b/packages/kbn-scout/src/playwright/runner/config_validator.test.ts new file mode 100644 index 0000000000000..eb6d97ee8e576 --- /dev/null +++ b/packages/kbn-scout/src/playwright/runner/config_validator.test.ts @@ -0,0 +1,99 @@ +/* + * 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 { validatePlaywrightConfig } from './config_validator'; +import * as configLoader from './config_loader'; +import Fs from 'fs'; +import { VALID_CONFIG_MARKER } from '../types'; + +jest.mock('fs'); + +const existsSyncMock = jest.spyOn(Fs, 'existsSync'); +const loadConfigModuleMock = jest.spyOn(configLoader, 'loadConfigModule'); + +describe('validatePlaywrightConfig', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should pass validation for a valid config file', async () => { + const configPath = 'valid/path/config.ts'; + existsSyncMock.mockReturnValue(true); + loadConfigModuleMock.mockResolvedValue({ + default: { + use: { [VALID_CONFIG_MARKER]: true }, + testDir: './tests', + }, + }); + + await expect(validatePlaywrightConfig(configPath)).resolves.not.toThrow(); + }); + + it('should throw an error if the config file does not have the valid marker', async () => { + const configPath = 'valid/path/config.ts'; + existsSyncMock.mockReturnValue(true); + loadConfigModuleMock.mockResolvedValue({ + default: { + use: {}, + testDir: './tests', + }, + }); + + await expect(validatePlaywrightConfig(configPath)).rejects.toThrow( + `The config file at "${configPath}" must be created with "createPlaywrightConfig" from '@kbn/scout' package:` + ); + }); + + it(`should throw an error if the config file does not have a 'testDir'`, async () => { + const configPath = 'valid/path/config.ts'; + existsSyncMock.mockReturnValue(true); + loadConfigModuleMock.mockResolvedValue({ + default: { + use: { [VALID_CONFIG_MARKER]: true }, + }, + }); + + await expect(validatePlaywrightConfig(configPath)).rejects.toThrow( + `The config file at "${configPath}" must export a valid Playwright configuration with "testDir" property.` + ); + }); + + it('should throw an error if the config file does not have a default export', async () => { + const configPath = 'valid/path/config.ts'; + existsSyncMock.mockReturnValue(true); + loadConfigModuleMock.mockResolvedValue({ + test: { + use: {}, + testDir: './tests', + }, + }); + + await expect(validatePlaywrightConfig(configPath)).rejects.toThrow( + `The config file at "${configPath}" must export default function` + ); + }); + + it('should throw an error if the path does not exist', async () => { + const configPath = 'invalid/path/to/config.ts'; + existsSyncMock.mockReturnValue(false); + + await expect(validatePlaywrightConfig(configPath)).rejects.toThrow( + `Path to a valid TypeScript config file is required: --config ` + ); + }); + + it('should throw an error if the file does not have a .ts extension', async () => { + const configPath = 'config.js'; + existsSyncMock.mockReturnValue(true); + + await expect(validatePlaywrightConfig(configPath)).rejects.toThrow( + `Path to a valid TypeScript config file is required: --config ` + ); + }); +}); diff --git a/packages/kbn-scout/src/playwright/runner/config_validator.ts b/packages/kbn-scout/src/playwright/runner/config_validator.ts index a066a6dfba30c..41c44cfc6eabd 100644 --- a/packages/kbn-scout/src/playwright/runner/config_validator.ts +++ b/packages/kbn-scout/src/playwright/runner/config_validator.ts @@ -7,34 +7,35 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import * as Fs from 'fs'; -import { REPO_ROOT } from '@kbn/repo-info'; +import Fs from 'fs'; import { PlaywrightTestConfig } from 'playwright/test'; -import path from 'path'; import { createFlagError } from '@kbn/dev-cli-errors'; import { ScoutTestOptions, VALID_CONFIG_MARKER } from '../types'; +import { loadConfigModule } from './config_loader'; export async function validatePlaywrightConfig(configPath: string) { - const fullPath = path.resolve(REPO_ROOT, configPath); - // Check if the path exists and has a .ts extension - if (!configPath || !Fs.existsSync(fullPath) || !configPath.endsWith('.ts')) { + if (!configPath || !Fs.existsSync(configPath) || !configPath.endsWith('.ts')) { throw createFlagError( `Path to a valid TypeScript config file is required: --config ` ); } - // Dynamically import the file to check for a default export - const configModule = await import(fullPath); + const configModule = await loadConfigModule(configPath); + // Check for a default export const config = configModule.default as PlaywrightTestConfig; - // Check if the config's 'use' property has the valid marker + if (config === undefined) { + throw createFlagError(`The config file at "${configPath}" must export default function`); + } + if (!config?.use?.[VALID_CONFIG_MARKER]) { + // Check if the config's 'use' property has the valid marker throw createFlagError( `The config file at "${configPath}" must be created with "createPlaywrightConfig" from '@kbn/scout' package:\n -export default createPlaywrightConfig({ - testDir: './tests', -});` + export default createPlaywrightConfig({ + testDir: './tests', + });` ); } diff --git a/packages/kbn-scout/src/playwright/runner/flags.test.ts b/packages/kbn-scout/src/playwright/runner/flags.test.ts new file mode 100644 index 0000000000000..94683146e5278 --- /dev/null +++ b/packages/kbn-scout/src/playwright/runner/flags.test.ts @@ -0,0 +1,102 @@ +/* + * 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 { parseTestFlags } from './flags'; +import { FlagsReader } from '@kbn/dev-cli-runner'; +import * as configValidator from './config_validator'; + +const validatePlaywrightConfigMock = jest.spyOn(configValidator, 'validatePlaywrightConfig'); + +describe('parseTestFlags', () => { + it(`should throw an error without 'config' flag`, async () => { + const flags = new FlagsReader({ + stateful: true, + logToFile: false, + headed: false, + }); + + await expect(parseTestFlags(flags)).rejects.toThrow( + 'Path to playwright config is required: --config ' + ); + }); + + it(`should throw an error with '--stateful' flag as string value`, async () => { + const flags = new FlagsReader({ + stateful: 'true', + logToFile: false, + headed: false, + }); + + await expect(parseTestFlags(flags)).rejects.toThrow('expected --stateful to be a boolean'); + }); + + it(`should throw an error with '--serverless' flag as boolean`, async () => { + const flags = new FlagsReader({ + serverless: true, + logToFile: false, + headed: false, + }); + + await expect(parseTestFlags(flags)).rejects.toThrow('expected --serverless to be a string'); + }); + + it(`should throw an error with incorrect '--serverless' flag`, async () => { + const flags = new FlagsReader({ + serverless: 'a', + logToFile: false, + headed: false, + }); + + await expect(parseTestFlags(flags)).rejects.toThrow( + 'invalid --serverless, expected one of "es", "oblt", "security"' + ); + }); + + it(`should parse with correct config and serverless flags`, async () => { + const flags = new FlagsReader({ + config: '/path/to/config', + stateful: false, + serverless: 'oblt', + logToFile: false, + headed: false, + }); + validatePlaywrightConfigMock.mockResolvedValueOnce(); + const result = await parseTestFlags(flags); + + expect(result).toEqual({ + mode: 'serverless=oblt', + configPath: '/path/to/config', + headed: false, + esFrom: undefined, + installDir: undefined, + logsDir: undefined, + }); + }); + + it(`should parse with correct config and stateful flags`, async () => { + const flags = new FlagsReader({ + config: '/path/to/config', + stateful: true, + logToFile: false, + headed: true, + esFrom: 'snapshot', + }); + validatePlaywrightConfigMock.mockResolvedValueOnce(); + const result = await parseTestFlags(flags); + + expect(result).toEqual({ + mode: 'stateful', + configPath: '/path/to/config', + headed: true, + esFrom: 'snapshot', + installDir: undefined, + logsDir: undefined, + }); + }); +}); diff --git a/packages/kbn-scout/src/playwright/runner/flags.ts b/packages/kbn-scout/src/playwright/runner/flags.ts index 7d39d821705c1..e5bded7d6f1c2 100644 --- a/packages/kbn-scout/src/playwright/runner/flags.ts +++ b/packages/kbn-scout/src/playwright/runner/flags.ts @@ -7,6 +7,8 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ +import { REPO_ROOT } from '@kbn/repo-info'; +import path from 'path'; import { FlagOptions, FlagsReader } from '@kbn/dev-cli-runner'; import { createFlagError } from '@kbn/dev-cli-errors'; import { SERVER_FLAG_OPTIONS, parseServerFlags } from '../../servers'; @@ -42,7 +44,8 @@ export async function parseTestFlags(flags: FlagsReader) { throw createFlagError(`Path to playwright config is required: --config `); } - await validatePlaywrightConfig(configPath); + const configFullPath = path.resolve(REPO_ROOT, configPath); + await validatePlaywrightConfig(configFullPath); return { ...options, diff --git a/packages/kbn-scout/src/playwright/utils/index.ts b/packages/kbn-scout/src/playwright/utils/index.ts index 8956c6d7cc18f..347fe7f22d05b 100644 --- a/packages/kbn-scout/src/playwright/utils/index.ts +++ b/packages/kbn-scout/src/playwright/utils/index.ts @@ -7,23 +7,4 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import moment from 'moment'; -import { Config } from '../../config'; -import { tagsByMode } from '../tags'; - -export const serviceLoadedMsg = (name: string) => `scout service loaded: ${name}`; - -export const isValidUTCDate = (date: string): boolean => { - return !isNaN(Date.parse(date)) && new Date(date).toISOString() === date; -}; - -export function formatTime(date: string, fmt: string = 'MMM D, YYYY @ HH:mm:ss.SSS') { - return moment.utc(date, fmt).format(); -} - -export const getPlaywrightGrepTag = (config: Config): string => { - const serversConfig = config.getTestServersConfig(); - return serversConfig.serverless - ? tagsByMode.serverless[serversConfig.projectType!] - : tagsByMode.stateful; -}; +export { serviceLoadedMsg, isValidUTCDate, formatTime, getPlaywrightGrepTag } from './runner_utils'; diff --git a/packages/kbn-scout/src/playwright/utils/runner_utils.test.ts b/packages/kbn-scout/src/playwright/utils/runner_utils.test.ts new file mode 100644 index 0000000000000..007555ea4e7ad --- /dev/null +++ b/packages/kbn-scout/src/playwright/utils/runner_utils.test.ts @@ -0,0 +1,108 @@ +/* + * 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 { isValidUTCDate, formatTime, getPlaywrightGrepTag } from './runner_utils'; +import moment from 'moment'; +jest.mock('moment', () => { + const actualMoment = jest.requireActual('moment'); + return { + ...actualMoment, + utc: jest.fn((date, fmt) => actualMoment(date, fmt)), + }; +}); + +describe('isValidUTCDate', () => { + it('should return true for valid UTC date strings', () => { + expect(isValidUTCDate('2019-04-27T23:56:51.374Z')).toBe(true); + }); + + it('should return false for invalid date strings', () => { + expect(isValidUTCDate('invalid-date')).toBe(false); + }); + + it('should return false for valid non-UTC date strings', () => { + expect(isValidUTCDate('2015-09-19T06:31:44')).toBe(false); + expect(isValidUTCDate('Sep 19, 2015 @ 06:31:44.000')).toBe(false); + }); +}); + +describe('formatTime', () => { + it('should format the time using the default format', () => { + const mockDate = '2024-12-16T12:00:00.000Z'; + const mockFormat = 'MMM D, YYYY @ HH:mm:ss.SSS'; + (moment.utc as jest.Mock).mockReturnValue({ format: () => 'Dec 16, 2024 @ 12:00:00.000' }); + + const result = formatTime(mockDate); + + expect(moment.utc).toHaveBeenCalledWith(mockDate, mockFormat); + expect(result).toBe('Dec 16, 2024 @ 12:00:00.000'); + }); + + it('should format the time using a custom format', () => { + const mockDate = '2024-12-16T12:00:00.000Z'; + const customFormat = 'YYYY-MM-DD'; + (moment.utc as jest.Mock).mockReturnValue({ format: () => '2024-12-16' }); + + const result = formatTime(mockDate, customFormat); + + expect(moment.utc).toHaveBeenCalledWith(mockDate, customFormat); + expect(result).toBe('2024-12-16'); + }); +}); + +describe('getPlaywrightGrepTag', () => { + const mockConfig = { + getScoutTestConfig: jest.fn(), + }; + + it('should return the correct tag for serverless mode', () => { + mockConfig.getScoutTestConfig.mockReturnValue({ + serverless: true, + projectType: 'oblt', + }); + + const result = getPlaywrightGrepTag(mockConfig as any); + + expect(mockConfig.getScoutTestConfig).toHaveBeenCalled(); + expect(result).toBe('@svlOblt'); + }); + + it('should return the correct tag for stateful mode', () => { + mockConfig.getScoutTestConfig.mockReturnValue({ + serverless: false, + }); + + const result = getPlaywrightGrepTag(mockConfig as any); + + expect(mockConfig.getScoutTestConfig).toHaveBeenCalled(); + expect(result).toBe('@ess'); + }); + + it('should throw an error if projectType is missing in serverless mode', () => { + mockConfig.getScoutTestConfig.mockReturnValue({ + serverless: true, + projectType: undefined, + }); + + expect(() => getPlaywrightGrepTag(mockConfig as any)).toThrow( + `'projectType' is required to determine tags for 'serverless' mode.` + ); + }); + + it('should throw an error if unknown projectType is set in serverless mode', () => { + mockConfig.getScoutTestConfig.mockReturnValue({ + serverless: true, + projectType: 'a', + }); + + expect(() => getPlaywrightGrepTag(mockConfig as any)).toThrow( + `No tags found for projectType: 'a'.` + ); + }); +}); diff --git a/packages/kbn-scout/src/playwright/utils/runner_utils.ts b/packages/kbn-scout/src/playwright/utils/runner_utils.ts new file mode 100644 index 0000000000000..fda016f9389c8 --- /dev/null +++ b/packages/kbn-scout/src/playwright/utils/runner_utils.ts @@ -0,0 +1,43 @@ +/* + * 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 moment from 'moment'; +import { Config } from '../../config'; +import { tagsByMode } from '../tags'; + +export const serviceLoadedMsg = (name: string) => `scout service loaded: ${name}`; + +export const isValidUTCDate = (date: string): boolean => { + return !isNaN(Date.parse(date)) && new Date(date).toISOString() === date; +}; + +export function formatTime(date: string, fmt: string = 'MMM D, YYYY @ HH:mm:ss.SSS') { + return moment.utc(date, fmt).format(); +} + +export const getPlaywrightGrepTag = (config: Config): string => { + const serversConfig = config.getScoutTestConfig(); + + if (serversConfig.serverless) { + const { projectType } = serversConfig; + + if (!projectType) { + throw new Error(`'projectType' is required to determine tags for 'serverless' mode.`); + } + + const tag = tagsByMode.serverless[projectType]; + if (!tag) { + throw new Error(`No tags found for projectType: '${projectType}'.`); + } + + return tag; + } + + return tagsByMode.stateful; +}; diff --git a/packages/kbn-scout/src/servers/flags.test.ts b/packages/kbn-scout/src/servers/flags.test.ts new file mode 100644 index 0000000000000..1bf6f18c0236b --- /dev/null +++ b/packages/kbn-scout/src/servers/flags.test.ts @@ -0,0 +1,74 @@ +/* + * 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 { parseServerFlags } from './flags'; +import { FlagsReader } from '@kbn/dev-cli-runner'; + +describe('parseServerFlags', () => { + it(`should throw an error with '--stateful' flag as string value`, () => { + const flags = new FlagsReader({ + stateful: 'true', + logToFile: false, + }); + + expect(() => parseServerFlags(flags)).toThrow('expected --stateful to be a boolean'); + }); + + it(`should throw an error with '--serverless' flag as boolean`, () => { + const flags = new FlagsReader({ + serverless: true, + logToFile: false, + }); + + expect(() => parseServerFlags(flags)).toThrow('expected --serverless to be a string'); + }); + + it(`should throw an error with incorrect '--serverless' flag`, () => { + const flags = new FlagsReader({ + serverless: 'a', + logToFile: false, + }); + + expect(() => parseServerFlags(flags)).toThrow( + 'invalid --serverless, expected one of "es", "oblt", "security"' + ); + }); + + it(`should parse with correct config and serverless flags`, () => { + const flags = new FlagsReader({ + stateful: false, + serverless: 'oblt', + logToFile: false, + }); + const result = parseServerFlags(flags); + + expect(result).toEqual({ + mode: 'serverless=oblt', + esFrom: undefined, + installDir: undefined, + logsDir: undefined, + }); + }); + + it(`should parse with correct config and stateful flags`, () => { + const flags = new FlagsReader({ + stateful: true, + logToFile: false, + esFrom: 'snapshot', + }); + const result = parseServerFlags(flags); + + expect(result).toEqual({ + mode: 'stateful', + esFrom: 'snapshot', + installDir: undefined, + logsDir: undefined, + }); + }); +}); diff --git a/packages/kbn-scout/src/types/index.ts b/packages/kbn-scout/src/types/index.ts index 024a00ec29e45..5f79c9ba17b88 100644 --- a/packages/kbn-scout/src/types/index.ts +++ b/packages/kbn-scout/src/types/index.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export * from './config'; +export * from './server_config'; export * from './cli'; -export * from './servers'; +export * from './test_config'; export * from './services'; diff --git a/packages/kbn-scout/src/types/config.d.ts b/packages/kbn-scout/src/types/server_config.d.ts similarity index 96% rename from packages/kbn-scout/src/types/config.d.ts rename to packages/kbn-scout/src/types/server_config.d.ts index 08c4bc5f3f9b0..ea35377d88ca4 100644 --- a/packages/kbn-scout/src/types/config.d.ts +++ b/packages/kbn-scout/src/types/server_config.d.ts @@ -9,7 +9,7 @@ import { UrlParts } from '@kbn/test'; -export interface ScoutLoaderConfig { +export interface ScoutServerConfig { serverless?: boolean; servers: { kibana: UrlParts; diff --git a/packages/kbn-scout/src/types/servers.d.ts b/packages/kbn-scout/src/types/test_config.d.ts similarity index 93% rename from packages/kbn-scout/src/types/servers.d.ts rename to packages/kbn-scout/src/types/test_config.d.ts index 587e1d213b9ba..ffe7d56f83ed5 100644 --- a/packages/kbn-scout/src/types/servers.d.ts +++ b/packages/kbn-scout/src/types/test_config.d.ts @@ -9,10 +9,11 @@ import { ServerlessProjectType } from '@kbn/es'; -export interface ScoutServerConfig { +export interface ScoutTestConfig { serverless: boolean; projectType?: ServerlessProjectType; isCloud: boolean; + license: string; cloudUsersFilePath: string; hosts: { kibana: string; diff --git a/packages/kbn-search-errors/BUILD.bazel b/packages/kbn-search-errors/BUILD.bazel index b25a9f900f214..7f462f59a85b7 100644 --- a/packages/kbn-search-errors/BUILD.bazel +++ b/packages/kbn-search-errors/BUILD.bazel @@ -22,7 +22,6 @@ SRCS = glob( ) BUNDLER_DEPS = [ - "//packages/kbn-bfetch-error", "//packages/kbn-i18n", "@npm//@elastic/elasticsearch", "@npm//@elastic/eui", diff --git a/packages/kbn-search-errors/src/render_search_error.ts b/packages/kbn-search-errors/src/render_search_error.ts index 4cbf784c35e22..037af2bdb0ee0 100644 --- a/packages/kbn-search-errors/src/render_search_error.ts +++ b/packages/kbn-search-errors/src/render_search_error.ts @@ -9,7 +9,6 @@ import { i18n } from '@kbn/i18n'; import { ReactNode } from 'react'; -import { BfetchRequestError } from '@kbn/bfetch-error'; import { EsError } from './es_error'; export function renderSearchError( @@ -25,7 +24,7 @@ export function renderSearchError( }; } - if (error.constructor.name === 'HttpFetchError' || error instanceof BfetchRequestError) { + if (error.constructor.name === 'HttpFetchError') { const defaultMsg = i18n.translate('searchErrors.errors.fetchError', { defaultMessage: 'Check your network connection and try again.', }); diff --git a/packages/kbn-search-errors/tsconfig.json b/packages/kbn-search-errors/tsconfig.json index d420899bfae32..28c8e52860da0 100644 --- a/packages/kbn-search-errors/tsconfig.json +++ b/packages/kbn-search-errors/tsconfig.json @@ -20,7 +20,6 @@ "@kbn/core", "@kbn/kibana-utils-plugin", "@kbn/data-views-plugin", - "@kbn/bfetch-error", "@kbn/search-types", ] } diff --git a/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts b/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts index 265bdbe9e0082..735413d2f2029 100644 --- a/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts +++ b/packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts @@ -27,7 +27,7 @@ const IGNORED_PATHS = [ Path.resolve(REPO_ROOT, 'packages/kbn-test/src/jest/run_check_jest_configs_cli.ts'), Path.resolve( REPO_ROOT, - 'x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts' + 'x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts' ), ]; diff --git a/packages/kbn-test/src/jest/setup/polyfills.jsdom.js b/packages/kbn-test/src/jest/setup/polyfills.jsdom.js index e6616c2bccfa1..1aaeede644b9b 100644 --- a/packages/kbn-test/src/jest/setup/polyfills.jsdom.js +++ b/packages/kbn-test/src/jest/setup/polyfills.jsdom.js @@ -25,7 +25,7 @@ if (!Object.hasOwn(global, 'TextEncoder')) { // NOTE: We should evaluate removing this once we upgrade to Node 18 and find out if loaders.gl already fixed this usage // or instead check if we can use the official Blob implementation. -// This is needed for x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js +// This is needed for x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js // // https://github.com/jsdom/jsdom/issues/2555 global.Blob = require('blob-polyfill').Blob; diff --git a/packages/kbn-timerange/jest.config.js b/packages/kbn-timerange/jest.config.js deleted file mode 100644 index df6ceeaa419a9..0000000000000 --- a/packages/kbn-timerange/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-timerange'], -}; diff --git a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap b/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap index 9991c8a2165d0..9103b94e19379 100644 --- a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap +++ b/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap @@ -10,7 +10,7 @@ exports[` should show all menu items 1`] = ` aria-label="View available actions" class="euiBadge emotion-euiBadge-clickable" data-test-subj="unsavedChangesBadge" - style="--euiBadgeBackgroundColor: #F6E58D; --euiBadgeTextColor: #000;" + style="--euiBadgeBackgroundColor: #F6E58D; --euiBadgeTextColor: #000000;" title="test" > /packages/presentation/presentation_containers'], -}; diff --git a/packages/presentation/presentation_publishing/jest.config.js b/packages/presentation/presentation_publishing/jest.config.js deleted file mode 100644 index dca7812d88eb3..0000000000000 --- a/packages/presentation/presentation_publishing/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/presentation/presentation_publishing'], -}; diff --git a/packages/react/kibana_context/root/BUILD.bazel b/packages/react/kibana_context/root/BUILD.bazel index fc073da074a61..e78f513deeac6 100644 --- a/packages/react/kibana_context/root/BUILD.bazel +++ b/packages/react/kibana_context/root/BUILD.bazel @@ -25,7 +25,7 @@ DEPS = [ "@npm//react", "@npm//tslib", "@npm//@elastic/eui", - "//packages/core/base/core-base-common", + "//src/core/packages/base/common:core-base-common", "//packages/shared-ux/router/impl:shared-ux-router", ] diff --git a/packages/shared-ux/button_toolbar/src/popover/popover.test.tsx b/packages/shared-ux/button_toolbar/src/popover/popover.test.tsx index 695f02194ab56..d4cd612a2d1c9 100644 --- a/packages/shared-ux/button_toolbar/src/popover/popover.test.tsx +++ b/packages/shared-ux/button_toolbar/src/popover/popover.test.tsx @@ -37,7 +37,7 @@ describe('', () => { const button = component.find('EuiButton'); expect(button.prop('color')).toBe('text'); expect(button.prop('css')).toMatchObject({ - backgroundColor: '#FFF', + backgroundColor: '#FFFFFF', border: '1px solid #D3DAE6', color: '#343741', }); diff --git a/packages/core/analytics/core-analytics-browser-internal/README.md b/src/core/packages/analytics/browser-internal/README.md similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/README.md rename to src/core/packages/analytics/browser-internal/README.md diff --git a/packages/core/analytics/core-analytics-browser-internal/index.ts b/src/core/packages/analytics/browser-internal/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/index.ts rename to src/core/packages/analytics/browser-internal/index.ts diff --git a/packages/core/base/core-base-browser-internal/jest.config.js b/src/core/packages/analytics/browser-internal/jest.config.js similarity index 83% rename from packages/core/base/core-base-browser-internal/jest.config.js rename to src/core/packages/analytics/browser-internal/jest.config.js index 3456994fafa4b..53a81b4d9c6ef 100644 --- a/packages/core/base/core-base-browser-internal/jest.config.js +++ b/src/core/packages/analytics/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/browser-internal'], }; diff --git a/packages/core/analytics/core-analytics-browser-internal/kibana.jsonc b/src/core/packages/analytics/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/kibana.jsonc rename to src/core/packages/analytics/browser-internal/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-browser-internal/package.json b/src/core/packages/analytics/browser-internal/package.json similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/package.json rename to src/core/packages/analytics/browser-internal/package.json diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/get_session_id.test.ts b/src/core/packages/analytics/browser-internal/src/get_session_id.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/get_session_id.test.ts rename to src/core/packages/analytics/browser-internal/src/get_session_id.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/get_session_id.ts b/src/core/packages/analytics/browser-internal/src/get_session_id.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/get_session_id.ts rename to src/core/packages/analytics/browser-internal/src/get_session_id.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts b/src/core/packages/analytics/browser-internal/src/track_clicks.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts rename to src/core/packages/analytics/browser-internal/src/track_clicks.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts b/src/core/packages/analytics/browser-internal/src/track_clicks.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts rename to src/core/packages/analytics/browser-internal/src/track_clicks.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts b/src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts rename to src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.ts b/src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.ts rename to src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts b/src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts rename to src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts b/src/core/packages/analytics/browser-internal/src/track_viewport_size.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts rename to src/core/packages/analytics/browser-internal/src/track_viewport_size.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json b/src/core/packages/analytics/browser-internal/tsconfig.json similarity index 89% rename from packages/core/analytics/core-analytics-browser-internal/tsconfig.json rename to src/core/packages/analytics/browser-internal/tsconfig.json index 152fbeeaa9edd..9dc1d2c37c791 100644 --- a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json +++ b/src/core/packages/analytics/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node"] diff --git a/packages/core/analytics/core-analytics-browser/README.md b/src/core/packages/analytics/browser/README.md similarity index 100% rename from packages/core/analytics/core-analytics-browser/README.md rename to src/core/packages/analytics/browser/README.md diff --git a/packages/core/analytics/core-analytics-browser/index.ts b/src/core/packages/analytics/browser/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser/index.ts rename to src/core/packages/analytics/browser/index.ts diff --git a/packages/kbn-discover-contextual-components/jest.config.js b/src/core/packages/analytics/browser/jest.config.js similarity index 85% rename from packages/kbn-discover-contextual-components/jest.config.js rename to src/core/packages/analytics/browser/jest.config.js index bacfd33649ce4..67d507722acad 100644 --- a/packages/kbn-discover-contextual-components/jest.config.js +++ b/src/core/packages/analytics/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-discover-contextual-components'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/browser'], }; diff --git a/packages/core/analytics/core-analytics-browser/kibana.jsonc b/src/core/packages/analytics/browser/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-browser/kibana.jsonc rename to src/core/packages/analytics/browser/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-browser/package.json b/src/core/packages/analytics/browser/package.json similarity index 100% rename from packages/core/analytics/core-analytics-browser/package.json rename to src/core/packages/analytics/browser/package.json diff --git a/packages/core/analytics/core-analytics-browser/src/types.ts b/src/core/packages/analytics/browser/src/types.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser/src/types.ts rename to src/core/packages/analytics/browser/src/types.ts diff --git a/packages/core/analytics/core-analytics-browser/tsconfig.json b/src/core/packages/analytics/browser/tsconfig.json similarity index 80% rename from packages/core/analytics/core-analytics-browser/tsconfig.json rename to src/core/packages/analytics/browser/tsconfig.json index 99505f519996c..c6bb0972b56ae 100644 --- a/packages/core/analytics/core-analytics-browser/tsconfig.json +++ b/src/core/packages/analytics/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/analytics/core-analytics-server-internal/README.md b/src/core/packages/analytics/server-internal/README.md similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/README.md rename to src/core/packages/analytics/server-internal/README.md diff --git a/packages/core/analytics/core-analytics-server-internal/index.ts b/src/core/packages/analytics/server-internal/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/index.ts rename to src/core/packages/analytics/server-internal/index.ts diff --git a/packages/core/apps/core-apps-server-internal/jest.config.js b/src/core/packages/analytics/server-internal/jest.config.js similarity index 84% rename from packages/core/apps/core-apps-server-internal/jest.config.js rename to src/core/packages/analytics/server-internal/jest.config.js index a8f73275f70a8..c272930b953d6 100644 --- a/packages/core/apps/core-apps-server-internal/jest.config.js +++ b/src/core/packages/analytics/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/server-internal'], }; diff --git a/packages/core/analytics/core-analytics-server-internal/kibana.jsonc b/src/core/packages/analytics/server-internal/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/kibana.jsonc rename to src/core/packages/analytics/server-internal/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-server-internal/package.json b/src/core/packages/analytics/server-internal/package.json similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/package.json rename to src/core/packages/analytics/server-internal/package.json diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts b/src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts b/src/core/packages/analytics/server-internal/src/analytics_service.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.test.ts diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts b/src/core/packages/analytics/server-internal/src/analytics_service.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.ts diff --git a/packages/core/analytics/core-analytics-server-internal/tsconfig.json b/src/core/packages/analytics/server-internal/tsconfig.json similarity index 87% rename from packages/core/analytics/core-analytics-server-internal/tsconfig.json rename to src/core/packages/analytics/server-internal/tsconfig.json index a9d2e7cf47b9d..d62b5cf6aea65 100644 --- a/packages/core/analytics/core-analytics-server-internal/tsconfig.json +++ b/src/core/packages/analytics/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/analytics/core-analytics-server/README.md b/src/core/packages/analytics/server/README.md similarity index 100% rename from packages/core/analytics/core-analytics-server/README.md rename to src/core/packages/analytics/server/README.md diff --git a/packages/core/analytics/core-analytics-server/index.ts b/src/core/packages/analytics/server/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-server/index.ts rename to src/core/packages/analytics/server/index.ts diff --git a/packages/kbn-xstate-utils/jest.config.js b/src/core/packages/analytics/server/jest.config.js similarity index 85% rename from packages/kbn-xstate-utils/jest.config.js rename to src/core/packages/analytics/server/jest.config.js index f976cffb2a6a5..d9d5d56cdb9d0 100644 --- a/packages/kbn-xstate-utils/jest.config.js +++ b/src/core/packages/analytics/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-xstate-utils'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/server'], }; diff --git a/packages/core/analytics/core-analytics-server/kibana.jsonc b/src/core/packages/analytics/server/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-server/kibana.jsonc rename to src/core/packages/analytics/server/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-server/package.json b/src/core/packages/analytics/server/package.json similarity index 100% rename from packages/core/analytics/core-analytics-server/package.json rename to src/core/packages/analytics/server/package.json diff --git a/packages/core/analytics/core-analytics-server/src/contracts.ts b/src/core/packages/analytics/server/src/contracts.ts similarity index 100% rename from packages/core/analytics/core-analytics-server/src/contracts.ts rename to src/core/packages/analytics/server/src/contracts.ts diff --git a/packages/core/analytics/core-analytics-server/tsconfig.json b/src/core/packages/analytics/server/tsconfig.json similarity index 80% rename from packages/core/analytics/core-analytics-server/tsconfig.json rename to src/core/packages/analytics/server/tsconfig.json index 99505f519996c..c6bb0972b56ae 100644 --- a/packages/core/analytics/core-analytics-server/tsconfig.json +++ b/src/core/packages/analytics/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/application/core-application-browser-internal/README.md b/src/core/packages/application/browser-internal/README.md similarity index 100% rename from packages/core/application/core-application-browser-internal/README.md rename to src/core/packages/application/browser-internal/README.md diff --git a/packages/core/application/core-application-browser-internal/index.ts b/src/core/packages/application/browser-internal/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/index.ts rename to src/core/packages/application/browser-internal/index.ts diff --git a/packages/core/application/core-application-browser-internal/integration_tests/application_service.test.tsx b/src/core/packages/application/browser-internal/integration_tests/application_service.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/application_service.test.tsx rename to src/core/packages/application/browser-internal/integration_tests/application_service.test.tsx diff --git a/packages/core/application/core-application-browser-internal/integration_tests/router.test.tsx b/src/core/packages/application/browser-internal/integration_tests/router.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/router.test.tsx rename to src/core/packages/application/browser-internal/integration_tests/router.test.tsx diff --git a/packages/core/application/core-application-browser-internal/integration_tests/utils.tsx b/src/core/packages/application/browser-internal/integration_tests/utils.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/utils.tsx rename to src/core/packages/application/browser-internal/integration_tests/utils.tsx diff --git a/packages/core/application/core-application-common/jest.config.js b/src/core/packages/application/browser-internal/jest.config.js similarity index 83% rename from packages/core/application/core-application-common/jest.config.js rename to src/core/packages/application/browser-internal/jest.config.js index bf825b81c6e01..fac6160093b0a 100644 --- a/packages/core/application/core-application-common/jest.config.js +++ b/src/core/packages/application/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser-internal'], }; diff --git a/packages/core/application/core-application-browser-internal/jest.integration.config.js b/src/core/packages/application/browser-internal/jest.integration.config.js similarity index 82% rename from packages/core/application/core-application-browser-internal/jest.integration.config.js rename to src/core/packages/application/browser-internal/jest.integration.config.js index dac107a009695..ba7f5c3320f66 100644 --- a/packages/core/application/core-application-browser-internal/jest.integration.config.js +++ b/src/core/packages/application/browser-internal/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser-internal'], }; diff --git a/packages/core/application/core-application-browser-internal/kibana.jsonc b/src/core/packages/application/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-browser-internal/kibana.jsonc rename to src/core/packages/application/browser-internal/kibana.jsonc diff --git a/packages/core/application/core-application-browser-internal/package.json b/src/core/packages/application/browser-internal/package.json similarity index 100% rename from packages/core/application/core-application-browser-internal/package.json rename to src/core/packages/application/browser-internal/package.json diff --git a/packages/core/application/core-application-browser-internal/src/__snapshots__/application_service.test.ts.snap b/src/core/packages/application/browser-internal/src/__snapshots__/application_service.test.ts.snap similarity index 100% rename from packages/core/application/core-application-browser-internal/src/__snapshots__/application_service.test.ts.snap rename to src/core/packages/application/browser-internal/src/__snapshots__/application_service.test.ts.snap diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.test.ts b/src/core/packages/application/browser-internal/src/application_leave.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_leave.test.ts rename to src/core/packages/application/browser-internal/src/application_leave.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.tsx b/src/core/packages/application/browser-internal/src/application_leave.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_leave.tsx rename to src/core/packages/application/browser-internal/src/application_leave.tsx diff --git a/packages/core/application/core-application-browser-internal/src/application_service.test.mocks.ts b/src/core/packages/application/browser-internal/src/application_service.test.mocks.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.test.mocks.ts rename to src/core/packages/application/browser-internal/src/application_service.test.mocks.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_service.test.ts b/src/core/packages/application/browser-internal/src/application_service.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.test.ts rename to src/core/packages/application/browser-internal/src/application_service.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_service.tsx b/src/core/packages/application/browser-internal/src/application_service.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.tsx rename to src/core/packages/application/browser-internal/src/application_service.tsx diff --git a/packages/core/application/core-application-browser-internal/src/navigation_confirm.test.ts b/src/core/packages/application/browser-internal/src/navigation_confirm.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/navigation_confirm.test.ts rename to src/core/packages/application/browser-internal/src/navigation_confirm.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/navigation_confirm.ts b/src/core/packages/application/browser-internal/src/navigation_confirm.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/navigation_confirm.ts rename to src/core/packages/application/browser-internal/src/navigation_confirm.ts diff --git a/packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts b/src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts rename to src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts b/src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts rename to src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts diff --git a/packages/core/application/core-application-browser-internal/src/scoped_history.test.ts b/src/core/packages/application/browser-internal/src/scoped_history.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/scoped_history.test.ts rename to src/core/packages/application/browser-internal/src/scoped_history.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/scoped_history.ts b/src/core/packages/application/browser-internal/src/scoped_history.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/scoped_history.ts rename to src/core/packages/application/browser-internal/src/scoped_history.ts diff --git a/packages/core/application/core-application-browser-internal/src/test_helpers/test_types.ts b/src/core/packages/application/browser-internal/src/test_helpers/test_types.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/test_helpers/test_types.ts rename to src/core/packages/application/browser-internal/src/test_helpers/test_types.ts diff --git a/packages/core/application/core-application-browser-internal/src/types.ts b/src/core/packages/application/browser-internal/src/types.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/types.ts rename to src/core/packages/application/browser-internal/src/types.ts diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.test.tsx b/src/core/packages/application/browser-internal/src/ui/app_container.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_container.test.tsx rename to src/core/packages/application/browser-internal/src/ui/app_container.test.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx b/src/core/packages/application/browser-internal/src/ui/app_container.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_container.tsx rename to src/core/packages/application/browser-internal/src/ui/app_container.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_not_found_screen.tsx b/src/core/packages/application/browser-internal/src/ui/app_not_found_screen.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_not_found_screen.tsx rename to src/core/packages/application/browser-internal/src/ui/app_not_found_screen.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx b/src/core/packages/application/browser-internal/src/ui/app_router.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_router.tsx rename to src/core/packages/application/browser-internal/src/ui/app_router.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/index.ts b/src/core/packages/application/browser-internal/src/ui/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/index.ts rename to src/core/packages/application/browser-internal/src/ui/index.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/append_app_path.test.ts b/src/core/packages/application/browser-internal/src/utils/append_app_path.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/append_app_path.test.ts rename to src/core/packages/application/browser-internal/src/utils/append_app_path.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts b/src/core/packages/application/browser-internal/src/utils/append_app_path.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts rename to src/core/packages/application/browser-internal/src/utils/append_app_path.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/constants.ts b/src/core/packages/application/browser-internal/src/utils/constants.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/constants.ts rename to src/core/packages/application/browser-internal/src/utils/constants.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_app_info.test.ts b/src/core/packages/application/browser-internal/src/utils/get_app_info.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_app_info.test.ts rename to src/core/packages/application/browser-internal/src/utils/get_app_info.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts b/src/core/packages/application/browser-internal/src/utils/get_app_info.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts rename to src/core/packages/application/browser-internal/src/utils/get_app_info.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_location_observable.test.ts b/src/core/packages/application/browser-internal/src/utils/get_location_observable.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_location_observable.test.ts rename to src/core/packages/application/browser-internal/src/utils/get_location_observable.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_location_observable.ts b/src/core/packages/application/browser-internal/src/utils/get_location_observable.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_location_observable.ts rename to src/core/packages/application/browser-internal/src/utils/get_location_observable.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/index.ts b/src/core/packages/application/browser-internal/src/utils/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/index.ts rename to src/core/packages/application/browser-internal/src/utils/index.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/parse_app_url.test.ts b/src/core/packages/application/browser-internal/src/utils/parse_app_url.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/parse_app_url.test.ts rename to src/core/packages/application/browser-internal/src/utils/parse_app_url.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts b/src/core/packages/application/browser-internal/src/utils/parse_app_url.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts rename to src/core/packages/application/browser-internal/src/utils/parse_app_url.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.test.ts b/src/core/packages/application/browser-internal/src/utils/relative_to_absolute.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.test.ts rename to src/core/packages/application/browser-internal/src/utils/relative_to_absolute.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts b/src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts rename to src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/remove_slashes.test.ts b/src/core/packages/application/browser-internal/src/utils/remove_slashes.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/remove_slashes.test.ts rename to src/core/packages/application/browser-internal/src/utils/remove_slashes.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts b/src/core/packages/application/browser-internal/src/utils/remove_slashes.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts rename to src/core/packages/application/browser-internal/src/utils/remove_slashes.ts diff --git a/packages/core/application/core-application-browser-internal/tsconfig.json b/src/core/packages/application/browser-internal/tsconfig.json similarity index 95% rename from packages/core/application/core-application-browser-internal/tsconfig.json rename to src/core/packages/application/browser-internal/tsconfig.json index 497d069efc596..8db83fe2e2e2e 100644 --- a/packages/core/application/core-application-browser-internal/tsconfig.json +++ b/src/core/packages/application/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/application/core-application-browser/README.md b/src/core/packages/application/browser/README.md similarity index 100% rename from packages/core/application/core-application-browser/README.md rename to src/core/packages/application/browser/README.md diff --git a/packages/core/application/core-application-browser/index.ts b/src/core/packages/application/browser/index.ts similarity index 100% rename from packages/core/application/core-application-browser/index.ts rename to src/core/packages/application/browser/index.ts diff --git a/packages/kbn-custom-icons/jest.config.js b/src/core/packages/application/browser/jest.config.js similarity index 84% rename from packages/kbn-custom-icons/jest.config.js rename to src/core/packages/application/browser/jest.config.js index c671151a6831e..21356fe119018 100644 --- a/packages/kbn-custom-icons/jest.config.js +++ b/src/core/packages/application/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-custom-icons'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser'], }; diff --git a/packages/core/application/core-application-browser/kibana.jsonc b/src/core/packages/application/browser/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-browser/kibana.jsonc rename to src/core/packages/application/browser/kibana.jsonc diff --git a/packages/core/application/core-application-browser/package.json b/src/core/packages/application/browser/package.json similarity index 100% rename from packages/core/application/core-application-browser/package.json rename to src/core/packages/application/browser/package.json diff --git a/packages/core/application/core-application-browser/src/app_leave.ts b/src/core/packages/application/browser/src/app_leave.ts similarity index 100% rename from packages/core/application/core-application-browser/src/app_leave.ts rename to src/core/packages/application/browser/src/app_leave.ts diff --git a/packages/core/application/core-application-browser/src/app_mount.ts b/src/core/packages/application/browser/src/app_mount.ts similarity index 100% rename from packages/core/application/core-application-browser/src/app_mount.ts rename to src/core/packages/application/browser/src/app_mount.ts diff --git a/packages/core/application/core-application-browser/src/application.ts b/src/core/packages/application/browser/src/application.ts similarity index 100% rename from packages/core/application/core-application-browser/src/application.ts rename to src/core/packages/application/browser/src/application.ts diff --git a/packages/core/application/core-application-browser/src/contracts.ts b/src/core/packages/application/browser/src/contracts.ts similarity index 98% rename from packages/core/application/core-application-browser/src/contracts.ts rename to src/core/packages/application/browser/src/contracts.ts index e8b2cd77028f6..7aada384d8378 100644 --- a/packages/core/application/core-application-browser/src/contracts.ts +++ b/src/core/packages/application/browser/src/contracts.ts @@ -109,7 +109,7 @@ export interface ApplicationStart { * application.navigateToUrl('/app/discover/some-path') // does not include the current basePath * application.navigateToUrl('/base-path/s/my-space/app/unknown-app/some-path') // unknown application * application.navigateToUrl('../discover') // resolve to `/base-path/s/my-space/discover` which is not a path of a known app. - * application.navigateToUrl('../../other-space/discover') // resolve to `/base-path/s/other-space/discover` which is not within the current basePath. + * application.navigateToUrl('../../../other-space/discover') // resolve to `/base-path/s/other-space/discover` which is not within the current basePath. * ``` * * @param url - an absolute URL, an absolute path or a relative path, to navigate to. diff --git a/packages/core/application/core-application-browser/src/scoped_history.ts b/src/core/packages/application/browser/src/scoped_history.ts similarity index 100% rename from packages/core/application/core-application-browser/src/scoped_history.ts rename to src/core/packages/application/browser/src/scoped_history.ts diff --git a/packages/core/application/core-application-browser/tsconfig.json b/src/core/packages/application/browser/tsconfig.json similarity index 88% rename from packages/core/application/core-application-browser/tsconfig.json rename to src/core/packages/application/browser/tsconfig.json index d22e0c337382a..c7b86c46c1ee2 100644 --- a/packages/core/application/core-application-browser/tsconfig.json +++ b/src/core/packages/application/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/application/core-application-common/README.md b/src/core/packages/application/common/README.md similarity index 100% rename from packages/core/application/core-application-common/README.md rename to src/core/packages/application/common/README.md diff --git a/packages/core/application/core-application-common/index.ts b/src/core/packages/application/common/index.ts similarity index 100% rename from packages/core/application/core-application-common/index.ts rename to src/core/packages/application/common/index.ts diff --git a/packages/kbn-elastic-agent-utils/jest.config.js b/src/core/packages/application/common/jest.config.js similarity index 85% rename from packages/kbn-elastic-agent-utils/jest.config.js rename to src/core/packages/application/common/jest.config.js index f495ab73d4e62..4724ccc6350c8 100644 --- a/packages/kbn-elastic-agent-utils/jest.config.js +++ b/src/core/packages/application/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-elastic-agent-utils'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/common'], }; diff --git a/packages/core/application/core-application-common/kibana.jsonc b/src/core/packages/application/common/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-common/kibana.jsonc rename to src/core/packages/application/common/kibana.jsonc diff --git a/packages/core/application/core-application-common/package.json b/src/core/packages/application/common/package.json similarity index 100% rename from packages/core/application/core-application-common/package.json rename to src/core/packages/application/common/package.json diff --git a/packages/core/application/core-application-common/src/app_category.ts b/src/core/packages/application/common/src/app_category.ts similarity index 100% rename from packages/core/application/core-application-common/src/app_category.ts rename to src/core/packages/application/common/src/app_category.ts diff --git a/packages/core/application/core-application-common/src/app_wrapper_class.ts b/src/core/packages/application/common/src/app_wrapper_class.ts similarity index 100% rename from packages/core/application/core-application-common/src/app_wrapper_class.ts rename to src/core/packages/application/common/src/app_wrapper_class.ts diff --git a/packages/core/application/core-application-common/src/default_app_categories.ts b/src/core/packages/application/common/src/default_app_categories.ts similarity index 100% rename from packages/core/application/core-application-common/src/default_app_categories.ts rename to src/core/packages/application/common/src/default_app_categories.ts diff --git a/packages/core/application/core-application-common/src/global_app_style.tsx b/src/core/packages/application/common/src/global_app_style.tsx similarity index 100% rename from packages/core/application/core-application-common/src/global_app_style.tsx rename to src/core/packages/application/common/src/global_app_style.tsx diff --git a/packages/core/application/core-application-common/tsconfig.json b/src/core/packages/application/common/tsconfig.json similarity index 82% rename from packages/core/application/core-application-common/tsconfig.json rename to src/core/packages/application/common/tsconfig.json index da0657512bb06..e4d2c85fd93d6 100644 --- a/packages/core/application/core-application-common/tsconfig.json +++ b/src/core/packages/application/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/apps/core-apps-browser-internal/README.md b/src/core/packages/apps/browser-internal/README.md similarity index 100% rename from packages/core/apps/core-apps-browser-internal/README.md rename to src/core/packages/apps/browser-internal/README.md diff --git a/packages/core/apps/core-apps-browser-internal/index.ts b/src/core/packages/apps/browser-internal/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/index.ts rename to src/core/packages/apps/browser-internal/index.ts diff --git a/src/core/packages/apps/browser-internal/jest.config.js b/src/core/packages/apps/browser-internal/jest.config.js new file mode 100644 index 0000000000000..8346aa238f169 --- /dev/null +++ b/src/core/packages/apps/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/apps/browser-internal'], +}; diff --git a/packages/core/apps/core-apps-browser-internal/kibana.jsonc b/src/core/packages/apps/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/apps/core-apps-browser-internal/kibana.jsonc rename to src/core/packages/apps/browser-internal/kibana.jsonc diff --git a/packages/core/apps/core-apps-browser-internal/package.json b/src/core/packages/apps/browser-internal/package.json similarity index 100% rename from packages/core/apps/core-apps-browser-internal/package.json rename to src/core/packages/apps/browser-internal/package.json diff --git a/packages/core/apps/core-apps-browser-internal/src/core_app.ts b/src/core/packages/apps/browser-internal/src/core_app.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/core_app.ts rename to src/core/packages/apps/browser-internal/src/core_app.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.test.ts b/src/core/packages/apps/browser-internal/src/errors/error_application.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/error_application.test.ts rename to src/core/packages/apps/browser-internal/src/errors/error_application.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx b/src/core/packages/apps/browser-internal/src/errors/error_application.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx rename to src/core/packages/apps/browser-internal/src/errors/error_application.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/index.ts b/src/core/packages/apps/browser-internal/src/errors/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/index.ts rename to src/core/packages/apps/browser-internal/src/errors/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.test.tsx b/src/core/packages/apps/browser-internal/src/errors/public_base_url.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.test.tsx rename to src/core/packages/apps/browser-internal/src/errors/public_base_url.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.tsx b/src/core/packages/apps/browser-internal/src/errors/public_base_url.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.tsx rename to src/core/packages/apps/browser-internal/src/errors/public_base_url.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.test.ts b/src/core/packages/apps/browser-internal/src/errors/url_overflow.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.test.ts rename to src/core/packages/apps/browser-internal/src/errors/url_overflow.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx b/src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx rename to src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow_ui.tsx b/src/core/packages/apps/browser-internal/src/errors/url_overflow_ui.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow_ui.tsx rename to src/core/packages/apps/browser-internal/src/errors/url_overflow_ui.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/index.ts b/src/core/packages/apps/browser-internal/src/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/index.ts rename to src/core/packages/apps/browser-internal/src/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/index.ts b/src/core/packages/apps/browser-internal/src/status/components/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/index.ts rename to src/core/packages/apps/browser-internal/src/status/components/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/metric_tiles.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/metric_tiles.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.tsx b/src/core/packages/apps/browser-internal/src/status/components/metric_tiles.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.tsx rename to src/core/packages/apps/browser-internal/src/status/components/metric_tiles.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/server_status.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/server_status.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/server_status.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/server_status.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/server_status.tsx b/src/core/packages/apps/browser-internal/src/status/components/server_status.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/server_status.tsx rename to src/core/packages/apps/browser-internal/src/status/components/server_status.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_badge.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_badge.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_badge.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_badge.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_expanded_row.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_expanded_row.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_expanded_row.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_expanded_row.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_section.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_section.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_section.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_section.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_table.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_table.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_table.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_table.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_table.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_table.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_table.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_table.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/version_header.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/version_header.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/version_header.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/version_header.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/version_header.tsx b/src/core/packages/apps/browser-internal/src/status/components/version_header.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/version_header.tsx rename to src/core/packages/apps/browser-internal/src/status/components/version_header.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/index.ts b/src/core/packages/apps/browser-internal/src/status/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/index.ts rename to src/core/packages/apps/browser-internal/src/status/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/format_number.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/format_number.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.ts b/src/core/packages/apps/browser-internal/src/status/lib/format_number.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.ts rename to src/core/packages/apps/browser-internal/src/status/lib/format_number.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/index.ts b/src/core/packages/apps/browser-internal/src/status/lib/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/index.ts rename to src/core/packages/apps/browser-internal/src/status/lib/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/load_status.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/load_status.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts b/src/core/packages/apps/browser-internal/src/status/lib/load_status.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts rename to src/core/packages/apps/browser-internal/src/status/lib/load_status.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/status_level.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/status_level.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.ts b/src/core/packages/apps/browser-internal/src/status/lib/status_level.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.ts rename to src/core/packages/apps/browser-internal/src/status/lib/status_level.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/render_app.tsx b/src/core/packages/apps/browser-internal/src/status/render_app.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/render_app.tsx rename to src/core/packages/apps/browser-internal/src/status/render_app.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/status_app.tsx b/src/core/packages/apps/browser-internal/src/status/status_app.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/status_app.tsx rename to src/core/packages/apps/browser-internal/src/status/status_app.tsx diff --git a/packages/core/apps/core-apps-browser-internal/tsconfig.json b/src/core/packages/apps/browser-internal/tsconfig.json similarity index 96% rename from packages/core/apps/core-apps-browser-internal/tsconfig.json rename to src/core/packages/apps/browser-internal/tsconfig.json index 499f4b975f6d8..23c8d34721eaa 100644 --- a/packages/core/apps/core-apps-browser-internal/tsconfig.json +++ b/src/core/packages/apps/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/apps/core-apps-server-internal/README.md b/src/core/packages/apps/server-internal/README.md similarity index 100% rename from packages/core/apps/core-apps-server-internal/README.md rename to src/core/packages/apps/server-internal/README.md diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico b/src/core/packages/apps/server-internal/assets/favicons/favicon.ico similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico rename to src/core/packages/apps/server-internal/assets/favicons/favicon.ico diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png b/src/core/packages/apps/server-internal/assets/favicons/favicon.png similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png rename to src/core/packages/apps/server-internal/assets/favicons/favicon.png diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg b/src/core/packages/apps/server-internal/assets/favicons/favicon.svg similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg rename to src/core/packages/apps/server-internal/assets/favicons/favicon.svg diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-italic.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-italic.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-italic.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-italic.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-roman.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-roman.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-roman.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-roman.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/LICENSE.txt b/src/core/packages/apps/server-internal/assets/fonts/inter/LICENSE.txt similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/LICENSE.txt rename to src/core/packages/apps/server-internal/assets/fonts/inter/LICENSE.txt diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/readme.md b/src/core/packages/apps/server-internal/assets/fonts/readme.md similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/readme.md rename to src/core/packages/apps/server-internal/assets/fonts/readme.md diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/LICENSE.txt b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/LICENSE.txt similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/LICENSE.txt rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/LICENSE.txt diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.css b/src/core/packages/apps/server-internal/assets/legacy_dark_theme.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.css rename to src/core/packages/apps/server-internal/assets/legacy_dark_theme.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.min.css b/src/core/packages/apps/server-internal/assets/legacy_dark_theme.min.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.min.css rename to src/core/packages/apps/server-internal/assets/legacy_dark_theme.min.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.css b/src/core/packages/apps/server-internal/assets/legacy_light_theme.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.css rename to src/core/packages/apps/server-internal/assets/legacy_light_theme.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.min.css b/src/core/packages/apps/server-internal/assets/legacy_light_theme.min.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.min.css rename to src/core/packages/apps/server-internal/assets/legacy_light_theme.min.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_styles.css b/src/core/packages/apps/server-internal/assets/legacy_styles.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_styles.css rename to src/core/packages/apps/server-internal/assets/legacy_styles.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_theme.js b/src/core/packages/apps/server-internal/assets/legacy_theme.js similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_theme.js rename to src/core/packages/apps/server-internal/assets/legacy_theme.js diff --git a/packages/core/apps/core-apps-server-internal/index.ts b/src/core/packages/apps/server-internal/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/index.ts rename to src/core/packages/apps/server-internal/index.ts diff --git a/packages/kbn-panel-loader/jest.config.js b/src/core/packages/apps/server-internal/jest.config.js similarity index 85% rename from packages/kbn-panel-loader/jest.config.js rename to src/core/packages/apps/server-internal/jest.config.js index 6017709bffef4..50706961a694a 100644 --- a/packages/kbn-panel-loader/jest.config.js +++ b/src/core/packages/apps/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-panel-loader'], + rootDir: '../../../../..', + roots: ['/src/core/packages/apps/server-internal'], }; diff --git a/packages/core/apps/core-apps-server-internal/kibana.jsonc b/src/core/packages/apps/server-internal/kibana.jsonc similarity index 100% rename from packages/core/apps/core-apps-server-internal/kibana.jsonc rename to src/core/packages/apps/server-internal/kibana.jsonc diff --git a/packages/core/apps/core-apps-server-internal/package.json b/src/core/packages/apps/server-internal/package.json similarity index 100% rename from packages/core/apps/core-apps-server-internal/package.json rename to src/core/packages/apps/server-internal/package.json diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.ts b/src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/fs.ts b/src/core/packages/apps/server-internal/src/bundle_routes/fs.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/fs.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/fs.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/index.ts b/src/core/packages/apps/server-internal/src/bundle_routes/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/index.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/index.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/select_compressed_file.ts b/src/core/packages/apps/server-internal/src/bundle_routes/select_compressed_file.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/select_compressed_file.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/select_compressed_file.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/utils.ts b/src/core/packages/apps/server-internal/src/bundle_routes/utils.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/utils.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/utils.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.test.mocks.ts b/src/core/packages/apps/server-internal/src/core_app.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.test.mocks.ts rename to src/core/packages/apps/server-internal/src/core_app.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.test.ts b/src/core/packages/apps/server-internal/src/core_app.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.test.ts rename to src/core/packages/apps/server-internal/src/core_app.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.ts b/src/core/packages/apps/server-internal/src/core_app.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.ts rename to src/core/packages/apps/server-internal/src/core_app.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app_config.test.ts b/src/core/packages/apps/server-internal/src/core_app_config.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app_config.test.ts rename to src/core/packages/apps/server-internal/src/core_app_config.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app_config.ts b/src/core/packages/apps/server-internal/src/core_app_config.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app_config.ts rename to src/core/packages/apps/server-internal/src/core_app_config.ts diff --git a/packages/core/apps/core-apps-server-internal/src/index.ts b/src/core/packages/apps/server-internal/src/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/index.ts rename to src/core/packages/apps/server-internal/src/index.ts diff --git a/packages/core/apps/core-apps-server-internal/src/internal_types.ts b/src/core/packages/apps/server-internal/src/internal_types.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/internal_types.ts rename to src/core/packages/apps/server-internal/src/internal_types.ts diff --git a/packages/core/apps/core-apps-server-internal/tsconfig.json b/src/core/packages/apps/server-internal/tsconfig.json similarity index 95% rename from packages/core/apps/core-apps-server-internal/tsconfig.json rename to src/core/packages/apps/server-internal/tsconfig.json index cc84d62f4faa4..5fc120ad7dc15 100644 --- a/packages/core/apps/core-apps-server-internal/tsconfig.json +++ b/src/core/packages/apps/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/packages/core/base/core-base-browser-internal/README.md b/src/core/packages/base/browser-internal/README.md similarity index 100% rename from packages/core/base/core-base-browser-internal/README.md rename to src/core/packages/base/browser-internal/README.md diff --git a/packages/core/base/core-base-browser-internal/index.ts b/src/core/packages/base/browser-internal/index.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/index.ts rename to src/core/packages/base/browser-internal/index.ts diff --git a/src/core/packages/base/browser-internal/jest.config.js b/src/core/packages/base/browser-internal/jest.config.js new file mode 100644 index 0000000000000..b4bdea09b3803 --- /dev/null +++ b/src/core/packages/base/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/base/browser-internal'], +}; diff --git a/packages/core/base/core-base-browser-internal/kibana.jsonc b/src/core/packages/base/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-browser-internal/kibana.jsonc rename to src/core/packages/base/browser-internal/kibana.jsonc diff --git a/packages/core/base/core-base-browser-internal/package.json b/src/core/packages/base/browser-internal/package.json similarity index 100% rename from packages/core/base/core-base-browser-internal/package.json rename to src/core/packages/base/browser-internal/package.json diff --git a/packages/core/base/core-base-browser-internal/src/core_context.ts b/src/core/packages/base/browser-internal/src/core_context.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/src/core_context.ts rename to src/core/packages/base/browser-internal/src/core_context.ts diff --git a/packages/core/base/core-base-browser-internal/src/services.ts b/src/core/packages/base/browser-internal/src/services.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/src/services.ts rename to src/core/packages/base/browser-internal/src/services.ts diff --git a/packages/core/base/core-base-browser-internal/tsconfig.json b/src/core/packages/base/browser-internal/tsconfig.json similarity index 86% rename from packages/core/base/core-base-browser-internal/tsconfig.json rename to src/core/packages/base/browser-internal/tsconfig.json index a3e5d5fc950b9..6ee4dfcc17547 100644 --- a/packages/core/base/core-base-browser-internal/tsconfig.json +++ b/src/core/packages/base/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/base/core-base-common/BUILD.bazel b/src/core/packages/base/common/BUILD.bazel similarity index 100% rename from packages/core/base/core-base-common/BUILD.bazel rename to src/core/packages/base/common/BUILD.bazel diff --git a/packages/core/base/core-base-common/README.md b/src/core/packages/base/common/README.md similarity index 100% rename from packages/core/base/core-base-common/README.md rename to src/core/packages/base/common/README.md diff --git a/packages/core/base/core-base-common/index.ts b/src/core/packages/base/common/index.ts similarity index 100% rename from packages/core/base/core-base-common/index.ts rename to src/core/packages/base/common/index.ts diff --git a/packages/kbn-custom-integrations/jest.config.js b/src/core/packages/base/common/jest.config.js similarity index 86% rename from packages/kbn-custom-integrations/jest.config.js rename to src/core/packages/base/common/jest.config.js index 4d1e1c1b5a83c..8d4d5a7856044 100644 --- a/packages/kbn-custom-integrations/jest.config.js +++ b/src/core/packages/base/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-custom-integrations'], + rootDir: '../../../../..', + roots: ['/src/core/packages/base/common'], }; diff --git a/packages/core/base/core-base-common/kibana.jsonc b/src/core/packages/base/common/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-common/kibana.jsonc rename to src/core/packages/base/common/kibana.jsonc diff --git a/packages/core/base/core-base-common/package.json b/src/core/packages/base/common/package.json similarity index 100% rename from packages/core/base/core-base-common/package.json rename to src/core/packages/base/common/package.json diff --git a/packages/core/base/core-base-common/src/eui.ts b/src/core/packages/base/common/src/eui.ts similarity index 100% rename from packages/core/base/core-base-common/src/eui.ts rename to src/core/packages/base/common/src/eui.ts diff --git a/packages/core/base/core-base-common/src/plugins.ts b/src/core/packages/base/common/src/plugins.ts similarity index 100% rename from packages/core/base/core-base-common/src/plugins.ts rename to src/core/packages/base/common/src/plugins.ts diff --git a/packages/core/base/core-base-common/tsconfig.json b/src/core/packages/base/common/tsconfig.json similarity index 81% rename from packages/core/base/core-base-common/tsconfig.json rename to src/core/packages/base/common/tsconfig.json index 40ac62b671e04..20ffd85947c56 100644 --- a/packages/core/base/core-base-common/tsconfig.json +++ b/src/core/packages/base/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ 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 b2d9693cfcc22..f2bbcd85834ff 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 @@ -73,7 +73,7 @@ describe('checking migration metadata changes on all registered SO types', () => "canvas-element": "cdedc2123eb8a1506b87a56b0bcce60f4ec08bc8", "canvas-workpad": "9d82aafb19586b119e5c9382f938abe28c26ca5c", "canvas-workpad-template": "c077b0087346776bb3542b51e1385d172cb24179", - "cases": "5433a9f1277f8f17bbc4fd20d33b1fc6d997931e", + "cases": "91771732e2e488e4c1b1ac468057925d1c6b32b5", "cases-comments": "5cb0a421588831c2a950e50f486048b8aabbae25", "cases-configure": "44ed7b8e0f44df39516b8870589b89e32224d2bf", "cases-connector-mappings": "f9d1ac57e484e69506c36a8051e4d61f4a8cfd25", @@ -132,7 +132,7 @@ describe('checking migration metadata changes on all registered SO types', () => "lens": "5cfa2c52b979b4f8df56dd13c477e152183468b9", "lens-ui-telemetry": "8c47a9e393861f76e268345ecbadfc8a5fb1e0bd", "links": "1dd432cc94619a513b75cec43660a50be7aadc90", - "maintenance-window": "bf36863f5577c2d22625258bdad906eeb4cccccc", + "maintenance-window": "b84d9e0b3f89be0ae4b6fe1af6e38b4cd2554931", "map": "76c71023bd198fb6b1163b31bafd926fe2ceb9da", "metrics-data-source": "81b69dc9830699d9ead5ac8dcb9264612e2a3c89", "metrics-explorer-view": "98cf395d0e87b89ab63f173eae16735584a8ff42", diff --git a/src/dev/build/tasks/build_canvas_shareable_runtime.ts b/src/dev/build/tasks/build_canvas_shareable_runtime.ts index ff67fc06aab5c..8f8145c197d7c 100644 --- a/src/dev/build/tasks/build_canvas_shareable_runtime.ts +++ b/src/dev/build/tasks/build_canvas_shareable_runtime.ts @@ -19,11 +19,18 @@ export const BuildCanvasShareableRuntime: Task = { log.info('Skipping Canvas shareable runtime for serverless builds'); return; } - await del(config.resolveFromRepo('x-pack/plugins/canvas/shareable_runtime/build')); + await del( + config.resolveFromRepo('x-pack/platform/plugins/private/canvas/shareable_runtime/build') + ); - await exec(log, process.execPath, ['plugins/canvas/scripts/shareable_runtime'], { - cwd: config.resolveFromRepo('x-pack'), - level: 'info', - }); + await exec( + log, + process.execPath, + ['platform/plugins/private/canvas/scripts/shareable_runtime'], + { + cwd: config.resolveFromRepo('x-pack'), + level: 'info', + } + ); }, }; diff --git a/src/dev/build/tasks/create_archives_sources_task.ts b/src/dev/build/tasks/create_archives_sources_task.ts index dcf63d6beb0b1..920faae57c1a3 100644 --- a/src/dev/build/tasks/create_archives_sources_task.ts +++ b/src/dev/build/tasks/create_archives_sources_task.ts @@ -44,7 +44,7 @@ export const CreateArchivesSources: Task = { if (platform.isServerless()) { await deleteAll( [ - 'x-pack/plugins/canvas/shareable_runtime/build', + 'x-pack/platform/plugins/private/canvas/shareable_runtime/build', 'node_modules/@kbn/screenshotting-plugin/server/assets', ].map((path) => build.resolvePathForPlatform(platform, path)), log diff --git a/src/dev/build/tasks/create_cdn_assets_task.ts b/src/dev/build/tasks/create_cdn_assets_task.ts index c7316a9030c98..97e6dc884fd1e 100644 --- a/src/dev/build/tasks/create_cdn_assets_task.ts +++ b/src/dev/build/tasks/create_cdn_assets_task.ts @@ -51,7 +51,7 @@ export const CreateCdnAssets: Task = { const manifest = Jsonc.parse(readFileSync(path, 'utf8')) as any; if (manifest?.plugin?.id) { const pluginRoot = resolve(dirname(path)); - // packages/core/apps/core-apps-server-internal/src/core_app.ts + // src/core/packages/apps/server-internal/src/core_app.ts const assetsSource = resolve(pluginRoot, 'public', 'assets'); const assetsDest = resolve(assets, buildSha, 'plugins', manifest.plugin.id, 'assets'); try { @@ -63,7 +63,7 @@ export const CreateCdnAssets: Task = { } try { - // packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts + // src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts const bundlesSource = resolve(pluginRoot, 'target', 'public'); const bundlesDest = resolve(bundles, 'plugin', manifest.plugin.id, '1.0.0'); await access(bundlesSource); @@ -76,7 +76,7 @@ export const CreateCdnAssets: Task = { } }); - // packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts + // src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts await copyAll( resolve(buildSource, 'node_modules/@kbn/ui-shared-deps-npm/shared_built_assets'), resolve(bundles, 'kbn-ui-shared-deps-npm') @@ -94,7 +94,7 @@ export const CreateCdnAssets: Task = { resolve(bundles, 'kbn-monaco') ); - // packages/core/apps/core-apps-server-internal/src/core_app.ts + // src/core/packages/apps/server-internal/src/core_app.ts await copyAll( resolve(buildSource, 'node_modules/@kbn/core-apps-server-internal/assets'), resolve(assets, buildSha, 'ui') diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts index ca45a31ad7310..8d3271f78fdc5 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/run.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts @@ -51,7 +51,7 @@ export async function runDockerGenerator( */ if (flags.baseImage === 'wolfi') baseImageName = - 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:1b51ff6dba78c98d3e02b0cd64a8ce3238c7a40408d21e3af12a329d44db6f23'; + 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:3a6e9134cf3142da74153a522822c8fa56d09376e294627e51db8aa28f5d20d3'; let imageFlavor = ''; if (flags.baseImage === 'ubi') imageFlavor += `-ubi`; diff --git a/src/dev/build/tasks/replace_favicon.ts b/src/dev/build/tasks/replace_favicon.ts index b2f63d40aba1c..4b55c0a6b749d 100644 --- a/src/dev/build/tasks/replace_favicon.ts +++ b/src/dev/build/tasks/replace_favicon.ts @@ -15,23 +15,23 @@ export const ReplaceFavicon: Task = { async run(config, log, build) { await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.ico') ); await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.png') ); await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.svg') ); }, }; diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt index b04178ec71c6f..565187b84aac9 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt +++ b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt @@ -1,36 +1,36 @@ -x-pack/plugins/dashboard_enhanced/public/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/mocks.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/plugin.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/test_helpers.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/collect_config_container.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.story.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/constants.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/types.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/scripts/storybook.js kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/test_helpers.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/collect_config_container.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.story.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/constants.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/types.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/scripts/storybook.js kibana-app x-pack/plugins/discover_enhanced/common/config.ts kibana-app x-pack/plugins/discover_enhanced/common/index.ts kibana-app x-pack/plugins/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts kibana-app diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 1eeae89438c83..44c441f9bbe63 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -87,8 +87,8 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@8.5.3': ['Elastic License 2.0'], - '@elastic/eui@98.1.0-borealis.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], - '@elastic/eui-theme-borealis@0.0.4': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], + '@elastic/eui@98.2.1-borealis.2': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], + '@elastic/eui-theme-borealis@0.0.7': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry 'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary '@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause) diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 30383559e7fe0..cb0a12e389a5d 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -26,17 +26,17 @@ export const IGNORE_FILE_GLOBS = [ '**/LICENSE', '**/*.txt', '**/{Dockerfile,docker-compose.yml}', - 'x-pack/plugins/canvas/tasks/**/*', - 'x-pack/plugins/canvas/canvas_plugin_src/**/*', - 'x-pack/plugins/canvas/server/templates/assets/*.{png,jpg,svg}', + 'x-pack/platform/plugins/private/canvas/tasks/**/*', + 'x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*', + 'x-pack/platform/plugins/private/canvas/server/templates/assets/*.{png,jpg,svg}', 'x-pack/plugins/cases/docs/**/*', - 'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*', + 'x-pack/platform/plugins/private/monitoring/public/lib/jquery_flot/**/*', 'x-pack/plugins/fleet/cypress/packages/*.zip', '**/apm-diagnostics-*.json', '**/.*', '**/__mocks__/**/*', 'x-pack/docs/**/*', - 'packages/core/apps/core-apps-server-internal/assets/fonts/**/*', + 'src/core/packages/apps/server-internal/assets/fonts/**/*', 'src/dev/code_coverage/ingest_coverage/integration_tests/mocks/**/*', 'packages/kbn-utility-types/test-d/**/*', 'Dockerfile*', @@ -68,7 +68,7 @@ export const IGNORE_FILE_GLOBS = [ 'packages/kbn-handlebars/src/upstream/**/*', 'packages/kbn-handlebars/.patches/**/*', - 'x-pack/plugins/maps/server/fonts/**/*', + 'x-pack/platform/plugins/shared/maps/server/fonts/**/*', 'x-pack/plugins/observability_solution/profiling/Makefile', @@ -176,12 +176,12 @@ export const TEMPORARILY_IGNORED_PATHS = [ 'src/core/server/core_app/assets/favicons/mstile-310x310.png', 'src/core/server/core_app/assets/favicons/safari-pinned-tab.svg', 'test/functional/apps/management/exports/_import_objects-conflicts.json', - 'x-pack/legacy/plugins/index_management/public/lib/editSettings.js', + 'x-pack/legacy/platform/plugins/shared/index_management/public/lib/editSettings.js', 'x-pack/legacy/platform/plugins/shared/license_management/public/store/reducers/licenseManagement.js', - 'x-pack/plugins/monitoring/public/icons/health-gray.svg', - 'x-pack/plugins/monitoring/public/icons/health-green.svg', - 'x-pack/plugins/monitoring/public/icons/health-red.svg', - 'x-pack/plugins/monitoring/public/icons/health-yellow.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/noto/NotoSansCJKtc-Medium.ttf', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/noto/NotoSansCJKtc-Regular.ttf', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/roboto/Roboto-Italic.ttf', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 2bf3888ce6cb2..42b0dff2046ee 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -14,7 +14,7 @@ export const storybookAliases = { ai_assistant: 'x-pack/packages/kbn-ai-assistant/.storybook', apm: 'x-pack/plugins/observability_solution/apm/.storybook', - canvas: 'x-pack/plugins/canvas/storybook', + canvas: 'x-pack/platform/plugins/private/canvas/storybook', cases: 'packages/kbn-cases-components/.storybook', cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook', cloud_security_posture_packages: @@ -25,33 +25,33 @@ export const storybookAliases = { 'src/platform/packages/private/kbn-language-documentation/.storybook', chart_icons: 'packages/kbn-chart-icons/.storybook', content_management_examples: 'examples/content_management_examples/.storybook', - custom_icons: 'packages/kbn-custom-icons/.storybook', + custom_icons: 'src/platform/packages/shared/kbn-custom-icons/.storybook', custom_integrations: 'src/plugins/custom_integrations/storybook', - dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook', - dashboard: 'src/plugins/dashboard/.storybook', + dashboard_enhanced: 'x-pack/platform/plugins/shared/dashboard_enhanced/.storybook', + dashboard: 'src/platform/plugins/shared/dashboard/.storybook', data: 'src/plugins/data/.storybook', discover: 'src/plugins/discover/.storybook', esql_ast_inspector: 'examples/esql_ast_inspector/.storybook', es_ui_shared: 'src/platform/plugins/shared/es_ui_shared/.storybook', expandable_flyout: 'x-pack/solutions/security/packages/kbn-expandable-flyout/.storybook', - expression_error: 'src/plugins/expression_error/.storybook', - expression_image: 'src/plugins/expression_image/.storybook', + expression_error: 'src/platform/plugins/shared/expression_error/.storybook', + expression_image: 'src/platform/plugins/shared/expression_image/.storybook', expression_metric_vis: 'src/plugins/chart_expressions/expression_legacy_metric/.storybook', - expression_metric: 'src/plugins/expression_metric/.storybook', + expression_metric: 'src/platform/plugins/shared/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', - expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', - expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', - expression_shape: 'src/plugins/expression_shape/.storybook', + expression_repeat_image: 'src/platform/plugins/shared/expression_repeat_image/.storybook', + expression_reveal_image: 'src/platform/plugins/shared/expression_reveal_image/.storybook', + expression_shape: 'src/platform/plugins/shared/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/plugins/fleet/.storybook', grouping: 'packages/kbn-grouping/.storybook', home: 'src/plugins/home/.storybook', - infra: 'x-pack/plugins/observability_solution/infra/.storybook', + infra: 'x-pack/solutions/observability/plugins/infra/.storybook', inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', investigate: 'x-pack/solutions/observability/plugins/investigate_app/.storybook', kibana_react: 'src/plugins/kibana_react/.storybook', lists: 'x-pack/solutions/security/plugins/lists/.storybook', - logs_explorer: 'x-pack/plugins/observability_solution/logs_explorer/.storybook', + logs_explorer: 'x-pack/solutions/observability/plugins/logs_explorer/.storybook', management: 'packages/kbn-management/storybook/config', observability: 'x-pack/solutions/observability/plugins/observability/.storybook', observability_ai_assistant: @@ -61,7 +61,7 @@ export const storybookAliases = { observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook', - presentation: 'src/plugins/presentation_util/storybook', + presentation: 'src/platform/plugins/shared/presentation_util/storybook', random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook', esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook', security_solution: 'x-pack/solutions/security/plugins/security_solution/.storybook', diff --git a/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.test.ts b/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.test.ts index 4632bd124f80d..9b8372b146695 100644 --- a/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.test.ts +++ b/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.test.ts @@ -8,15 +8,28 @@ */ import { addQueriesToCache, getCachedQueries } from './history_local_storage'; +class LocalStorageMock { + public store: Record; + constructor(defaultStore: Record) { + this.store = defaultStore; + } + clear() { + this.store = {}; + } + getItem(key: string) { + return this.store[key] || null; + } + setItem(key: string, value: unknown) { + this.store[key] = String(value); + } +} + describe('history local storage', function () { - const mockGetItem = jest.fn(); - const mockSetItem = jest.fn(); + const storage = new LocalStorageMock({}) as unknown as Storage; Object.defineProperty(window, 'localStorage', { - value: { - getItem: (...args: string[]) => mockGetItem(...args), - setItem: (...args: string[]) => mockSetItem(...args), - }, + value: storage, }); + it('should add queries to cache correctly ', function () { addQueriesToCache({ queryString: 'from kibana_sample_data_flights | limit 10', @@ -37,11 +50,6 @@ describe('history local storage', function () { expect(historyItems.length).toBe(2); expect(historyItems[1].timeRan).toBeDefined(); expect(historyItems[1].status).toBe('success'); - - expect(mockSetItem).toHaveBeenCalledWith( - 'QUERY_HISTORY_ITEM_KEY', - JSON.stringify(historyItems) - ); }); it('should update queries to cache correctly if they are the same with different format', function () { @@ -54,11 +62,6 @@ describe('history local storage', function () { expect(historyItems.length).toBe(2); expect(historyItems[1].timeRan).toBeDefined(); expect(historyItems[1].status).toBe('success'); - - expect(mockSetItem).toHaveBeenCalledWith( - 'QUERY_HISTORY_ITEM_KEY', - JSON.stringify(historyItems) - ); }); it('should allow maximum x queries ', function () { diff --git a/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.ts b/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.ts index 46dd770d8d897..5b3661f0306b0 100644 --- a/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.ts +++ b/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.ts @@ -66,6 +66,7 @@ export const addQueriesToCache = ( // the cachedQueries Map might not contain all // the localStorage queries const queries = getHistoryItems('desc'); + cachedQueries.clear(); queries.forEach((queryItem) => { const trimmedQueryString = getTrimmedQuery(queryItem.queryString); cachedQueries.set(trimmedQueryString, queryItem); @@ -87,6 +88,7 @@ export const addQueriesToCache = ( // queries to store in the localstorage allQueries = sortedByDate.slice(0, maxQueriesAllowed); + // clear and reset the queries in the cache cachedQueries.clear(); allQueries.forEach((queryItem) => { diff --git a/packages/kbn-mapbox-gl/README.md b/src/platform/packages/private/kbn-mapbox-gl/README.md similarity index 100% rename from packages/kbn-mapbox-gl/README.md rename to src/platform/packages/private/kbn-mapbox-gl/README.md diff --git a/packages/kbn-mapbox-gl/index.ts b/src/platform/packages/private/kbn-mapbox-gl/index.ts similarity index 100% rename from packages/kbn-mapbox-gl/index.ts rename to src/platform/packages/private/kbn-mapbox-gl/index.ts diff --git a/packages/kbn-mapbox-gl/kibana.jsonc b/src/platform/packages/private/kbn-mapbox-gl/kibana.jsonc similarity index 100% rename from packages/kbn-mapbox-gl/kibana.jsonc rename to src/platform/packages/private/kbn-mapbox-gl/kibana.jsonc diff --git a/packages/kbn-mapbox-gl/package.json b/src/platform/packages/private/kbn-mapbox-gl/package.json similarity index 100% rename from packages/kbn-mapbox-gl/package.json rename to src/platform/packages/private/kbn-mapbox-gl/package.json diff --git a/packages/kbn-mapbox-gl/tsconfig.json b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json similarity index 75% rename from packages/kbn-mapbox-gl/tsconfig.json rename to src/platform/packages/private/kbn-mapbox-gl/tsconfig.json index 225d37d8136ea..9a47088cfbaa3 100644 --- a/packages/kbn-mapbox-gl/tsconfig.json +++ b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/kbn-panel-loader/README.md b/src/platform/packages/private/kbn-panel-loader/README.md similarity index 100% rename from packages/kbn-panel-loader/README.md rename to src/platform/packages/private/kbn-panel-loader/README.md diff --git a/packages/kbn-panel-loader/index.tsx b/src/platform/packages/private/kbn-panel-loader/index.tsx similarity index 100% rename from packages/kbn-panel-loader/index.tsx rename to src/platform/packages/private/kbn-panel-loader/index.tsx diff --git a/packages/core/base/core-base-common/jest.config.js b/src/platform/packages/private/kbn-panel-loader/jest.config.js similarity index 83% rename from packages/core/base/core-base-common/jest.config.js rename to src/platform/packages/private/kbn-panel-loader/jest.config.js index 2d868d29fa4bf..c21eb096920ec 100644 --- a/packages/core/base/core-base-common/jest.config.js +++ b/src/platform/packages/private/kbn-panel-loader/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-common'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-panel-loader'], }; diff --git a/packages/kbn-panel-loader/kibana.jsonc b/src/platform/packages/private/kbn-panel-loader/kibana.jsonc similarity index 100% rename from packages/kbn-panel-loader/kibana.jsonc rename to src/platform/packages/private/kbn-panel-loader/kibana.jsonc diff --git a/packages/kbn-panel-loader/package.json b/src/platform/packages/private/kbn-panel-loader/package.json similarity index 100% rename from packages/kbn-panel-loader/package.json rename to src/platform/packages/private/kbn-panel-loader/package.json diff --git a/packages/kbn-panel-loader/tsconfig.json b/src/platform/packages/private/kbn-panel-loader/tsconfig.json similarity index 81% rename from packages/kbn-panel-loader/tsconfig.json rename to src/platform/packages/private/kbn-panel-loader/tsconfig.json index f885e788791b7..6fb0b772da7fd 100644 --- a/packages/kbn-panel-loader/tsconfig.json +++ b/src/platform/packages/private/kbn-panel-loader/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/platform/packages/shared/deeplinks/security/deep_links.ts b/src/platform/packages/shared/deeplinks/security/deep_links.ts index 464003abd369c..cb47043cc4a18 100644 --- a/src/platform/packages/shared/deeplinks/security/deep_links.ts +++ b/src/platform/packages/shared/deeplinks/security/deep_links.ts @@ -11,6 +11,7 @@ export enum SecurityPageName { administration = 'administration', alerts = 'alerts', assets = 'assets', + assetInventory = 'asset_inventory', attackDiscovery = 'attack_discovery', blocklist = 'blocklist', /* diff --git a/packages/kbn-custom-icons/.storybook/main.js b/src/platform/packages/shared/kbn-custom-icons/.storybook/main.js similarity index 100% rename from packages/kbn-custom-icons/.storybook/main.js rename to src/platform/packages/shared/kbn-custom-icons/.storybook/main.js diff --git a/packages/kbn-custom-icons/README.md b/src/platform/packages/shared/kbn-custom-icons/README.md similarity index 100% rename from packages/kbn-custom-icons/README.md rename to src/platform/packages/shared/kbn-custom-icons/README.md diff --git a/packages/kbn-custom-icons/assets/android.svg b/src/platform/packages/shared/kbn-custom-icons/assets/android.svg similarity index 100% rename from packages/kbn-custom-icons/assets/android.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/android.svg diff --git a/packages/kbn-custom-icons/assets/cpp.svg b/src/platform/packages/shared/kbn-custom-icons/assets/cpp.svg similarity index 100% rename from packages/kbn-custom-icons/assets/cpp.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/cpp.svg diff --git a/packages/kbn-custom-icons/assets/cpp_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/cpp_dark.svg similarity index 100% rename from packages/kbn-custom-icons/assets/cpp_dark.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/cpp_dark.svg diff --git a/packages/kbn-custom-icons/assets/default.svg b/src/platform/packages/shared/kbn-custom-icons/assets/default.svg similarity index 100% rename from packages/kbn-custom-icons/assets/default.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/default.svg diff --git a/packages/kbn-custom-icons/assets/dot_net.svg b/src/platform/packages/shared/kbn-custom-icons/assets/dot_net.svg similarity index 100% rename from packages/kbn-custom-icons/assets/dot_net.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/dot_net.svg diff --git a/packages/kbn-custom-icons/assets/erlang.svg b/src/platform/packages/shared/kbn-custom-icons/assets/erlang.svg similarity index 100% rename from packages/kbn-custom-icons/assets/erlang.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/erlang.svg diff --git a/packages/kbn-custom-icons/assets/erlang_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/erlang_dark.svg similarity index 100% rename from packages/kbn-custom-icons/assets/erlang_dark.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/erlang_dark.svg diff --git a/packages/kbn-custom-icons/assets/functions.svg b/src/platform/packages/shared/kbn-custom-icons/assets/functions.svg similarity index 100% rename from packages/kbn-custom-icons/assets/functions.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/functions.svg diff --git a/packages/kbn-custom-icons/assets/go.svg b/src/platform/packages/shared/kbn-custom-icons/assets/go.svg similarity index 100% rename from packages/kbn-custom-icons/assets/go.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/go.svg diff --git a/packages/kbn-custom-icons/assets/ios.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ios.svg similarity index 100% rename from packages/kbn-custom-icons/assets/ios.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/ios.svg diff --git a/packages/kbn-custom-icons/assets/ios_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ios_dark.svg similarity index 100% rename from packages/kbn-custom-icons/assets/ios_dark.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/ios_dark.svg diff --git a/packages/kbn-custom-icons/assets/java.svg b/src/platform/packages/shared/kbn-custom-icons/assets/java.svg similarity index 100% rename from packages/kbn-custom-icons/assets/java.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/java.svg diff --git a/packages/kbn-custom-icons/assets/lambda.svg b/src/platform/packages/shared/kbn-custom-icons/assets/lambda.svg similarity index 100% rename from packages/kbn-custom-icons/assets/lambda.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/lambda.svg diff --git a/packages/kbn-custom-icons/assets/nodejs.svg b/src/platform/packages/shared/kbn-custom-icons/assets/nodejs.svg similarity index 100% rename from packages/kbn-custom-icons/assets/nodejs.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/nodejs.svg diff --git a/packages/kbn-custom-icons/assets/ocaml.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ocaml.svg similarity index 100% rename from packages/kbn-custom-icons/assets/ocaml.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/ocaml.svg diff --git a/packages/kbn-custom-icons/assets/opentelemetry.svg b/src/platform/packages/shared/kbn-custom-icons/assets/opentelemetry.svg similarity index 100% rename from packages/kbn-custom-icons/assets/opentelemetry.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/opentelemetry.svg diff --git a/packages/kbn-custom-icons/assets/otel_default.svg b/src/platform/packages/shared/kbn-custom-icons/assets/otel_default.svg similarity index 100% rename from packages/kbn-custom-icons/assets/otel_default.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/otel_default.svg diff --git a/packages/kbn-custom-icons/assets/php.svg b/src/platform/packages/shared/kbn-custom-icons/assets/php.svg similarity index 100% rename from packages/kbn-custom-icons/assets/php.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/php.svg diff --git a/packages/kbn-custom-icons/assets/php_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/php_dark.svg similarity index 100% rename from packages/kbn-custom-icons/assets/php_dark.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/php_dark.svg diff --git a/packages/kbn-custom-icons/assets/python.svg b/src/platform/packages/shared/kbn-custom-icons/assets/python.svg similarity index 100% rename from packages/kbn-custom-icons/assets/python.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/python.svg diff --git a/packages/kbn-custom-icons/assets/ruby.svg b/src/platform/packages/shared/kbn-custom-icons/assets/ruby.svg similarity index 100% rename from packages/kbn-custom-icons/assets/ruby.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/ruby.svg diff --git a/packages/kbn-custom-icons/assets/rumjs.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rumjs.svg similarity index 100% rename from packages/kbn-custom-icons/assets/rumjs.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/rumjs.svg diff --git a/packages/kbn-custom-icons/assets/rumjs_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rumjs_dark.svg similarity index 100% rename from packages/kbn-custom-icons/assets/rumjs_dark.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/rumjs_dark.svg diff --git a/packages/kbn-custom-icons/assets/rust.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rust.svg similarity index 100% rename from packages/kbn-custom-icons/assets/rust.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/rust.svg diff --git a/packages/kbn-custom-icons/assets/rust_dark.svg b/src/platform/packages/shared/kbn-custom-icons/assets/rust_dark.svg similarity index 100% rename from packages/kbn-custom-icons/assets/rust_dark.svg rename to src/platform/packages/shared/kbn-custom-icons/assets/rust_dark.svg diff --git a/packages/kbn-custom-icons/index.ts b/src/platform/packages/shared/kbn-custom-icons/index.ts similarity index 100% rename from packages/kbn-custom-icons/index.ts rename to src/platform/packages/shared/kbn-custom-icons/index.ts diff --git a/src/platform/packages/shared/kbn-custom-icons/jest.config.js b/src/platform/packages/shared/kbn-custom-icons/jest.config.js new file mode 100644 index 0000000000000..c6899d93b5e9e --- /dev/null +++ b/src/platform/packages/shared/kbn-custom-icons/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-custom-icons'], +}; diff --git a/packages/kbn-custom-icons/kibana.jsonc b/src/platform/packages/shared/kbn-custom-icons/kibana.jsonc similarity index 100% rename from packages/kbn-custom-icons/kibana.jsonc rename to src/platform/packages/shared/kbn-custom-icons/kibana.jsonc diff --git a/packages/kbn-custom-icons/package.json b/src/platform/packages/shared/kbn-custom-icons/package.json similarity index 100% rename from packages/kbn-custom-icons/package.json rename to src/platform/packages/shared/kbn-custom-icons/package.json diff --git a/packages/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx similarity index 100% rename from packages/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/agent_icon.stories.tsx diff --git a/packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts similarity index 100% rename from packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.test.ts diff --git a/packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts similarity index 100% rename from packages/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_agent_icon.ts diff --git a/packages/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts similarity index 100% rename from packages/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/get_serverless_icon.ts diff --git a/packages/kbn-custom-icons/src/components/agent_icon/index.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx similarity index 100% rename from packages/kbn-custom-icons/src/components/agent_icon/index.tsx rename to src/platform/packages/shared/kbn-custom-icons/src/components/agent_icon/index.tsx diff --git a/packages/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx similarity index 100% rename from packages/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx rename to src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/cloud_provider_icon.stories.tsx diff --git a/packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts b/src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts similarity index 100% rename from packages/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts rename to src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/get_cloud_provider_icon.ts diff --git a/packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx b/src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx similarity index 100% rename from packages/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx rename to src/platform/packages/shared/kbn-custom-icons/src/components/cloud_provider_icon/index.tsx diff --git a/packages/kbn-custom-icons/tsconfig.json b/src/platform/packages/shared/kbn-custom-icons/tsconfig.json similarity index 86% rename from packages/kbn-custom-icons/tsconfig.json rename to src/platform/packages/shared/kbn-custom-icons/tsconfig.json index 5cd845d4948c6..380335f9e2dd5 100644 --- a/packages/kbn-custom-icons/tsconfig.json +++ b/src/platform/packages/shared/kbn-custom-icons/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-discover-contextual-components/README.md b/src/platform/packages/shared/kbn-discover-contextual-components/README.md similarity index 100% rename from packages/kbn-discover-contextual-components/README.md rename to src/platform/packages/shared/kbn-discover-contextual-components/README.md diff --git a/packages/kbn-discover-contextual-components/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/index.ts similarity index 100% rename from packages/kbn-discover-contextual-components/index.ts rename to src/platform/packages/shared/kbn-discover-contextual-components/index.ts diff --git a/packages/core/application/core-application-browser-internal/jest.config.js b/src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js similarity index 81% rename from packages/core/application/core-application-browser-internal/jest.config.js rename to src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js index 223e310d5daf3..8c1468cdabd49 100644 --- a/packages/core/application/core-application-browser-internal/jest.config.js +++ b/src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-discover-contextual-components'], }; diff --git a/packages/kbn-discover-contextual-components/kibana.jsonc b/src/platform/packages/shared/kbn-discover-contextual-components/kibana.jsonc similarity index 100% rename from packages/kbn-discover-contextual-components/kibana.jsonc rename to src/platform/packages/shared/kbn-discover-contextual-components/kibana.jsonc diff --git a/packages/kbn-discover-contextual-components/package.json b/src/platform/packages/shared/kbn-discover-contextual-components/package.json similarity index 100% rename from packages/kbn-discover-contextual-components/package.json rename to src/platform/packages/shared/kbn-discover-contextual-components/package.json diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/cell_actions_popover.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/index.ts similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/index.ts rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/index.ts diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.test.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/log_level_badge_cell/log_level_badge_cell.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/service_name_badge_with_actions.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/content.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/index.ts diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/resource.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.test.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/summary_column.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx diff --git a/packages/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx b/src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx similarity index 100% rename from packages/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx rename to src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/translations.tsx diff --git a/packages/kbn-discover-contextual-components/src/index.ts b/src/platform/packages/shared/kbn-discover-contextual-components/src/index.ts similarity index 100% rename from packages/kbn-discover-contextual-components/src/index.ts rename to src/platform/packages/shared/kbn-discover-contextual-components/src/index.ts diff --git a/packages/kbn-discover-contextual-components/tsconfig.json b/src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json similarity index 93% rename from packages/kbn-discover-contextual-components/tsconfig.json rename to src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json index 0dc07688b4cab..9d32dfb823e9b 100644 --- a/packages/kbn-discover-contextual-components/tsconfig.json +++ b/src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-elastic-agent-utils/README.md b/src/platform/packages/shared/kbn-elastic-agent-utils/README.md similarity index 100% rename from packages/kbn-elastic-agent-utils/README.md rename to src/platform/packages/shared/kbn-elastic-agent-utils/README.md diff --git a/packages/kbn-elastic-agent-utils/index.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/index.ts similarity index 100% rename from packages/kbn-elastic-agent-utils/index.ts rename to src/platform/packages/shared/kbn-elastic-agent-utils/index.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/jest.config.js b/src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js similarity index 82% rename from packages/core/analytics/core-analytics-browser-internal/jest.config.js rename to src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js index 4432335062f1e..5bdd872bf7f41 100644 --- a/packages/core/analytics/core-analytics-browser-internal/jest.config.js +++ b/src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-elastic-agent-utils'], }; diff --git a/packages/kbn-elastic-agent-utils/kibana.jsonc b/src/platform/packages/shared/kbn-elastic-agent-utils/kibana.jsonc similarity index 100% rename from packages/kbn-elastic-agent-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-elastic-agent-utils/kibana.jsonc diff --git a/packages/kbn-elastic-agent-utils/package.json b/src/platform/packages/shared/kbn-elastic-agent-utils/package.json similarity index 100% rename from packages/kbn-elastic-agent-utils/package.json rename to src/platform/packages/shared/kbn-elastic-agent-utils/package.json diff --git a/packages/kbn-elastic-agent-utils/src/agent_guards.test.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.test.ts similarity index 100% rename from packages/kbn-elastic-agent-utils/src/agent_guards.test.ts rename to src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.test.ts diff --git a/packages/kbn-elastic-agent-utils/src/agent_guards.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts similarity index 100% rename from packages/kbn-elastic-agent-utils/src/agent_guards.ts rename to src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_guards.ts diff --git a/packages/kbn-elastic-agent-utils/src/agent_names.ts b/src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts similarity index 100% rename from packages/kbn-elastic-agent-utils/src/agent_names.ts rename to src/platform/packages/shared/kbn-elastic-agent-utils/src/agent_names.ts diff --git a/packages/kbn-elastic-agent-utils/tsconfig.json b/src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json similarity index 79% rename from packages/kbn-elastic-agent-utils/tsconfig.json rename to src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json index 9754544771806..d369c6f66c790 100644 --- a/packages/kbn-elastic-agent-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-flot-charts/API.md b/src/platform/packages/shared/kbn-flot-charts/API.md similarity index 100% rename from packages/kbn-flot-charts/API.md rename to src/platform/packages/shared/kbn-flot-charts/API.md diff --git a/packages/kbn-flot-charts/BUILD.bazel b/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel similarity index 100% rename from packages/kbn-flot-charts/BUILD.bazel rename to src/platform/packages/shared/kbn-flot-charts/BUILD.bazel diff --git a/packages/kbn-flot-charts/index.js b/src/platform/packages/shared/kbn-flot-charts/index.js similarity index 100% rename from packages/kbn-flot-charts/index.js rename to src/platform/packages/shared/kbn-flot-charts/index.js diff --git a/packages/kbn-flot-charts/kibana.jsonc b/src/platform/packages/shared/kbn-flot-charts/kibana.jsonc similarity index 100% rename from packages/kbn-flot-charts/kibana.jsonc rename to src/platform/packages/shared/kbn-flot-charts/kibana.jsonc diff --git a/packages/kbn-flot-charts/lib/jquery_colorhelpers.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_colorhelpers.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_colorhelpers.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_colorhelpers.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_axislabels.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_axislabels.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_axislabels.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_axislabels.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_canvas.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_canvas.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_canvas.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_canvas.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_categories.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_categories.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_categories.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_categories.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_crosshair.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_crosshair.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_crosshair.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_crosshair.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_errorbars.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_errorbars.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_errorbars.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_errorbars.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_fillbetween.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_fillbetween.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_fillbetween.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_fillbetween.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_image.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_image.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_image.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_image.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_log.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_log.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_log.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_log.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_navigate.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_navigate.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_navigate.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_navigate.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_pie.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_pie.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_pie.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_pie.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_resize.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_resize.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_resize.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_resize.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_selection.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_selection.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_selection.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_selection.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_stack.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_stack.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_stack.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_stack.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_symbol.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_symbol.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_symbol.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_symbol.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_threshold.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_threshold.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_threshold.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_threshold.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_time.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_time.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_time.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_time.js diff --git a/packages/kbn-flot-charts/package.json b/src/platform/packages/shared/kbn-flot-charts/package.json similarity index 100% rename from packages/kbn-flot-charts/package.json rename to src/platform/packages/shared/kbn-flot-charts/package.json diff --git a/packages/kbn-flot-charts/tsconfig.json b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json similarity index 77% rename from packages/kbn-flot-charts/tsconfig.json rename to src/platform/packages/shared/kbn-flot-charts/tsconfig.json index 7718842c7491f..74fbac0a101b6 100644 --- a/packages/kbn-flot-charts/tsconfig.json +++ b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/packages/kbn-react-hooks/README.md b/src/platform/packages/shared/kbn-react-hooks/README.md similarity index 100% rename from packages/kbn-react-hooks/README.md rename to src/platform/packages/shared/kbn-react-hooks/README.md diff --git a/packages/kbn-react-hooks/index.ts b/src/platform/packages/shared/kbn-react-hooks/index.ts similarity index 100% rename from packages/kbn-react-hooks/index.ts rename to src/platform/packages/shared/kbn-react-hooks/index.ts diff --git a/packages/core/analytics/core-analytics-browser/jest.config.js b/src/platform/packages/shared/kbn-react-hooks/jest.config.js similarity index 83% rename from packages/core/analytics/core-analytics-browser/jest.config.js rename to src/platform/packages/shared/kbn-react-hooks/jest.config.js index 3d19085e50e12..50eb8023e9ce9 100644 --- a/packages/core/analytics/core-analytics-browser/jest.config.js +++ b/src/platform/packages/shared/kbn-react-hooks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-browser'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-react-hooks'], }; diff --git a/packages/kbn-react-hooks/kibana.jsonc b/src/platform/packages/shared/kbn-react-hooks/kibana.jsonc similarity index 100% rename from packages/kbn-react-hooks/kibana.jsonc rename to src/platform/packages/shared/kbn-react-hooks/kibana.jsonc diff --git a/packages/kbn-react-hooks/package.json b/src/platform/packages/shared/kbn-react-hooks/package.json similarity index 100% rename from packages/kbn-react-hooks/package.json rename to src/platform/packages/shared/kbn-react-hooks/package.json diff --git a/packages/kbn-react-hooks/src/use_boolean/index.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_boolean/index.ts similarity index 100% rename from packages/kbn-react-hooks/src/use_boolean/index.ts rename to src/platform/packages/shared/kbn-react-hooks/src/use_boolean/index.ts diff --git a/packages/kbn-react-hooks/src/use_boolean/use_boolean.test.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.test.ts similarity index 100% rename from packages/kbn-react-hooks/src/use_boolean/use_boolean.test.ts rename to src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.test.ts diff --git a/packages/kbn-react-hooks/src/use_boolean/use_boolean.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts similarity index 100% rename from packages/kbn-react-hooks/src/use_boolean/use_boolean.ts rename to src/platform/packages/shared/kbn-react-hooks/src/use_boolean/use_boolean.ts diff --git a/packages/kbn-react-hooks/src/use_error_text_style/index.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/index.ts similarity index 100% rename from packages/kbn-react-hooks/src/use_error_text_style/index.ts rename to src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/index.ts diff --git a/packages/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts b/src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts similarity index 100% rename from packages/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts rename to src/platform/packages/shared/kbn-react-hooks/src/use_error_text_style/use_error_text_style.ts diff --git a/packages/kbn-react-hooks/tsconfig.json b/src/platform/packages/shared/kbn-react-hooks/tsconfig.json similarity index 82% rename from packages/kbn-react-hooks/tsconfig.json rename to src/platform/packages/shared/kbn-react-hooks/tsconfig.json index 620e1832c66d6..4eca5cbff213f 100644 --- a/packages/kbn-react-hooks/tsconfig.json +++ b/src/platform/packages/shared/kbn-react-hooks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-router-utils/README.md b/src/platform/packages/shared/kbn-router-utils/README.md similarity index 100% rename from packages/kbn-router-utils/README.md rename to src/platform/packages/shared/kbn-router-utils/README.md diff --git a/packages/kbn-router-utils/index.ts b/src/platform/packages/shared/kbn-router-utils/index.ts similarity index 100% rename from packages/kbn-router-utils/index.ts rename to src/platform/packages/shared/kbn-router-utils/index.ts diff --git a/src/platform/packages/shared/kbn-router-utils/jest.config.js b/src/platform/packages/shared/kbn-router-utils/jest.config.js new file mode 100644 index 0000000000000..28b713191aa6c --- /dev/null +++ b/src/platform/packages/shared/kbn-router-utils/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-router-utils'], +}; diff --git a/packages/kbn-router-utils/kibana.jsonc b/src/platform/packages/shared/kbn-router-utils/kibana.jsonc similarity index 100% rename from packages/kbn-router-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-router-utils/kibana.jsonc diff --git a/packages/kbn-router-utils/package.json b/src/platform/packages/shared/kbn-router-utils/package.json similarity index 100% rename from packages/kbn-router-utils/package.json rename to src/platform/packages/shared/kbn-router-utils/package.json diff --git a/packages/kbn-router-utils/src/get_router_link_props/index.ts b/src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts similarity index 100% rename from packages/kbn-router-utils/src/get_router_link_props/index.ts rename to src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts diff --git a/packages/kbn-bfetch-error/tsconfig.json b/src/platform/packages/shared/kbn-router-utils/tsconfig.json similarity index 71% rename from packages/kbn-bfetch-error/tsconfig.json rename to src/platform/packages/shared/kbn-router-utils/tsconfig.json index c4703bc51cf6c..447899d604592 100644 --- a/packages/kbn-bfetch-error/tsconfig.json +++ b/src/platform/packages/shared/kbn-router-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ @@ -15,7 +15,5 @@ "exclude": [ "target/**/*" ], - "kbn_references": [ - "@kbn/i18n", - ] + "kbn_references": [] } diff --git a/packages/kbn-timerange/BUILD.bazel b/src/platform/packages/shared/kbn-timerange/BUILD.bazel similarity index 100% rename from packages/kbn-timerange/BUILD.bazel rename to src/platform/packages/shared/kbn-timerange/BUILD.bazel diff --git a/packages/kbn-timerange/README.md b/src/platform/packages/shared/kbn-timerange/README.md similarity index 100% rename from packages/kbn-timerange/README.md rename to src/platform/packages/shared/kbn-timerange/README.md diff --git a/packages/kbn-timerange/index.ts b/src/platform/packages/shared/kbn-timerange/index.ts similarity index 100% rename from packages/kbn-timerange/index.ts rename to src/platform/packages/shared/kbn-timerange/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/jest.config.js b/src/platform/packages/shared/kbn-timerange/jest.config.js similarity index 84% rename from packages/core/apps/core-apps-browser-internal/jest.config.js rename to src/platform/packages/shared/kbn-timerange/jest.config.js index 70aafc13bdadb..6b0af8f663e2b 100644 --- a/packages/core/apps/core-apps-browser-internal/jest.config.js +++ b/src/platform/packages/shared/kbn-timerange/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-timerange'], }; diff --git a/packages/kbn-timerange/kibana.jsonc b/src/platform/packages/shared/kbn-timerange/kibana.jsonc similarity index 100% rename from packages/kbn-timerange/kibana.jsonc rename to src/platform/packages/shared/kbn-timerange/kibana.jsonc diff --git a/packages/kbn-timerange/package.json b/src/platform/packages/shared/kbn-timerange/package.json similarity index 100% rename from packages/kbn-timerange/package.json rename to src/platform/packages/shared/kbn-timerange/package.json diff --git a/packages/kbn-timerange/src/index.ts b/src/platform/packages/shared/kbn-timerange/src/index.ts similarity index 100% rename from packages/kbn-timerange/src/index.ts rename to src/platform/packages/shared/kbn-timerange/src/index.ts diff --git a/packages/kbn-timerange/tsconfig.json b/src/platform/packages/shared/kbn-timerange/tsconfig.json similarity index 83% rename from packages/kbn-timerange/tsconfig.json rename to src/platform/packages/shared/kbn-timerange/tsconfig.json index 9690a889a4891..5a28fbe5c65e6 100644 --- a/packages/kbn-timerange/tsconfig.json +++ b/src/platform/packages/shared/kbn-timerange/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-xstate-utils/README.md b/src/platform/packages/shared/kbn-xstate-utils/README.md similarity index 100% rename from packages/kbn-xstate-utils/README.md rename to src/platform/packages/shared/kbn-xstate-utils/README.md diff --git a/packages/kbn-xstate-utils/index.ts b/src/platform/packages/shared/kbn-xstate-utils/index.ts similarity index 100% rename from packages/kbn-xstate-utils/index.ts rename to src/platform/packages/shared/kbn-xstate-utils/index.ts diff --git a/packages/core/analytics/core-analytics-server/jest.config.js b/src/platform/packages/shared/kbn-xstate-utils/jest.config.js similarity index 84% rename from packages/core/analytics/core-analytics-server/jest.config.js rename to src/platform/packages/shared/kbn-xstate-utils/jest.config.js index 92cead0f9e0a7..50cbc56e51e2f 100644 --- a/packages/core/analytics/core-analytics-server/jest.config.js +++ b/src/platform/packages/shared/kbn-xstate-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-xstate-utils'], }; diff --git a/packages/kbn-xstate-utils/kibana.jsonc b/src/platform/packages/shared/kbn-xstate-utils/kibana.jsonc similarity index 100% rename from packages/kbn-xstate-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-xstate-utils/kibana.jsonc diff --git a/packages/kbn-xstate-utils/package.json b/src/platform/packages/shared/kbn-xstate-utils/package.json similarity index 100% rename from packages/kbn-xstate-utils/package.json rename to src/platform/packages/shared/kbn-xstate-utils/package.json diff --git a/packages/kbn-xstate-utils/src/actions.ts b/src/platform/packages/shared/kbn-xstate-utils/src/actions.ts similarity index 100% rename from packages/kbn-xstate-utils/src/actions.ts rename to src/platform/packages/shared/kbn-xstate-utils/src/actions.ts diff --git a/packages/kbn-xstate-utils/src/console_inspector.ts b/src/platform/packages/shared/kbn-xstate-utils/src/console_inspector.ts similarity index 100% rename from packages/kbn-xstate-utils/src/console_inspector.ts rename to src/platform/packages/shared/kbn-xstate-utils/src/console_inspector.ts diff --git a/packages/kbn-xstate-utils/src/dev_tools.ts b/src/platform/packages/shared/kbn-xstate-utils/src/dev_tools.ts similarity index 100% rename from packages/kbn-xstate-utils/src/dev_tools.ts rename to src/platform/packages/shared/kbn-xstate-utils/src/dev_tools.ts diff --git a/packages/kbn-xstate-utils/src/index.ts b/src/platform/packages/shared/kbn-xstate-utils/src/index.ts similarity index 100% rename from packages/kbn-xstate-utils/src/index.ts rename to src/platform/packages/shared/kbn-xstate-utils/src/index.ts diff --git a/packages/kbn-xstate-utils/src/notification_channel.ts b/src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts similarity index 100% rename from packages/kbn-xstate-utils/src/notification_channel.ts rename to src/platform/packages/shared/kbn-xstate-utils/src/notification_channel.ts diff --git a/packages/kbn-xstate-utils/src/types.ts b/src/platform/packages/shared/kbn-xstate-utils/src/types.ts similarity index 100% rename from packages/kbn-xstate-utils/src/types.ts rename to src/platform/packages/shared/kbn-xstate-utils/src/types.ts diff --git a/packages/kbn-xstate-utils/tsconfig.json b/src/platform/packages/shared/kbn-xstate-utils/tsconfig.json similarity index 80% rename from packages/kbn-xstate-utils/tsconfig.json rename to src/platform/packages/shared/kbn-xstate-utils/tsconfig.json index 2f9ddddbeea23..7aba1b1a9378a 100644 --- a/packages/kbn-xstate-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-xstate-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/presentation/presentation_containers/README.md b/src/platform/packages/shared/presentation/presentation_containers/README.md similarity index 100% rename from packages/presentation/presentation_containers/README.md rename to src/platform/packages/shared/presentation/presentation_containers/README.md diff --git a/packages/presentation/presentation_containers/index.ts b/src/platform/packages/shared/presentation/presentation_containers/index.ts similarity index 100% rename from packages/presentation/presentation_containers/index.ts rename to src/platform/packages/shared/presentation/presentation_containers/index.ts diff --git a/packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts diff --git a/packages/presentation/presentation_containers/interfaces/child_state.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/child_state.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts diff --git a/packages/presentation/presentation_containers/interfaces/has_save_notification.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/has_save_notification.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts diff --git a/packages/presentation/presentation_containers/interfaces/panel_management.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/panel_management.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts diff --git a/packages/presentation/presentation_containers/interfaces/performance_trackers.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/performance_trackers.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts diff --git a/packages/presentation/presentation_containers/interfaces/presentation_container.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/presentation_container.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts diff --git a/packages/presentation/presentation_containers/interfaces/publishes_settings.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/publishes_settings.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts diff --git a/packages/presentation/presentation_containers/interfaces/serialized_state.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/serialized_state.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts diff --git a/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/tracks_overlays.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts diff --git a/packages/core/application/core-application-browser/jest.config.js b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js similarity index 80% rename from packages/core/application/core-application-browser/jest.config.js rename to src/platform/packages/shared/presentation/presentation_containers/jest.config.js index 13f7c9e97b7e1..6e9b6067aea25 100644 --- a/packages/core/application/core-application-browser/jest.config.js +++ b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/presentation/presentation_containers'], }; diff --git a/packages/presentation/presentation_containers/kibana.jsonc b/src/platform/packages/shared/presentation/presentation_containers/kibana.jsonc similarity index 100% rename from packages/presentation/presentation_containers/kibana.jsonc rename to src/platform/packages/shared/presentation/presentation_containers/kibana.jsonc diff --git a/packages/presentation/presentation_containers/mocks.ts b/src/platform/packages/shared/presentation/presentation_containers/mocks.ts similarity index 100% rename from packages/presentation/presentation_containers/mocks.ts rename to src/platform/packages/shared/presentation/presentation_containers/mocks.ts diff --git a/packages/presentation/presentation_containers/package.json b/src/platform/packages/shared/presentation/presentation_containers/package.json similarity index 100% rename from packages/presentation/presentation_containers/package.json rename to src/platform/packages/shared/presentation/presentation_containers/package.json diff --git a/packages/presentation/presentation_containers/tsconfig.json b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json similarity index 85% rename from packages/presentation/presentation_containers/tsconfig.json rename to src/platform/packages/shared/presentation/presentation_containers/tsconfig.json index 8e25a7b80c6e2..e6e2a00a07655 100644 --- a/packages/presentation/presentation_containers/tsconfig.json +++ b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/packages/presentation/presentation_publishing/README.md b/src/platform/packages/shared/presentation/presentation_publishing/README.md similarity index 100% rename from packages/presentation/presentation_publishing/README.md rename to src/platform/packages/shared/presentation/presentation_publishing/README.md diff --git a/packages/presentation/presentation_publishing/comparators/fallback_comparator.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/fallback_comparator.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts diff --git a/packages/presentation/presentation_publishing/comparators/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/index.ts diff --git a/packages/presentation/presentation_publishing/comparators/state_comparators.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/state_comparators.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts diff --git a/packages/presentation/presentation_publishing/comparators/types.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/types.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts diff --git a/packages/presentation/presentation_publishing/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/index.ts diff --git a/packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts diff --git a/packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_app_context.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_app_context.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_execution_context.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_execution_context.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_parent_api.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_parent_api.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_type.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_type.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_uuid.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_uuid.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts diff --git a/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js b/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js new file mode 100644 index 0000000000000..5472459fba481 --- /dev/null +++ b/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/presentation/presentation_publishing'], +}; diff --git a/packages/presentation/presentation_publishing/kibana.jsonc b/src/platform/packages/shared/presentation/presentation_publishing/kibana.jsonc similarity index 100% rename from packages/presentation/presentation_publishing/kibana.jsonc rename to src/platform/packages/shared/presentation/presentation_publishing/kibana.jsonc diff --git a/packages/presentation/presentation_publishing/package.json b/src/platform/packages/shared/presentation/presentation_publishing/package.json similarity index 100% rename from packages/presentation/presentation_publishing/package.json rename to src/platform/packages/shared/presentation/presentation_publishing/package.json diff --git a/packages/presentation/presentation_publishing/publishing_subject/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/index.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/types.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/types.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts diff --git a/packages/presentation/presentation_publishing/tsconfig.json b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json similarity index 85% rename from packages/presentation/presentation_publishing/tsconfig.json rename to src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json index a08944f9674da..58edc9d14270d 100644 --- a/packages/presentation/presentation_publishing/tsconfig.json +++ b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/src/plugins/input_control_vis/README.md b/src/platform/plugins/private/input_control_vis/README.md similarity index 100% rename from src/plugins/input_control_vis/README.md rename to src/platform/plugins/private/input_control_vis/README.md diff --git a/src/platform/plugins/private/input_control_vis/jest.config.js b/src/platform/plugins/private/input_control_vis/jest.config.js new file mode 100644 index 0000000000000..2bf36692b93ce --- /dev/null +++ b/src/platform/plugins/private/input_control_vis/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/input_control_vis'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/input_control_vis', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/input_control_vis/public/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/input_control_vis/kibana.jsonc b/src/platform/plugins/private/input_control_vis/kibana.jsonc similarity index 100% rename from src/plugins/input_control_vis/kibana.jsonc rename to src/platform/plugins/private/input_control_vis/kibana.jsonc diff --git a/src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap b/src/platform/plugins/private/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap rename to src/platform/plugins/private/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap diff --git a/src/plugins/input_control_vis/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/input_control_vis/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/input_control_vis/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.scss b/src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.scss rename to src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.scss diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/field_select.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/field_select.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/field_select.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/field_select.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/index.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/index.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/form_row.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/form_row.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.scss b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.scss rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.scss diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/list_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/list_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/list_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/list_control.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/range_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/range_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/range_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/range_control.tsx diff --git a/src/plugins/input_control_vis/public/control/control.test.ts b/src/platform/plugins/private/input_control_vis/public/control/control.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/control.test.ts diff --git a/src/plugins/input_control_vis/public/control/control.ts b/src/platform/plugins/private/input_control_vis/public/control/control.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control.ts rename to src/platform/plugins/private/input_control_vis/public/control/control.ts diff --git a/src/plugins/input_control_vis/public/control/control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/create_search_source.ts b/src/platform/plugins/private/input_control_vis/public/control/create_search_source.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/create_search_source.ts rename to src/platform/plugins/private/input_control_vis/public/control/create_search_source.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts b/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/list_control_factory.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/list_control_factory.test.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/list_control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts b/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/range_control_factory.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/range_control_factory.test.ts diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/range_control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts diff --git a/src/plugins/input_control_vis/public/deprecation_badge.ts b/src/platform/plugins/private/input_control_vis/public/deprecation_badge.ts similarity index 100% rename from src/plugins/input_control_vis/public/deprecation_badge.ts rename to src/platform/plugins/private/input_control_vis/public/deprecation_badge.ts diff --git a/src/plugins/input_control_vis/public/editor_utils.ts b/src/platform/plugins/private/input_control_vis/public/editor_utils.ts similarity index 100% rename from src/plugins/input_control_vis/public/editor_utils.ts rename to src/platform/plugins/private/input_control_vis/public/editor_utils.ts diff --git a/src/plugins/input_control_vis/public/index.ts b/src/platform/plugins/private/input_control_vis/public/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/index.ts rename to src/platform/plugins/private/input_control_vis/public/index.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.test.ts b/src/platform/plugins/private/input_control_vis/public/input_control_fn.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.test.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_fn.test.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.ts b/src/platform/plugins/private/input_control_vis/public/input_control_fn.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_fn.ts diff --git a/src/plugins/input_control_vis/public/input_control_vis_renderer.tsx b/src/platform/plugins/private/input_control_vis/public/input_control_vis_renderer.tsx similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_renderer.tsx rename to src/platform/plugins/private/input_control_vis/public/input_control_vis_renderer.tsx diff --git a/src/plugins/input_control_vis/public/input_control_vis_type.ts b/src/platform/plugins/private/input_control_vis/public/input_control_vis_type.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_type.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_vis_type.ts diff --git a/src/plugins/input_control_vis/public/lineage/index.ts b/src/platform/plugins/private/input_control_vis/public/lineage/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/index.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/index.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts b/src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.test.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.ts b/src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts b/src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.ts b/src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.ts diff --git a/src/plugins/input_control_vis/public/plugin.ts b/src/platform/plugins/private/input_control_vis/public/plugin.ts similarity index 100% rename from src/plugins/input_control_vis/public/plugin.ts rename to src/platform/plugins/private/input_control_vis/public/plugin.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx b/src/platform/plugins/private/input_control_vis/public/test_utils/get_deps_mock.tsx similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_deps_mock.tsx diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_patterns_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_index_patterns_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_search_service_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_search_service_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/index.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/index.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/index.ts diff --git a/src/plugins/input_control_vis/public/test_utils/update_component.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/update_component.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/update_component.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/update_component.ts diff --git a/src/plugins/input_control_vis/public/to_ast.test.ts b/src/platform/plugins/private/input_control_vis/public/to_ast.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/to_ast.test.ts rename to src/platform/plugins/private/input_control_vis/public/to_ast.test.ts diff --git a/src/plugins/input_control_vis/public/to_ast.ts b/src/platform/plugins/private/input_control_vis/public/to_ast.ts similarity index 100% rename from src/plugins/input_control_vis/public/to_ast.ts rename to src/platform/plugins/private/input_control_vis/public/to_ast.ts diff --git a/src/plugins/input_control_vis/public/types.ts b/src/platform/plugins/private/input_control_vis/public/types.ts similarity index 100% rename from src/plugins/input_control_vis/public/types.ts rename to src/platform/plugins/private/input_control_vis/public/types.ts diff --git a/src/plugins/input_control_vis/public/vis_controller.tsx b/src/platform/plugins/private/input_control_vis/public/vis_controller.tsx similarity index 100% rename from src/plugins/input_control_vis/public/vis_controller.tsx rename to src/platform/plugins/private/input_control_vis/public/vis_controller.tsx diff --git a/src/plugins/input_control_vis/server/config.ts b/src/platform/plugins/private/input_control_vis/server/config.ts similarity index 100% rename from src/plugins/input_control_vis/server/config.ts rename to src/platform/plugins/private/input_control_vis/server/config.ts diff --git a/src/plugins/input_control_vis/server/index.ts b/src/platform/plugins/private/input_control_vis/server/index.ts similarity index 100% rename from src/plugins/input_control_vis/server/index.ts rename to src/platform/plugins/private/input_control_vis/server/index.ts diff --git a/src/plugins/input_control_vis/tsconfig.json b/src/platform/plugins/private/input_control_vis/tsconfig.json similarity index 93% rename from src/plugins/input_control_vis/tsconfig.json rename to src/platform/plugins/private/input_control_vis/tsconfig.json index 5b4900ad1845c..4f9370c591ee4 100644 --- a/src/plugins/input_control_vis/tsconfig.json +++ b/src/platform/plugins/private/input_control_vis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/links/README.md b/src/platform/plugins/private/links/README.md similarity index 100% rename from src/plugins/links/README.md rename to src/platform/plugins/private/links/README.md diff --git a/src/plugins/links/common/constants.ts b/src/platform/plugins/private/links/common/constants.ts similarity index 100% rename from src/plugins/links/common/constants.ts rename to src/platform/plugins/private/links/common/constants.ts diff --git a/src/plugins/links/common/content_management/index.ts b/src/platform/plugins/private/links/common/content_management/index.ts similarity index 100% rename from src/plugins/links/common/content_management/index.ts rename to src/platform/plugins/private/links/common/content_management/index.ts diff --git a/src/plugins/links/common/content_management/latest.ts b/src/platform/plugins/private/links/common/content_management/latest.ts similarity index 100% rename from src/plugins/links/common/content_management/latest.ts rename to src/platform/plugins/private/links/common/content_management/latest.ts diff --git a/src/plugins/links/common/content_management/v1/constants.ts b/src/platform/plugins/private/links/common/content_management/v1/constants.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/constants.ts rename to src/platform/plugins/private/links/common/content_management/v1/constants.ts diff --git a/src/plugins/links/common/content_management/v1/index.ts b/src/platform/plugins/private/links/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/index.ts rename to src/platform/plugins/private/links/common/content_management/v1/index.ts diff --git a/src/plugins/links/common/content_management/v1/types.ts b/src/platform/plugins/private/links/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/types.ts rename to src/platform/plugins/private/links/common/content_management/v1/types.ts diff --git a/src/plugins/links/common/index.ts b/src/platform/plugins/private/links/common/index.ts similarity index 100% rename from src/plugins/links/common/index.ts rename to src/platform/plugins/private/links/common/index.ts diff --git a/src/plugins/links/common/persistable_state/index.ts b/src/platform/plugins/private/links/common/persistable_state/index.ts similarity index 100% rename from src/plugins/links/common/persistable_state/index.ts rename to src/platform/plugins/private/links/common/persistable_state/index.ts diff --git a/src/plugins/links/common/persistable_state/references.test.ts b/src/platform/plugins/private/links/common/persistable_state/references.test.ts similarity index 100% rename from src/plugins/links/common/persistable_state/references.test.ts rename to src/platform/plugins/private/links/common/persistable_state/references.test.ts diff --git a/src/plugins/links/common/persistable_state/references.ts b/src/platform/plugins/private/links/common/persistable_state/references.ts similarity index 100% rename from src/plugins/links/common/persistable_state/references.ts rename to src/platform/plugins/private/links/common/persistable_state/references.ts diff --git a/src/plugins/links/common/types.ts b/src/platform/plugins/private/links/common/types.ts similarity index 100% rename from src/plugins/links/common/types.ts rename to src/platform/plugins/private/links/common/types.ts diff --git a/src/plugins/expression_image/jest.config.js b/src/platform/plugins/private/links/jest.config.js similarity index 69% rename from src/plugins/expression_image/jest.config.js rename to src/platform/plugins/private/links/jest.config.js index c8c330398a233..8c5479c486cd9 100644 --- a/src/plugins/expression_image/jest.config.js +++ b/src/platform/plugins/private/links/jest.config.js @@ -9,11 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/links'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/links', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/links/{common,public,server}/**/*.{ts,tsx}', ], + setupFiles: ['/src/platform/plugins/private/links/jest_setup.ts'], }; diff --git a/src/plugins/links/jest_setup.ts b/src/platform/plugins/private/links/jest_setup.ts similarity index 100% rename from src/plugins/links/jest_setup.ts rename to src/platform/plugins/private/links/jest_setup.ts diff --git a/src/plugins/links/kibana.jsonc b/src/platform/plugins/private/links/kibana.jsonc similarity index 100% rename from src/plugins/links/kibana.jsonc rename to src/platform/plugins/private/links/kibana.jsonc diff --git a/src/plugins/links/public/_mixins.scss b/src/platform/plugins/private/links/public/_mixins.scss similarity index 93% rename from src/plugins/links/public/_mixins.scss rename to src/platform/plugins/private/links/public/_mixins.scss index b41c0d7f1ab62..d4025a7ef57b9 100644 --- a/src/plugins/links/public/_mixins.scss +++ b/src/platform/plugins/private/links/public/_mixins.scss @@ -1,4 +1,4 @@ -@import '../../../core/public/mixins'; +@import '../../../../../core/public/mixins'; @keyframes euiFlyoutOpenAnimation { 0% { diff --git a/src/plugins/links/public/actions/compatibility_check.ts b/src/platform/plugins/private/links/public/actions/compatibility_check.ts similarity index 100% rename from src/plugins/links/public/actions/compatibility_check.ts rename to src/platform/plugins/private/links/public/actions/compatibility_check.ts diff --git a/src/plugins/links/public/actions/create_links_panel_action.ts b/src/platform/plugins/private/links/public/actions/create_links_panel_action.ts similarity index 100% rename from src/plugins/links/public/actions/create_links_panel_action.ts rename to src/platform/plugins/private/links/public/actions/create_links_panel_action.ts diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_component.test.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.test.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_component.test.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.test.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_strings.ts b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_strings.ts similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_strings.ts rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_strings.ts diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_tools.ts b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_tools.ts similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_tools.ts rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_tools.ts diff --git a/src/plugins/links/public/components/editor/constants.ts b/src/platform/plugins/private/links/public/components/editor/constants.ts similarity index 100% rename from src/plugins/links/public/components/editor/constants.ts rename to src/platform/plugins/private/links/public/components/editor/constants.ts diff --git a/src/plugins/links/public/components/editor/link_destination.tsx b/src/platform/plugins/private/links/public/components/editor/link_destination.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_destination.tsx rename to src/platform/plugins/private/links/public/components/editor/link_destination.tsx diff --git a/src/plugins/links/public/components/editor/link_editor.tsx b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_editor.tsx rename to src/platform/plugins/private/links/public/components/editor/link_editor.tsx diff --git a/src/plugins/links/public/components/editor/link_options.tsx b/src/platform/plugins/private/links/public/components/editor/link_options.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_options.tsx rename to src/platform/plugins/private/links/public/components/editor/link_options.tsx diff --git a/src/plugins/links/public/components/editor/links_editor.scss b/src/platform/plugins/private/links/public/components/editor/links_editor.scss similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.scss rename to src/platform/plugins/private/links/public/components/editor/links_editor.scss diff --git a/src/plugins/links/public/components/editor/links_editor.test.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor.test.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.test.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor.test.tsx diff --git a/src/plugins/links/public/components/editor/links_editor.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor.tsx diff --git a/src/plugins/links/public/components/editor/links_editor_empty_prompt.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor_empty_prompt.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor_empty_prompt.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor_empty_prompt.tsx diff --git a/src/plugins/links/public/components/editor/links_editor_single_link.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor_single_link.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor_single_link.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor_single_link.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_component.test.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_component.test.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_component.test.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_component.test.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_component.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_component.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_component.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_component.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_destination_picker.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_destination_picker.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_destination_picker.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_destination_picker.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_strings.ts b/src/platform/plugins/private/links/public/components/external_link/external_link_strings.ts similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_strings.ts rename to src/platform/plugins/private/links/public/components/external_link/external_link_strings.ts diff --git a/src/plugins/links/public/components/external_link/external_link_tools.ts b/src/platform/plugins/private/links/public/components/external_link/external_link_tools.ts similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_tools.ts rename to src/platform/plugins/private/links/public/components/external_link/external_link_tools.ts diff --git a/src/plugins/links/public/components/links_component.scss b/src/platform/plugins/private/links/public/components/links_component.scss similarity index 100% rename from src/plugins/links/public/components/links_component.scss rename to src/platform/plugins/private/links/public/components/links_component.scss diff --git a/src/plugins/links/public/components/links_strings.ts b/src/platform/plugins/private/links/public/components/links_strings.ts similarity index 100% rename from src/plugins/links/public/components/links_strings.ts rename to src/platform/plugins/private/links/public/components/links_strings.ts diff --git a/src/plugins/links/public/components/tooltip_wrapper.tsx b/src/platform/plugins/private/links/public/components/tooltip_wrapper.tsx similarity index 100% rename from src/plugins/links/public/components/tooltip_wrapper.tsx rename to src/platform/plugins/private/links/public/components/tooltip_wrapper.tsx diff --git a/src/plugins/links/public/content_management/duplicate_title_check.ts b/src/platform/plugins/private/links/public/content_management/duplicate_title_check.ts similarity index 100% rename from src/plugins/links/public/content_management/duplicate_title_check.ts rename to src/platform/plugins/private/links/public/content_management/duplicate_title_check.ts diff --git a/src/plugins/links/public/content_management/index.ts b/src/platform/plugins/private/links/public/content_management/index.ts similarity index 100% rename from src/plugins/links/public/content_management/index.ts rename to src/platform/plugins/private/links/public/content_management/index.ts diff --git a/src/plugins/links/public/content_management/links_content_management_client.ts b/src/platform/plugins/private/links/public/content_management/links_content_management_client.ts similarity index 100% rename from src/plugins/links/public/content_management/links_content_management_client.ts rename to src/platform/plugins/private/links/public/content_management/links_content_management_client.ts diff --git a/src/plugins/links/public/content_management/save_to_library.tsx b/src/platform/plugins/private/links/public/content_management/save_to_library.tsx similarity index 100% rename from src/plugins/links/public/content_management/save_to_library.tsx rename to src/platform/plugins/private/links/public/content_management/save_to_library.tsx diff --git a/src/plugins/links/public/editor/links_editor_tools.tsx b/src/platform/plugins/private/links/public/editor/links_editor_tools.tsx similarity index 100% rename from src/plugins/links/public/editor/links_editor_tools.tsx rename to src/platform/plugins/private/links/public/editor/links_editor_tools.tsx diff --git a/src/plugins/links/public/editor/open_editor_flyout.tsx b/src/platform/plugins/private/links/public/editor/open_editor_flyout.tsx similarity index 100% rename from src/plugins/links/public/editor/open_editor_flyout.tsx rename to src/platform/plugins/private/links/public/editor/open_editor_flyout.tsx diff --git a/src/plugins/links/public/editor/open_link_editor_flyout.tsx b/src/platform/plugins/private/links/public/editor/open_link_editor_flyout.tsx similarity index 100% rename from src/plugins/links/public/editor/open_link_editor_flyout.tsx rename to src/platform/plugins/private/links/public/editor/open_link_editor_flyout.tsx diff --git a/src/plugins/links/public/embeddable/links_embeddable.test.tsx b/src/platform/plugins/private/links/public/embeddable/links_embeddable.test.tsx similarity index 100% rename from src/plugins/links/public/embeddable/links_embeddable.test.tsx rename to src/platform/plugins/private/links/public/embeddable/links_embeddable.test.tsx diff --git a/src/plugins/links/public/embeddable/links_embeddable.tsx b/src/platform/plugins/private/links/public/embeddable/links_embeddable.tsx similarity index 100% rename from src/plugins/links/public/embeddable/links_embeddable.tsx rename to src/platform/plugins/private/links/public/embeddable/links_embeddable.tsx diff --git a/src/plugins/links/public/index.ts b/src/platform/plugins/private/links/public/index.ts similarity index 100% rename from src/plugins/links/public/index.ts rename to src/platform/plugins/private/links/public/index.ts diff --git a/src/plugins/links/public/lib/deserialize_from_library.ts b/src/platform/plugins/private/links/public/lib/deserialize_from_library.ts similarity index 100% rename from src/plugins/links/public/lib/deserialize_from_library.ts rename to src/platform/plugins/private/links/public/lib/deserialize_from_library.ts diff --git a/src/plugins/links/public/lib/resolve_links.test.ts b/src/platform/plugins/private/links/public/lib/resolve_links.test.ts similarity index 100% rename from src/plugins/links/public/lib/resolve_links.test.ts rename to src/platform/plugins/private/links/public/lib/resolve_links.test.ts diff --git a/src/plugins/links/public/lib/resolve_links.ts b/src/platform/plugins/private/links/public/lib/resolve_links.ts similarity index 100% rename from src/plugins/links/public/lib/resolve_links.ts rename to src/platform/plugins/private/links/public/lib/resolve_links.ts diff --git a/src/plugins/links/public/lib/serialize_attributes.ts b/src/platform/plugins/private/links/public/lib/serialize_attributes.ts similarity index 100% rename from src/plugins/links/public/lib/serialize_attributes.ts rename to src/platform/plugins/private/links/public/lib/serialize_attributes.ts diff --git a/src/plugins/links/public/mocks.ts b/src/platform/plugins/private/links/public/mocks.ts similarity index 100% rename from src/plugins/links/public/mocks.ts rename to src/platform/plugins/private/links/public/mocks.ts diff --git a/src/plugins/links/public/plugin.ts b/src/platform/plugins/private/links/public/plugin.ts similarity index 100% rename from src/plugins/links/public/plugin.ts rename to src/platform/plugins/private/links/public/plugin.ts diff --git a/src/plugins/links/public/services/kibana_services.ts b/src/platform/plugins/private/links/public/services/kibana_services.ts similarity index 100% rename from src/plugins/links/public/services/kibana_services.ts rename to src/platform/plugins/private/links/public/services/kibana_services.ts diff --git a/src/plugins/links/public/types.ts b/src/platform/plugins/private/links/public/types.ts similarity index 100% rename from src/plugins/links/public/types.ts rename to src/platform/plugins/private/links/public/types.ts diff --git a/src/plugins/links/server/content_management/index.ts b/src/platform/plugins/private/links/server/content_management/index.ts similarity index 100% rename from src/plugins/links/server/content_management/index.ts rename to src/platform/plugins/private/links/server/content_management/index.ts diff --git a/src/plugins/links/server/content_management/links_storage.ts b/src/platform/plugins/private/links/server/content_management/links_storage.ts similarity index 100% rename from src/plugins/links/server/content_management/links_storage.ts rename to src/platform/plugins/private/links/server/content_management/links_storage.ts diff --git a/src/plugins/links/server/content_management/schema/cm_services.ts b/src/platform/plugins/private/links/server/content_management/schema/cm_services.ts similarity index 100% rename from src/plugins/links/server/content_management/schema/cm_services.ts rename to src/platform/plugins/private/links/server/content_management/schema/cm_services.ts diff --git a/src/plugins/links/server/content_management/schema/v1/cm_services.ts b/src/platform/plugins/private/links/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from src/plugins/links/server/content_management/schema/v1/cm_services.ts rename to src/platform/plugins/private/links/server/content_management/schema/v1/cm_services.ts diff --git a/src/plugins/links/server/index.ts b/src/platform/plugins/private/links/server/index.ts similarity index 100% rename from src/plugins/links/server/index.ts rename to src/platform/plugins/private/links/server/index.ts diff --git a/src/plugins/links/server/plugin.ts b/src/platform/plugins/private/links/server/plugin.ts similarity index 100% rename from src/plugins/links/server/plugin.ts rename to src/platform/plugins/private/links/server/plugin.ts diff --git a/src/plugins/links/server/saved_objects/index.ts b/src/platform/plugins/private/links/server/saved_objects/index.ts similarity index 100% rename from src/plugins/links/server/saved_objects/index.ts rename to src/platform/plugins/private/links/server/saved_objects/index.ts diff --git a/src/plugins/links/server/saved_objects/links.ts b/src/platform/plugins/private/links/server/saved_objects/links.ts similarity index 100% rename from src/plugins/links/server/saved_objects/links.ts rename to src/platform/plugins/private/links/server/saved_objects/links.ts diff --git a/src/plugins/links/tsconfig.json b/src/platform/plugins/private/links/tsconfig.json similarity index 95% rename from src/plugins/links/tsconfig.json rename to src/platform/plugins/private/links/tsconfig.json index 321809cb507d0..ac7594cc5d76a 100644 --- a/src/plugins/links/tsconfig.json +++ b/src/platform/plugins/private/links/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/maps_ems/README.md b/src/platform/plugins/private/maps_ems/README.md similarity index 100% rename from src/plugins/maps_ems/README.md rename to src/platform/plugins/private/maps_ems/README.md diff --git a/src/plugins/maps_ems/common/ems_defaults.ts b/src/platform/plugins/private/maps_ems/common/ems_defaults.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_defaults.ts rename to src/platform/plugins/private/maps_ems/common/ems_defaults.ts diff --git a/src/plugins/maps_ems/common/ems_settings.test.ts b/src/platform/plugins/private/maps_ems/common/ems_settings.test.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_settings.test.ts rename to src/platform/plugins/private/maps_ems/common/ems_settings.test.ts diff --git a/src/plugins/maps_ems/common/ems_settings.ts b/src/platform/plugins/private/maps_ems/common/ems_settings.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_settings.ts rename to src/platform/plugins/private/maps_ems/common/ems_settings.ts diff --git a/src/plugins/maps_ems/common/index.ts b/src/platform/plugins/private/maps_ems/common/index.ts similarity index 100% rename from src/plugins/maps_ems/common/index.ts rename to src/platform/plugins/private/maps_ems/common/index.ts diff --git a/src/plugins/expression_repeat_image/jest.config.js b/src/platform/plugins/private/maps_ems/jest.config.js similarity index 74% rename from src/plugins/expression_repeat_image/jest.config.js rename to src/platform/plugins/private/maps_ems/jest.config.js index 75fd80914f229..6949452fb43d0 100644 --- a/src/plugins/expression_repeat_image/jest.config.js +++ b/src/platform/plugins/private/maps_ems/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_repeat_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_repeat_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/maps_ems'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/maps_ems', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/maps_ems/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/maps_ems/kibana.jsonc b/src/platform/plugins/private/maps_ems/kibana.jsonc similarity index 100% rename from src/plugins/maps_ems/kibana.jsonc rename to src/platform/plugins/private/maps_ems/kibana.jsonc diff --git a/src/plugins/maps_ems/public/index.ts b/src/platform/plugins/private/maps_ems/public/index.ts similarity index 100% rename from src/plugins/maps_ems/public/index.ts rename to src/platform/plugins/private/maps_ems/public/index.ts diff --git a/src/plugins/maps_ems/public/kibana_services.ts b/src/platform/plugins/private/maps_ems/public/kibana_services.ts similarity index 100% rename from src/plugins/maps_ems/public/kibana_services.ts rename to src/platform/plugins/private/maps_ems/public/kibana_services.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/index.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/index.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/index.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/index.ts diff --git a/src/plugins/maps_ems/public/plugin.ts b/src/platform/plugins/private/maps_ems/public/plugin.ts similarity index 100% rename from src/plugins/maps_ems/public/plugin.ts rename to src/platform/plugins/private/maps_ems/public/plugin.ts diff --git a/src/plugins/maps_ems/server/config.ts b/src/platform/plugins/private/maps_ems/server/config.ts similarity index 100% rename from src/plugins/maps_ems/server/config.ts rename to src/platform/plugins/private/maps_ems/server/config.ts diff --git a/src/plugins/maps_ems/server/index.ts b/src/platform/plugins/private/maps_ems/server/index.ts similarity index 100% rename from src/plugins/maps_ems/server/index.ts rename to src/platform/plugins/private/maps_ems/server/index.ts diff --git a/src/plugins/maps_ems/server/plugin.ts b/src/platform/plugins/private/maps_ems/server/plugin.ts similarity index 100% rename from src/plugins/maps_ems/server/plugin.ts rename to src/platform/plugins/private/maps_ems/server/plugin.ts diff --git a/src/plugins/maps_ems/tsconfig.json b/src/platform/plugins/private/maps_ems/tsconfig.json similarity index 88% rename from src/plugins/maps_ems/tsconfig.json rename to src/platform/plugins/private/maps_ems/tsconfig.json index 95c001e37d28d..8fe46eb8a885f 100644 --- a/src/plugins/maps_ems/tsconfig.json +++ b/src/platform/plugins/private/maps_ems/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/presentation_panel/README.md b/src/platform/plugins/private/presentation_panel/README.md similarity index 100% rename from src/plugins/presentation_panel/README.md rename to src/platform/plugins/private/presentation_panel/README.md diff --git a/src/plugins/presentation_panel/common/index.ts b/src/platform/plugins/private/presentation_panel/common/index.ts similarity index 100% rename from src/plugins/presentation_panel/common/index.ts rename to src/platform/plugins/private/presentation_panel/common/index.ts diff --git a/src/platform/plugins/private/presentation_panel/jest.config.js b/src/platform/plugins/private/presentation_panel/jest.config.js new file mode 100644 index 0000000000000..e8ee68f6a0047 --- /dev/null +++ b/src/platform/plugins/private/presentation_panel/jest.config.js @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/presentation_panel'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/presentation_panel', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/presentation_panel/{common,public,server}/**/*.{ts,tsx}', + ], + setupFiles: ['/src/platform/plugins/private/presentation_panel/jest_setup.ts'], +}; diff --git a/src/plugins/embeddable/jest_setup.ts b/src/platform/plugins/private/presentation_panel/jest_setup.ts similarity index 100% rename from src/plugins/embeddable/jest_setup.ts rename to src/platform/plugins/private/presentation_panel/jest_setup.ts diff --git a/src/plugins/presentation_panel/kibana.jsonc b/src/platform/plugins/private/presentation_panel/kibana.jsonc similarity index 100% rename from src/plugins/presentation_panel/kibana.jsonc rename to src/platform/plugins/private/presentation_panel/kibana.jsonc diff --git a/src/plugins/presentation_panel/public/index.ts b/src/platform/plugins/private/presentation_panel/public/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/index.ts rename to src/platform/plugins/private/presentation_panel/public/index.ts diff --git a/src/plugins/presentation_panel/public/kibana_services.ts b/src/platform/plugins/private/presentation_panel/public/kibana_services.ts similarity index 100% rename from src/plugins/presentation_panel/public/kibana_services.ts rename to src/platform/plugins/private/presentation_panel/public/kibana_services.ts diff --git a/src/plugins/presentation_panel/public/mocks.tsx b/src/platform/plugins/private/presentation_panel/public/mocks.tsx similarity index 100% rename from src/plugins/presentation_panel/public/mocks.tsx rename to src/platform/plugins/private/presentation_panel/public/mocks.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/index.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/index.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/panel_actions.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/panel_actions.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/triggers.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/triggers.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/triggers.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/triggers.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/types.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/types.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/types.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/types.ts diff --git a/src/plugins/presentation_panel/public/panel_component/_presentation_panel.scss b/src/platform/plugins/private/presentation_panel/public/panel_component/_presentation_panel.scss similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/_presentation_panel.scss rename to src/platform/plugins/private/presentation_panel/public/panel_component/_presentation_panel.scss diff --git a/src/plugins/presentation_panel/public/panel_component/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/index.ts diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_error.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_error.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_strings.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_strings.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_strings.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_strings.ts diff --git a/src/plugins/presentation_panel/public/panel_component/types.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/types.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/types.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/types.ts diff --git a/src/plugins/presentation_panel/public/plugin.ts b/src/platform/plugins/private/presentation_panel/public/plugin.ts similarity index 100% rename from src/plugins/presentation_panel/public/plugin.ts rename to src/platform/plugins/private/presentation_panel/public/plugin.ts diff --git a/src/plugins/presentation_panel/tsconfig.json b/src/platform/plugins/private/presentation_panel/tsconfig.json similarity index 85% rename from src/plugins/presentation_panel/tsconfig.json rename to src/platform/plugins/private/presentation_panel/tsconfig.json index eb600c8e3e0cc..f607e5bbb2169 100644 --- a/src/plugins/presentation_panel/tsconfig.json +++ b/src/platform/plugins/private/presentation_panel/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": ["*.ts", "common/**/*", "public/**/*", "../../../typings/**/*"], + "include": ["*.ts", "common/**/*", "public/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/ui-actions-plugin", diff --git a/src/plugins/vis_type_markdown/README.md b/src/platform/plugins/private/vis_type_markdown/README.md similarity index 100% rename from src/plugins/vis_type_markdown/README.md rename to src/platform/plugins/private/vis_type_markdown/README.md diff --git a/src/platform/plugins/private/vis_type_markdown/jest.config.js b/src/platform/plugins/private/vis_type_markdown/jest.config.js new file mode 100644 index 0000000000000..0c58e9615255f --- /dev/null +++ b/src/platform/plugins/private/vis_type_markdown/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/vis_type_markdown'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_type_markdown', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_type_markdown/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/vis_type_markdown/kibana.jsonc b/src/platform/plugins/private/vis_type_markdown/kibana.jsonc similarity index 100% rename from src/plugins/vis_type_markdown/kibana.jsonc rename to src/platform/plugins/private/vis_type_markdown/kibana.jsonc diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_type_markdown/public/index.ts b/src/platform/plugins/private/vis_type_markdown/public/index.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/index.ts rename to src/platform/plugins/private/vis_type_markdown/public/index.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.test.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_fn.test.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_fn.test.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_fn.test.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_fn.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_fn.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_fn.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_options.test.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_options.test.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_options.test.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_options.test.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_options.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_options.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_options.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_options.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_renderer.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_renderer.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_renderer.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_renderer.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.scss b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis.scss similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis.scss rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis.scss diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.test.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.test.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.tsx diff --git a/src/plugins/vis_type_markdown/public/plugin.ts b/src/platform/plugins/private/vis_type_markdown/public/plugin.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/plugin.ts rename to src/platform/plugins/private/vis_type_markdown/public/plugin.ts diff --git a/src/plugins/vis_type_markdown/public/settings_options.tsx b/src/platform/plugins/private/vis_type_markdown/public/settings_options.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/settings_options.tsx rename to src/platform/plugins/private/vis_type_markdown/public/settings_options.tsx diff --git a/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx b/src/platform/plugins/private/vis_type_markdown/public/settings_options_lazy.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/settings_options_lazy.tsx rename to src/platform/plugins/private/vis_type_markdown/public/settings_options_lazy.tsx diff --git a/src/plugins/vis_type_markdown/public/to_ast.test.ts b/src/platform/plugins/private/vis_type_markdown/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/to_ast.test.ts rename to src/platform/plugins/private/vis_type_markdown/public/to_ast.test.ts diff --git a/src/plugins/vis_type_markdown/public/to_ast.ts b/src/platform/plugins/private/vis_type_markdown/public/to_ast.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/to_ast.ts rename to src/platform/plugins/private/vis_type_markdown/public/to_ast.ts diff --git a/src/plugins/vis_type_markdown/public/types.ts b/src/platform/plugins/private/vis_type_markdown/public/types.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/types.ts rename to src/platform/plugins/private/vis_type_markdown/public/types.ts diff --git a/src/plugins/vis_type_markdown/server/config.ts b/src/platform/plugins/private/vis_type_markdown/server/config.ts similarity index 100% rename from src/plugins/vis_type_markdown/server/config.ts rename to src/platform/plugins/private/vis_type_markdown/server/config.ts diff --git a/src/plugins/vis_type_markdown/server/index.ts b/src/platform/plugins/private/vis_type_markdown/server/index.ts similarity index 100% rename from src/plugins/vis_type_markdown/server/index.ts rename to src/platform/plugins/private/vis_type_markdown/server/index.ts diff --git a/src/plugins/vis_type_markdown/tsconfig.json b/src/platform/plugins/private/vis_type_markdown/tsconfig.json similarity index 90% rename from src/plugins/vis_type_markdown/tsconfig.json rename to src/platform/plugins/private/vis_type_markdown/tsconfig.json index dbe601fad3f35..296f05fdbc559 100644 --- a/src/plugins/vis_type_markdown/tsconfig.json +++ b/src/platform/plugins/private/vis_type_markdown/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/controls/README.mdx b/src/platform/plugins/shared/controls/README.mdx similarity index 100% rename from src/plugins/controls/README.mdx rename to src/platform/plugins/shared/controls/README.mdx diff --git a/src/plugins/controls/common/constants.ts b/src/platform/plugins/shared/controls/common/constants.ts similarity index 100% rename from src/plugins/controls/common/constants.ts rename to src/platform/plugins/shared/controls/common/constants.ts diff --git a/src/plugins/controls/common/control_group/index.ts b/src/platform/plugins/shared/controls/common/control_group/index.ts similarity index 100% rename from src/plugins/controls/common/control_group/index.ts rename to src/platform/plugins/shared/controls/common/control_group/index.ts diff --git a/src/plugins/controls/common/control_group/types.ts b/src/platform/plugins/shared/controls/common/control_group/types.ts similarity index 100% rename from src/plugins/controls/common/control_group/types.ts rename to src/platform/plugins/shared/controls/common/control_group/types.ts diff --git a/src/plugins/controls/common/index.ts b/src/platform/plugins/shared/controls/common/index.ts similarity index 100% rename from src/plugins/controls/common/index.ts rename to src/platform/plugins/shared/controls/common/index.ts diff --git a/src/plugins/controls/common/options_list/index.ts b/src/platform/plugins/shared/controls/common/options_list/index.ts similarity index 100% rename from src/plugins/controls/common/options_list/index.ts rename to src/platform/plugins/shared/controls/common/options_list/index.ts diff --git a/src/plugins/controls/common/options_list/ip_search.test.ts b/src/platform/plugins/shared/controls/common/options_list/ip_search.test.ts similarity index 100% rename from src/plugins/controls/common/options_list/ip_search.test.ts rename to src/platform/plugins/shared/controls/common/options_list/ip_search.test.ts diff --git a/src/plugins/controls/common/options_list/ip_search.ts b/src/platform/plugins/shared/controls/common/options_list/ip_search.ts similarity index 100% rename from src/plugins/controls/common/options_list/ip_search.ts rename to src/platform/plugins/shared/controls/common/options_list/ip_search.ts diff --git a/src/plugins/controls/common/options_list/is_valid_search.test.ts b/src/platform/plugins/shared/controls/common/options_list/is_valid_search.test.ts similarity index 100% rename from src/plugins/controls/common/options_list/is_valid_search.test.ts rename to src/platform/plugins/shared/controls/common/options_list/is_valid_search.test.ts diff --git a/src/plugins/controls/common/options_list/is_valid_search.ts b/src/platform/plugins/shared/controls/common/options_list/is_valid_search.ts similarity index 100% rename from src/plugins/controls/common/options_list/is_valid_search.ts rename to src/platform/plugins/shared/controls/common/options_list/is_valid_search.ts diff --git a/src/plugins/controls/common/options_list/options_list_selections.ts b/src/platform/plugins/shared/controls/common/options_list/options_list_selections.ts similarity index 100% rename from src/plugins/controls/common/options_list/options_list_selections.ts rename to src/platform/plugins/shared/controls/common/options_list/options_list_selections.ts diff --git a/src/plugins/controls/common/options_list/suggestions_searching.ts b/src/platform/plugins/shared/controls/common/options_list/suggestions_searching.ts similarity index 100% rename from src/plugins/controls/common/options_list/suggestions_searching.ts rename to src/platform/plugins/shared/controls/common/options_list/suggestions_searching.ts diff --git a/src/plugins/controls/common/options_list/suggestions_sorting.ts b/src/platform/plugins/shared/controls/common/options_list/suggestions_sorting.ts similarity index 100% rename from src/plugins/controls/common/options_list/suggestions_sorting.ts rename to src/platform/plugins/shared/controls/common/options_list/suggestions_sorting.ts diff --git a/src/plugins/controls/common/options_list/types.ts b/src/platform/plugins/shared/controls/common/options_list/types.ts similarity index 100% rename from src/plugins/controls/common/options_list/types.ts rename to src/platform/plugins/shared/controls/common/options_list/types.ts diff --git a/src/plugins/controls/common/types.ts b/src/platform/plugins/shared/controls/common/types.ts similarity index 100% rename from src/plugins/controls/common/types.ts rename to src/platform/plugins/shared/controls/common/types.ts diff --git a/src/plugins/expression_metric/jest.config.js b/src/platform/plugins/shared/controls/jest.config.js similarity index 68% rename from src/plugins/expression_metric/jest.config.js rename to src/platform/plugins/shared/controls/jest.config.js index 331dafefe3305..db23370d3b588 100644 --- a/src/plugins/expression_metric/jest.config.js +++ b/src/platform/plugins/shared/controls/jest.config.js @@ -9,11 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_metric', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/controls'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/controls', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_metric/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/controls/{common,public,server}/**/*.{ts,tsx}', ], + setupFiles: ['/src/platform/plugins/shared/controls/jest_setup.ts'], }; diff --git a/src/plugins/controls/jest_setup.ts b/src/platform/plugins/shared/controls/jest_setup.ts similarity index 100% rename from src/plugins/controls/jest_setup.ts rename to src/platform/plugins/shared/controls/jest_setup.ts diff --git a/src/plugins/controls/kibana.jsonc b/src/platform/plugins/shared/controls/kibana.jsonc similarity index 100% rename from src/plugins/controls/kibana.jsonc rename to src/platform/plugins/shared/controls/kibana.jsonc diff --git a/src/plugins/controls/public/actions/clear_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/clear_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/clear_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/clear_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/clear_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/clear_control_action.tsx diff --git a/src/plugins/controls/public/actions/clear_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/clear_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/clear_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/delete_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/delete_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/delete_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/delete_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/delete_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/delete_control_action.tsx diff --git a/src/plugins/controls/public/actions/delete_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/delete_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/delete_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/edit_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/edit_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/edit_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/edit_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/edit_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/edit_control_action.tsx diff --git a/src/plugins/controls/public/actions/edit_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/edit_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/edit_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/index.ts b/src/platform/plugins/shared/controls/public/actions/index.ts similarity index 100% rename from src/plugins/controls/public/actions/index.ts rename to src/platform/plugins/shared/controls/public/actions/index.ts diff --git a/src/plugins/controls/public/constants.ts b/src/platform/plugins/shared/controls/public/constants.ts similarity index 100% rename from src/plugins/controls/public/constants.ts rename to src/platform/plugins/shared/controls/public/constants.ts diff --git a/src/plugins/controls/public/control_factory_registry.ts b/src/platform/plugins/shared/controls/public/control_factory_registry.ts similarity index 100% rename from src/plugins/controls/public/control_factory_registry.ts rename to src/platform/plugins/shared/controls/public/control_factory_registry.ts diff --git a/src/plugins/controls/public/control_group/components/control_clone.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_clone.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_clone.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_clone.tsx diff --git a/src/plugins/controls/public/control_group/components/control_error.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_error.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_error.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_error.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group.scss b/src/platform/plugins/shared/controls/public/control_group/components/control_group.scss similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group.scss rename to src/platform/plugins/shared/controls/public/control_group/components/control_group.scss diff --git a/src/plugins/controls/public/control_group/components/control_group.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group_editor.test.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group_editor.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.test.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group_editor.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group_editor.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.tsx diff --git a/src/plugins/controls/public/control_group/components/control_panel.scss b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.scss similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.scss rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.scss diff --git a/src/plugins/controls/public/control_group/components/control_panel.test.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.test.tsx diff --git a/src/plugins/controls/public/control_group/components/control_panel.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.tsx diff --git a/src/plugins/controls/public/control_group/components/control_renderer.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_renderer.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_renderer.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_renderer.tsx diff --git a/src/plugins/controls/public/control_group/components/control_setting_tooltip_label.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_setting_tooltip_label.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_setting_tooltip_label.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_setting_tooltip_label.tsx diff --git a/src/plugins/controls/public/control_group/control_fetch/chaining.test.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/chaining.test.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.test.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/chaining.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/chaining.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/control_fetch.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/control_fetch.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/control_fetch.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/control_fetch.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/control_group_fetch.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/control_group_fetch.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/control_group_fetch.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/control_group_fetch.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/index.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/index.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/index.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/index.ts diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/index.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/index.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/index.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/index.ts diff --git a/src/plugins/controls/public/control_group/control_group_renderer/types.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/types.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts diff --git a/src/plugins/controls/public/control_group/control_group_strings.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_strings.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_strings.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_strings.tsx diff --git a/src/plugins/controls/public/control_group/control_group_unsaved_changes_api.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_unsaved_changes_api.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_unsaved_changes_api.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_unsaved_changes_api.ts diff --git a/src/plugins/controls/public/control_group/get_control_group_factory.tsx b/src/platform/plugins/shared/controls/public/control_group/get_control_group_factory.tsx similarity index 100% rename from src/plugins/controls/public/control_group/get_control_group_factory.tsx rename to src/platform/plugins/shared/controls/public/control_group/get_control_group_factory.tsx diff --git a/src/plugins/controls/public/control_group/init_controls_manager.test.ts b/src/platform/plugins/shared/controls/public/control_group/init_controls_manager.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/init_controls_manager.test.ts rename to src/platform/plugins/shared/controls/public/control_group/init_controls_manager.test.ts diff --git a/src/plugins/controls/public/control_group/init_controls_manager.ts b/src/platform/plugins/shared/controls/public/control_group/init_controls_manager.ts similarity index 100% rename from src/plugins/controls/public/control_group/init_controls_manager.ts rename to src/platform/plugins/shared/controls/public/control_group/init_controls_manager.ts diff --git a/src/plugins/controls/public/control_group/open_edit_control_group_flyout.tsx b/src/platform/plugins/shared/controls/public/control_group/open_edit_control_group_flyout.tsx similarity index 100% rename from src/plugins/controls/public/control_group/open_edit_control_group_flyout.tsx rename to src/platform/plugins/shared/controls/public/control_group/open_edit_control_group_flyout.tsx diff --git a/src/plugins/controls/public/control_group/register_control_group_embeddable.ts b/src/platform/plugins/shared/controls/public/control_group/register_control_group_embeddable.ts similarity index 100% rename from src/plugins/controls/public/control_group/register_control_group_embeddable.ts rename to src/platform/plugins/shared/controls/public/control_group/register_control_group_embeddable.ts diff --git a/src/plugins/controls/public/control_group/selections_manager.test.ts b/src/platform/plugins/shared/controls/public/control_group/selections_manager.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/selections_manager.test.ts rename to src/platform/plugins/shared/controls/public/control_group/selections_manager.test.ts diff --git a/src/plugins/controls/public/control_group/selections_manager.ts b/src/platform/plugins/shared/controls/public/control_group/selections_manager.ts similarity index 100% rename from src/plugins/controls/public/control_group/selections_manager.ts rename to src/platform/plugins/shared/controls/public/control_group/selections_manager.ts diff --git a/src/plugins/controls/public/control_group/types.ts b/src/platform/plugins/shared/controls/public/control_group/types.ts similarity index 100% rename from src/plugins/controls/public/control_group/types.ts rename to src/platform/plugins/shared/controls/public/control_group/types.ts diff --git a/src/plugins/controls/public/control_group/utils/control_group_state_builder.ts b/src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/control_group_state_builder.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts diff --git a/src/plugins/controls/public/control_group/utils/initialization_utils.ts b/src/platform/plugins/shared/controls/public/control_group/utils/initialization_utils.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/initialization_utils.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/initialization_utils.ts diff --git a/src/plugins/controls/public/control_group/utils/is_compressed.test.ts b/src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/is_compressed.test.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.test.ts diff --git a/src/plugins/controls/public/control_group/utils/is_compressed.ts b/src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/is_compressed.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.ts diff --git a/src/plugins/controls/public/control_group/utils/serialization_utils.ts b/src/platform/plugins/shared/controls/public/control_group/utils/serialization_utils.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/serialization_utils.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/serialization_utils.ts diff --git a/src/plugins/controls/public/controls/constants.ts b/src/platform/plugins/shared/controls/public/controls/constants.ts similarity index 100% rename from src/plugins/controls/public/controls/constants.ts rename to src/platform/plugins/shared/controls/public/controls/constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/data_control_constants.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_constants.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_constants.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_constants.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor_utils.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor_utils.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor_utils.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor_utils.ts diff --git a/src/plugins/controls/public/controls/data_controls/editor_constants.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/editor_constants.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/editor_constants.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/editor_constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/initialize_data_control.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/initialize_data_control.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/initialize_data_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/initialize_data_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/mocks/api_mocks.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/mocks/api_mocks.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/mocks/api_mocks.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/mocks/api_mocks.tsx diff --git a/src/plugins/controls/public/controls/data_controls/mocks/factory_mocks.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/mocks/factory_mocks.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/mocks/factory_mocks.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/mocks/factory_mocks.tsx diff --git a/src/plugins/controls/public/controls/data_controls/open_data_control_editor.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/open_data_control_editor.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/open_data_control_editor.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/open_data_control_editor.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list.scss b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list.scss similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list.scss rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list.scss diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/constants.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/constants.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/constants.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_strings.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_strings.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_strings.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/types.ts diff --git a/src/plugins/controls/public/controls/data_controls/publishes_async_filters.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/publishes_async_filters.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/publishes_async_filters.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/publishes_async_filters.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/has_no_results.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/has_no_results.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/has_no_results.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/has_no_results.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/min_max.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/min_max.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/min_max.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/min_max.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/range_control_selections.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_control_selections.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/range_control_selections.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_control_selections.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/range_slider_strings.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_slider_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/range_slider_strings.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_slider_strings.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/types.ts diff --git a/src/plugins/controls/public/controls/data_controls/reference_name_utils.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/reference_name_utils.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/reference_name_utils.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/reference_name_utils.ts diff --git a/src/plugins/controls/public/controls/data_controls/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/types.ts diff --git a/src/plugins/controls/public/controls/initialize_default_control_api.tsx b/src/platform/plugins/shared/controls/public/controls/initialize_default_control_api.tsx similarity index 100% rename from src/plugins/controls/public/controls/initialize_default_control_api.tsx rename to src/platform/plugins/shared/controls/public/controls/initialize_default_control_api.tsx diff --git a/src/plugins/controls/public/controls/mocks/control_mocks.ts b/src/platform/plugins/shared/controls/public/controls/mocks/control_mocks.ts similarity index 100% rename from src/plugins/controls/public/controls/mocks/control_mocks.ts rename to src/platform/plugins/shared/controls/public/controls/mocks/control_mocks.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/components/index.scss b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/index.scss similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/index.scss rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/index.scss diff --git a/src/plugins/controls/public/controls/timeslider_control/components/play_button.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/play_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/play_button.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/play_button.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx diff --git a/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx new file mode 100644 index 0000000000000..5bf94109d3b9f --- /dev/null +++ b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx @@ -0,0 +1,125 @@ +/* + * 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 React from 'react'; +import { useMemo, useEffect, useState } from 'react'; +import { debounce } from 'lodash'; +import { EuiButtonIcon, EuiRangeTick, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; + +import { TimeSliderStrings } from './time_slider_strings'; +import { TimeSliderAnchoredRange } from './time_slider_anchored_range'; +import { TimeSliderSlidingWindowRange } from './time_slider_sliding_window_range'; +import { Timeslice } from '../types'; + +interface Props { + isAnchored: boolean; + setIsAnchored: (isAnchored: boolean) => void; + value: Timeslice; + onChange: (value?: Timeslice) => void; + stepSize: number; + ticks: EuiRangeTick[]; + timeRangeMin: number; + timeRangeMax: number; + compressed: boolean; +} + +export function TimeSliderPopoverContent({ + isAnchored, + setIsAnchored, + value, + onChange, + stepSize, + ticks, + timeRangeMin, + timeRangeMax, + compressed, +}: Props) { + const [displayedValue, setDisplayedValue] = useState(value); + + const debouncedOnChange = useMemo( + () => + debounce((updateTimeslice: Timeslice | undefined) => { + onChange(updateTimeslice); + }, 750), + [onChange] + ); + + /** + * The following `useEffect` ensures that the changes to the value that come from the embeddable (for example, + * from the `clear` button on the dashboard) are reflected in the displayed value + */ + useEffect(() => { + setDisplayedValue(value); + }, [value]); + + const rangeInput = isAnchored ? ( + { + setDisplayedValue(newValue as Timeslice); + debouncedOnChange(newValue); + }} + stepSize={stepSize} + ticks={ticks} + timeRangeMin={timeRangeMin} + timeRangeMax={timeRangeMax} + compressed={compressed} + /> + ) : ( + { + setDisplayedValue(newValue as Timeslice); + debouncedOnChange(newValue); + }} + stepSize={stepSize} + ticks={ticks} + timeRangeMin={timeRangeMin} + timeRangeMax={timeRangeMax} + compressed={compressed} + /> + ); + const anchorStartToggleButtonLabel = isAnchored + ? TimeSliderStrings.control.getUnpinStart() + : TimeSliderStrings.control.getPinStart(); + + return ( + { + // when the pin is dropped (on mouse up), cancel any pending debounced changes and force the change + // in value to happen instantly (which, in turn, will re-calculate the from/to for the slider due to + // the `useEffect` above. + debouncedOnChange.cancel(); + onChange(displayedValue); + }} + > + + + { + const nextIsAnchored = !isAnchored; + if (nextIsAnchored) { + onChange([timeRangeMin, value[1]]); + } + setIsAnchored(nextIsAnchored); + }} + aria-label={anchorStartToggleButtonLabel} + data-test-subj="timeSlider__anchorStartToggleButton" + /> + + + {rangeInput} + + ); +} diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_strings.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_strings.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_strings.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/get_time_range_meta.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_time_range_meta.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_time_range_meta.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_time_range_meta.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx similarity index 98% rename from src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx index 59ad0a2a5076c..7e81fa075334e 100644 --- a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx +++ b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx @@ -270,7 +270,6 @@ export const getTimesliderControlFactory = (): ControlFactory< Component: (controlPanelClassNames) => { const [isAnchored, isPopoverOpen, timeRangeMeta, timeslice] = useBatchedPublishingSubjects(isAnchored$, isPopoverOpen$, timeRangeMeta$, timeslice$); - useEffect(() => { return () => { cleanupTimeRangeSubscription(); @@ -284,6 +283,9 @@ export const getTimesliderControlFactory = (): ControlFactory< const to = useMemo(() => { return timeslice ? timeslice[TO_INDEX] : timeRangeMeta.timeRangeMax; }, [timeslice, timeRangeMeta.timeRangeMax]); + const value: Timeslice = useMemo(() => { + return [from, to]; + }, [from, to]); return ( { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it does not take a query, params, or a body, so there is no chance of leaking info.', + }, + }, validate: false, }, async (context, _, response) => { diff --git a/src/plugins/controls/server/options_list/options_list_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_embeddable_factory.ts diff --git a/src/plugins/controls/server/options_list/options_list_persistable_state.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_persistable_state.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts diff --git a/src/plugins/controls/server/options_list/options_list_suggestions_route.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts similarity index 95% rename from src/plugins/controls/server/options_list/options_list_suggestions_route.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts index 5ec0ec8642222..63176c31b3b7f 100644 --- a/src/plugins/controls/server/options_list/options_list_suggestions_route.ts +++ b/src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts @@ -14,7 +14,7 @@ import { CoreSetup, ElasticsearchClient } from '@kbn/core/server'; import { getKbnServerError, reportServerError } from '@kbn/kibana-utils-plugin/server'; import { PluginSetup as UnifiedSearchPluginSetup } from '@kbn/unified-search-plugin/server'; -import type { SearchRequest } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { SearchRequest } from '@elastic/elasticsearch/lib/api/types'; import { OptionsListRequestBody, OptionsListResponse } from '../../common/options_list/types'; import { getValidationAggregationBuilder } from './options_list_validation_queries'; import { getSuggestionAggregationBuilder } from './suggestion_queries'; @@ -33,6 +33,13 @@ export const setupOptionsListSuggestionsRoute = ( .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { params: schema.object( @@ -118,7 +125,7 @@ export const setupOptionsListSuggestionsRoute = ( ? {} : validationBuilder.buildAggregation(request); - const body: SearchRequest['body'] = { + const body: SearchRequest = { size: 0, ...timeoutSettings, query: { diff --git a/src/plugins/controls/server/options_list/options_list_validation_queries.test.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_validation_queries.test.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.test.ts diff --git a/src/plugins/controls/server/options_list/options_list_validation_queries.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_validation_queries.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/index.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/index.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/index.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/index.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts diff --git a/src/plugins/controls/server/options_list/types.ts b/src/platform/plugins/shared/controls/server/options_list/types.ts similarity index 100% rename from src/plugins/controls/server/options_list/types.ts rename to src/platform/plugins/shared/controls/server/options_list/types.ts diff --git a/src/plugins/controls/server/plugin.ts b/src/platform/plugins/shared/controls/server/plugin.ts similarity index 100% rename from src/plugins/controls/server/plugin.ts rename to src/platform/plugins/shared/controls/server/plugin.ts diff --git a/src/plugins/controls/server/range_slider/range_slider_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/range_slider/range_slider_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/range_slider/range_slider_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/range_slider/range_slider_embeddable_factory.ts diff --git a/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts b/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/range_slider/range_slider_persistable_state.ts rename to src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts diff --git a/src/plugins/controls/server/time_slider/time_slider_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/time_slider/time_slider_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/time_slider/time_slider_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/time_slider/time_slider_embeddable_factory.ts diff --git a/src/plugins/controls/server/time_slider/time_slider_persistable_state.ts b/src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/time_slider/time_slider_persistable_state.ts rename to src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts diff --git a/src/plugins/controls/tsconfig.json b/src/platform/plugins/shared/controls/tsconfig.json similarity index 92% rename from src/plugins/controls/tsconfig.json rename to src/platform/plugins/shared/controls/tsconfig.json index 79bd194990cb2..6ca631c6886e3 100644 --- a/src/plugins/controls/tsconfig.json +++ b/src/platform/plugins/shared/controls/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,7 @@ "public/**/*", "public/**/*.json", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", "./jest_setup.ts" ], "kbn_references": [ diff --git a/src/plugins/dashboard/.storybook/main.js b/src/platform/plugins/shared/dashboard/.storybook/main.js similarity index 100% rename from src/plugins/dashboard/.storybook/main.js rename to src/platform/plugins/shared/dashboard/.storybook/main.js diff --git a/src/plugins/dashboard/README.asciidoc b/src/platform/plugins/shared/dashboard/README.asciidoc similarity index 100% rename from src/plugins/dashboard/README.asciidoc rename to src/platform/plugins/shared/dashboard/README.asciidoc diff --git a/src/plugins/dashboard/README.md b/src/platform/plugins/shared/dashboard/README.md similarity index 100% rename from src/plugins/dashboard/README.md rename to src/platform/plugins/shared/dashboard/README.md diff --git a/src/plugins/dashboard/common/bwc/types.ts b/src/platform/plugins/shared/dashboard/common/bwc/types.ts similarity index 100% rename from src/plugins/dashboard/common/bwc/types.ts rename to src/platform/plugins/shared/dashboard/common/bwc/types.ts diff --git a/src/plugins/dashboard/common/content_management/constants.ts b/src/platform/plugins/shared/dashboard/common/content_management/constants.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/constants.ts rename to src/platform/plugins/shared/dashboard/common/content_management/constants.ts diff --git a/src/plugins/dashboard/common/content_management/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/index.ts diff --git a/src/plugins/dashboard/common/content_management/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/types.ts diff --git a/src/plugins/dashboard/common/content_management/v1/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v1/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v1/index.ts diff --git a/src/plugins/dashboard/common/content_management/v1/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v1/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v1/types.ts diff --git a/src/plugins/dashboard/common/content_management/v2/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/v2/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v2/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v2/index.ts diff --git a/src/plugins/dashboard/common/content_management/v2/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/v2/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v2/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v2/types.ts diff --git a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts similarity index 99% rename from src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts index 3f7592878e2e7..15ed03bb1d7d1 100644 --- a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts +++ b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts @@ -10,7 +10,7 @@ import { createExtract, createInject } from './dashboard_container_references'; import { createEmbeddablePersistableStateServiceMock } from '@kbn/embeddable-plugin/common/mocks'; import { ParsedDashboardAttributesWithType } from '../../types'; -import { SavedObjectEmbeddableInput } from '@kbn/embeddable-plugin/public'; +import { SavedObjectEmbeddableInput } from '@kbn/embeddable-plugin/common'; const persistableStateService = createEmbeddablePersistableStateServiceMock(); diff --git a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts diff --git a/src/plugins/dashboard/common/dashboard_container/types.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/types.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts diff --git a/src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts b/src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts diff --git a/src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts b/src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts diff --git a/src/plugins/dashboard/common/index.ts b/src/platform/plugins/shared/dashboard/common/index.ts similarity index 98% rename from src/plugins/dashboard/common/index.ts rename to src/platform/plugins/shared/dashboard/common/index.ts index be2cedf889e85..c8c988d5c461e 100644 --- a/src/plugins/dashboard/common/index.ts +++ b/src/platform/plugins/shared/dashboard/common/index.ts @@ -32,6 +32,7 @@ export { prefixReferencesFromPanel } from './dashboard_container/persistable_sta export { convertPanelsArrayToPanelMap, convertPanelMapToPanelsArray, + generateNewPanelIds, } from './lib/dashboard_panel_converters'; export const UI_SETTINGS = { diff --git a/src/plugins/dashboard/common/lib/dashboard_panel_converters.ts b/src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts similarity index 100% rename from src/plugins/dashboard/common/lib/dashboard_panel_converters.ts rename to src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts diff --git a/src/plugins/dashboard/common/types.ts b/src/platform/plugins/shared/dashboard/common/types.ts similarity index 100% rename from src/plugins/dashboard/common/types.ts rename to src/platform/plugins/shared/dashboard/common/types.ts diff --git a/src/platform/plugins/shared/dashboard/jest.config.js b/src/platform/plugins/shared/dashboard/jest.config.js new file mode 100644 index 0000000000000..9c186c82cc50f --- /dev/null +++ b/src/platform/plugins/shared/dashboard/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/dashboard'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/dashboard', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/dashboard/{common,public,server}/**/*.{ts,tsx}', + ], + setupFiles: ['/src/platform/plugins/shared/dashboard/jest_setup.ts'], +}; diff --git a/src/plugins/dashboard/jest_setup.ts b/src/platform/plugins/shared/dashboard/jest_setup.ts similarity index 100% rename from src/plugins/dashboard/jest_setup.ts rename to src/platform/plugins/shared/dashboard/jest_setup.ts diff --git a/src/plugins/dashboard/kibana.jsonc b/src/platform/plugins/shared/dashboard/kibana.jsonc similarity index 100% rename from src/plugins/dashboard/kibana.jsonc rename to src/platform/plugins/shared/dashboard/kibana.jsonc diff --git a/src/plugins/dashboard/public/assets/dashboards_dark.svg b/src/platform/plugins/shared/dashboard/public/assets/dashboards_dark.svg similarity index 100% rename from src/plugins/dashboard/public/assets/dashboards_dark.svg rename to src/platform/plugins/shared/dashboard/public/assets/dashboards_dark.svg diff --git a/src/plugins/dashboard/public/assets/dashboards_light.svg b/src/platform/plugins/shared/dashboard/public/assets/dashboards_light.svg similarity index 100% rename from src/plugins/dashboard/public/assets/dashboards_light.svg rename to src/platform/plugins/shared/dashboard/public/assets/dashboards_light.svg diff --git a/src/plugins/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/clone_panel_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/clone_panel_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/clone_panel_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/clone_panel_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/expand_panel_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/expand_panel_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/expand_panel_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/expand_panel_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/export_csv_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/export_csv_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/export_csv_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/export_csv_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_actions/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/index.ts diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/are_panel_layouts_equal.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/are_panel_layouts_equal.ts diff --git a/src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/data_loading_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/data_loading_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/data_views_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/data_views_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/data_views_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/data_views_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts similarity index 96% rename from src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts index 5fcb6522b0152..cf1dd0e949d4c 100644 --- a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts +++ b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts @@ -41,6 +41,7 @@ import { initializeSearchSessionManager } from './search_session_manager'; import { initializeViewModeManager } from './view_mode_manager'; import { UnsavedPanelState } from '../dashboard_container/types'; import { initializeTrackContentfulRender } from './track_contentful_render'; +import { getSerializedState } from './get_serialized_state'; export function getDashboardApi({ creationOptions, @@ -110,9 +111,11 @@ export function getDashboardApi({ }); function getState() { const { panels, references: panelReferences } = panelsManager.internalApi.getState(); + const { state: unifiedSearchState, references: searchSourceReferences } = + unifiedSearchManager.internalApi.getState(); const dashboardState: DashboardState = { ...settingsManager.internalApi.getState(), - ...unifiedSearchManager.internalApi.getState(), + ...unifiedSearchState, panels, viewMode: viewModeManager.api.viewMode.value, }; @@ -130,6 +133,7 @@ export function getDashboardApi({ dashboardState, controlGroupReferences, panelReferences, + searchSourceReferences, }; } @@ -168,6 +172,7 @@ export function getDashboardApi({ unifiedSearchManager.internalApi.controlGroupReload$, unifiedSearchManager.internalApi.panelsReload$ ).pipe(debounceTime(0)), + getSerializedState: () => getSerializedState(getState()), runInteractiveSave: async () => { trackOverlayApi.clearOverlays(); const saveResult = await openSaveModal({ @@ -197,11 +202,13 @@ export function getDashboardApi({ }, runQuickSave: async () => { if (isManaged) return; - const { controlGroupReferences, dashboardState, panelReferences } = getState(); + const { controlGroupReferences, dashboardState, panelReferences, searchSourceReferences } = + getState(); const saveResult = await getDashboardContentManagementService().saveDashboardState({ controlGroupReferences, - currentState: dashboardState, + dashboardState, panelReferences, + searchSourceReferences, saveOptions: {}, lastSavedId: savedObjectId$.value, }); diff --git a/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts new file mode 100644 index 0000000000000..9cae8584e7f44 --- /dev/null +++ b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts @@ -0,0 +1,170 @@ +/* + * 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 { DashboardPanelState } from '../../common'; + +import { + dataService, + embeddableService, + savedObjectsTaggingService, +} from '../services/kibana_services'; +import { getSampleDashboardState } from '../mocks'; +import { getSerializedState } from './get_serialized_state'; + +dataService.search.searchSource.create = jest.fn().mockResolvedValue({ + setField: jest.fn(), + getSerializedFields: jest.fn().mockReturnValue({}), +}); + +dataService.query.timefilter.timefilter.getTime = jest + .fn() + .mockReturnValue({ from: 'now-15m', to: 'now' }); + +dataService.query.timefilter.timefilter.getRefreshInterval = jest + .fn() + .mockReturnValue({ pause: true, value: 0 }); + +embeddableService.extract = jest + .fn() + .mockImplementation((attributes) => ({ state: attributes, references: [] })); + +if (savedObjectsTaggingService) { + savedObjectsTaggingService.getTaggingApi = jest.fn().mockReturnValue({ + ui: { + updateTagsReferences: jest.fn((references, tags) => references), + }, + }); +} + +jest.mock('uuid', () => ({ + v4: jest.fn().mockReturnValue('54321'), +})); + +describe('getSerializedState', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should return the current state attributes and references', () => { + const dashboardState = getSampleDashboardState(); + const result = getSerializedState({ + controlGroupReferences: [], + generateNewIds: false, + dashboardState, + panelReferences: [], + searchSourceReferences: [], + }); + + expect(result.attributes).toMatchInlineSnapshot(` + Object { + "controlGroupInput": undefined, + "description": "", + "kibanaSavedObjectMeta": Object { + "searchSource": Object { + "filter": Array [], + "query": Object { + "language": "kuery", + "query": "hi", + }, + }, + }, + "options": Object { + "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "useMargins": true, + }, + "panels": Array [], + "refreshInterval": undefined, + "timeFrom": undefined, + "timeRestore": false, + "timeTo": undefined, + "title": "My Dashboard", + "version": 3, + } + `); + expect(result.references).toEqual([]); + }); + + it('should generate new IDs for panels and references when generateNewIds is true', () => { + const dashboardState = { + ...getSampleDashboardState(), + panels: { oldPanelId: { type: 'visualization' } as unknown as DashboardPanelState }, + }; + const result = getSerializedState({ + controlGroupReferences: [], + generateNewIds: true, + dashboardState, + panelReferences: [ + { + name: 'oldPanelId:indexpattern_foobar', + type: 'index-pattern', + id: 'bizzbuzz', + }, + ], + searchSourceReferences: [], + }); + + expect(result.attributes.panels).toMatchInlineSnapshot(` + Array [ + Object { + "gridData": Object { + "i": "54321", + }, + "panelConfig": Object {}, + "panelIndex": "54321", + "type": "visualization", + "version": undefined, + }, + ] + `); + expect(result.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "bizzbuzz", + "name": "54321:indexpattern_foobar", + "type": "index-pattern", + }, + ] + `); + }); + + it('should include control group references', () => { + const dashboardState = getSampleDashboardState(); + const controlGroupReferences = [ + { name: 'control1:indexpattern', type: 'index-pattern', id: 'foobar' }, + ]; + const result = getSerializedState({ + controlGroupReferences, + generateNewIds: false, + dashboardState, + panelReferences: [], + searchSourceReferences: [], + }); + + expect(result.references).toEqual(controlGroupReferences); + }); + + it('should include panel references', () => { + const dashboardState = getSampleDashboardState(); + const panelReferences = [ + { name: 'panel1:boogiewoogie', type: 'index-pattern', id: 'fizzbuzz' }, + ]; + const result = getSerializedState({ + controlGroupReferences: [], + generateNewIds: false, + dashboardState, + panelReferences, + searchSourceReferences: [], + }); + + expect(result.references).toEqual(panelReferences); + }); +}); diff --git a/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts new file mode 100644 index 0000000000000..5c0377adf175d --- /dev/null +++ b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts @@ -0,0 +1,150 @@ +/* + * 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 { pick } from 'lodash'; +import moment, { Moment } from 'moment'; +import { RefreshInterval } from '@kbn/data-plugin/public'; + +import type { Reference } from '@kbn/content-management-utils'; +import { convertPanelMapToPanelsArray, extractReferences, generateNewPanelIds } from '../../common'; +import type { DashboardAttributes } from '../../server'; + +import { convertDashboardVersionToNumber } from '../services/dashboard_content_management_service/lib/dashboard_versioning'; +import { + dataService, + embeddableService, + savedObjectsTaggingService, +} from '../services/kibana_services'; +import { LATEST_DASHBOARD_CONTAINER_VERSION } from '../dashboard_container'; +import { DashboardState } from './types'; + +export const convertTimeToUTCString = (time?: string | Moment): undefined | string => { + if (moment(time).isValid()) { + return moment(time).utc().format('YYYY-MM-DDTHH:mm:ss.SSS[Z]'); + } else { + // If it's not a valid moment date, then it should be a string representing a relative time + // like 'now' or 'now-15m'. + return time as string; + } +}; + +export const getSerializedState = ({ + controlGroupReferences, + generateNewIds, + dashboardState, + panelReferences, + searchSourceReferences, +}: { + controlGroupReferences?: Reference[]; + generateNewIds?: boolean; + dashboardState: DashboardState; + panelReferences?: Reference[]; + searchSourceReferences?: Reference[]; +}) => { + const { + query: { + timefilter: { timefilter }, + }, + } = dataService; + + const { + tags, + query, + title, + filters, + timeRestore, + description, + + // Dashboard options + useMargins, + syncColors, + syncCursor, + syncTooltips, + hidePanelTitles, + controlGroupInput, + } = dashboardState; + + let { panels } = dashboardState; + let prefixedPanelReferences = panelReferences; + if (generateNewIds) { + const { panels: newPanels, references: newPanelReferences } = generateNewPanelIds( + panels, + panelReferences + ); + panels = newPanels; + prefixedPanelReferences = newPanelReferences; + // + // do not need to generate new ids for controls. + // ControlGroup Component is keyed on dashboard id so changing dashboard id mounts new ControlGroup Component. + // + } + + const searchSource = { filter: filters, query }; + const options = { + useMargins, + syncColors, + syncCursor, + syncTooltips, + hidePanelTitles, + }; + const savedPanels = convertPanelMapToPanelsArray(panels, true); + + /** + * Parse global time filter settings + */ + const { from, to } = timefilter.getTime(); + const timeFrom = timeRestore ? convertTimeToUTCString(from) : undefined; + const timeTo = timeRestore ? convertTimeToUTCString(to) : undefined; + const refreshInterval = timeRestore + ? (pick(timefilter.getRefreshInterval(), [ + 'display', + 'pause', + 'section', + 'value', + ]) as RefreshInterval) + : undefined; + + const rawDashboardAttributes: DashboardAttributes = { + version: convertDashboardVersionToNumber(LATEST_DASHBOARD_CONTAINER_VERSION), + controlGroupInput: controlGroupInput as DashboardAttributes['controlGroupInput'], + kibanaSavedObjectMeta: { searchSource }, + description: description ?? '', + refreshInterval, + timeRestore, + options, + panels: savedPanels, + timeFrom, + title, + timeTo, + }; + + /** + * Extract references from raw attributes and tags into the references array. + */ + const { attributes, references: dashboardReferences } = extractReferences( + { + attributes: rawDashboardAttributes, + references: searchSourceReferences ?? [], + }, + { embeddablePersistableStateService: embeddableService } + ); + + const savedObjectsTaggingApi = savedObjectsTaggingService?.getTaggingApi(); + const references = savedObjectsTaggingApi?.ui.updateTagsReferences + ? savedObjectsTaggingApi?.ui.updateTagsReferences(dashboardReferences, tags) + : dashboardReferences; + + const allReferences = [ + ...references, + ...(prefixedPanelReferences ?? []), + ...(controlGroupReferences ?? []), + ...(searchSourceReferences ?? []), + ]; + return { attributes, references: allReferences }; +}; diff --git a/src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/load_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/load_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx similarity index 97% rename from src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx index e5b2676d7198f..567fd1dcf98f6 100644 --- a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx +++ b/src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx @@ -32,6 +32,7 @@ export async function openSaveModal({ isManaged, lastSavedId, panelReferences, + searchSourceReferences, viewMode, }: { controlGroupReferences?: Reference[]; @@ -39,6 +40,7 @@ export async function openSaveModal({ isManaged: boolean; lastSavedId: string | undefined; panelReferences: Reference[]; + searchSourceReferences: Reference[]; viewMode: ViewMode; }) { if (viewMode === 'edit' && isManaged) { @@ -101,8 +103,9 @@ export async function openSaveModal({ const saveResult = await dashboardContentManagementService.saveDashboardState({ controlGroupReferences, panelReferences, + searchSourceReferences, saveOptions, - currentState: dashboardStateToSave, + dashboardState: dashboardStateToSave, lastSavedId, }); diff --git a/src/plugins/dashboard/public/dashboard_api/panels_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/panels_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/panels_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/panels_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/search_session_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/search_session_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/search_session_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/search_session_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/settings_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/settings_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/settings_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/settings_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_overlay.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_overlay.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_overlay.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_overlay.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_panel.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_panel.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_panel.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_panel.ts diff --git a/src/plugins/dashboard/public/dashboard_api/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts similarity index 97% rename from src/plugins/dashboard/public/dashboard_api/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts index 54b540d575695..73e7e9422641f 100644 --- a/src/plugins/dashboard/public/dashboard_api/types.ts +++ b/src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts @@ -53,6 +53,7 @@ import { IKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; import { PublishesReload } from '@kbn/presentation-publishing/interfaces/fetch/publishes_reload'; import { PublishesSearchSession } from '@kbn/presentation-publishing/interfaces/fetch/publishes_search_session'; import { LocatorPublic } from '@kbn/share-plugin/common'; +import type { SavedObjectReference } from '@kbn/core-saved-objects-api-server'; import { DashboardPanelMap, DashboardPanelState } from '../../common'; import type { DashboardAttributes, DashboardOptions } from '../../server/content_management'; import { @@ -146,6 +147,10 @@ export type DashboardApi = CanExpandPanels & focusedPanelId$: PublishingSubject; forceRefresh: () => void; getSettings: () => DashboardSettings; + getSerializedState: () => { + attributes: DashboardAttributes; + references: SavedObjectReference[]; + }; getDashboardPanelFromId: (id: string) => DashboardPanelState; hasOverlays$: PublishingSubject; hasUnsavedChanges$: PublishingSubject; diff --git a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts similarity index 92% rename from src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts index 9d39961778a91..acc6d0569d2db 100644 --- a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts +++ b/src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts @@ -33,10 +33,12 @@ import fastIsEqual from 'fast-deep-equal'; import { PublishingSubject, StateComparators } from '@kbn/presentation-publishing'; import { ControlGroupApi } from '@kbn/controls-plugin/public'; import { cloneDeep } from 'lodash'; +import type { SavedObjectReference } from '@kbn/core-saved-objects-api-server'; import { GlobalQueryStateFromUrl, RefreshInterval, connectToQueryState, + extractSearchSourceReferences, syncGlobalQueryStateWithUrl, } from '@kbn/data-plugin/public'; import moment, { Moment } from 'moment'; @@ -324,16 +326,30 @@ export function initializeUnifiedSearchManager( setAndSyncTimeRange(lastSavedState.timeRange); } }, - getState: (): Pick< - DashboardState, - 'filters' | 'query' | 'refreshInterval' | 'timeRange' | 'timeRestore' - > => ({ - filters: unifiedSearchFilters$.value ?? DEFAULT_DASHBOARD_INPUT.filters, - query: query$.value ?? DEFAULT_DASHBOARD_INPUT.query, - refreshInterval: refreshInterval$.value, - timeRange: timeRange$.value, - timeRestore: timeRestore$.value ?? DEFAULT_DASHBOARD_INPUT.timeRestore, - }), + getState: (): { + state: Pick< + DashboardState, + 'filters' | 'query' | 'refreshInterval' | 'timeRange' | 'timeRestore' + >; + references: SavedObjectReference[]; + } => { + // pinned filters are not serialized when saving the dashboard + const serializableFilters = unifiedSearchFilters$.value?.filter((f) => !isFilterPinned(f)); + const [{ filter, query }, references] = extractSearchSourceReferences({ + filter: serializableFilters, + query: query$.value, + }); + return { + state: { + filters: filter ?? DEFAULT_DASHBOARD_INPUT.filters, + query: (query as Query) ?? DEFAULT_DASHBOARD_INPUT.query, + refreshInterval: refreshInterval$.value, + timeRange: timeRange$.value, + timeRestore: timeRestore$.value ?? DEFAULT_DASHBOARD_INPUT.timeRestore, + }, + references, + }; + }, }, cleanup: () => { controlGroupSubscriptions.unsubscribe(); diff --git a/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/unsaved_changes_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/unsaved_changes_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/use_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_internal_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_internal_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/view_mode_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/view_mode_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app.scss b/src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/_dashboard_app.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_router.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_router.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/locator.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/locator.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/locator.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/locator.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts diff --git a/src/plugins/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts similarity index 96% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts index d074bcb98bd18..4556991816c99 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts +++ b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts @@ -10,8 +10,7 @@ import { useCallback, useMemo, useRef } from 'react'; import { AsyncSubject, defer, from, lastValueFrom, map, type Subscription } from 'rxjs'; -import type { IconType } from '@elastic/eui'; -import { COMMON_EMBEDDABLE_GROUPING, EmbeddableFactory } from '@kbn/embeddable-plugin/public'; +import { COMMON_EMBEDDABLE_GROUPING } from '@kbn/embeddable-plugin/public'; import { PresentationContainer } from '@kbn/presentation-containers'; import { ADD_PANEL_TRIGGER } from '@kbn/ui-actions-plugin/public'; import { VisGroups, type BaseVisType, type VisTypeAlias } from '@kbn/visualizations-plugin/public'; @@ -28,14 +27,6 @@ interface UseGetDashboardPanelsArgs { createNewVisType: (visType: BaseVisType | VisTypeAlias) => () => void; } -export interface FactoryGroup { - id: string; - appName: string; - icon?: IconType; - factories: EmbeddableFactory[]; - order: number; -} - const sortGroupPanelsByOrder = (panelGroups: T[]): T[] => { return panelGroups.sort( // larger number sorted to the top diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.scss b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.scss diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx similarity index 85% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx index e1bbef897d538..f82ad60929f24 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx +++ b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx @@ -13,13 +13,8 @@ import { buildMockDashboardApi } from '../../mocks'; import { EditorMenu } from './editor_menu'; import { DashboardContext } from '../../dashboard_api/use_dashboard_api'; -import { - embeddableService, - uiActionsService, - visualizationsService, -} from '../../services/kibana_services'; +import { uiActionsService, visualizationsService } from '../../services/kibana_services'; -jest.spyOn(embeddableService, 'getEmbeddableFactories').mockReturnValue(new Map().values()); jest.spyOn(uiActionsService, 'getTriggerCompatibleActions').mockResolvedValue([]); jest.spyOn(visualizationsService, 'getByGroup').mockReturnValue([]); jest.spyOn(visualizationsService, 'getAliases').mockReturnValue([]); diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/types.ts diff --git a/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/url/search_sessions_integration.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/url/search_sessions_integration.ts diff --git a/src/plugins/dashboard/public/dashboard_app/url/url_utils.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/url/url_utils.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/url/url_utils.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/url/url_utils.ts diff --git a/src/plugins/dashboard/public/dashboard_constants.ts b/src/platform/plugins/shared/dashboard/public/dashboard_constants.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_constants.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_constants.ts diff --git a/src/plugins/dashboard/public/dashboard_container/_dashboard_container.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/_dashboard_container.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container.scss diff --git a/src/plugins/dashboard/public/dashboard_container/_dashboard_container_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/_dashboard_container_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/settings/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/settings/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/README.md b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/README.md similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/README.md rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/README.md diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/README.md b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/README.md similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/README.md rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/README.md diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts similarity index 87% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts index 8c2b88d81b631..c21a6a6f615aa 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts +++ b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts @@ -7,13 +7,18 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { Filter, TimeRange, onlyDisabledFiltersChanged } from '@kbn/es-query'; +import { COMPARE_ALL_OPTIONS, Filter, TimeRange, onlyDisabledFiltersChanged } from '@kbn/es-query'; import { combineLatest, distinctUntilChanged, Observable, skip } from 'rxjs'; -import { shouldRefreshFilterCompareOptions } from '@kbn/embeddable-plugin/public'; import { apiPublishesSettings } from '@kbn/presentation-containers/interfaces/publishes_settings'; import { apiPublishesReload, apiPublishesUnifiedSearch } from '@kbn/presentation-publishing'; import { areTimesEqual } from '../../../../dashboard_api/unified_search_manager'; +const shouldRefreshFilterCompareOptions = { + ...COMPARE_ALL_OPTIONS, + // do not compare $state to avoid refreshing when filter is pinned/unpinned (which does not impact results) + state: false, +}; + export function newSession$(api: unknown) { const observables: Array> = []; diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_404.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_404.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/dashboard_404.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_404.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts diff --git a/src/plugins/dashboard/public/dashboard_container/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts diff --git a/src/plugins/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_listing/confirm_overlays.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/confirm_overlays.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/confirm_overlays.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/confirm_overlays.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_table.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_table.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_table.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_table.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/index.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/index.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_listing/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/types.ts diff --git a/src/plugins/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss diff --git a/src/plugins/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/index.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/index.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx diff --git a/src/plugins/dashboard/public/index.ts b/src/platform/plugins/shared/dashboard/public/index.ts similarity index 100% rename from src/plugins/dashboard/public/index.ts rename to src/platform/plugins/shared/dashboard/public/index.ts diff --git a/src/plugins/dashboard/public/mocks.tsx b/src/platform/plugins/shared/dashboard/public/mocks.tsx similarity index 100% rename from src/plugins/dashboard/public/mocks.tsx rename to src/platform/plugins/shared/dashboard/public/mocks.tsx diff --git a/src/plugins/dashboard/public/plugin.tsx b/src/platform/plugins/shared/dashboard/public/plugin.tsx similarity index 100% rename from src/plugins/dashboard/public/plugin.tsx rename to src/platform/plugins/shared/dashboard/public/plugin.tsx diff --git a/src/plugins/dashboard/public/services/dashboard_backup_service.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_backup_service.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_backup_service.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_backup_service.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/index.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/index.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/index.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/index.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts similarity index 97% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts index a1b18aca3aca0..1bb1edaac96ac 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts +++ b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts @@ -47,7 +47,7 @@ describe('Save dashboard state', () => { it('should save the dashboard using the same ID', async () => { const result = await saveDashboardState({ - currentState: { + dashboardState: { ...getSampleDashboardState(), title: 'BOO', } as unknown as DashboardContainerInput, @@ -68,7 +68,7 @@ describe('Save dashboard state', () => { it('should save the dashboard using a new id, and return redirect required', async () => { const result = await saveDashboardState({ - currentState: { + dashboardState: { ...getSampleDashboardState(), title: 'BooToo', } as unknown as DashboardContainerInput, @@ -92,7 +92,7 @@ describe('Save dashboard state', () => { it('should generate new panel IDs for dashboard panels when save as copy is true', async () => { const result = await saveDashboardState({ - currentState: { + dashboardState: { ...getSampleDashboardState(), title: 'BooThree', panels: { aVerySpecialVeryUniqueId: { type: 'boop' } }, @@ -118,7 +118,7 @@ describe('Save dashboard state', () => { it('should update prefixes on references when save as copy is true', async () => { const result = await saveDashboardState({ - currentState: { + dashboardState: { ...getSampleDashboardState(), title: 'BooFour', panels: { idOne: { type: 'boop' } }, @@ -146,7 +146,7 @@ describe('Save dashboard state', () => { it('should return an error when the save fails.', async () => { contentManagementService.client.create = jest.fn().mockRejectedValue('Whoops'); const result = await saveDashboardState({ - currentState: { + dashboardState: { ...getSampleDashboardState(), title: 'BooThree', panels: { idOne: { type: 'boop' } }, diff --git a/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts new file mode 100644 index 0000000000000..5c14732ed939b --- /dev/null +++ b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts @@ -0,0 +1,93 @@ +/* + * 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 { getDashboardContentManagementCache } from '..'; +import type { + DashboardCreateIn, + DashboardCreateOut, + DashboardUpdateIn, + DashboardUpdateOut, +} from '../../../../server/content_management'; +import { DASHBOARD_CONTENT_ID } from '../../../dashboard_constants'; +import { dashboardSaveToastStrings } from '../../../dashboard_container/_dashboard_container_strings'; +import { getDashboardBackupService } from '../../dashboard_backup_service'; +import { contentManagementService, coreServices } from '../../kibana_services'; +import { SaveDashboardProps, SaveDashboardReturn } from '../types'; +import { getSerializedState } from '../../../dashboard_api/get_serialized_state'; + +export const saveDashboardState = async ({ + controlGroupReferences, + lastSavedId, + saveOptions, + dashboardState, + panelReferences, + searchSourceReferences, +}: SaveDashboardProps): Promise => { + const dashboardContentManagementCache = getDashboardContentManagementCache(); + + const { attributes, references } = getSerializedState({ + controlGroupReferences, + generateNewIds: saveOptions.saveAsCopy, + dashboardState, + panelReferences, + searchSourceReferences, + }); + + /** + * Save the saved object using the content management + */ + const idToSaveTo = saveOptions.saveAsCopy ? undefined : lastSavedId; + + try { + const result = idToSaveTo + ? await contentManagementService.client.update({ + id: idToSaveTo, + contentTypeId: DASHBOARD_CONTENT_ID, + data: attributes, + options: { + references, + /** perform a "full" update instead, where the provided attributes will fully replace the existing ones */ + mergeAttributes: false, + }, + }) + : await contentManagementService.client.create({ + contentTypeId: DASHBOARD_CONTENT_ID, + data: attributes, + options: { + references, + }, + }); + const newId = result.item.id; + + if (newId) { + coreServices.notifications.toasts.addSuccess({ + title: dashboardSaveToastStrings.getSuccessString(dashboardState.title), + className: 'eui-textBreakWord', + 'data-test-subj': 'saveDashboardSuccess', + }); + + /** + * If the dashboard id has been changed, redirect to the new ID to keep the url param in sync. + */ + if (newId !== lastSavedId) { + getDashboardBackupService().clearState(lastSavedId); + return { redirectRequired: true, id: newId, references }; + } else { + dashboardContentManagementCache.deleteDashboard(newId); // something changed in an existing dashboard, so delete it from the cache so that it can be re-fetched + } + } + return { id: newId, references }; + } catch (error) { + coreServices.notifications.toasts.addDanger({ + title: dashboardSaveToastStrings.getFailureString(dashboardState.title, error.message), + 'data-test-subj': 'saveDashboardFailure', + }); + return { error }; + } +}; diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts similarity index 95% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts index 3c0c37afc0cd6..0c22aa03010c2 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts +++ b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts @@ -81,12 +81,18 @@ export type SavedDashboardSaveOpts = SavedObjectSaveOpts & { saveAsCopy?: boolea export interface SaveDashboardProps { controlGroupReferences?: Reference[]; - currentState: DashboardState; + dashboardState: DashboardState; saveOptions: SavedDashboardSaveOpts; panelReferences?: Reference[]; + searchSourceReferences?: Reference[]; lastSavedId?: string; } +export interface GetDashboardStateReturn { + attributes: DashboardAttributes; + references: Reference[]; +} + export interface SaveDashboardReturn { id?: string; error?: string; diff --git a/src/plugins/dashboard/public/services/dashboard_recently_accessed_service.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_recently_accessed_service.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_recently_accessed_service.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_recently_accessed_service.ts diff --git a/src/plugins/dashboard/public/services/kibana_services.ts b/src/platform/plugins/shared/dashboard/public/services/kibana_services.ts similarity index 99% rename from src/plugins/dashboard/public/services/kibana_services.ts rename to src/platform/plugins/shared/dashboard/public/services/kibana_services.ts index e3fde8c37c2a9..f7fe132ff7a38 100644 --- a/src/plugins/dashboard/public/services/kibana_services.ts +++ b/src/platform/plugins/shared/dashboard/public/services/kibana_services.ts @@ -13,7 +13,7 @@ import type { ContentManagementPublicStart } from '@kbn/content-management-plugi import type { CoreStart } from '@kbn/core/public'; import type { DataPublicPluginStart } from '@kbn/data-plugin/public'; import type { DataViewEditorStart } from '@kbn/data-view-editor-plugin/public'; -import type { EmbeddableStart } from '@kbn/embeddable-plugin/public/plugin'; +import type { EmbeddableStart } from '@kbn/embeddable-plugin/public'; import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public/plugin'; import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public'; import type { NoDataPagePluginStart } from '@kbn/no-data-page-plugin/public'; diff --git a/src/plugins/dashboard/public/services/mocks.ts b/src/platform/plugins/shared/dashboard/public/services/mocks.ts similarity index 100% rename from src/plugins/dashboard/public/services/mocks.ts rename to src/platform/plugins/shared/dashboard/public/services/mocks.ts diff --git a/src/plugins/dashboard/public/utils/clean_filters_for_serialize.test.ts b/src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.test.ts similarity index 100% rename from src/plugins/dashboard/public/utils/clean_filters_for_serialize.test.ts rename to src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.test.ts diff --git a/src/plugins/dashboard/public/utils/clean_filters_for_serialize.ts b/src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.ts similarity index 100% rename from src/plugins/dashboard/public/utils/clean_filters_for_serialize.ts rename to src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.ts diff --git a/src/plugins/dashboard/public/utils/get_dashboard_capabilities.ts b/src/platform/plugins/shared/dashboard/public/utils/get_dashboard_capabilities.ts similarity index 100% rename from src/plugins/dashboard/public/utils/get_dashboard_capabilities.ts rename to src/platform/plugins/shared/dashboard/public/utils/get_dashboard_capabilities.ts diff --git a/src/plugins/dashboard/server/api/constants.ts b/src/platform/plugins/shared/dashboard/server/api/constants.ts similarity index 100% rename from src/plugins/dashboard/server/api/constants.ts rename to src/platform/plugins/shared/dashboard/server/api/constants.ts diff --git a/src/plugins/dashboard/server/api/index.ts b/src/platform/plugins/shared/dashboard/server/api/index.ts similarity index 100% rename from src/plugins/dashboard/server/api/index.ts rename to src/platform/plugins/shared/dashboard/server/api/index.ts diff --git a/src/plugins/dashboard/server/api/register_routes.ts b/src/platform/plugins/shared/dashboard/server/api/register_routes.ts similarity index 100% rename from src/plugins/dashboard/server/api/register_routes.ts rename to src/platform/plugins/shared/dashboard/server/api/register_routes.ts diff --git a/src/plugins/dashboard/server/capabilities_provider.ts b/src/platform/plugins/shared/dashboard/server/capabilities_provider.ts similarity index 100% rename from src/plugins/dashboard/server/capabilities_provider.ts rename to src/platform/plugins/shared/dashboard/server/capabilities_provider.ts diff --git a/src/plugins/dashboard/server/config.ts b/src/platform/plugins/shared/dashboard/server/config.ts similarity index 100% rename from src/plugins/dashboard/server/config.ts rename to src/platform/plugins/shared/dashboard/server/config.ts diff --git a/src/plugins/dashboard/server/content_management/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/dashboard_storage.ts b/src/platform/plugins/shared/dashboard/server/content_management/dashboard_storage.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/dashboard_storage.ts rename to src/platform/plugins/shared/dashboard/server/content_management/dashboard_storage.ts diff --git a/src/plugins/dashboard/server/content_management/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/index.ts diff --git a/src/plugins/dashboard/server/content_management/latest.ts b/src/platform/plugins/shared/dashboard/server/content_management/latest.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/latest.ts rename to src/platform/plugins/shared/dashboard/server/content_management/latest.ts diff --git a/src/plugins/dashboard/server/content_management/v1/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v1/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v1/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v1/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v1/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v1/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v1/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v1/index.ts diff --git a/src/plugins/dashboard/server/content_management/v2/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v2/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v2/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v2/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v2/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v2/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v2/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v2/index.ts diff --git a/src/plugins/dashboard/server/content_management/v3/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v3/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/index.ts diff --git a/src/plugins/dashboard/server/content_management/v3/transform_utils.test.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.test.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/transform_utils.test.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.test.ts diff --git a/src/plugins/dashboard/server/content_management/v3/transform_utils.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/transform_utils.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.ts diff --git a/src/plugins/dashboard/server/content_management/v3/types.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/types.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts diff --git a/src/plugins/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts b/src/platform/plugins/shared/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/latest.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/latest.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/latest.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/latest.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/v1.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/v1.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/v1.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/v1.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/v2.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/v2.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/v2.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/v2.ts diff --git a/src/plugins/dashboard/server/index.ts b/src/platform/plugins/shared/dashboard/server/index.ts similarity index 100% rename from src/plugins/dashboard/server/index.ts rename to src/platform/plugins/shared/dashboard/server/index.ts diff --git a/src/plugins/dashboard/server/plugin.test.ts b/src/platform/plugins/shared/dashboard/server/plugin.test.ts similarity index 100% rename from src/plugins/dashboard/server/plugin.test.ts rename to src/platform/plugins/shared/dashboard/server/plugin.test.ts diff --git a/src/plugins/dashboard/server/plugin.ts b/src/platform/plugins/shared/dashboard/server/plugin.ts similarity index 100% rename from src/plugins/dashboard/server/plugin.ts rename to src/platform/plugins/shared/dashboard/server/plugin.ts diff --git a/src/plugins/dashboard/server/types.ts b/src/platform/plugins/shared/dashboard/server/types.ts similarity index 100% rename from src/plugins/dashboard/server/types.ts rename to src/platform/plugins/shared/dashboard/server/types.ts diff --git a/src/plugins/dashboard/server/ui_settings.ts b/src/platform/plugins/shared/dashboard/server/ui_settings.ts similarity index 100% rename from src/plugins/dashboard/server/ui_settings.ts rename to src/platform/plugins/shared/dashboard/server/ui_settings.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry.test.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.test.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry.test.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.test.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry_collection_task.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry_collection_task.ts diff --git a/src/plugins/dashboard/server/usage/register_collector.ts b/src/platform/plugins/shared/dashboard/server/usage/register_collector.ts similarity index 100% rename from src/plugins/dashboard/server/usage/register_collector.ts rename to src/platform/plugins/shared/dashboard/server/usage/register_collector.ts diff --git a/src/plugins/dashboard/server/usage/task_state.test.ts b/src/platform/plugins/shared/dashboard/server/usage/task_state.test.ts similarity index 100% rename from src/plugins/dashboard/server/usage/task_state.test.ts rename to src/platform/plugins/shared/dashboard/server/usage/task_state.test.ts diff --git a/src/plugins/dashboard/server/usage/task_state.ts b/src/platform/plugins/shared/dashboard/server/usage/task_state.ts similarity index 100% rename from src/plugins/dashboard/server/usage/task_state.ts rename to src/platform/plugins/shared/dashboard/server/usage/task_state.ts diff --git a/src/plugins/dashboard/tsconfig.json b/src/platform/plugins/shared/dashboard/tsconfig.json similarity index 98% rename from src/plugins/dashboard/tsconfig.json rename to src/platform/plugins/shared/dashboard/tsconfig.json index 3370a7fd85f83..cbf2b4c469875 100644 --- a/src/plugins/dashboard/tsconfig.json +++ b/src/platform/plugins/shared/dashboard/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/embeddable/.eslintrc.json b/src/platform/plugins/shared/embeddable/.eslintrc.json similarity index 100% rename from src/plugins/embeddable/.eslintrc.json rename to src/platform/plugins/shared/embeddable/.eslintrc.json diff --git a/src/plugins/embeddable/README.md b/src/platform/plugins/shared/embeddable/README.md similarity index 65% rename from src/plugins/embeddable/README.md rename to src/platform/plugins/shared/embeddable/README.md index 6c7f7688f3d28..4e0deea10830c 100644 --- a/src/plugins/embeddable/README.md +++ b/src/platform/plugins/shared/embeddable/README.md @@ -16,19 +16,19 @@ Each embeddable manages its own state. This is because the embeddable system all #### Publishing package An embeddable API is a plain old typescript object that implements any number of shared interfaces. A shared interface is defined by a publishing package. A publishing package also provides a type guard that is used to check if a given object fulfills the interface. -For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. +For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. #### Publishing subject An embeddable API shares state via a publishing subject, a read only RxJS Observable. -For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. +For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. #### Comparators Comparators allow a page to track changes to an embeddable's state. For example, Dashboard uses comparators to display a UI notification for unsaved changes, to reset changes, and persist unsaved changes to session storage. A comparator must be provided for each property in an embeddable's RuntimeState. A comparator is a 3 element tuple: where the first element is a publishing subject providing the current value. The second element is a setter allowing the page to reset the value. The third element is an optional comparator function which provides logic to diff this property. -For example, [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. Comparitors are provided for each property from `SerializedTitles`. +For example, [initializeTitles](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. Comparitors are provided for each property from `SerializedTitles`. ### Best practices @@ -42,7 +42,7 @@ Break your Component into a Package or another plugin to avoid circular plugin d Embeddable APIs are accessable to all Kibana systems and all embeddable siblings and parents. Functions and state that are internal to an embeddable including any child components should not be added to the API. Consider passing internal state to child as props or react context. #### Error handling -Embeddables should never throw. Instead, use [PublishesBlockingError](https://github.com/elastic/kibana/blob/main/packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts) interface to surface unrecoverable errors. When an embeddable publishes a blocking error, the parent component will display an error component instead of the embeddable Component. Be thoughtful about which errors are surfaced with the PublishesBlockingError interface. If the embeddable can still render, use less invasive error handling such as a warning toast or notifications in the embeddable Component UI. +Embeddables should never throw. Instead, use [PublishesBlockingError](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts) interface to surface unrecoverable errors. When an embeddable publishes a blocking error, the parent component will display an error component instead of the embeddable Component. Be thoughtful about which errors are surfaced with the PublishesBlockingError interface. If the embeddable can still render, use less invasive error handling such as a warning toast or notifications in the embeddable Component UI. ### Examples Examples available at [/examples/embeddable_examples](https://github.com/elastic/kibana/tree/main/examples/embeddable_examples) diff --git a/src/plugins/embeddable/common/index.ts b/src/platform/plugins/shared/embeddable/common/index.ts similarity index 100% rename from src/plugins/embeddable/common/index.ts rename to src/platform/plugins/shared/embeddable/common/index.ts diff --git a/src/plugins/embeddable/common/lib/extract.ts b/src/platform/plugins/shared/embeddable/common/lib/extract.ts similarity index 96% rename from src/plugins/embeddable/common/lib/extract.ts rename to src/platform/plugins/shared/embeddable/common/lib/extract.ts index f922ca3322236..5c7964dfed65b 100644 --- a/src/plugins/embeddable/common/lib/extract.ts +++ b/src/platform/plugins/shared/embeddable/common/lib/extract.ts @@ -14,7 +14,7 @@ import { extractBaseEmbeddableInput } from './migrate_base_input'; export const getExtractFunction = (embeddables: CommonEmbeddableStartContract) => { return (state: EmbeddableStateWithType) => { const enhancements = state.enhancements || {}; - const factory = embeddables.getEmbeddableFactory(state.type); + const factory = embeddables.getEmbeddableFactory?.(state.type); const baseResponse = extractBaseEmbeddableInput(state); let updatedInput = baseResponse.state; diff --git a/src/plugins/embeddable/common/lib/get_all_migrations.test.ts b/src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.test.ts similarity index 100% rename from src/plugins/embeddable/common/lib/get_all_migrations.test.ts rename to src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.test.ts diff --git a/src/plugins/embeddable/common/lib/get_all_migrations.ts b/src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.ts similarity index 100% rename from src/plugins/embeddable/common/lib/get_all_migrations.ts rename to src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.ts diff --git a/src/plugins/embeddable/common/lib/index.ts b/src/platform/plugins/shared/embeddable/common/lib/index.ts similarity index 100% rename from src/plugins/embeddable/common/lib/index.ts rename to src/platform/plugins/shared/embeddable/common/lib/index.ts diff --git a/src/plugins/embeddable/common/lib/inject.ts b/src/platform/plugins/shared/embeddable/common/lib/inject.ts similarity index 95% rename from src/plugins/embeddable/common/lib/inject.ts rename to src/platform/plugins/shared/embeddable/common/lib/inject.ts index 07acdd82d0a74..8435827df2555 100644 --- a/src/plugins/embeddable/common/lib/inject.ts +++ b/src/platform/plugins/shared/embeddable/common/lib/inject.ts @@ -15,7 +15,7 @@ import { injectBaseEmbeddableInput } from './migrate_base_input'; export const getInjectFunction = (embeddables: CommonEmbeddableStartContract) => { return (state: EmbeddableStateWithType, references: SavedObjectReference[]) => { const enhancements = state.enhancements || {}; - const factory = embeddables.getEmbeddableFactory(state.type); + const factory = embeddables.getEmbeddableFactory?.(state.type); let updatedInput = injectBaseEmbeddableInput(state, references); diff --git a/src/plugins/embeddable/common/lib/migrate.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate.ts similarity index 96% rename from src/plugins/embeddable/common/lib/migrate.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate.ts index 37a3678bc412c..cb1c7e3d32c68 100644 --- a/src/plugins/embeddable/common/lib/migrate.ts +++ b/src/platform/plugins/shared/embeddable/common/lib/migrate.ts @@ -16,7 +16,7 @@ export type MigrateFunction = (state: SerializableRecord, version: string) => Se export const getMigrateFunction = (embeddables: CommonEmbeddableStartContract) => { const migrateFn: MigrateFunction = (state: SerializableRecord, version: string) => { const enhancements = (state.enhancements as SerializableRecord) || {}; - const factory = embeddables.getEmbeddableFactory(state.type as string); + const factory = embeddables.getEmbeddableFactory?.(state.type as string); let updatedInput = baseEmbeddableMigrations[version] ? baseEmbeddableMigrations[version](state) diff --git a/src/plugins/embeddable/common/lib/migrate_base_input.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts similarity index 100% rename from src/plugins/embeddable/common/lib/migrate_base_input.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts diff --git a/src/plugins/embeddable/common/lib/saved_object_embeddable.ts b/src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts similarity index 100% rename from src/plugins/embeddable/common/lib/saved_object_embeddable.ts rename to src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts diff --git a/src/plugins/embeddable/common/lib/telemetry.ts b/src/platform/plugins/shared/embeddable/common/lib/telemetry.ts similarity index 95% rename from src/plugins/embeddable/common/lib/telemetry.ts rename to src/platform/plugins/shared/embeddable/common/lib/telemetry.ts index ea747d210166e..757ad762f350d 100644 --- a/src/plugins/embeddable/common/lib/telemetry.ts +++ b/src/platform/plugins/shared/embeddable/common/lib/telemetry.ts @@ -17,7 +17,7 @@ export const getTelemetryFunction = (embeddables: CommonEmbeddableStartContract) telemetryData: Record = {} ) => { const enhancements = state.enhancements || {}; - const factory = embeddables.getEmbeddableFactory(state.type); + const factory = embeddables.getEmbeddableFactory?.(state.type); let outputTelemetryData = telemetryBaseEmbeddableInput(state, telemetryData); if (factory) { diff --git a/src/plugins/embeddable/common/mocks.ts b/src/platform/plugins/shared/embeddable/common/mocks.ts similarity index 100% rename from src/plugins/embeddable/common/mocks.ts rename to src/platform/plugins/shared/embeddable/common/mocks.ts diff --git a/src/plugins/embeddable/common/types.ts b/src/platform/plugins/shared/embeddable/common/types.ts similarity index 99% rename from src/plugins/embeddable/common/types.ts rename to src/platform/plugins/shared/embeddable/common/types.ts index 951ecd9026ded..85bf9b59bfbe6 100644 --- a/src/plugins/embeddable/common/types.ts +++ b/src/platform/plugins/shared/embeddable/common/types.ts @@ -97,7 +97,7 @@ export interface EmbeddableRegistryDefinition< export type EmbeddablePersistableStateService = PersistableStateService; export interface CommonEmbeddableStartContract { - getEmbeddableFactory: ( + getEmbeddableFactory?: ( embeddableFactoryId: string ) => PersistableState & { isContainerType: boolean }; getEnhancement: (enhancementId: string) => PersistableState; diff --git a/src/platform/plugins/shared/embeddable/jest.config.js b/src/platform/plugins/shared/embeddable/jest.config.js new file mode 100644 index 0000000000000..5228fc2b22b02 --- /dev/null +++ b/src/platform/plugins/shared/embeddable/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/embeddable'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/embeddable', + coverageReporters: ['text', 'html'], + setupFiles: ['/src/platform/plugins/shared/embeddable/jest_setup.ts'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/embeddable/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/presentation_panel/jest_setup.ts b/src/platform/plugins/shared/embeddable/jest_setup.ts similarity index 100% rename from src/plugins/presentation_panel/jest_setup.ts rename to src/platform/plugins/shared/embeddable/jest_setup.ts diff --git a/src/plugins/embeddable/kibana.jsonc b/src/platform/plugins/shared/embeddable/kibana.jsonc similarity index 100% rename from src/plugins/embeddable/kibana.jsonc rename to src/platform/plugins/shared/embeddable/kibana.jsonc diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.test.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.test.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/add_from_library_flyout.test.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.test.tsx diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx similarity index 93% rename from src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx index 3f68e5c2c08ab..eed7226a029ff 100644 --- a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx +++ b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx @@ -27,7 +27,6 @@ import { contentManagement, usageCollection, } from '../kibana_services'; -import { EmbeddableFactoryNotFoundError } from '../lib'; import { getAddFromLibraryType, useAddFromLibraryTypes } from './registry'; const runAddTelemetry = ( @@ -61,7 +60,12 @@ export const AddFromLibraryFlyout = ({ ) => { const libraryType = getAddFromLibraryType(type); if (!libraryType) { - core.notifications.toasts.addWarning(new EmbeddableFactoryNotFoundError(type).message); + core.notifications.toasts.addWarning( + i18n.translate('embeddableApi.addPanel.typeNotFound', { + defaultMessage: 'Unable to load type: {type}', + values: { type }, + }) + ); return; } diff --git a/src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx diff --git a/src/plugins/embeddable/public/add_from_library/registry.ts b/src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts similarity index 100% rename from src/plugins/embeddable/public/add_from_library/registry.ts rename to src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts diff --git a/src/plugins/embeddable/public/bootstrap.ts b/src/platform/plugins/shared/embeddable/public/bootstrap.ts similarity index 100% rename from src/plugins/embeddable/public/bootstrap.ts rename to src/platform/plugins/shared/embeddable/public/bootstrap.ts diff --git a/src/platform/plugins/shared/embeddable/public/enhancements/registry.ts b/src/platform/plugins/shared/embeddable/public/enhancements/registry.ts new file mode 100644 index 0000000000000..8fbd155e5c57a --- /dev/null +++ b/src/platform/plugins/shared/embeddable/public/enhancements/registry.ts @@ -0,0 +1,51 @@ +/* + * 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 { identity } from 'lodash'; +import { SerializableRecord } from '@kbn/utility-types'; +import { EnhancementRegistryDefinition, EnhancementRegistryItem } from './types'; + +export class EnhancementsRegistry { + private registry: Map = new Map(); + + public registerEnhancement = (enhancement: EnhancementRegistryDefinition) => { + if (this.registry.has(enhancement.id)) { + throw new Error(`enhancement with id ${enhancement.id} already exists in the registry`); + } + this.registry.set(enhancement.id, { + id: enhancement.id, + telemetry: enhancement.telemetry || ((state, stats) => stats), + inject: enhancement.inject || identity, + extract: + enhancement.extract || + ((state: SerializableRecord) => { + return { state, references: [] }; + }), + migrations: enhancement.migrations || {}, + }); + }; + + public getEnhancements = (): EnhancementRegistryItem[] => { + return Array.from(this.registry.values()); + }; + + public getEnhancement = (id: string): EnhancementRegistryItem => { + return ( + this.registry.get(id) || { + id: 'unknown', + telemetry: (state, stats) => stats, + inject: identity, + extract: (state: SerializableRecord) => { + return { state, references: [] }; + }, + migrations: {}, + } + ); + }; +} diff --git a/src/plugins/embeddable/public/types.ts b/src/platform/plugins/shared/embeddable/public/enhancements/types.ts similarity index 54% rename from src/plugins/embeddable/public/types.ts rename to src/platform/plugins/shared/embeddable/public/enhancements/types.ts index 72d8052706254..289772bef9cec 100644 --- a/src/plugins/embeddable/public/types.ts +++ b/src/platform/plugins/shared/embeddable/public/enhancements/types.ts @@ -8,19 +8,7 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; -import { SavedObjectAttributes } from '@kbn/core/public'; -import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common'; import { PersistableState, PersistableStateDefinition } from '@kbn/kibana-utils-plugin/common'; -import { - EmbeddableFactory, - EmbeddableInput, - EmbeddableOutput, - IEmbeddable, - EmbeddableFactoryDefinition, -} from './lib/embeddables'; - -export type EmbeddableFactoryRegistry = Map; -export type EnhancementsRegistry = Map; export interface EnhancementRegistryDefinition

extends PersistableStateDefinition

{ @@ -31,12 +19,3 @@ export interface EnhancementRegistryItem

{ id: string; } - -export type EmbeddableFactoryProvider = < - I extends EmbeddableInput = EmbeddableInput, - O extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable, - T extends FinderAttributes = SavedObjectAttributes ->( - def: EmbeddableFactoryDefinition -) => EmbeddableFactory; diff --git a/src/plugins/embeddable/public/index.ts b/src/platform/plugins/shared/embeddable/public/index.ts similarity index 70% rename from src/plugins/embeddable/public/index.ts rename to src/platform/plugins/shared/embeddable/public/index.ts index ad5857ac871a6..4ec1c43df2dbb 100644 --- a/src/plugins/embeddable/public/index.ts +++ b/src/platform/plugins/shared/embeddable/public/index.ts @@ -17,25 +17,15 @@ export { CELL_VALUE_TRIGGER, contextMenuTrigger, CONTEXT_MENU_TRIGGER, - defaultEmbeddableFactoryProvider, Embeddable, - EmbeddableFactoryNotFoundError, EmbeddableStateTransfer, ErrorEmbeddable, - genericEmbeddableInputIsEqual, isContextMenuTriggerContext, - isEmbeddable, - isErrorEmbeddable, - isExplicitInputWithAttributes, - isFilterableEmbeddable, isMultiValueClickTriggerContext, isRangeSelectTriggerContext, - isReferenceOrValueEmbeddable, isRowClickTriggerContext, - isSavedObjectEmbeddableInput, isValueClickTriggerContext, MULTI_VALUE_CLICK_TRIGGER, - omitGenericEmbeddableInput, panelBadgeTrigger, panelHoverTrigger, PanelNotFoundError, @@ -44,43 +34,26 @@ export { PANEL_BADGE_TRIGGER, PANEL_HOVER_TRIGGER, PANEL_NOTIFICATION_TRIGGER, - runEmbeddableFactoryMigrations, SELECT_RANGE_TRIGGER, - shouldFetch$, - shouldRefreshFilterCompareOptions, VALUE_CLICK_TRIGGER, ViewMode, - withEmbeddableSubscription, } from './lib'; export type { CellValueContext, ChartActionContext, EmbeddableContext, EmbeddableEditorState, - EmbeddableFactory, - EmbeddableFactoryDefinition, EmbeddableInput, - EmbeddableInstanceConfiguration, EmbeddableOutput, EmbeddablePackageState, - FilterableEmbeddable, IEmbeddable, MultiValueClickContext, - OutputSpec, PropertySpec, RangeSelectContext, - ReferenceOrValueEmbeddable, - SavedObjectEmbeddableInput, - SelfStyledEmbeddable, ValueClickContext, } from './lib'; -export type { - EmbeddableSetup, - EmbeddableSetupDependencies, - EmbeddableStart, - EmbeddableStartDependencies, -} from './plugin'; -export type { EnhancementRegistryDefinition } from './types'; +export type { EmbeddableSetup, EmbeddableStart } from './types'; +export type { EnhancementRegistryDefinition } from './enhancements/types'; export { ReactEmbeddableRenderer, diff --git a/src/plugins/embeddable/public/kibana_services.ts b/src/platform/plugins/shared/embeddable/public/kibana_services.ts similarity index 96% rename from src/plugins/embeddable/public/kibana_services.ts rename to src/platform/plugins/shared/embeddable/public/kibana_services.ts index c7fe839c1dd0e..51dc61599d7a8 100644 --- a/src/plugins/embeddable/public/kibana_services.ts +++ b/src/platform/plugins/shared/embeddable/public/kibana_services.ts @@ -11,7 +11,7 @@ import { BehaviorSubject } from 'rxjs'; import { CoreStart } from '@kbn/core/public'; -import { EmbeddableStart, EmbeddableStartDependencies } from '.'; +import { EmbeddableStart, EmbeddableStartDependencies } from './types'; export let core: CoreStart; export let embeddableStart: EmbeddableStart; diff --git a/src/plugins/embeddable/public/lib/embeddables/common/constants.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/common/constants.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts similarity index 96% rename from src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts index 49f097f500a46..b4b8a2a1da920 100644 --- a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts +++ b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts @@ -9,7 +9,8 @@ import { ViewMode } from '..'; import { KibanaExecutionContext } from '@kbn/core/types'; -import { EmbeddableInput, omitGenericEmbeddableInput, genericEmbeddableInputIsEqual } from '.'; +import { EmbeddableInput } from '.'; +import { omitGenericEmbeddableInput, genericEmbeddableInputIsEqual } from './diff_embeddable_input'; const getGenericEmbeddableState = (state?: Partial): EmbeddableInput => { const defaultState: EmbeddableInput = { diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_error_handler.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_error_handler.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable_error_handler.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_error_handler.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.scss b/src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.scss similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/error_embeddable.scss rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.scss diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts similarity index 65% rename from src/plugins/embeddable/public/lib/embeddables/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts index 92cd977d1f3d4..029a653a9f1c6 100644 --- a/src/plugins/embeddable/public/lib/embeddables/index.ts +++ b/src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts @@ -8,14 +8,7 @@ */ export * from '../../../common/lib/saved_object_embeddable'; -export * from './default_embeddable_factory_provider'; -export { genericEmbeddableInputIsEqual, omitGenericEmbeddableInput } from './diff_embeddable_input'; export { Embeddable } from './embeddable'; export { EmbeddableErrorHandler } from './embeddable_error_handler'; -export * from './embeddable_factory'; -export * from './embeddable_factory_definition'; export { ErrorEmbeddable } from './error_embeddable'; -export { isErrorEmbeddable } from './is_error_embeddable'; -export { isEmbeddable } from './is_embeddable'; export type { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable'; -export { withEmbeddableSubscription } from './with_subscription'; diff --git a/src/plugins/embeddable/public/lib/errors.test.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.test.ts similarity index 71% rename from src/plugins/embeddable/public/lib/errors.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.test.ts index 48c38b25c2621..ebac7371acd51 100644 --- a/src/plugins/embeddable/public/lib/errors.test.ts +++ b/src/platform/plugins/shared/embeddable/public/lib/errors.test.ts @@ -8,7 +8,7 @@ */ import { IncompatibleActionError } from '@kbn/ui-actions-plugin/public'; -import { PanelNotFoundError, EmbeddableFactoryNotFoundError } from './errors'; +import { PanelNotFoundError } from './errors'; describe('IncompatibleActionError', () => { test('is instance of error', () => { @@ -33,15 +33,3 @@ describe('PanelNotFoundError', () => { expect(error.code).toBe('PANEL_NOT_FOUND'); }); }); - -describe('EmbeddableFactoryNotFoundError', () => { - test('is instance of error', () => { - const error = new EmbeddableFactoryNotFoundError('type1'); - expect(error).toBeInstanceOf(Error); - }); - - test('has EMBEDDABLE_FACTORY_NOT_FOUND code', () => { - const error = new EmbeddableFactoryNotFoundError('type1'); - expect(error.code).toBe('EMBEDDABLE_FACTORY_NOT_FOUND'); - }); -}); diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.ts similarity index 70% rename from src/plugins/embeddable/public/lib/errors.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.ts index 0ee0cbc2868bb..79f61f7fbe471 100644 --- a/src/plugins/embeddable/public/lib/errors.ts +++ b/src/platform/plugins/shared/embeddable/public/lib/errors.ts @@ -33,18 +33,3 @@ export class PanelIncompatibleError extends Error { ); } } - -export class EmbeddableFactoryNotFoundError extends Error { - code = 'EMBEDDABLE_FACTORY_NOT_FOUND'; - - constructor(type: string) { - super( - i18n.translate('embeddableApi.errors.embeddableFactoryNotFound', { - defaultMessage: `{type} can't be loaded. Please upgrade to the default distribution of Elasticsearch and Kibana with the appropriate license.`, - values: { - type, - }, - }) - ); - } -} diff --git a/src/plugins/bfetch/common/streaming/index.ts b/src/platform/plugins/shared/embeddable/public/lib/index.ts similarity index 80% rename from src/plugins/bfetch/common/streaming/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/index.ts index 34d385a3f5d62..60f8a3638816d 100644 --- a/src/plugins/bfetch/common/streaming/index.ts +++ b/src/platform/plugins/shared/embeddable/public/lib/index.ts @@ -7,4 +7,8 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ +export * from './errors'; +export * from './embeddables'; export * from './types'; +export * from './triggers'; +export * from './state_transfer'; diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/index.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/index.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/types.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts diff --git a/src/plugins/embeddable/public/lib/triggers/index.ts b/src/platform/plugins/shared/embeddable/public/lib/triggers/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/triggers/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/triggers/index.ts diff --git a/src/plugins/embeddable/public/lib/triggers/triggers.ts b/src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts similarity index 100% rename from src/plugins/embeddable/public/lib/triggers/triggers.ts rename to src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts diff --git a/src/plugins/embeddable/public/lib/types.ts b/src/platform/plugins/shared/embeddable/public/lib/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/types.ts diff --git a/src/plugins/embeddable/public/lib/ui_actions.ts b/src/platform/plugins/shared/embeddable/public/lib/ui_actions.ts similarity index 100% rename from src/plugins/embeddable/public/lib/ui_actions.ts rename to src/platform/plugins/shared/embeddable/public/lib/ui_actions.ts diff --git a/src/plugins/embeddable/public/mocks.tsx b/src/platform/plugins/shared/embeddable/public/mocks.tsx similarity index 64% rename from src/plugins/embeddable/public/mocks.tsx rename to src/platform/plugins/shared/embeddable/public/mocks.tsx index 7db4efd34e48e..4adab25eea345 100644 --- a/src/plugins/embeddable/public/mocks.tsx +++ b/src/platform/plugins/shared/embeddable/public/mocks.tsx @@ -9,7 +9,7 @@ import { contentManagementMock } from '@kbn/content-management-plugin/public/mocks'; import { coreMock } from '@kbn/core/public/mocks'; -import { type AggregateQuery, type Filter, type Query } from '@kbn/es-query'; +import { type Query } from '@kbn/es-query'; import { inspectorPluginMock } from '@kbn/inspector-plugin/public/mocks'; import { SavedObjectManagementTypeInfo, @@ -19,24 +19,17 @@ import { savedObjectsManagementPluginMock } from '@kbn/saved-objects-management- import { SavedObjectsTaggingApi } from '@kbn/saved-objects-tagging-oss-plugin/public'; import { uiActionsPluginMock } from '@kbn/ui-actions-plugin/public/mocks'; +import { EmbeddableStateTransfer } from '.'; +import { setKibanaServices } from './kibana_services'; +import { EmbeddablePublicPlugin } from './plugin'; +import { registerReactEmbeddableFactory } from './react_embeddable_system'; +import { registerAddFromLibraryType } from './add_from_library/registry'; import { - EmbeddableInput, EmbeddableSetup, EmbeddableSetupDependencies, EmbeddableStart, EmbeddableStartDependencies, - EmbeddableStateTransfer, - FilterableEmbeddable, - IEmbeddable, - ReferenceOrValueEmbeddable, - SavedObjectEmbeddableInput, - SelfStyledEmbeddable, -} from '.'; -import { setKibanaServices } from './kibana_services'; -import { SelfStyledOptions } from './lib/self_styled_embeddable/types'; -import { EmbeddablePublicPlugin } from './plugin'; -import { registerReactEmbeddableFactory } from './react_embeddable_system'; -import { registerAddFromLibraryType } from './add_from_library/registry'; +} from './types'; export type Setup = jest.Mocked; export type Start = jest.Mocked; @@ -51,53 +44,10 @@ export const createEmbeddableStateTransferMock = (): Partial( - embeddable: IEmbeddable, - options: { - mockedByReferenceInput: RefTypeInput; - mockedByValueInput: ValTypeInput; - } -): OriginalEmbeddableType & ReferenceOrValueEmbeddable => { - const newEmbeddable: ReferenceOrValueEmbeddable = - embeddable as unknown as ReferenceOrValueEmbeddable; - newEmbeddable.inputIsRefType = (input: unknown): input is RefTypeInput => - !!(input as RefTypeInput).savedObjectId; - newEmbeddable.getInputAsRefType = () => Promise.resolve(options.mockedByReferenceInput); - newEmbeddable.getInputAsValueType = () => Promise.resolve(options.mockedByValueInput); - return newEmbeddable as OriginalEmbeddableType & ReferenceOrValueEmbeddable; -}; - -export function mockSelfStyledEmbeddable( - embeddable: OriginalEmbeddableType, - selfStyledOptions: SelfStyledOptions -): OriginalEmbeddableType & SelfStyledEmbeddable { - const newEmbeddable: SelfStyledEmbeddable = embeddable as unknown as SelfStyledEmbeddable; - newEmbeddable.getSelfStyledOptions = () => selfStyledOptions; - return newEmbeddable as OriginalEmbeddableType & SelfStyledEmbeddable; -} - -export function mockFilterableEmbeddable( - embeddable: OriginalEmbeddableType, - options: { - getFilters: () => Filter[]; - getQuery: () => Query | AggregateQuery | undefined; - } -): OriginalEmbeddableType & FilterableEmbeddable { - const newEmbeddable: FilterableEmbeddable = embeddable as unknown as FilterableEmbeddable; - newEmbeddable.getFilters = () => options.getFilters(); - newEmbeddable.getQuery = () => options.getQuery(); - return newEmbeddable as OriginalEmbeddableType & FilterableEmbeddable; -} - const createSetupContract = (): Setup => { const setupContract: Setup = { registerAddFromLibraryType: jest.fn().mockImplementation(registerAddFromLibraryType), registerReactEmbeddableFactory: jest.fn().mockImplementation(registerReactEmbeddableFactory), - registerEmbeddableFactory: jest.fn(), registerEnhancement: jest.fn(), }; return setupContract; @@ -105,8 +55,6 @@ const createSetupContract = (): Setup => { const createStartContract = (): Start => { const startContract: Start = { - getEmbeddableFactories: jest.fn(), - getEmbeddableFactory: jest.fn(), telemetry: jest.fn(), extract: jest.fn(), inject: jest.fn(), @@ -158,9 +106,6 @@ export const embeddablePluginMock = { createSetupContract, createStartContract, createInstance, - mockRefOrValEmbeddable, - mockSelfStyledEmbeddable, - mockFilterableEmbeddable, }; export const setStubKibanaServices = () => { diff --git a/src/platform/plugins/shared/embeddable/public/plugin.test.ts b/src/platform/plugins/shared/embeddable/public/plugin.test.ts new file mode 100644 index 0000000000000..0b15d4afd034b --- /dev/null +++ b/src/platform/plugins/shared/embeddable/public/plugin.test.ts @@ -0,0 +1,70 @@ +/* + * 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 { coreMock } from '@kbn/core/public/mocks'; +import { testPlugin } from './tests/test_plugin'; + +describe('embeddable enhancements', () => { + const coreSetup = coreMock.createSetup(); + const coreStart = coreMock.createStart(); + const { setup, doStart } = testPlugin(coreSetup, coreStart); + const start = doStart(); + const embeddableEnhancement = { + id: 'test', + extract: jest.fn().mockImplementation((state) => ({ state, references: [] })), + inject: jest.fn().mockImplementation((state) => state), + telemetry: jest.fn().mockResolvedValue({}), + migrations: { '7.11.0': jest.fn().mockImplementation((state) => state) }, + } as any; + const embeddableState = { + enhancements: { + test: { + my: 'state', + }, + }, + } as any; + + setup.registerEnhancement(embeddableEnhancement); + + test('cannot register embeddable enhancement with the same ID', async () => { + expect(() => setup.registerEnhancement(embeddableEnhancement)).toThrowError( + 'enhancement with id test already exists in the registry' + ); + }); + + test('enhancement extract function gets called when calling embeddable extract', () => { + start.extract(embeddableState); + expect(embeddableEnhancement.extract).toBeCalledWith(embeddableState.enhancements.test); + }); + + test('enhancement inject function gets called when calling embeddable inject', () => { + start.inject(embeddableState, []); + expect(embeddableEnhancement.extract).toBeCalledWith(embeddableState.enhancements.test); + }); + + test('enhancement telemetry function gets called when calling embeddable telemetry', () => { + start.telemetry(embeddableState, {}); + expect(embeddableEnhancement.telemetry).toBeCalledWith(embeddableState.enhancements.test, {}); + }); + + test('enhancement migrate function gets called when calling embeddable migrate', () => { + start.getAllMigrations!()['7.11.0']!(embeddableState); + expect(embeddableEnhancement.migrations['7.11.0']).toBeCalledWith( + embeddableState.enhancements.test + ); + }); + + test('doesnt fail if there is no migration function registered for specific version', () => { + expect(() => { + start.getAllMigrations!()['7.11.0']!(embeddableState); + }).not.toThrow(); + + expect(start.getAllMigrations!()['7.11.0']!(embeddableState)).toEqual(embeddableState); + }); +}); diff --git a/src/platform/plugins/shared/embeddable/public/plugin.tsx b/src/platform/plugins/shared/embeddable/public/plugin.tsx new file mode 100644 index 0000000000000..84ea1676dd018 --- /dev/null +++ b/src/platform/plugins/shared/embeddable/public/plugin.tsx @@ -0,0 +1,109 @@ +/* + * 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 { Subscription } from 'rxjs'; +import { + PluginInitializerContext, + CoreSetup, + CoreStart, + Plugin, + PublicAppInfo, +} from '@kbn/core/public'; +import { Storage } from '@kbn/kibana-utils-plugin/public'; +import { migrateToLatest } from '@kbn/kibana-utils-plugin/common'; +import { bootstrap } from './bootstrap'; +import { EmbeddableStateTransfer } from './lib/state_transfer'; +import { EmbeddableStateWithType, CommonEmbeddableStartContract } from '../common/types'; +import { + getExtractFunction, + getInjectFunction, + getMigrateFunction, + getTelemetryFunction, +} from '../common/lib'; +import { getAllMigrations } from '../common/lib/get_all_migrations'; +import { setKibanaServices } from './kibana_services'; +import { registerReactEmbeddableFactory } from './react_embeddable_system'; +import { registerAddFromLibraryType } from './add_from_library/registry'; +import { EnhancementsRegistry } from './enhancements/registry'; +import { + EmbeddableSetup, + EmbeddableSetupDependencies, + EmbeddableStart, + EmbeddableStartDependencies, +} from './types'; + +export class EmbeddablePublicPlugin implements Plugin { + private stateTransferService: EmbeddableStateTransfer = {} as EmbeddableStateTransfer; + private appList?: ReadonlyMap; + private appListSubscription?: Subscription; + private enhancementsRegistry = new EnhancementsRegistry(); + + constructor(initializerContext: PluginInitializerContext) {} + + public setup(core: CoreSetup, { uiActions }: EmbeddableSetupDependencies) { + bootstrap(uiActions); + + return { + registerReactEmbeddableFactory, + registerAddFromLibraryType, + registerEnhancement: this.enhancementsRegistry.registerEnhancement, + }; + } + + public start(core: CoreStart, deps: EmbeddableStartDependencies): EmbeddableStart { + this.appListSubscription = core.application.applications$.subscribe((appList) => { + this.appList = appList; + }); + + this.stateTransferService = new EmbeddableStateTransfer( + core.application.navigateToApp, + core.application.currentAppId$, + this.appList + ); + + const commonContract: CommonEmbeddableStartContract = { + getEnhancement: this.enhancementsRegistry.getEnhancement, + }; + + const getAllMigrationsFn = () => + getAllMigrations( + [], + this.enhancementsRegistry.getEnhancements(), + getMigrateFunction(commonContract) + ); + + const embeddableStart: EmbeddableStart = { + getStateTransfer: (storage?: Storage) => + storage + ? new EmbeddableStateTransfer( + core.application.navigateToApp, + core.application.currentAppId$, + this.appList, + storage + ) + : this.stateTransferService, + telemetry: getTelemetryFunction(commonContract), + extract: getExtractFunction(commonContract), + inject: getInjectFunction(commonContract), + getAllMigrations: getAllMigrationsFn, + migrateToLatest: (state) => { + return migrateToLatest(getAllMigrationsFn(), state) as EmbeddableStateWithType; + }, + }; + + setKibanaServices(core, embeddableStart, deps); + return embeddableStart; + } + + public stop() { + if (this.appListSubscription) { + this.appListSubscription.unsubscribe(); + } + } +} diff --git a/src/plugins/embeddable/public/react_embeddable_system/index.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/index.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/index.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/index.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/phase_tracker.test.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.test.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/phase_tracker.test.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.test.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/phase_tracker.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/phase_tracker.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/types.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/types.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts diff --git a/src/plugins/embeddable/public/tests/test_plugin.ts b/src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts similarity index 96% rename from src/plugins/embeddable/public/tests/test_plugin.ts rename to src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts index 4cd20c4863b2b..ffb7d73b9bed6 100644 --- a/src/plugins/embeddable/public/tests/test_plugin.ts +++ b/src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts @@ -19,7 +19,8 @@ import { import { Query } from '@kbn/es-query'; import { SavedObjectsTaggingApi } from '@kbn/saved-objects-tagging-oss-plugin/public'; import { contentManagementMock } from '@kbn/content-management-plugin/public/mocks'; -import { EmbeddablePublicPlugin, EmbeddableSetup, EmbeddableStart } from '../plugin'; +import { EmbeddablePublicPlugin } from '../plugin'; +import type { EmbeddableSetup, EmbeddableStart } from '../types'; export interface TestPluginReturn { plugin: EmbeddablePublicPlugin; coreSetup: CoreSetup; diff --git a/src/platform/plugins/shared/embeddable/public/types.ts b/src/platform/plugins/shared/embeddable/public/types.ts new file mode 100644 index 0000000000000..2d97adfc2b8e0 --- /dev/null +++ b/src/platform/plugins/shared/embeddable/public/types.ts @@ -0,0 +1,71 @@ +/* + * 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 { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; +import type { Start as InspectorStart } from '@kbn/inspector-plugin/public'; +import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; +import type { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public'; +import type { ContentManagementPublicStart } from '@kbn/content-management-plugin/public'; +import type { SavedObjectTaggingOssPluginStart } from '@kbn/saved-objects-tagging-oss-plugin/public'; +import type { Storage } from '@kbn/kibana-utils-plugin/public'; +import type { PersistableStateService } from '@kbn/kibana-utils-plugin/common'; +import type { registerAddFromLibraryType } from './add_from_library/registry'; +import type { registerReactEmbeddableFactory } from './react_embeddable_system'; +import type { EmbeddableStateTransfer } from './lib'; +import type { EmbeddableStateWithType } from '../common'; +import { EnhancementRegistryDefinition } from './enhancements/types'; + +export interface EmbeddableSetupDependencies { + uiActions: UiActionsSetup; +} + +export interface EmbeddableStartDependencies { + uiActions: UiActionsStart; + inspector: InspectorStart; + usageCollection: UsageCollectionStart; + contentManagement: ContentManagementPublicStart; + savedObjectsManagement: SavedObjectsManagementPluginStart; + savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart; +} + +export interface EmbeddableSetup { + /** + * Register a saved object type with the "Add from library" flyout. + * + * @example + * registerAddFromLibraryType({ + * onAdd: (container, savedObject) => { + * container.addNewPanel({ + * panelType: CONTENT_ID, + * initialState: savedObject.attributes, + * }); + * }, + * savedObjectType: MAP_SAVED_OBJECT_TYPE, + * savedObjectName: i18n.translate('xpack.maps.mapSavedObjectLabel', { + * defaultMessage: 'Map', + * }), + * getIconForSavedObject: () => APP_ICON, + * }); + */ + registerAddFromLibraryType: typeof registerAddFromLibraryType; + + /** + * Registers an async {@link ReactEmbeddableFactory} getter. + */ + registerReactEmbeddableFactory: typeof registerReactEmbeddableFactory; + + /** + * @deprecated + */ + registerEnhancement: (enhancement: EnhancementRegistryDefinition) => void; +} + +export interface EmbeddableStart extends PersistableStateService { + getStateTransfer: (storage?: Storage) => EmbeddableStateTransfer; +} diff --git a/src/plugins/embeddable/server/index.ts b/src/platform/plugins/shared/embeddable/server/index.ts similarity index 100% rename from src/plugins/embeddable/server/index.ts rename to src/platform/plugins/shared/embeddable/server/index.ts diff --git a/src/plugins/embeddable/server/mocks.ts b/src/platform/plugins/shared/embeddable/server/mocks.ts similarity index 100% rename from src/plugins/embeddable/server/mocks.ts rename to src/platform/plugins/shared/embeddable/server/mocks.ts diff --git a/src/plugins/embeddable/server/plugin.ts b/src/platform/plugins/shared/embeddable/server/plugin.ts similarity index 100% rename from src/plugins/embeddable/server/plugin.ts rename to src/platform/plugins/shared/embeddable/server/plugin.ts diff --git a/src/plugins/embeddable/server/types.ts b/src/platform/plugins/shared/embeddable/server/types.ts similarity index 100% rename from src/plugins/embeddable/server/types.ts rename to src/platform/plugins/shared/embeddable/server/types.ts diff --git a/src/plugins/embeddable/tsconfig.json b/src/platform/plugins/shared/embeddable/tsconfig.json similarity index 93% rename from src/plugins/embeddable/tsconfig.json rename to src/platform/plugins/shared/embeddable/tsconfig.json index 249612d6d0e49..aeb64ab3f2c32 100644 --- a/src/plugins/embeddable/tsconfig.json +++ b/src/platform/plugins/shared/embeddable/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/expression_error/.storybook/main.js b/src/platform/plugins/shared/expression_error/.storybook/main.js similarity index 100% rename from src/plugins/expression_error/.storybook/main.js rename to src/platform/plugins/shared/expression_error/.storybook/main.js diff --git a/src/plugins/expression_error/README.md b/src/platform/plugins/shared/expression_error/README.md similarity index 100% rename from src/plugins/expression_error/README.md rename to src/platform/plugins/shared/expression_error/README.md diff --git a/src/plugins/expression_error/common/constants.ts b/src/platform/plugins/shared/expression_error/common/constants.ts similarity index 100% rename from src/plugins/expression_error/common/constants.ts rename to src/platform/plugins/shared/expression_error/common/constants.ts diff --git a/src/plugins/expression_error/common/index.ts b/src/platform/plugins/shared/expression_error/common/index.ts similarity index 92% rename from src/plugins/expression_error/common/index.ts rename to src/platform/plugins/shared/expression_error/common/index.ts index 690819c543511..3748ba396ee62 100755 --- a/src/plugins/expression_error/common/index.ts +++ b/src/platform/plugins/shared/expression_error/common/index.ts @@ -8,6 +8,5 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; diff --git a/src/plugins/expression_error/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_error/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_error/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_error/common/types/expression_renderers.ts diff --git a/src/plugins/expression_error/common/types/index.ts b/src/platform/plugins/shared/expression_error/common/types/index.ts similarity index 100% rename from src/plugins/expression_error/common/types/index.ts rename to src/platform/plugins/shared/expression_error/common/types/index.ts diff --git a/src/plugins/expression_error/kibana.jsonc b/src/platform/plugins/shared/expression_error/kibana.jsonc similarity index 100% rename from src/plugins/expression_error/kibana.jsonc rename to src/platform/plugins/shared/expression_error/kibana.jsonc diff --git a/src/plugins/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot diff --git a/src/plugins/expression_error/public/components/debug/__stories__/debug.stories.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/debug.stories.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/debug.stories.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/debug.stories.tsx diff --git a/src/plugins/expression_error/public/components/debug/__stories__/helpers.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/helpers.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/helpers.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/helpers.tsx diff --git a/src/plugins/expression_error/public/components/debug/debug.scss b/src/platform/plugins/shared/expression_error/public/components/debug/debug.scss similarity index 100% rename from src/plugins/expression_error/public/components/debug/debug.scss rename to src/platform/plugins/shared/expression_error/public/components/debug/debug.scss diff --git a/src/plugins/expression_error/public/components/debug/debug.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/debug.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/debug.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/debug.tsx diff --git a/src/plugins/expression_error/public/components/debug/index.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/index.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/index.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/index.tsx diff --git a/src/plugins/expression_error/public/components/debug_component.tsx b/src/platform/plugins/shared/expression_error/public/components/debug_component.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug_component.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug_component.tsx diff --git a/src/plugins/expression_error/public/components/error/error.tsx b/src/platform/plugins/shared/expression_error/public/components/error/error.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error/error.tsx rename to src/platform/plugins/shared/expression_error/public/components/error/error.tsx diff --git a/src/plugins/expression_error/public/components/error/index.ts b/src/platform/plugins/shared/expression_error/public/components/error/index.ts similarity index 100% rename from src/plugins/expression_error/public/components/error/index.ts rename to src/platform/plugins/shared/expression_error/public/components/error/index.ts diff --git a/src/plugins/expression_error/public/components/error/show_debugging.tsx b/src/platform/plugins/shared/expression_error/public/components/error/show_debugging.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error/show_debugging.tsx rename to src/platform/plugins/shared/expression_error/public/components/error/show_debugging.tsx diff --git a/src/plugins/expression_error/public/components/error_component.tsx b/src/platform/plugins/shared/expression_error/public/components/error_component.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error_component.tsx rename to src/platform/plugins/shared/expression_error/public/components/error_component.tsx diff --git a/src/plugins/expression_error/public/components/index.ts b/src/platform/plugins/shared/expression_error/public/components/index.ts similarity index 100% rename from src/plugins/expression_error/public/components/index.ts rename to src/platform/plugins/shared/expression_error/public/components/index.ts diff --git a/src/plugins/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot b/src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot rename to src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot diff --git a/src/plugins/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/error_renderer.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/error_renderer.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_error/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_error/public/expression_renderers/index.ts diff --git a/src/plugins/expression_error/public/index.ts b/src/platform/plugins/shared/expression_error/public/index.ts similarity index 100% rename from src/plugins/expression_error/public/index.ts rename to src/platform/plugins/shared/expression_error/public/index.ts diff --git a/src/plugins/expression_error/public/plugin.ts b/src/platform/plugins/shared/expression_error/public/plugin.ts similarity index 100% rename from src/plugins/expression_error/public/plugin.ts rename to src/platform/plugins/shared/expression_error/public/plugin.ts diff --git a/src/plugins/expression_error/tsconfig.json b/src/platform/plugins/shared/expression_error/tsconfig.json similarity index 90% rename from src/plugins/expression_error/tsconfig.json rename to src/platform/plugins/shared/expression_error/tsconfig.json index 72103987db1d8..861d068a3746c 100644 --- a/src/plugins/expression_error/tsconfig.json +++ b/src/platform/plugins/shared/expression_error/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_image/.storybook/main.js b/src/platform/plugins/shared/expression_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_image/.storybook/main.js rename to src/platform/plugins/shared/expression_image/.storybook/main.js diff --git a/src/plugins/expression_image/README.md b/src/platform/plugins/shared/expression_image/README.md similarity index 100% rename from src/plugins/expression_image/README.md rename to src/platform/plugins/shared/expression_image/README.md diff --git a/src/plugins/expression_image/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_image/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_image/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_image/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_image/__fixtures__/index.ts b/src/platform/plugins/shared/expression_image/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_image/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_image/__fixtures__/index.ts diff --git a/src/plugins/expression_image/common/constants.ts b/src/platform/plugins/shared/expression_image/common/constants.ts similarity index 100% rename from src/plugins/expression_image/common/constants.ts rename to src/platform/plugins/shared/expression_image/common/constants.ts diff --git a/src/plugins/expression_image/common/expression_functions/image_function.test.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/image_function.test.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/image_function.test.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/image_function.test.ts diff --git a/src/plugins/expression_image/common/expression_functions/image_function.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/image_function.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/image_function.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/image_function.ts diff --git a/src/plugins/expression_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_image/common/index.ts b/src/platform/plugins/shared/expression_image/common/index.ts similarity index 92% rename from src/plugins/expression_image/common/index.ts rename to src/platform/plugins/shared/expression_image/common/index.ts index 35bd3a07d2133..5b93b57a2f393 100755 --- a/src/plugins/expression_image/common/index.ts +++ b/src/platform/plugins/shared/expression_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/plugins/expression_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_image/common/types/index.ts b/src/platform/plugins/shared/expression_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_image/common/types/index.ts rename to src/platform/plugins/shared/expression_image/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_image/jest.config.js b/src/platform/plugins/shared/expression_image/jest.config.js new file mode 100644 index 0000000000000..e9f06377998b9 --- /dev/null +++ b/src/platform/plugins/shared/expression_image/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_image'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_image/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_image/kibana.jsonc b/src/platform/plugins/shared/expression_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_image/kibana.jsonc rename to src/platform/plugins/shared/expression_image/kibana.jsonc diff --git a/src/plugins/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot b/src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot rename to src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot diff --git a/src/plugins/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx b/src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx diff --git a/src/plugins/expression_image/public/expression_renderers/image_renderer.tsx b/src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/image_renderer.tsx rename to src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx diff --git a/src/plugins/expression_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_image/public/index.ts b/src/platform/plugins/shared/expression_image/public/index.ts similarity index 100% rename from src/plugins/expression_image/public/index.ts rename to src/platform/plugins/shared/expression_image/public/index.ts diff --git a/src/plugins/expression_image/public/plugin.ts b/src/platform/plugins/shared/expression_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_image/public/plugin.ts rename to src/platform/plugins/shared/expression_image/public/plugin.ts diff --git a/src/plugins/expression_image/server/index.ts b/src/platform/plugins/shared/expression_image/server/index.ts similarity index 100% rename from src/plugins/expression_image/server/index.ts rename to src/platform/plugins/shared/expression_image/server/index.ts diff --git a/src/plugins/expression_image/server/plugin.ts b/src/platform/plugins/shared/expression_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_image/server/plugin.ts rename to src/platform/plugins/shared/expression_image/server/plugin.ts diff --git a/src/plugins/expression_image/tsconfig.json b/src/platform/plugins/shared/expression_image/tsconfig.json similarity index 90% rename from src/plugins/expression_image/tsconfig.json rename to src/platform/plugins/shared/expression_image/tsconfig.json index 90dc26c409c59..b9d9e0e95002e 100644 --- a/src/plugins/expression_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_metric/.storybook/main.js b/src/platform/plugins/shared/expression_metric/.storybook/main.js similarity index 100% rename from src/plugins/expression_metric/.storybook/main.js rename to src/platform/plugins/shared/expression_metric/.storybook/main.js diff --git a/src/plugins/expression_metric/README.md b/src/platform/plugins/shared/expression_metric/README.md similarity index 100% rename from src/plugins/expression_metric/README.md rename to src/platform/plugins/shared/expression_metric/README.md diff --git a/src/plugins/expression_metric/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_metric/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_metric/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_metric/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_metric/__fixtures__/index.ts b/src/platform/plugins/shared/expression_metric/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_metric/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_metric/__fixtures__/index.ts diff --git a/src/plugins/expression_metric/common/constants.ts b/src/platform/plugins/shared/expression_metric/common/constants.ts similarity index 100% rename from src/plugins/expression_metric/common/constants.ts rename to src/platform/plugins/shared/expression_metric/common/constants.ts diff --git a/src/plugins/expression_metric/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts diff --git a/src/plugins/expression_metric/common/expression_functions/metric_function.test.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.test.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/metric_function.test.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.test.ts diff --git a/src/plugins/expression_metric/common/expression_functions/metric_function.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/metric_function.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts diff --git a/src/plugins/expression_repeat_image/common/index.ts b/src/platform/plugins/shared/expression_metric/common/index.ts similarity index 92% rename from src/plugins/expression_repeat_image/common/index.ts rename to src/platform/plugins/shared/expression_metric/common/index.ts index 2906d4d939a95..f537c7bcdd198 100755 --- a/src/plugins/expression_repeat_image/common/index.ts +++ b/src/platform/plugins/shared/expression_metric/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/plugins/expression_metric/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_metric/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts diff --git a/src/plugins/expression_metric/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_metric/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts diff --git a/src/plugins/expression_metric/common/types/index.ts b/src/platform/plugins/shared/expression_metric/common/types/index.ts similarity index 100% rename from src/plugins/expression_metric/common/types/index.ts rename to src/platform/plugins/shared/expression_metric/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_metric/jest.config.js b/src/platform/plugins/shared/expression_metric/jest.config.js new file mode 100644 index 0000000000000..bc85992dfc5ca --- /dev/null +++ b/src/platform/plugins/shared/expression_metric/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_metric'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_metric/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_metric/kibana.jsonc b/src/platform/plugins/shared/expression_metric/kibana.jsonc similarity index 100% rename from src/plugins/expression_metric/kibana.jsonc rename to src/platform/plugins/shared/expression_metric/kibana.jsonc diff --git a/src/plugins/expression_metric/public/components/index.ts b/src/platform/plugins/shared/expression_metric/public/components/index.ts similarity index 100% rename from src/plugins/expression_metric/public/components/index.ts rename to src/platform/plugins/shared/expression_metric/public/components/index.ts diff --git a/src/plugins/expression_metric/public/components/metric_component.tsx b/src/platform/plugins/shared/expression_metric/public/components/metric_component.tsx similarity index 100% rename from src/plugins/expression_metric/public/components/metric_component.tsx rename to src/platform/plugins/shared/expression_metric/public/components/metric_component.tsx diff --git a/src/plugins/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot b/src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot diff --git a/src/plugins/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx b/src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx diff --git a/src/plugins/expression_metric/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_metric/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/index.ts diff --git a/src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx b/src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx diff --git a/src/plugins/expression_metric/public/index.ts b/src/platform/plugins/shared/expression_metric/public/index.ts similarity index 100% rename from src/plugins/expression_metric/public/index.ts rename to src/platform/plugins/shared/expression_metric/public/index.ts diff --git a/src/plugins/expression_metric/public/plugin.ts b/src/platform/plugins/shared/expression_metric/public/plugin.ts similarity index 100% rename from src/plugins/expression_metric/public/plugin.ts rename to src/platform/plugins/shared/expression_metric/public/plugin.ts diff --git a/src/plugins/expression_metric/server/index.ts b/src/platform/plugins/shared/expression_metric/server/index.ts similarity index 100% rename from src/plugins/expression_metric/server/index.ts rename to src/platform/plugins/shared/expression_metric/server/index.ts diff --git a/src/plugins/expression_metric/server/plugin.ts b/src/platform/plugins/shared/expression_metric/server/plugin.ts similarity index 100% rename from src/plugins/expression_metric/server/plugin.ts rename to src/platform/plugins/shared/expression_metric/server/plugin.ts diff --git a/src/plugins/expression_metric/tsconfig.json b/src/platform/plugins/shared/expression_metric/tsconfig.json similarity index 89% rename from src/plugins/expression_metric/tsconfig.json rename to src/platform/plugins/shared/expression_metric/tsconfig.json index 026013a9496ad..ee40034a7e747 100644 --- a/src/plugins/expression_metric/tsconfig.json +++ b/src/platform/plugins/shared/expression_metric/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_repeat_image/.storybook/main.js b/src/platform/plugins/shared/expression_repeat_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_repeat_image/.storybook/main.js rename to src/platform/plugins/shared/expression_repeat_image/.storybook/main.js diff --git a/src/plugins/expression_repeat_image/README.md b/src/platform/plugins/shared/expression_repeat_image/README.md similarity index 100% rename from src/plugins/expression_repeat_image/README.md rename to src/platform/plugins/shared/expression_repeat_image/README.md diff --git a/src/plugins/expression_repeat_image/common/constants.ts b/src/platform/plugins/shared/expression_repeat_image/common/constants.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/constants.ts rename to src/platform/plugins/shared/expression_repeat_image/common/constants.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts diff --git a/src/plugins/expression_metric/common/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/index.ts similarity index 92% rename from src/plugins/expression_metric/common/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/index.ts index 2906d4d939a95..f537c7bcdd198 100755 --- a/src/plugins/expression_metric/common/index.ts +++ b/src/platform/plugins/shared/expression_repeat_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/plugins/expression_repeat_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_repeat_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_repeat_image/common/types/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_repeat_image/jest.config.js b/src/platform/plugins/shared/expression_repeat_image/jest.config.js new file mode 100644 index 0000000000000..4a42d457e7e5f --- /dev/null +++ b/src/platform/plugins/shared/expression_repeat_image/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_repeat_image'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_repeat_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_repeat_image/kibana.jsonc b/src/platform/plugins/shared/expression_repeat_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_repeat_image/kibana.jsonc rename to src/platform/plugins/shared/expression_repeat_image/kibana.jsonc diff --git a/src/plugins/expression_repeat_image/public/components/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/components/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/components/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/components/index.ts diff --git a/src/plugins/expression_repeat_image/public/components/repeat_image_component.tsx b/src/platform/plugins/shared/expression_repeat_image/public/components/repeat_image_component.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/components/repeat_image_component.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/components/repeat_image_component.tsx diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx diff --git a/src/plugins/expression_repeat_image/public/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/index.ts diff --git a/src/plugins/expression_repeat_image/public/plugin.ts b/src/platform/plugins/shared/expression_repeat_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/plugin.ts rename to src/platform/plugins/shared/expression_repeat_image/public/plugin.ts diff --git a/src/plugins/expression_repeat_image/server/index.ts b/src/platform/plugins/shared/expression_repeat_image/server/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/server/index.ts rename to src/platform/plugins/shared/expression_repeat_image/server/index.ts diff --git a/src/plugins/expression_repeat_image/server/plugin.ts b/src/platform/plugins/shared/expression_repeat_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_repeat_image/server/plugin.ts rename to src/platform/plugins/shared/expression_repeat_image/server/plugin.ts diff --git a/src/plugins/expression_repeat_image/tsconfig.json b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json similarity index 89% rename from src/plugins/expression_repeat_image/tsconfig.json rename to src/platform/plugins/shared/expression_repeat_image/tsconfig.json index dd41610e31b3a..750c42cdf0052 100644 --- a/src/plugins/expression_repeat_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_reveal_image/.storybook/main.js b/src/platform/plugins/shared/expression_reveal_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_reveal_image/.storybook/main.js rename to src/platform/plugins/shared/expression_reveal_image/.storybook/main.js diff --git a/src/plugins/expression_reveal_image/README.md b/src/platform/plugins/shared/expression_reveal_image/README.md similarity index 100% rename from src/plugins/expression_reveal_image/README.md rename to src/platform/plugins/shared/expression_reveal_image/README.md diff --git a/src/plugins/expression_reveal_image/common/constants.ts b/src/platform/plugins/shared/expression_reveal_image/common/constants.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/constants.ts rename to src/platform/plugins/shared/expression_reveal_image/common/constants.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/reveal_image.test.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image.test.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/reveal_image.test.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image.test.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts diff --git a/src/plugins/expression_reveal_image/common/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/index.ts similarity index 92% rename from src/plugins/expression_reveal_image/common/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/index.ts index 7aa8e909d8be1..2f52906fa3bba 100755 --- a/src/plugins/expression_reveal_image/common/index.ts +++ b/src/platform/plugins/shared/expression_reveal_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './expression_functions'; diff --git a/src/plugins/expression_reveal_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_reveal_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_reveal_image/common/types/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_reveal_image/jest.config.js b/src/platform/plugins/shared/expression_reveal_image/jest.config.js new file mode 100644 index 0000000000000..d9c95ea81db2f --- /dev/null +++ b/src/platform/plugins/shared/expression_reveal_image/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_reveal_image'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_reveal_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_reveal_image/kibana.jsonc b/src/platform/plugins/shared/expression_reveal_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_reveal_image/kibana.jsonc rename to src/platform/plugins/shared/expression_reveal_image/kibana.jsonc diff --git a/src/plugins/expression_reveal_image/public/components/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/components/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/components/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/components/index.ts diff --git a/src/plugins/expression_reveal_image/public/components/reveal_image_component.tsx b/src/platform/plugins/shared/expression_reveal_image/public/components/reveal_image_component.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/components/reveal_image_component.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/components/reveal_image_component.tsx diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx diff --git a/src/plugins/expression_reveal_image/public/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/index.ts diff --git a/src/plugins/expression_reveal_image/public/plugin.ts b/src/platform/plugins/shared/expression_reveal_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/plugin.ts rename to src/platform/plugins/shared/expression_reveal_image/public/plugin.ts diff --git a/src/plugins/expression_reveal_image/server/index.ts b/src/platform/plugins/shared/expression_reveal_image/server/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/server/index.ts rename to src/platform/plugins/shared/expression_reveal_image/server/index.ts diff --git a/src/plugins/expression_reveal_image/server/plugin.ts b/src/platform/plugins/shared/expression_reveal_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_reveal_image/server/plugin.ts rename to src/platform/plugins/shared/expression_reveal_image/server/plugin.ts diff --git a/src/plugins/expression_reveal_image/tsconfig.json b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json similarity index 89% rename from src/plugins/expression_reveal_image/tsconfig.json rename to src/platform/plugins/shared/expression_reveal_image/tsconfig.json index dd41610e31b3a..750c42cdf0052 100644 --- a/src/plugins/expression_reveal_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_shape/.storybook/main.js b/src/platform/plugins/shared/expression_shape/.storybook/main.js similarity index 100% rename from src/plugins/expression_shape/.storybook/main.js rename to src/platform/plugins/shared/expression_shape/.storybook/main.js diff --git a/src/plugins/expression_shape/README.md b/src/platform/plugins/shared/expression_shape/README.md similarity index 100% rename from src/plugins/expression_shape/README.md rename to src/platform/plugins/shared/expression_shape/README.md diff --git a/src/plugins/expression_shape/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_shape/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_shape/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_shape/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_shape/__fixtures__/index.ts b/src/platform/plugins/shared/expression_shape/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_shape/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_shape/__fixtures__/index.ts diff --git a/src/plugins/expression_shape/common/constants.ts b/src/platform/plugins/shared/expression_shape/common/constants.ts similarity index 100% rename from src/plugins/expression_shape/common/constants.ts rename to src/platform/plugins/shared/expression_shape/common/constants.ts diff --git a/src/plugins/expression_shape/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/index.ts diff --git a/src/plugins/expression_shape/common/expression_functions/progress_function.test.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.test.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/progress_function.test.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.test.ts diff --git a/src/plugins/expression_shape/common/expression_functions/progress_function.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/progress_function.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.ts diff --git a/src/plugins/expression_shape/common/expression_functions/shape_function.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/shape_function.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/shape_function.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/shape_function.ts diff --git a/src/plugins/expression_shape/common/index.ts b/src/platform/plugins/shared/expression_shape/common/index.ts similarity index 100% rename from src/plugins/expression_shape/common/index.ts rename to src/platform/plugins/shared/expression_shape/common/index.ts diff --git a/src/plugins/expression_shape/common/lib/available_shapes.ts b/src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/available_shapes.ts rename to src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts diff --git a/src/plugins/expression_shape/common/lib/get_id.ts b/src/platform/plugins/shared/expression_shape/common/lib/get_id.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/get_id.ts rename to src/platform/plugins/shared/expression_shape/common/lib/get_id.ts diff --git a/src/plugins/expression_shape/common/lib/index.ts b/src/platform/plugins/shared/expression_shape/common/lib/index.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/index.ts rename to src/platform/plugins/shared/expression_shape/common/lib/index.ts diff --git a/src/plugins/expression_shape/common/lib/view_box.ts b/src/platform/plugins/shared/expression_shape/common/lib/view_box.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/view_box.ts rename to src/platform/plugins/shared/expression_shape/common/lib/view_box.ts diff --git a/src/plugins/expression_shape/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_shape/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts diff --git a/src/plugins/expression_shape/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_shape/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts diff --git a/src/plugins/expression_shape/common/types/index.ts b/src/platform/plugins/shared/expression_shape/common/types/index.ts similarity index 100% rename from src/plugins/expression_shape/common/types/index.ts rename to src/platform/plugins/shared/expression_shape/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_shape/jest.config.js b/src/platform/plugins/shared/expression_shape/jest.config.js new file mode 100644 index 0000000000000..24066ebb37342 --- /dev/null +++ b/src/platform/plugins/shared/expression_shape/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_shape'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_shape', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_shape/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_shape/kibana.jsonc b/src/platform/plugins/shared/expression_shape/kibana.jsonc similarity index 100% rename from src/plugins/expression_shape/kibana.jsonc rename to src/platform/plugins/shared/expression_shape/kibana.jsonc diff --git a/src/plugins/expression_shape/public/components/progress/index.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/index.ts diff --git a/src/plugins/expression_shape/public/components/progress/progress_component.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/progress_component.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/progress_component.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/progress_component.tsx diff --git a/src/plugins/expression_shape/public/components/progress/progress_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/progress_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/gauge.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/gauge.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/gauge.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/gauge.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/horizontal_bar.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_bar.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/horizontal_bar.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_bar.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/horizontal_pill.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_pill.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/horizontal_pill.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_pill.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/index.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/index.ts diff --git a/src/plugins/expression_shape/public/components/progress/shapes/semicircle.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/semicircle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/semicircle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/semicircle.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/unicorn.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/unicorn.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/unicorn.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/unicorn.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/vertical_bar.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_bar.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/vertical_bar.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_bar.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/vertical_pill.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_pill.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/vertical_pill.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_pill.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/wheel.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/wheel.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/wheel.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/wheel.tsx diff --git a/src/plugins/expression_shape/public/components/progress/utils.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/utils.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/utils.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/utils.ts diff --git a/src/plugins/expression_shape/public/components/reusable/index.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/index.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/index.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/index.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/shape_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/shape_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/shape_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/shape_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/shape_factory.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/shape_factory.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/types.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/types.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/utils.ts b/src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/utils.ts rename to src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts diff --git a/src/plugins/expression_shape/public/components/shape/index.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/index.ts diff --git a/src/plugins/expression_shape/public/components/shape/shape_component.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shape_component.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shape_component.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shape_component.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shape_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shape_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/arrow.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/arrow.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/arrow_multi.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow_multi.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/arrow_multi.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow_multi.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/bookmark.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/bookmark.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/bookmark.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/bookmark.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/circle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/circle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/circle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/circle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/cross.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/cross.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/cross.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/cross.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/hexagon.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/hexagon.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/hexagon.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/hexagon.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/index.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/index.ts diff --git a/src/plugins/expression_shape/public/components/shape/shapes/kite.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/kite.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/kite.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/kite.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/pentagon.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/pentagon.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/pentagon.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/pentagon.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/rhombus.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/rhombus.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/rhombus.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/rhombus.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/semicircle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/semicircle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/semicircle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/semicircle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/speech_bubble.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/speech_bubble.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/speech_bubble.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/speech_bubble.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/square.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/square.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/square.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/square.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/star.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/star.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/star.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/star.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/tag.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/tag.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/tag.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/tag.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/triangle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/triangle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/triangle_right.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle_right.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/triangle_right.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle_right.tsx diff --git a/src/plugins/expression_shape/public/components/shape/types.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/types.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/types.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/types.ts diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_shape/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/index.ts diff --git a/src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx diff --git a/src/plugins/expression_shape/public/index.ts b/src/platform/plugins/shared/expression_shape/public/index.ts similarity index 100% rename from src/plugins/expression_shape/public/index.ts rename to src/platform/plugins/shared/expression_shape/public/index.ts diff --git a/src/plugins/expression_shape/public/plugin.ts b/src/platform/plugins/shared/expression_shape/public/plugin.ts similarity index 100% rename from src/plugins/expression_shape/public/plugin.ts rename to src/platform/plugins/shared/expression_shape/public/plugin.ts diff --git a/src/plugins/expression_shape/server/index.ts b/src/platform/plugins/shared/expression_shape/server/index.ts similarity index 100% rename from src/plugins/expression_shape/server/index.ts rename to src/platform/plugins/shared/expression_shape/server/index.ts diff --git a/src/plugins/expression_shape/server/plugin.ts b/src/platform/plugins/shared/expression_shape/server/plugin.ts similarity index 100% rename from src/plugins/expression_shape/server/plugin.ts rename to src/platform/plugins/shared/expression_shape/server/plugin.ts diff --git a/src/plugins/expression_shape/tsconfig.json b/src/platform/plugins/shared/expression_shape/tsconfig.json similarity index 90% rename from src/plugins/expression_shape/tsconfig.json rename to src/platform/plugins/shared/expression_shape/tsconfig.json index 5c99b7a58ee85..9f2e65cc3d2e9 100644 --- a/src/plugins/expression_shape/tsconfig.json +++ b/src/platform/plugins/shared/expression_shape/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/inspector/README.md b/src/platform/plugins/shared/inspector/README.md similarity index 100% rename from src/plugins/inspector/README.md rename to src/platform/plugins/shared/inspector/README.md diff --git a/src/plugins/inspector/common/adapters/index.ts b/src/platform/plugins/shared/inspector/common/adapters/index.ts similarity index 100% rename from src/plugins/inspector/common/adapters/index.ts rename to src/platform/plugins/shared/inspector/common/adapters/index.ts diff --git a/src/plugins/inspector/common/adapters/request/index.ts b/src/platform/plugins/shared/inspector/common/adapters/request/index.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/index.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/index.ts diff --git a/src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.test.ts b/src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.test.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.test.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.test.ts diff --git a/src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.ts b/src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.ts diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.test.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.test.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_adapter.test.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.test.ts diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_adapter.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts diff --git a/src/plugins/inspector/common/adapters/request/request_responder.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_responder.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts diff --git a/src/plugins/inspector/common/adapters/request/types.ts b/src/platform/plugins/shared/inspector/common/adapters/request/types.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/types.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/types.ts diff --git a/src/plugins/inspector/common/adapters/types.ts b/src/platform/plugins/shared/inspector/common/adapters/types.ts similarity index 100% rename from src/plugins/inspector/common/adapters/types.ts rename to src/platform/plugins/shared/inspector/common/adapters/types.ts diff --git a/src/plugins/inspector/common/index.ts b/src/platform/plugins/shared/inspector/common/index.ts similarity index 100% rename from src/plugins/inspector/common/index.ts rename to src/platform/plugins/shared/inspector/common/index.ts diff --git a/src/plugins/expression_reveal_image/jest.config.js b/src/platform/plugins/shared/inspector/jest.config.js similarity index 75% rename from src/plugins/expression_reveal_image/jest.config.js rename to src/platform/plugins/shared/inspector/jest.config.js index bb6affeacc2bd..71c91aca5cd77 100644 --- a/src/plugins/expression_reveal_image/jest.config.js +++ b/src/platform/plugins/shared/inspector/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_reveal_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_reveal_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/inspector'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/inspector', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/inspector/{common,public}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/inspector/kibana.jsonc b/src/platform/plugins/shared/inspector/kibana.jsonc similarity index 100% rename from src/plugins/inspector/kibana.jsonc rename to src/platform/plugins/shared/inspector/kibana.jsonc diff --git a/src/plugins/inspector/public/adapters/has_inspector_adapters.ts b/src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts similarity index 100% rename from src/plugins/inspector/public/adapters/has_inspector_adapters.ts rename to src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts diff --git a/src/plugins/inspector/public/index.scss b/src/platform/plugins/shared/inspector/public/index.scss similarity index 100% rename from src/plugins/inspector/public/index.scss rename to src/platform/plugins/shared/inspector/public/index.scss diff --git a/src/plugins/inspector/public/index.ts b/src/platform/plugins/shared/inspector/public/index.ts similarity index 96% rename from src/plugins/inspector/public/index.ts rename to src/platform/plugins/shared/inspector/public/index.ts index 1b42bab18e1d0..3a77dc27f42d7 100644 --- a/src/plugins/inspector/public/index.ts +++ b/src/platform/plugins/shared/inspector/public/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/109900 -/* eslint-disable @kbn/eslint/no_export_all */ import './index.scss'; diff --git a/src/plugins/inspector/public/mocks.ts b/src/platform/plugins/shared/inspector/public/mocks.ts similarity index 100% rename from src/plugins/inspector/public/mocks.ts rename to src/platform/plugins/shared/inspector/public/mocks.ts diff --git a/src/plugins/inspector/public/plugin.tsx b/src/platform/plugins/shared/inspector/public/plugin.tsx similarity index 100% rename from src/plugins/inspector/public/plugin.tsx rename to src/platform/plugins/shared/inspector/public/plugin.tsx diff --git a/src/plugins/inspector/public/test/is_available.test.ts b/src/platform/plugins/shared/inspector/public/test/is_available.test.ts similarity index 100% rename from src/plugins/inspector/public/test/is_available.test.ts rename to src/platform/plugins/shared/inspector/public/test/is_available.test.ts diff --git a/src/plugins/inspector/public/test/open.test.ts b/src/platform/plugins/shared/inspector/public/test/open.test.ts similarity index 100% rename from src/plugins/inspector/public/test/open.test.ts rename to src/platform/plugins/shared/inspector/public/test/open.test.ts diff --git a/src/plugins/inspector/public/types.ts b/src/platform/plugins/shared/inspector/public/types.ts similarity index 100% rename from src/plugins/inspector/public/types.ts rename to src/platform/plugins/shared/inspector/public/types.ts diff --git a/src/plugins/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap b/src/platform/plugins/shared/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap diff --git a/src/plugins/inspector/public/ui/inspector_panel.scss b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.scss similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.scss rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.scss diff --git a/src/plugins/inspector/public/ui/inspector_panel.test.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.test.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.test.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.test.tsx diff --git a/src/plugins/inspector/public/ui/inspector_panel.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.tsx diff --git a/src/plugins/inspector/public/ui/inspector_view_chooser.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_view_chooser.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_view_chooser.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_view_chooser.tsx diff --git a/src/plugins/inspector/public/view_registry.test.ts b/src/platform/plugins/shared/inspector/public/view_registry.test.ts similarity index 100% rename from src/plugins/inspector/public/view_registry.test.ts rename to src/platform/plugins/shared/inspector/public/view_registry.test.ts diff --git a/src/plugins/inspector/public/view_registry.ts b/src/platform/plugins/shared/inspector/public/view_registry.ts similarity index 100% rename from src/plugins/inspector/public/view_registry.ts rename to src/platform/plugins/shared/inspector/public/view_registry.ts diff --git a/src/plugins/inspector/public/views/_index.scss b/src/platform/plugins/shared/inspector/public/views/_index.scss similarity index 100% rename from src/plugins/inspector/public/views/_index.scss rename to src/platform/plugins/shared/inspector/public/views/_index.scss diff --git a/src/plugins/inspector/public/views/index.ts b/src/platform/plugins/shared/inspector/public/views/index.ts similarity index 100% rename from src/plugins/inspector/public/views/index.ts rename to src/platform/plugins/shared/inspector/public/views/index.ts diff --git a/src/plugins/inspector/public/views/requests/_index.scss b/src/platform/plugins/shared/inspector/public/views/requests/_index.scss similarity index 100% rename from src/plugins/inspector/public/views/requests/_index.scss rename to src/platform/plugins/shared/inspector/public/views/requests/_index.scss diff --git a/src/plugins/inspector/public/views/requests/_requests.scss b/src/platform/plugins/shared/inspector/public/views/requests/_requests.scss similarity index 100% rename from src/plugins/inspector/public/views/requests/_requests.scss rename to src/platform/plugins/shared/inspector/public/views/requests/_requests.scss diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/req_code_viewer.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_code_viewer.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_code_viewer.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_code_viewer.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request_content.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request_content.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_request_content.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request_content.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_response.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_response.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_stats.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_stats.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/types.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/types.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/types.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/types.ts diff --git a/src/plugins/inspector/public/views/requests/components/disambiguate_request_names.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/disambiguate_request_names.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/disambiguate_request_names.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/disambiguate_request_names.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.ts diff --git a/src/plugins/inspector/public/views/requests/components/get_next_tab.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/get_next_tab.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/get_next_tab.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/get_next_tab.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.ts diff --git a/src/plugins/inspector/public/views/requests/components/request_details.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/request_details.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/request_details.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/request_details.tsx diff --git a/src/plugins/inspector/public/views/requests/components/request_selector.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/request_selector.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/request_selector.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/request_selector.tsx diff --git a/src/plugins/inspector/public/views/requests/components/requests_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/requests_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/requests_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/requests_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/types.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/types.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/types.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/types.ts diff --git a/src/plugins/inspector/public/views/requests/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/index.ts diff --git a/src/plugins/inspector/tsconfig.json b/src/platform/plugins/shared/inspector/tsconfig.json similarity index 91% rename from src/plugins/inspector/tsconfig.json rename to src/platform/plugins/shared/inspector/tsconfig.json index f0a23ddf01958..0b0b7217ef8f9 100644 --- a/src/plugins/inspector/tsconfig.json +++ b/src/platform/plugins/shared/inspector/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/presentation_util/README.mdx b/src/platform/plugins/shared/presentation_util/README.mdx similarity index 100% rename from src/plugins/presentation_util/README.mdx rename to src/platform/plugins/shared/presentation_util/README.mdx diff --git a/src/plugins/presentation_util/common/index.ts b/src/platform/plugins/shared/presentation_util/common/index.ts similarity index 100% rename from src/plugins/presentation_util/common/index.ts rename to src/platform/plugins/shared/presentation_util/common/index.ts diff --git a/src/plugins/presentation_util/common/labs.ts b/src/platform/plugins/shared/presentation_util/common/labs.ts similarity index 100% rename from src/plugins/presentation_util/common/labs.ts rename to src/platform/plugins/shared/presentation_util/common/labs.ts diff --git a/src/plugins/presentation_util/common/lib/index.ts b/src/platform/plugins/shared/presentation_util/common/lib/index.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/index.ts rename to src/platform/plugins/shared/presentation_util/common/lib/index.ts diff --git a/src/plugins/presentation_util/common/lib/utils/dataurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/dataurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/dataurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/dataurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/elastic_logo.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_logo.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/elastic_logo.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_logo.ts diff --git a/src/plugins/presentation_util/common/lib/utils/elastic_outline.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_outline.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/elastic_outline.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_outline.ts diff --git a/src/plugins/presentation_util/common/lib/utils/httpurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/httpurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/httpurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/httpurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/index.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/index.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts diff --git a/src/plugins/presentation_util/common/lib/utils/missing_asset.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/missing_asset.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/missing_asset.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/missing_asset.ts diff --git a/src/plugins/presentation_util/common/lib/utils/resolve_dataurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/resolve_dataurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/url.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/url.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/url.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/url.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/url.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/url.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts diff --git a/src/platform/plugins/shared/presentation_util/jest.config.js b/src/platform/plugins/shared/presentation_util/jest.config.js new file mode 100644 index 0000000000000..c059676c0cd10 --- /dev/null +++ b/src/platform/plugins/shared/presentation_util/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/presentation_util'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/presentation_util', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/presentation_util/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/presentation_util/kibana.jsonc b/src/platform/plugins/shared/presentation_util/kibana.jsonc similarity index 100% rename from src/plugins/presentation_util/kibana.jsonc rename to src/platform/plugins/shared/presentation_util/kibana.jsonc diff --git a/src/plugins/presentation_util/public/__stories__/fixtures/flights.ts b/src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights.ts similarity index 100% rename from src/plugins/presentation_util/public/__stories__/fixtures/flights.ts rename to src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights.ts diff --git a/src/plugins/presentation_util/public/__stories__/fixtures/flights_data.ts b/src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights_data.ts similarity index 100% rename from src/plugins/presentation_util/public/__stories__/fixtures/flights_data.ts rename to src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights_data.ts diff --git a/src/plugins/presentation_util/public/__stories__/index.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/index.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/index.tsx diff --git a/src/plugins/presentation_util/public/__stories__/render.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/render.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/render.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/render.tsx diff --git a/src/plugins/presentation_util/public/__stories__/wait_for.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/wait_for.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/wait_for.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/wait_for.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts b/src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts diff --git a/src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx diff --git a/src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/autocomplete.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/autocomplete.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/autocomplete.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/autocomplete.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/constants.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/constants.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/constants.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/constants.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/expression_input.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/expression_input.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.stories.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/expression_input.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/expression_input.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/index.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/index.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/index.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/language.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/language.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/language.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/language.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/providers.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/providers.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/providers.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/providers.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/reference.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/reference.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/reference.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/reference.ts diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.scss b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.scss similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.scss rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.scss diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.tsx diff --git a/src/plugins/presentation_util/public/components/field_picker/field_type_filter.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_type_filter.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_type_filter.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_type_filter.tsx diff --git a/src/plugins/presentation_util/public/components/floating_actions/floating_actions.scss b/src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.scss similarity index 100% rename from src/plugins/presentation_util/public/components/floating_actions/floating_actions.scss rename to src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.scss diff --git a/src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx b/src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx rename to src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx diff --git a/src/plugins/presentation_util/public/components/index.tsx b/src/platform/plugins/shared/presentation_util/public/components/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/index.tsx rename to src/platform/plugins/shared/presentation_util/public/components/index.tsx diff --git a/src/plugins/presentation_util/public/components/labs/environment_switch.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/environment_switch.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/environment_switch.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/environment_switch.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs.stories.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs_beaker_button.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs_beaker_button.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs_beaker_button.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs_beaker_button.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs_flyout.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs_flyout.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs_flyout.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs_flyout.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.scss b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.scss similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.scss rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.scss diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.stories.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx diff --git a/src/plugins/presentation_util/public/components/types.ts b/src/platform/plugins/shared/presentation_util/public/components/types.ts similarity index 100% rename from src/plugins/presentation_util/public/components/types.ts rename to src/platform/plugins/shared/presentation_util/public/components/types.ts diff --git a/src/plugins/presentation_util/public/i18n/dashboard_drilldown_config.tsx b/src/platform/plugins/shared/presentation_util/public/i18n/dashboard_drilldown_config.tsx similarity index 100% rename from src/plugins/presentation_util/public/i18n/dashboard_drilldown_config.tsx rename to src/platform/plugins/shared/presentation_util/public/i18n/dashboard_drilldown_config.tsx diff --git a/src/plugins/presentation_util/public/i18n/index.ts b/src/platform/plugins/shared/presentation_util/public/i18n/index.ts similarity index 100% rename from src/plugins/presentation_util/public/i18n/index.ts rename to src/platform/plugins/shared/presentation_util/public/i18n/index.ts diff --git a/src/plugins/presentation_util/public/i18n/labs.tsx b/src/platform/plugins/shared/presentation_util/public/i18n/labs.tsx similarity index 100% rename from src/plugins/presentation_util/public/i18n/labs.tsx rename to src/platform/plugins/shared/presentation_util/public/i18n/labs.tsx diff --git a/src/plugins/presentation_util/public/index.ts b/src/platform/plugins/shared/presentation_util/public/index.ts similarity index 100% rename from src/plugins/presentation_util/public/index.ts rename to src/platform/plugins/shared/presentation_util/public/index.ts diff --git a/src/plugins/presentation_util/public/mocks.ts b/src/platform/plugins/shared/presentation_util/public/mocks.ts similarity index 100% rename from src/plugins/presentation_util/public/mocks.ts rename to src/platform/plugins/shared/presentation_util/public/mocks.ts diff --git a/src/plugins/presentation_util/public/plugin.ts b/src/platform/plugins/shared/presentation_util/public/plugin.ts similarity index 100% rename from src/plugins/presentation_util/public/plugin.ts rename to src/platform/plugins/shared/presentation_util/public/plugin.ts diff --git a/src/plugins/presentation_util/public/services/kibana_services.ts b/src/platform/plugins/shared/presentation_util/public/services/kibana_services.ts similarity index 100% rename from src/plugins/presentation_util/public/services/kibana_services.ts rename to src/platform/plugins/shared/presentation_util/public/services/kibana_services.ts diff --git a/src/plugins/presentation_util/public/services/mocks.ts b/src/platform/plugins/shared/presentation_util/public/services/mocks.ts similarity index 100% rename from src/plugins/presentation_util/public/services/mocks.ts rename to src/platform/plugins/shared/presentation_util/public/services/mocks.ts diff --git a/src/plugins/presentation_util/public/services/presentation_labs_service.ts b/src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts similarity index 100% rename from src/plugins/presentation_util/public/services/presentation_labs_service.ts rename to src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts diff --git a/src/plugins/presentation_util/public/types.ts b/src/platform/plugins/shared/presentation_util/public/types.ts similarity index 100% rename from src/plugins/presentation_util/public/types.ts rename to src/platform/plugins/shared/presentation_util/public/types.ts diff --git a/src/plugins/presentation_util/public/utils/get_presentation_capabilities.ts b/src/platform/plugins/shared/presentation_util/public/utils/get_presentation_capabilities.ts similarity index 100% rename from src/plugins/presentation_util/public/utils/get_presentation_capabilities.ts rename to src/platform/plugins/shared/presentation_util/public/utils/get_presentation_capabilities.ts diff --git a/src/plugins/presentation_util/server/index.ts b/src/platform/plugins/shared/presentation_util/server/index.ts similarity index 100% rename from src/plugins/presentation_util/server/index.ts rename to src/platform/plugins/shared/presentation_util/server/index.ts diff --git a/src/plugins/presentation_util/server/plugin.ts b/src/platform/plugins/shared/presentation_util/server/plugin.ts similarity index 100% rename from src/plugins/presentation_util/server/plugin.ts rename to src/platform/plugins/shared/presentation_util/server/plugin.ts diff --git a/src/plugins/presentation_util/server/ui_settings.ts b/src/platform/plugins/shared/presentation_util/server/ui_settings.ts similarity index 100% rename from src/plugins/presentation_util/server/ui_settings.ts rename to src/platform/plugins/shared/presentation_util/server/ui_settings.ts diff --git a/src/plugins/presentation_util/storybook/decorator.tsx b/src/platform/plugins/shared/presentation_util/storybook/decorator.tsx similarity index 100% rename from src/plugins/presentation_util/storybook/decorator.tsx rename to src/platform/plugins/shared/presentation_util/storybook/decorator.tsx diff --git a/src/plugins/presentation_util/storybook/main.ts b/src/platform/plugins/shared/presentation_util/storybook/main.ts similarity index 92% rename from src/plugins/presentation_util/storybook/main.ts rename to src/platform/plugins/shared/presentation_util/storybook/main.ts index c51873a09b7f2..07c1304620aa0 100644 --- a/src/plugins/presentation_util/storybook/main.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/main.ts @@ -14,5 +14,5 @@ module.exports = { define: { global: 'window', }, - stories: ['../../**/*.stories.+(tsx|mdx)'], + stories: ['../../../../**/*.stories.+(tsx|mdx)'], }; diff --git a/src/plugins/presentation_util/storybook/manager.ts b/src/platform/plugins/shared/presentation_util/storybook/manager.ts similarity index 87% rename from src/plugins/presentation_util/storybook/manager.ts rename to src/platform/plugins/shared/presentation_util/storybook/manager.ts index f336acb689a53..e879b1d1a234e 100644 --- a/src/plugins/presentation_util/storybook/manager.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/manager.ts @@ -15,7 +15,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana Presentation Utility Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/src/plugins/presentation_util/storybook/preview.tsx b/src/platform/plugins/shared/presentation_util/storybook/preview.tsx similarity index 100% rename from src/plugins/presentation_util/storybook/preview.tsx rename to src/platform/plugins/shared/presentation_util/storybook/preview.tsx diff --git a/src/plugins/presentation_util/test_helpers/function_wrapper.ts b/src/platform/plugins/shared/presentation_util/test_helpers/function_wrapper.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/function_wrapper.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/function_wrapper.ts diff --git a/src/plugins/presentation_util/test_helpers/index.ts b/src/platform/plugins/shared/presentation_util/test_helpers/index.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/index.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/index.ts diff --git a/src/plugins/presentation_util/test_helpers/test_styles.ts b/src/platform/plugins/shared/presentation_util/test_helpers/test_styles.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/test_styles.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/test_styles.ts diff --git a/src/plugins/presentation_util/tsconfig.json b/src/platform/plugins/shared/presentation_util/tsconfig.json similarity index 92% rename from src/plugins/presentation_util/tsconfig.json rename to src/platform/plugins/shared/presentation_util/tsconfig.json index 45b258a2a3733..44f61e43b1c24 100644 --- a/src/plugins/presentation_util/tsconfig.json +++ b/src/platform/plugins/shared/presentation_util/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -10,7 +10,7 @@ "server/**/*", "test_helpers/**/*", "storybook/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/bfetch/README.md b/src/plugins/bfetch/README.md deleted file mode 100644 index 9ed90a4de306e..0000000000000 --- a/src/plugins/bfetch/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# `bfetch` plugin - -`bfetch` allows to batch HTTP requests and streams responses back. - - -# Example - -We will create a batch processing endpoint that receives a number then doubles it -and streams it back. We will also consider the number to be time in milliseconds -and before streaming the number back the server will wait for the specified number of -milliseconds. - -To do that, first create server-side batch processing route using [`addBatchProcessingRoute`](./docs/server/reference.md#addBatchProcessingRoute). - -```ts -plugins.bfetch.addBatchProcessingRoute<{ num: number }, { num: number }>( - '/my-plugin/double', - () => ({ - onBatchItem: async ({ num }) => { - // Validate inputs. - if (num < 0) throw new Error('Invalid number'); - // Wait number of specified milliseconds. - await new Promise(r => setTimeout(r, num)); - // Double the number and send it back. - return { num: 2 * num }; - }, - }) -); -``` - -Now on client-side create `double` function using [`batchedFunction`](./docs/browser/reference.md#batchedFunction). -The newly created `double` function can be called many times and it -will package individual calls into batches and send them to the server. - -```ts -const double = plugins.bfetch.batchedFunction<{ num: number }, { num: number }>({ - url: '/my-plugin/double', -}); -``` - -Note: the created `double` must accept a single object argument (`{ num: number }` in this case) -and it will return a promise that resolves into an object, too (also `{ num: number }` in this case). - -Use the `double` function. - -```ts -double({ num: 1 }).then(console.log, console.error); // { num: 2 } -double({ num: 2 }).then(console.log, console.error); // { num: 4 } -double({ num: 3 }).then(console.log, console.error); // { num: 6 } -``` - - -## Reference - -- [Browser](./docs/browser/reference.md) -- [Server](./docs/server/reference.md) diff --git a/src/plugins/bfetch/common/batch.ts b/src/plugins/bfetch/common/batch.ts deleted file mode 100644 index cc66367b01ab0..0000000000000 --- a/src/plugins/bfetch/common/batch.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export interface ErrorLike { - message: string; -} - -export interface BatchRequestData { - batch: Item[]; -} - -export interface BatchResponseItem { - id: number; - result?: Result; - error?: Error; -} - -export interface BatchItemWrapper { - compressed: boolean; - payload: string; -} diff --git a/src/plugins/bfetch/common/buffer/create_batched_function.test.ts b/src/plugins/bfetch/common/buffer/create_batched_function.test.ts deleted file mode 100644 index 2953eaf967c94..0000000000000 --- a/src/plugins/bfetch/common/buffer/create_batched_function.test.ts +++ /dev/null @@ -1,65 +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 { createBatchedFunction } from './create_batched_function'; - -describe('createBatchedFunction', () => { - test('calls onCall every time fn is called, calls onBatch once flushOnMaxItems reached', async () => { - const onBatch = jest.fn(); - const onCall = jest.fn(() => [1, 2] as any); - const [fn] = createBatchedFunction({ - onBatch, - onCall, - flushOnMaxItems: 2, - maxItemAge: 10, - }); - - expect(onCall).toHaveBeenCalledTimes(0); - expect(onBatch).toHaveBeenCalledTimes(0); - - fn(123); - - expect(onCall).toHaveBeenCalledTimes(1); - expect(onCall).toHaveBeenCalledWith(123); - expect(onBatch).toHaveBeenCalledTimes(0); - - fn(456); - - expect(onCall).toHaveBeenCalledTimes(2); - expect(onCall).toHaveBeenCalledWith(456); - expect(onBatch).toHaveBeenCalledTimes(1); - expect(onBatch).toHaveBeenCalledWith([2, 2]); - }); - - test('calls onBatch once timeout is reached', async () => { - const onBatch = jest.fn(); - const onCall = jest.fn(() => [4, 3] as any); - const [fn] = createBatchedFunction({ - onBatch, - onCall, - flushOnMaxItems: 2, - maxItemAge: 10, - }); - - expect(onCall).toHaveBeenCalledTimes(0); - expect(onBatch).toHaveBeenCalledTimes(0); - - fn(123); - - expect(onCall).toHaveBeenCalledTimes(1); - expect(onCall).toHaveBeenCalledWith(123); - expect(onBatch).toHaveBeenCalledTimes(0); - - await new Promise((r) => setTimeout(r, 15)); - - expect(onCall).toHaveBeenCalledTimes(1); - expect(onBatch).toHaveBeenCalledTimes(1); - expect(onBatch).toHaveBeenCalledWith([3]); - }); -}); diff --git a/src/plugins/bfetch/common/buffer/create_batched_function.ts b/src/plugins/bfetch/common/buffer/create_batched_function.ts deleted file mode 100644 index b87d45050b3c9..0000000000000 --- a/src/plugins/bfetch/common/buffer/create_batched_function.ts +++ /dev/null @@ -1,39 +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 { ItemBufferParams, TimedItemBufferParams } from '@kbn/item-buffer'; -import { TimedItemBuffer } from '@kbn/item-buffer'; - -type Fn = (...args: any) => any; - -export interface BatchedFunctionParams { - onCall: (...args: Parameters) => [ReturnType, BatchEntry]; - onBatch: (items: BatchEntry[]) => void; - flushOnMaxItems?: ItemBufferParams['flushOnMaxItems']; - maxItemAge?: TimedItemBufferParams['maxItemAge']; -} - -export const createBatchedFunction = ( - params: BatchedFunctionParams -): [Func, TimedItemBuffer] => { - const { onCall, onBatch, maxItemAge = 10, flushOnMaxItems = 25 } = params; - const buffer = new TimedItemBuffer({ - onFlush: onBatch, - maxItemAge, - flushOnMaxItems, - }); - - const fn: Func = ((...args) => { - const [result, batchEntry] = onCall(...args); - buffer.write(batchEntry); - return result; - }) as Func; - - return [fn, buffer]; -}; diff --git a/src/plugins/bfetch/common/constants.ts b/src/plugins/bfetch/common/constants.ts deleted file mode 100644 index 928eca32e1895..0000000000000 --- a/src/plugins/bfetch/common/constants.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export const DISABLE_BFETCH_COMPRESSION = 'bfetch:disableCompression'; -export const DISABLE_BFETCH = 'bfetch:disable'; -export const BFETCH_ROUTE_VERSION_LATEST = '1'; diff --git a/src/plugins/bfetch/common/index.ts b/src/plugins/bfetch/common/index.ts deleted file mode 100644 index 40983f7c81374..0000000000000 --- a/src/plugins/bfetch/common/index.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { normalizeError, removeLeadingSlash, appendQueryParam } from './util'; -export type { StreamingResponseHandler } from './streaming'; -export { type BatchedFunctionParams, createBatchedFunction } from './buffer'; -export type { ErrorLike, BatchRequestData, BatchResponseItem, BatchItemWrapper } from './batch'; -export { - DISABLE_BFETCH_COMPRESSION, - DISABLE_BFETCH, - BFETCH_ROUTE_VERSION_LATEST, -} from './constants'; diff --git a/src/plugins/bfetch/common/types.ts b/src/plugins/bfetch/common/types.ts deleted file mode 100644 index 027d368e1ba94..0000000000000 --- a/src/plugins/bfetch/common/types.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './streaming/types'; diff --git a/src/plugins/bfetch/common/util/index.ts b/src/plugins/bfetch/common/util/index.ts deleted file mode 100644 index 6be4ad79b6000..0000000000000 --- a/src/plugins/bfetch/common/util/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './normalize_error'; -export * from './remove_leading_slash'; -export * from './query_params'; diff --git a/src/plugins/bfetch/common/util/normalize_error.ts b/src/plugins/bfetch/common/util/normalize_error.ts deleted file mode 100644 index 43e9c0958f909..0000000000000 --- a/src/plugins/bfetch/common/util/normalize_error.ts +++ /dev/null @@ -1,36 +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 { BfetchRequestError } from '@kbn/bfetch-error'; -import { ErrorLike } from '../batch'; - -export const normalizeError = (err: any): E => { - if (!err) { - return { - message: 'Unknown error.', - } as E; - } - if (err instanceof BfetchRequestError) { - // ignoring so we can return the error as is - // @ts-expect-error - return err; - } - if (err instanceof Error) { - return { message: err.message } as E; - } - if (typeof err === 'object') { - return { - ...err, - message: err.message || 'Unknown error.', - } as E; - } - return { - message: String(err), - } as E; -}; diff --git a/src/plugins/bfetch/common/util/query_params.ts b/src/plugins/bfetch/common/util/query_params.ts deleted file mode 100644 index 6c5233ff7daa4..0000000000000 --- a/src/plugins/bfetch/common/util/query_params.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export const appendQueryParam = (url: string, key: string, value: string): string => { - const separator = url.includes('?') ? '&' : '?'; - return `${url}${separator}${key}=${value}`; -}; diff --git a/src/plugins/bfetch/common/util/remove_leading_slash.ts b/src/plugins/bfetch/common/util/remove_leading_slash.ts deleted file mode 100644 index ad942541720ef..0000000000000 --- a/src/plugins/bfetch/common/util/remove_leading_slash.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export const removeLeadingSlash = (text: string) => (text[0] === '/' ? text.substr(1) : text); diff --git a/src/plugins/bfetch/docs/browser/reference.md b/src/plugins/bfetch/docs/browser/reference.md deleted file mode 100644 index 444b1aa08a98e..0000000000000 --- a/src/plugins/bfetch/docs/browser/reference.md +++ /dev/null @@ -1,44 +0,0 @@ -# `bfetch` browser reference - -- [`batchedFunction`](#batchedFunction) -- [`fetchStreaming`](#fetchStreaming) - - -## `batchedFunction` - -Creates a function that will buffer its calls (until timeout—10ms default— or capacity reached—25 default) -and send all calls in one batch to the specified endpoint. The endpoint is expected -to stream results back in ND-JSON format using `Transfer-Encoding: chunked`, which is -implemented by `addBatchProcessingRoute` server-side method of `bfetch` plugin. - -The created function is expected to be called with a single object argument and will -return a promise that will resolve to an object. - -```ts -const fn = bfetch.batchedFunction({ url: '/my-plugin/something' }); - -const result = await fn({ foo: 'bar' }); -``` - -Options: - -- `url` — URL endpoint that will receive a batch of requests. This endpoint is expected - to receive batch as a serialized JSON array. It should stream responses back - in ND-JSON format using `Transfer-Encoding: chunked` HTTP/1 streaming. -- `fetchStreaming` — The instance of `fetchStreaming` function that will perform ND-JSON handling. - There should be a version of this function available in setup contract of `bfetch` plugin. -- `flushOnMaxItems` — The maximum size of function call buffer before sending the batch request. -- `maxItemAge` — The maximum timeout in milliseconds of the oldest item in the batch - before sending the batch request. - - -## `fetchStreaming` - -Executes an HTTP request and expects that server streams back results using -HTTP/1 `Transfer-Encoding: chunked`. - -```ts -const { stream } = bfetch.fetchStreaming({ url: 'http://elastic.co' }); - -stream.subscribe(value => {}); -``` diff --git a/src/plugins/bfetch/docs/server/reference.md b/src/plugins/bfetch/docs/server/reference.md deleted file mode 100644 index 424532a50b817..0000000000000 --- a/src/plugins/bfetch/docs/server/reference.md +++ /dev/null @@ -1,54 +0,0 @@ -# `bfetch` server reference - -- [`addBatchProcessingRoute`](#addBatchProcessingRoute) -- [`addStreamingResponseRoute`](#addStreamingResponseRoute) - - -## `addBatchProcessingRoute` - -Sets up a server endpoint that expects to work with [`batchedFunction`](../browser/reference.md#batchedFunction). -The endpoint receives a batch of requests, processes each request and streams results -back immediately as they become available. You only need to implement the -processing of each request (`onBatchItem` function), everything else is handled. - -`onBatchItem` function is called for each individual request in the batch. -`onBatchItem` function receives a single object argument which is the payload -of one request; and it must return a promise that resolves to an object, too. -`onBatchItem` function is allowed to throw, in that case the error will be forwarded -to the browser only to the individual request, the rest of the batch will still continue -executing. - -```ts -plugins.bfetch.addBatchProcessingRoute( - '/my-plugin/double', - request => ({ - onBatchItem: async (payload) => { - // ... - return {}; - }, - }) -); -``` - -`request` is the `KibanaRequest` object. `addBatchProcessingRoute` together with `batchedFunction` -ensure that errors are handled and that all items in the batch get executed. - - -## `addStreamingResponseRoute` - -`addStreamingResponseRoute` is a lower-level interface that receives and `payload` -message returns and observable which results are streamed back as ND-JSON messages -until the observable completes. `addStreamingResponseRoute` does not know about the -type of the messages, it does not handle errors, and it does not have a concept of -batch size—observable can stream any number of messages until it completes. - -```ts -plugins.bfetch.addStreamingResponseRoute('/my-plugin/foo', request => ({ - getResponseStream: (payload) => { - const subject = new Subject(); - setTimeout(() => { subject.next('123'); }, 100); - setTimeout(() => { subject.complete(); }, 200); - return subject; - }, -})); -``` diff --git a/src/plugins/bfetch/jest.config.js b/src/plugins/bfetch/jest.config.js deleted file mode 100644 index 1b98c6b39f043..0000000000000 --- a/src/plugins/bfetch/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/bfetch'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/bfetch', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/bfetch/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/bfetch/kibana.jsonc b/src/plugins/bfetch/kibana.jsonc deleted file mode 100644 index 39a8866f3b79b..0000000000000 --- a/src/plugins/bfetch/kibana.jsonc +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "plugin", - "id": "@kbn/bfetch-plugin", - "owner": [ - "@elastic/appex-sharedux" - ], - "group": "platform", - "visibility": "shared", - "description": "Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back.", - "plugin": { - "id": "bfetch", - "browser": true, - "server": true, - "requiredBundles": [ - "kibanaUtils" - ] - } -} \ No newline at end of file diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts deleted file mode 100644 index 3a5aac0ea4ed5..0000000000000 --- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts +++ /dev/null @@ -1,756 +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 { createStreamingBatchedFunction } from './create_streaming_batched_function'; -import { fetchStreaming as fetchStreamingReal } from '../streaming/fetch_streaming'; -import { AbortError, defer, of } from '@kbn/kibana-utils-plugin/public'; -import { Subject } from 'rxjs'; - -const flushPromises = () => - new Promise((resolve) => jest.requireActual('timers').setImmediate(resolve)); - -const getPromiseState = (promise: Promise): Promise<'resolved' | 'rejected' | 'pending'> => - Promise.race<'resolved' | 'rejected' | 'pending'>([ - new Promise((resolve) => - promise.then( - () => resolve('resolved'), - () => resolve('rejected') - ) - ), - new Promise<'pending'>((resolve) => resolve('pending')).then(() => 'pending'), - ]); - -const isPending = (promise: Promise): Promise => - getPromiseState(promise).then((state) => state === 'pending'); - -const setup = () => { - const xhr = {} as unknown as XMLHttpRequest; - const { promise, resolve, reject } = defer(); - const stream = new Subject(); - - const fetchStreaming = jest.fn(() => ({ - xhr, - promise, - stream, - })) as unknown as jest.SpyInstance & typeof fetchStreamingReal; - - return { - fetchStreaming, - xhr, - promise, - resolve, - reject, - stream, - }; -}; - -describe('createStreamingBatchedFunction()', () => { - beforeAll(() => { - jest.useFakeTimers({ legacyFakeTimers: true }); - }); - - afterAll(() => { - jest.useRealTimers(); - }); - test('returns a function', () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - getIsCompressionDisabled: () => true, - }); - expect(typeof fn).toBe('function'); - }); - - test('returned function is async', () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - getIsCompressionDisabled: () => true, - }); - const res = fn({}); - expect(typeof res.then).toBe('function'); - }); - - describe('when timeout is reached', () => { - test('dispatches batch', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - expect(fetchStreaming).toHaveBeenCalledTimes(0); - fn({ foo: 'bar' }); - expect(fetchStreaming).toHaveBeenCalledTimes(0); - fn({ baz: 'quix' }); - expect(fetchStreaming).toHaveBeenCalledTimes(0); - jest.advanceTimersByTime(6); - - expect(fetchStreaming).toHaveBeenCalledTimes(1); - }); - - test('does nothing is buffer is empty', async () => { - const { fetchStreaming } = setup(); - createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - expect(fetchStreaming).toHaveBeenCalledTimes(0); - jest.advanceTimersByTime(6); - expect(fetchStreaming).toHaveBeenCalledTimes(0); - }); - - test('sends POST request to correct endpoint', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - fn({ foo: 'bar' }); - jest.advanceTimersByTime(6); - - expect(fetchStreaming.mock.calls[0][0]).toMatchObject({ - url: '/test', - method: 'POST', - }); - }); - - test('collects calls into an array batch ordered by in same order as calls', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - fn({ foo: 'bar' }); - fn({ baz: 'quix' }); - - jest.advanceTimersByTime(6); - const { body } = fetchStreaming.mock.calls[0][0]; - expect(JSON.parse(body)).toEqual({ - batch: [{ foo: 'bar' }, { baz: 'quix' }], - }); - }); - }); - - describe('when buffer becomes full', () => { - test('dispatches batch request', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - expect(fetchStreaming).toHaveBeenCalledTimes(0); - fn({ foo: 'bar' }); - expect(fetchStreaming).toHaveBeenCalledTimes(0); - fn({ baz: 'quix' }); - expect(fetchStreaming).toHaveBeenCalledTimes(0); - fn({ full: 'yep' }); - expect(fetchStreaming).toHaveBeenCalledTimes(1); - }); - - test('ignores a request with an aborted signal', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const abortController = new AbortController(); - abortController.abort(); - - of(fn({ foo: 'bar' }, abortController.signal)); - fn({ baz: 'quix' }); - - jest.advanceTimersByTime(6); - const { body } = fetchStreaming.mock.calls[0][0]; - expect(JSON.parse(body)).toEqual({ - batch: [{ baz: 'quix' }], - }); - }); - - test("doesn't send batch request if all items have been aborted", async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const abortController = new AbortController(); - abortController.abort(); - - expect.assertions(3); - const req1 = fn({ foo: 'bar' }, abortController.signal).catch((e) => - expect(e).toBeInstanceOf(AbortError) - ); - const req2 = fn({ baz: 'quix' }, abortController.signal).catch((e) => - expect(e).toBeInstanceOf(AbortError) - ); - - jest.advanceTimersByTime(6); - expect(fetchStreaming).not.toBeCalled(); - - await Promise.all([req1, req2]); - }); - - test('sends POST request to correct endpoint with items in array batched sorted in call order', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - fn({ a: '1' }); - fn({ b: '2' }); - fn({ c: '3' }); - - expect(fetchStreaming.mock.calls[0][0]).toMatchObject({ - url: '/test', - method: 'POST', - }); - const { body } = fetchStreaming.mock.calls[0][0]; - expect(JSON.parse(body)).toEqual({ - batch: [{ a: '1' }, { b: '2' }, { c: '3' }], - }); - }); - - test('dispatches batch on full buffer and also on timeout', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - fn({ a: '1' }); - fn({ b: '2' }); - fn({ c: '3' }); - expect(fetchStreaming).toHaveBeenCalledTimes(1); - fn({ d: '4' }); - jest.advanceTimersByTime(6); - expect(fetchStreaming).toHaveBeenCalledTimes(2); - }); - }); - - describe('when receiving results', () => { - test('does not resolve call promises until request finishes', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = fn({ a: '1' }); - const promise2 = fn({ b: '2' }); - jest.advanceTimersByTime(6); - - expect(await isPending(promise1)).toBe(true); - expect(await isPending(promise2)).toBe(true); - }); - - test('resolves only promise of result that was streamed back', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - await flushPromises(); - - const promise1 = fn({ a: '1' }); - const promise2 = fn({ b: '2' }); - const promise3 = fn({ c: '3' }); - jest.advanceTimersByTime(6); - - expect(await isPending(promise1)).toBe(true); - expect(await isPending(promise2)).toBe(true); - expect(await isPending(promise3)).toBe(true); - - stream.next( - JSON.stringify({ - id: 1, - result: { foo: 'bar' }, - }) + '\n' - ); - - expect(await isPending(promise1)).toBe(true); - expect(await isPending(promise2)).toBe(false); - expect(await isPending(promise3)).toBe(true); - - stream.next( - JSON.stringify({ - id: 0, - result: { foo: 'bar 2' }, - }) + '\n' - ); - - expect(await isPending(promise1)).toBe(false); - expect(await isPending(promise2)).toBe(false); - expect(await isPending(promise3)).toBe(true); - }); - - test('resolves each promise with correct data', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = fn({ a: '1' }); - const promise2 = fn({ b: '2' }); - const promise3 = fn({ c: '3' }); - jest.advanceTimersByTime(6); - - stream.next( - JSON.stringify({ - id: 1, - result: { foo: 'bar' }, - }) + '\n' - ); - stream.next( - JSON.stringify({ - id: 2, - result: { foo: 'bar 2' }, - }) + '\n' - ); - - expect(await isPending(promise1)).toBe(true); - expect(await isPending(promise2)).toBe(false); - expect(await isPending(promise3)).toBe(false); - expect(await promise2).toEqual({ foo: 'bar' }); - expect(await promise3).toEqual({ foo: 'bar 2' }); - }); - - test('compression is false by default', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - flushOnMaxItems: 1, - fetchStreaming, - }); - - fn({ a: '1' }); - - const dontCompress = await fetchStreaming.mock.calls[0][0].getIsCompressionDisabled(); - expect(dontCompress).toBe(false); - }); - - test('resolves falsy results', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = fn({ a: '1' }); - const promise2 = fn({ b: '2' }); - const promise3 = fn({ c: '3' }); - jest.advanceTimersByTime(6); - - stream.next( - JSON.stringify({ - id: 0, - result: false, - }) + '\n' - ); - stream.next( - JSON.stringify({ - id: 1, - result: 0, - }) + '\n' - ); - stream.next( - JSON.stringify({ - id: 2, - result: '', - }) + '\n' - ); - - expect(await isPending(promise1)).toBe(false); - expect(await isPending(promise2)).toBe(false); - expect(await isPending(promise3)).toBe(false); - expect(await promise1).toEqual(false); - expect(await promise2).toEqual(0); - expect(await promise3).toEqual(''); - }); - - test('rejects promise on error response', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise = fn({ a: '1' }); - jest.advanceTimersByTime(6); - - expect(await isPending(promise)).toBe(true); - - stream.next( - JSON.stringify({ - id: 0, - error: { message: 'oops' }, - }) + '\n' - ); - - expect(await isPending(promise)).toBe(false); - const [, error] = await of(promise); - expect(error).toEqual({ - message: 'oops', - }); - }); - - test('resolves successful requests even after rejected ones', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = of(fn({ a: '1' })); - const promise2 = of(fn({ a: '2' })); - const promise3 = of(fn({ a: '3' })); - - jest.advanceTimersByTime(6); - - stream.next( - JSON.stringify({ - id: 2, - result: { b: '3' }, - }) + '\n' - ); - - jest.advanceTimersByTime(1); - - stream.next( - JSON.stringify({ - id: 1, - error: { b: '2' }, - }) + '\n' - ); - - jest.advanceTimersByTime(1); - - stream.next( - JSON.stringify({ - id: 0, - result: { b: '1' }, - }) + '\n' - ); - - jest.advanceTimersByTime(1); - - const [result1] = await promise1; - const [, error2] = await promise2; - const [result3] = await promise3; - - expect(result1).toEqual({ b: '1' }); - expect(error2).toEqual({ b: '2' }); - expect(result3).toEqual({ b: '3' }); - }); - - describe('when requests are aborted', () => { - test('aborts stream when all are aborted', async () => { - const { fetchStreaming } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const abortController = new AbortController(); - const promise = fn({ a: '1' }, abortController.signal); - const promise2 = fn({ a: '2' }, abortController.signal); - jest.advanceTimersByTime(6); - - expect(await isPending(promise)).toBe(true); - expect(await isPending(promise2)).toBe(true); - - abortController.abort(); - jest.advanceTimersByTime(6); - await flushPromises(); - - expect(await isPending(promise)).toBe(false); - expect(await isPending(promise2)).toBe(false); - const [, error] = await of(promise); - const [, error2] = await of(promise2); - expect(error).toBeInstanceOf(AbortError); - expect(error2).toBeInstanceOf(AbortError); - expect(fetchStreaming.mock.calls[0][0].signal.aborted).toBeTruthy(); - }); - - test('rejects promise on abort and lets others continue', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const abortController = new AbortController(); - const promise = fn({ a: '1' }, abortController.signal); - const promise2 = fn({ a: '2' }); - jest.advanceTimersByTime(6); - - expect(await isPending(promise)).toBe(true); - - abortController.abort(); - jest.advanceTimersByTime(6); - await flushPromises(); - - expect(await isPending(promise)).toBe(false); - const [, error] = await of(promise); - expect(error).toBeInstanceOf(AbortError); - - stream.next( - JSON.stringify({ - id: 1, - result: { b: '2' }, - }) + '\n' - ); - - jest.advanceTimersByTime(1); - - const [result2] = await of(promise2); - expect(result2).toEqual({ b: '2' }); - }); - }); - - describe('when stream closes prematurely', () => { - test('rejects pending promises with CONNECTION error code', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = of(fn({ a: '1' })); - const promise2 = of(fn({ a: '2' })); - - jest.advanceTimersByTime(6); - - stream.complete(); - - jest.advanceTimersByTime(1); - - const [, error1] = await promise1; - const [, error2] = await promise2; - expect(error1).toMatchObject({ - message: 'Connection terminated prematurely.', - code: 'CONNECTION', - }); - expect(error2).toMatchObject({ - message: 'Connection terminated prematurely.', - code: 'CONNECTION', - }); - }); - - test('rejects with CONNECTION error only pending promises', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = of(fn({ a: '1' })); - const promise2 = of(fn({ a: '2' })); - - jest.advanceTimersByTime(6); - - stream.next( - JSON.stringify({ - id: 1, - result: { b: '1' }, - }) + '\n' - ); - stream.complete(); - - jest.advanceTimersByTime(1); - - const [, error1] = await promise1; - const [result1] = await promise2; - expect(error1).toMatchObject({ - message: 'Connection terminated prematurely.', - code: 'CONNECTION', - }); - expect(result1).toMatchObject({ - b: '1', - }); - }); - }); - - describe('when stream errors', () => { - test('rejects pending promises with STREAM error code', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = of(fn({ a: '1' })); - const promise2 = of(fn({ a: '2' })); - - jest.advanceTimersByTime(6); - - stream.error({ - message: 'something went wrong', - }); - - jest.advanceTimersByTime(1); - - const [, error1] = await promise1; - const [, error2] = await promise2; - expect(error1).toMatchObject({ - message: 'something went wrong', - code: 'STREAM', - }); - expect(error2).toMatchObject({ - message: 'something went wrong', - code: 'STREAM', - }); - }); - - test('rejects with STREAM error only pending promises', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - - const promise1 = of(fn({ a: '1' })); - const promise2 = of(fn({ a: '2' })); - - jest.advanceTimersByTime(6); - - stream.next( - JSON.stringify({ - id: 1, - result: { b: '1' }, - }) + '\n' - ); - stream.error('oops'); - - jest.advanceTimersByTime(1); - - const [, error1] = await promise1; - const [result1] = await promise2; - expect(error1).toMatchObject({ - message: 'oops', - code: 'STREAM', - }); - expect(result1).toMatchObject({ - b: '1', - }); - }); - }); - - test('rejects with STREAM error on JSON parse error only pending promises', async () => { - const { fetchStreaming, stream } = setup(); - const fn = createStreamingBatchedFunction({ - url: '/test', - fetchStreaming, - maxItemAge: 5, - flushOnMaxItems: 3, - getIsCompressionDisabled: () => true, - }); - await flushPromises(); - - const promise1 = of(fn({ a: '1' })); - const promise2 = of(fn({ a: '2' })); - - jest.advanceTimersByTime(6); - - stream.next( - JSON.stringify({ - id: 1, - result: { b: '1' }, - }) + '\n' - ); - - stream.next('Not a JSON\n'); - - jest.advanceTimersByTime(1); - - const [, error1] = await promise1; - const [result1] = await promise2; - expect(error1).toMatchObject({ - message: `Unexpected token 'N', "Not a JSON\n" is not valid JSON`, - code: 'STREAM', - }); - expect(result1).toMatchObject({ - b: '1', - }); - }); - }); -}); diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts deleted file mode 100644 index 799aef494a19e..0000000000000 --- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts +++ /dev/null @@ -1,170 +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 { AbortError, abortSignalToPromise, defer } from '@kbn/kibana-utils-plugin/public'; -import type { ItemBufferParams, TimedItemBufferParams } from '@kbn/item-buffer'; -import { createBatchedFunction, ErrorLike, normalizeError } from '../../common'; -import { fetchStreaming } from '../streaming'; -import { BatchedFunc, BatchItem } from './types'; - -export interface BatchedFunctionProtocolError extends ErrorLike { - code: string; -} - -export interface StreamingBatchedFunctionParams { - /** - * URL endpoint that will receive a batch of requests. This endpoint is expected - * to receive batch as a serialized JSON array. It should stream responses back - * in ND-JSON format using `Transfer-Encoding: chunked` HTTP/1 streaming. - */ - url: string; - - /** - * The instance of `fetchStreaming` function that will perform ND-JSON handling. - * There should be a version of this function available in setup contract of `bfetch` - * plugin. - */ - fetchStreaming?: typeof fetchStreaming; - - /** - * The maximum size of function call buffer before sending the batch request. - */ - flushOnMaxItems?: ItemBufferParams['flushOnMaxItems']; - - /** - * The maximum timeout in milliseconds of the oldest item in the batch - * before sending the batch request. - */ - maxItemAge?: TimedItemBufferParams['maxItemAge']; - - /** - * Disabled zlib compression of response chunks. - */ - getIsCompressionDisabled?: () => boolean; -} - -/** - * Returns a function that does not execute immediately but buffers the call internally until - * `params.flushOnMaxItems` is reached or after `params.maxItemAge` timeout in milliseconds is reached. Once - * one of those thresholds is reached all buffered calls are sent in one batch to the - * server using `params.fetchStreaming` in a POST request. Responses are streamed back - * and each batch item is resolved once corresponding response is received. - */ -export const createStreamingBatchedFunction = ( - params: StreamingBatchedFunctionParams -): BatchedFunc => { - const { - url, - fetchStreaming: fetchStreamingInjected = fetchStreaming, - flushOnMaxItems = 25, - maxItemAge = 10, - getIsCompressionDisabled = () => false, - } = params; - const [fn] = createBatchedFunction({ - onCall: (payload: Payload, signal?: AbortSignal) => { - const future = defer(); - const entry: BatchItem = { - payload, - future, - signal, - }; - return [future.promise, entry]; - }, - onBatch: async (items) => { - try { - // Filter out any items whose signal is already aborted - items = items.filter((item) => { - if (item.signal?.aborted) item.future.reject(new AbortError()); - return !item.signal?.aborted; - }); - - if (items.length === 0) { - return; // all items have been aborted before a request has been sent - } - - const donePromises: Array> = items.map((item) => { - return new Promise((resolve) => { - const { promise: abortPromise, cleanup } = item.signal - ? abortSignalToPromise(item.signal) - : { - promise: undefined, - cleanup: () => {}, - }; - - const onDone = () => { - resolve(); - cleanup(); - }; - if (abortPromise) - abortPromise.catch(() => { - item.future.reject(new AbortError()); - onDone(); - }); - item.future.promise.then(onDone, onDone); - }); - }); - - // abort when all items were either resolved, rejected or aborted - const abortController = new AbortController(); - let isBatchDone = false; - Promise.all(donePromises).then(() => { - isBatchDone = true; - abortController.abort(); - }); - const batch = items.map((item) => item.payload); - - const { stream } = fetchStreamingInjected({ - url, - body: JSON.stringify({ batch }), - method: 'POST', - signal: abortController.signal, - getIsCompressionDisabled, - }); - - const handleStreamError = (error: any) => { - const normalizedError = normalizeError(error); - normalizedError.code = 'STREAM'; - for (const { future } of items) future.reject(normalizedError); - }; - - stream.subscribe({ - next: (json: string) => { - try { - const response = JSON.parse(json); - if (response.error) { - items[response.id].future.reject(response.error); - } else if (response.result !== undefined) { - items[response.id].future.resolve(response.result); - } - } catch (e) { - handleStreamError(e); - } - }, - error: handleStreamError, - complete: () => { - if (!isBatchDone) { - const error: BatchedFunctionProtocolError = { - message: 'Connection terminated prematurely.', - code: 'CONNECTION', - }; - for (const { future } of items) future.reject(error); - } - }, - }); - await stream.toPromise(); - } catch (error) { - for (const item of items) item.future.reject(error); - } - }, - flushOnMaxItems, - maxItemAge, - }); - - return fn; -}; diff --git a/src/plugins/bfetch/public/batching/index.ts b/src/plugins/bfetch/public/batching/index.ts deleted file mode 100644 index 1285bab9b1ef5..0000000000000 --- a/src/plugins/bfetch/public/batching/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export type { StreamingBatchedFunctionParams } from './create_streaming_batched_function'; -export { createStreamingBatchedFunction } from './create_streaming_batched_function'; diff --git a/src/plugins/bfetch/public/batching/types.ts b/src/plugins/bfetch/public/batching/types.ts deleted file mode 100644 index 1d1708f7366ab..0000000000000 --- a/src/plugins/bfetch/public/batching/types.ts +++ /dev/null @@ -1,21 +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 { Defer } from '@kbn/kibana-utils-plugin/public'; - -export interface BatchItem { - payload: Payload; - future: Defer; - signal?: AbortSignal; -} - -export type BatchedFunc = ( - payload: Payload, - signal?: AbortSignal -) => Promise; diff --git a/src/plugins/bfetch/public/index.ts b/src/plugins/bfetch/public/index.ts deleted file mode 100644 index cdce68a59ce27..0000000000000 --- a/src/plugins/bfetch/public/index.ts +++ /dev/null @@ -1,22 +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 { PluginInitializerContext } from '@kbn/core/public'; -import { BfetchPublicPlugin } from './plugin'; - -export type { BfetchPublicSetup, BfetchPublicStart, BfetchPublicContract } from './plugin'; -export { split } from './streaming'; - -export type { BatchedFunc } from './batching/types'; - -export { DISABLE_BFETCH } from '../common/constants'; - -export function plugin(initializerContext: PluginInitializerContext) { - return new BfetchPublicPlugin(initializerContext); -} diff --git a/src/plugins/bfetch/public/mocks.ts b/src/plugins/bfetch/public/mocks.ts deleted file mode 100644 index 20abe00f84e11..0000000000000 --- a/src/plugins/bfetch/public/mocks.ts +++ /dev/null @@ -1,55 +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 { coreMock } from '@kbn/core/public/mocks'; -import { BfetchPublicSetup, BfetchPublicStart } from '.'; -import { plugin as pluginInitializer } from '.'; - -export type Setup = jest.Mocked; -export type Start = jest.Mocked; - -const createSetupContract = (): Setup => { - const setupContract: Setup = { - fetchStreaming: jest.fn(), - batchedFunction: jest.fn(), - }; - return setupContract; -}; - -const createStartContract = (): Start => { - const startContract: Start = { - fetchStreaming: jest.fn(), - batchedFunction: jest.fn(), - }; - - return startContract; -}; - -const createPlugin = async () => { - const pluginInitializerContext = coreMock.createPluginInitializerContext(); - const coreSetup = coreMock.createSetup(); - const coreStart = coreMock.createStart(); - const plugin = pluginInitializer(pluginInitializerContext); - const setup = await plugin.setup(coreSetup, {}); - - return { - pluginInitializerContext, - coreSetup, - coreStart, - plugin, - setup, - doStart: async () => await plugin.start(coreStart, {}), - }; -}; - -export const bfetchPluginMock = { - createSetupContract, - createStartContract, - createPlugin, -}; diff --git a/src/plugins/bfetch/public/plugin.ts b/src/plugins/bfetch/public/plugin.ts deleted file mode 100644 index 2e1ef59d39b86..0000000000000 --- a/src/plugins/bfetch/public/plugin.ts +++ /dev/null @@ -1,116 +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 { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from '@kbn/core/public'; -import { createStartServicesGetter } from '@kbn/kibana-utils-plugin/public'; -import { - ELASTIC_HTTP_VERSION_HEADER, - X_ELASTIC_INTERNAL_ORIGIN_REQUEST, -} from '@kbn/core-http-common'; -import { fetchStreaming as fetchStreamingStatic, FetchStreamingParams } from './streaming'; -import { DISABLE_BFETCH_COMPRESSION, removeLeadingSlash } from '../common'; -import { createStreamingBatchedFunction, StreamingBatchedFunctionParams } from './batching'; -import { BatchedFunc } from './batching/types'; -import { BFETCH_ROUTE_VERSION_LATEST } from '../common/constants'; - -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface BfetchPublicSetupDependencies {} - -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface BfetchPublicStartDependencies {} - -export interface BfetchPublicContract { - fetchStreaming: (params: FetchStreamingParams) => ReturnType; - batchedFunction: ( - params: StreamingBatchedFunctionParams - ) => BatchedFunc; -} - -export type BfetchPublicSetup = BfetchPublicContract; -export type BfetchPublicStart = BfetchPublicContract; - -export class BfetchPublicPlugin - implements - Plugin< - BfetchPublicSetup, - BfetchPublicStart, - BfetchPublicSetupDependencies, - BfetchPublicStartDependencies - > -{ - private contract!: BfetchPublicContract; - - constructor(private readonly initializerContext: PluginInitializerContext) {} - - public setup( - core: CoreSetup, - plugins: BfetchPublicSetupDependencies - ): BfetchPublicSetup { - const { version: kibanaVersion } = this.initializerContext.env.packageInfo; - const basePath = core.http.basePath.get(); - - const startServices = createStartServicesGetter(core.getStartServices); - const getIsCompressionDisabled = () => - startServices().core.uiSettings.get(DISABLE_BFETCH_COMPRESSION); - - const fetchStreaming = this.fetchStreaming( - BFETCH_ROUTE_VERSION_LATEST, - kibanaVersion, - basePath, - getIsCompressionDisabled - ); - const batchedFunction = this.batchedFunction(fetchStreaming, getIsCompressionDisabled); - - this.contract = { - fetchStreaming, - batchedFunction, - }; - - return this.contract; - } - - public start(core: CoreStart, plugins: BfetchPublicStartDependencies): BfetchPublicStart { - return this.contract; - } - - public stop() {} - - private fetchStreaming = - ( - version: string, - kibanaVersion: string, - basePath: string, - getIsCompressionDisabled: () => boolean - ): BfetchPublicSetup['fetchStreaming'] => - (params) => - fetchStreamingStatic({ - ...params, - url: `${basePath}/${removeLeadingSlash(params.url)}`, - headers: { - 'Content-Type': 'application/json', - 'kbn-version': kibanaVersion, - [X_ELASTIC_INTERNAL_ORIGIN_REQUEST]: 'Kibana', - [ELASTIC_HTTP_VERSION_HEADER]: version, - ...(params.headers || {}), - }, - getIsCompressionDisabled, - }); - - private batchedFunction = - ( - fetchStreaming: BfetchPublicContract['fetchStreaming'], - getIsCompressionDisabled: () => boolean - ): BfetchPublicContract['batchedFunction'] => - (params) => - createStreamingBatchedFunction({ - ...params, - getIsCompressionDisabled, - fetchStreaming: params.fetchStreaming || fetchStreaming, - }); -} diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts deleted file mode 100644 index 8e065ce424dd7..0000000000000 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts +++ /dev/null @@ -1,362 +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 { fetchStreaming } from './fetch_streaming'; -import { mockXMLHttpRequest } from '../test_helpers/xhr'; -import { promisify } from 'util'; -import { deflate } from 'zlib'; -const pDeflate = promisify(deflate); - -const compressResponse = async (resp: any) => { - const gzipped = await pDeflate(JSON.stringify(resp)); - return gzipped.toString('base64'); -}; - -const tick = () => new Promise((resolve) => setTimeout(resolve, 1)); - -const setup = () => { - const { xhr, XMLHttpRequest } = mockXMLHttpRequest(); - window.XMLHttpRequest = XMLHttpRequest; - (xhr as any).status = 200; - return { xhr }; -}; - -test('returns XHR request', () => { - setup(); - const { xhr } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - expect(typeof xhr.readyState).toBe('number'); -}); - -test('returns stream', () => { - setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - expect(typeof stream.subscribe).toBe('function'); -}); - -test('promise resolves when request completes', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - - let resolved = false; - stream.toPromise().then(() => (resolved = true)); - - await tick(); - expect(resolved).toBe(false); - - (env.xhr as any).responseText = 'foo'; - env.xhr.onprogress!({} as any); - - await tick(); - expect(resolved).toBe(false); - - (env.xhr as any).responseText = 'foo\nbar'; - env.xhr.onprogress!({} as any); - - await tick(); - expect(resolved).toBe(false); - - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 200; - env.xhr.onreadystatechange!({} as any); - - await tick(); - expect(resolved).toBe(true); -}); - -test('promise resolves when compressed request completes', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => false, - }); - - let resolved = false; - let result; - stream.toPromise().then((r) => { - resolved = true; - result = r; - }); - - await tick(); - expect(resolved).toBe(false); - - const msg = { foo: 'bar' }; - - // Whole message in a response - (env.xhr as any).responseText = `${await compressResponse(msg)}\n`; - env.xhr.onprogress!({} as any); - - await tick(); - expect(resolved).toBe(false); - - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 200; - env.xhr.onreadystatechange!({} as any); - - await tick(); - expect(resolved).toBe(true); - expect(result).toStrictEqual(JSON.stringify(msg)); -}); - -test('promise resolves when compressed chunked request completes', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => false, - }); - - let resolved = false; - let result; - stream.toPromise().then((r) => { - resolved = true; - result = r; - }); - - await tick(); - expect(resolved).toBe(false); - - const msg = { veg: 'tomato' }; - const msgToCut = await compressResponse(msg); - const part1 = msgToCut.substr(0, 3); - - // Message and a half in a response - (env.xhr as any).responseText = part1; - env.xhr.onprogress!({} as any); - - await tick(); - expect(resolved).toBe(false); - - // Half a message in a response - (env.xhr as any).responseText = `${msgToCut}\n`; - env.xhr.onprogress!({} as any); - - await tick(); - expect(resolved).toBe(false); - - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 200; - env.xhr.onreadystatechange!({} as any); - - await tick(); - expect(resolved).toBe(true); - expect(result).toStrictEqual(JSON.stringify(msg)); -}); - -test('streams incoming text as it comes through, according to separators', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - - const spy = jest.fn(); - stream.subscribe(spy); - - await tick(); - expect(spy).toHaveBeenCalledTimes(0); - - (env.xhr as any).responseText = 'foo'; - env.xhr.onprogress!({} as any); - - await tick(); - expect(spy).toHaveBeenCalledTimes(0); - - (env.xhr as any).responseText = 'foo\nbar'; - env.xhr.onprogress!({} as any); - - await tick(); - expect(spy).toHaveBeenCalledTimes(1); - expect(spy).toHaveBeenCalledWith('foo'); - - (env.xhr as any).responseText = 'foo\nbar\n'; - env.xhr.onprogress!({} as any); - - await tick(); - expect(spy).toHaveBeenCalledTimes(2); - expect(spy).toHaveBeenCalledWith('bar'); - - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 200; - env.xhr.onreadystatechange!({} as any); - - await tick(); - expect(spy).toHaveBeenCalledTimes(2); -}); - -test('completes stream observable when request finishes', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - - const spy = jest.fn(); - stream.subscribe({ - complete: spy, - }); - - expect(spy).toHaveBeenCalledTimes(0); - - (env.xhr as any).responseText = 'foo'; - env.xhr.onprogress!({} as any); - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 200; - env.xhr.onreadystatechange!({} as any); - - expect(spy).toHaveBeenCalledTimes(1); -}); - -test('completes stream observable when aborted', async () => { - const env = setup(); - const abort = new AbortController(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - signal: abort.signal, - getIsCompressionDisabled: () => true, - }); - - const spy = jest.fn(); - stream.subscribe({ - complete: spy, - }); - - expect(spy).toHaveBeenCalledTimes(0); - - (env.xhr as any).responseText = 'foo'; - env.xhr.onprogress!({} as any); - - abort.abort(); - - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 200; - env.xhr.onreadystatechange!({} as any); - - expect(spy).toHaveBeenCalledTimes(1); -}); - -test('promise throws when request errors', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - - const spy = jest.fn(); - stream.toPromise().catch(spy); - - await tick(); - expect(spy).toHaveBeenCalledTimes(0); - - (env.xhr as any).responseText = 'foo'; - env.xhr.onprogress!({} as any); - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 400; - env.xhr.onreadystatechange!({} as any); - - await tick(); - expect(spy).toHaveBeenCalledTimes(1); - expect(spy.mock.calls[0][0]).toBeInstanceOf(Error); - expect(spy.mock.calls[0][0].message).toMatchInlineSnapshot( - `"Check your network connection and try again. Code 400"` - ); -}); - -test('stream observable errors when request errors', async () => { - const env = setup(); - const { stream } = fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - - const spy = jest.fn(); - stream.subscribe({ - error: spy, - }); - - await tick(); - expect(spy).toHaveBeenCalledTimes(0); - - (env.xhr as any).responseText = 'foo'; - env.xhr.onprogress!({} as any); - (env.xhr as any).readyState = 4; - (env.xhr as any).status = 400; - env.xhr.onreadystatechange!({} as any); - - await tick(); - expect(spy).toHaveBeenCalledTimes(1); - expect(spy.mock.calls[0][0]).toBeInstanceOf(Error); - expect(spy.mock.calls[0][0].message).toMatchInlineSnapshot( - `"Check your network connection and try again. Code 400"` - ); -}); - -test('sets custom headers', async () => { - const env = setup(); - fetchStreaming({ - url: 'http://example.com', - headers: { - 'Content-Type': 'text/plain', - Authorization: 'Bearer 123', - }, - getIsCompressionDisabled: () => true, - }); - - expect(env.xhr.setRequestHeader).toHaveBeenCalledWith('Content-Type', 'text/plain'); - expect(env.xhr.setRequestHeader).toHaveBeenCalledWith('Authorization', 'Bearer 123'); -}); - -test('uses credentials', async () => { - const env = setup(); - - expect(env.xhr.withCredentials).toBe(false); - - fetchStreaming({ - url: 'http://example.com', - getIsCompressionDisabled: () => true, - }); - - expect(env.xhr.withCredentials).toBe(true); -}); - -test('opens XHR request and sends specified body', async () => { - const env = setup(); - - expect(env.xhr.open).toHaveBeenCalledTimes(0); - expect(env.xhr.send).toHaveBeenCalledTimes(0); - - fetchStreaming({ - url: 'http://elastic.co', - method: 'GET', - body: 'foobar', - getIsCompressionDisabled: () => true, - }); - - expect(env.xhr.open).toHaveBeenCalledTimes(1); - expect(env.xhr.send).toHaveBeenCalledTimes(1); - expect(env.xhr.open).toHaveBeenCalledWith('GET', 'http://elastic.co'); - expect(env.xhr.send).toHaveBeenCalledWith('foobar'); -}); - -test('uses POST request method by default', async () => { - const env = setup(); - fetchStreaming({ - url: 'http://elastic.co', - getIsCompressionDisabled: () => true, - }); - expect(env.xhr.open).toHaveBeenCalledWith('POST', 'http://elastic.co'); -}); diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.ts deleted file mode 100644 index 6df4e72fedc85..0000000000000 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.ts +++ /dev/null @@ -1,68 +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 { map, share } from 'rxjs'; -import { inflateResponse } from '.'; -import { fromStreamingXhr } from './from_streaming_xhr'; -import { split } from './split'; -import { appendQueryParam } from '../../common'; - -export interface FetchStreamingParams { - url: string; - headers?: Record; - method?: 'GET' | 'POST'; - body?: string; - signal?: AbortSignal; - getIsCompressionDisabled?: () => boolean; -} - -/** - * Sends an AJAX request to the server, and processes the result as a - * streaming HTTP/1 response. Streams data as text through observable. - */ -export function fetchStreaming({ - url, - headers = {}, - method = 'POST', - body = '', - signal, - getIsCompressionDisabled = () => false, -}: FetchStreamingParams) { - const xhr = new window.XMLHttpRequest(); - - const isCompressionDisabled = getIsCompressionDisabled(); - if (!isCompressionDisabled) { - url = appendQueryParam(url, 'compress', 'true'); - } - // Begin the request - xhr.open(method, url); - xhr.withCredentials = true; - - // Set the HTTP headers - Object.entries(headers).forEach(([k, v]) => xhr.setRequestHeader(k, v)); - - const stream = fromStreamingXhr(xhr, signal); - - // Send the payload to the server - xhr.send(body); - - // Return a stream of chunked decompressed messages - const stream$ = stream.pipe( - split('\n'), - map((msg) => { - return isCompressionDisabled ? msg : inflateResponse(msg); - }), - share() - ); - - return { - xhr, - stream: stream$, - }; -} diff --git a/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts b/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts deleted file mode 100644 index d39dda2e07c0c..0000000000000 --- a/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts +++ /dev/null @@ -1,271 +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 { fromStreamingXhr } from './from_streaming_xhr'; - -const createXhr = (): XMLHttpRequest => - ({ - abort: () => {}, - onprogress: () => {}, - onreadystatechange: () => {}, - readyState: 0, - responseText: '', - status: 200, - } as unknown as XMLHttpRequest); - -test('returns observable', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - expect(typeof observable.subscribe).toBe('function'); -}); - -test('emits an event to observable', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const spy = jest.fn(); - observable.subscribe(spy); - - expect(spy).toHaveBeenCalledTimes(0); - - (xhr as any).responseText = 'foo'; - xhr.onprogress!({} as any); - - expect(spy).toHaveBeenCalledTimes(1); - expect(spy).toHaveBeenCalledWith('foo'); -}); - -test('streams multiple events to observable', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const spy = jest.fn(); - observable.subscribe(spy); - - expect(spy).toHaveBeenCalledTimes(0); - - (xhr as any).responseText = '1'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '12'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '123'; - xhr.onprogress!({} as any); - - expect(spy).toHaveBeenCalledTimes(3); - expect(spy.mock.calls[0][0]).toBe('1'); - expect(spy.mock.calls[1][0]).toBe('2'); - expect(spy.mock.calls[2][0]).toBe('3'); -}); - -test('completes observable when request reaches end state', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const next = jest.fn(); - const complete = jest.fn(); - observable.subscribe({ - next, - complete, - }); - - (xhr as any).responseText = '1'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '2'; - xhr.onprogress!({} as any); - - expect(complete).toHaveBeenCalledTimes(0); - - (xhr as any).readyState = 4; - (xhr as any).status = 200; - xhr.onreadystatechange!({} as any); - - expect(complete).toHaveBeenCalledTimes(1); -}); - -test('completes observable when aborted', () => { - const xhr = createXhr(); - const abortController = new AbortController(); - const observable = fromStreamingXhr(xhr, abortController.signal); - - const next = jest.fn(); - const complete = jest.fn(); - observable.subscribe({ - next, - complete, - }); - - (xhr as any).responseText = '1'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '2'; - xhr.onprogress!({} as any); - - expect(complete).toHaveBeenCalledTimes(0); - - (xhr as any).readyState = 2; - abortController.abort(); - - expect(complete).toHaveBeenCalledTimes(1); - - // Shouldn't trigger additional events - (xhr as any).readyState = 4; - (xhr as any).status = 200; - xhr.onreadystatechange!({} as any); - - expect(complete).toHaveBeenCalledTimes(1); -}); - -test('errors observable if request returns with error', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const next = jest.fn(); - const complete = jest.fn(); - const error = jest.fn(); - observable.subscribe({ - next, - complete, - error, - }); - - (xhr as any).responseText = '1'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '2'; - xhr.onprogress!({} as any); - - expect(complete).toHaveBeenCalledTimes(0); - - (xhr as any).readyState = 4; - (xhr as any).status = 400; - xhr.onreadystatechange!({} as any); - - expect(complete).toHaveBeenCalledTimes(0); - expect(error).toHaveBeenCalledTimes(1); - expect(error.mock.calls[0][0]).toBeInstanceOf(Error); - expect(error.mock.calls[0][0].message).toMatchInlineSnapshot( - `"Check your network connection and try again. Code 400"` - ); -}); - -test('does not emit when gets error response', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const next = jest.fn(); - const complete = jest.fn(); - const error = jest.fn(); - observable.subscribe({ - next, - complete, - error, - }); - - (xhr as any).responseText = 'error'; - (xhr as any).status = 400; - xhr.onprogress!({} as any); - - expect(next).toHaveBeenCalledTimes(0); - - (xhr as any).readyState = 4; - xhr.onreadystatechange!({} as any); - - expect(next).toHaveBeenCalledTimes(0); - expect(error).toHaveBeenCalledTimes(1); - expect(error.mock.calls[0][0]).toBeInstanceOf(Error); - expect(error.mock.calls[0][0].message).toMatchInlineSnapshot( - `"Check your network connection and try again. Code 400"` - ); -}); - -test('when .onprogress called multiple times with same text, does not create new observable events', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const spy = jest.fn(); - observable.subscribe(spy); - - expect(spy).toHaveBeenCalledTimes(0); - - (xhr as any).responseText = '1'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '1'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '12'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '12'; - xhr.onprogress!({} as any); - - (xhr as any).responseText = '123'; - xhr.onprogress!({} as any); - - expect(spy).toHaveBeenCalledTimes(3); - expect(spy.mock.calls[0][0]).toBe('1'); - expect(spy.mock.calls[1][0]).toBe('2'); - expect(spy.mock.calls[2][0]).toBe('3'); -}); - -test('generates new observable events on .onreadystatechange', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const spy = jest.fn(); - observable.subscribe(spy); - - expect(spy).toHaveBeenCalledTimes(0); - - (xhr as any).responseText = '{"foo":"bar"}'; - xhr.onreadystatechange!({} as any); - - (xhr as any).responseText = '{"foo":"bar"}\n'; - xhr.onreadystatechange!({} as any); - - (xhr as any).responseText = '{"foo":"bar"}\n123'; - xhr.onreadystatechange!({} as any); - - expect(spy).toHaveBeenCalledTimes(3); - expect(spy.mock.calls[0][0]).toBe('{"foo":"bar"}'); - expect(spy.mock.calls[1][0]).toBe('\n'); - expect(spy.mock.calls[2][0]).toBe('123'); -}); - -test('.onreadystatechange and .onprogress can be called in any order', () => { - const xhr = createXhr(); - const observable = fromStreamingXhr(xhr); - - const spy = jest.fn(); - observable.subscribe(spy); - - expect(spy).toHaveBeenCalledTimes(0); - - (xhr as any).responseText = '{"foo":"bar"}'; - xhr.onreadystatechange!({} as any); - xhr.onprogress!({} as any); - - (xhr as any).responseText = '{"foo":"bar"}\n'; - xhr.onprogress!({} as any); - xhr.onreadystatechange!({} as any); - - (xhr as any).responseText = '{"foo":"bar"}\n123'; - xhr.onreadystatechange!({} as any); - xhr.onprogress!({} as any); - xhr.onreadystatechange!({} as any); - xhr.onprogress!({} as any); - - expect(spy).toHaveBeenCalledTimes(3); - expect(spy.mock.calls[0][0]).toBe('{"foo":"bar"}'); - expect(spy.mock.calls[1][0]).toBe('\n'); - expect(spy.mock.calls[2][0]).toBe('123'); -}); diff --git a/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts b/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts deleted file mode 100644 index 9242d78c9fba2..0000000000000 --- a/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts +++ /dev/null @@ -1,74 +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 { Observable, Subject } from 'rxjs'; -import { BfetchRequestError } from '@kbn/bfetch-error'; - -/** - * Creates observable from streaming XMLHttpRequest, where each event - * corresponds to a streamed chunk. - */ -export const fromStreamingXhr = ( - xhr: Pick< - XMLHttpRequest, - 'onprogress' | 'onreadystatechange' | 'readyState' | 'status' | 'responseText' | 'abort' - >, - signal?: AbortSignal -): Observable => { - const subject = new Subject(); - let index = 0; - let aborted = false; - - // 0 indicates a network failure. 400+ messages are considered server errors - const isErrorStatus = () => xhr.status === 0 || xhr.status >= 400; - - const processBatch = () => { - if (aborted) return; - if (isErrorStatus()) return; - - const { responseText } = xhr; - if (index >= responseText.length) return; - subject.next(responseText.substr(index)); - index = responseText.length; - }; - - xhr.onprogress = processBatch; - - const onBatchAbort = () => { - if (xhr.readyState !== 4) { - aborted = true; - xhr.abort(); - subject.complete(); - if (signal) signal.removeEventListener('abort', onBatchAbort); - } - }; - - if (signal) signal.addEventListener('abort', onBatchAbort); - - xhr.onreadystatechange = () => { - if (aborted) return; - // Older browsers don't support onprogress, so we need - // to call this here, too. It's safe to call this multiple - // times even for the same progress event. - processBatch(); - - // 4 is the magic number that means the request is done - if (xhr.readyState === 4) { - if (signal) signal.removeEventListener('abort', onBatchAbort); - - if (isErrorStatus()) { - subject.error(new BfetchRequestError(xhr.status)); - } else { - subject.complete(); - } - } - }; - - return subject; -}; diff --git a/src/plugins/bfetch/public/streaming/index.ts b/src/plugins/bfetch/public/streaming/index.ts deleted file mode 100644 index f0753584131c2..0000000000000 --- a/src/plugins/bfetch/public/streaming/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './split'; -export * from './from_streaming_xhr'; -export * from './fetch_streaming'; -export { inflateResponse } from './inflate_response'; diff --git a/src/plugins/bfetch/public/streaming/inflate_response.ts b/src/plugins/bfetch/public/streaming/inflate_response.ts deleted file mode 100644 index d374c471662ae..0000000000000 --- a/src/plugins/bfetch/public/streaming/inflate_response.ts +++ /dev/null @@ -1,17 +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 { unzlibSync, strFromU8 } from 'fflate'; -import { toByteArray } from 'base64-js'; - -export function inflateResponse(response: string) { - const buff = toByteArray(response); - const unzip = unzlibSync(buff); - return strFromU8(unzip); -} diff --git a/src/plugins/bfetch/public/streaming/split.test.ts b/src/plugins/bfetch/public/streaming/split.test.ts deleted file mode 100644 index 8b66c021a3cd9..0000000000000 --- a/src/plugins/bfetch/public/streaming/split.test.ts +++ /dev/null @@ -1,61 +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 { split } from './split'; -import { Subject } from 'rxjs'; - -test('splits a single IP address', () => { - const ip = '127.0.0.1'; - const list: string[] = []; - const subject = new Subject(); - const splitted = split('.')(subject); - - splitted.subscribe((value) => list.push(value)); - - subject.next(ip); - subject.complete(); - expect(list).toEqual(['127', '0', '0', '1']); -}); - -const streams = [ - 'adsf.asdf.asdf', - 'single.dot', - 'empty..split', - 'trailingdot.', - '.leadingdot', - '.', - '....', - 'no_delimiter', - '1.2.3.4.5', - '1.2.3.4.5.', - '.1.2.3.4.5.', - '.1.2.3.4.5', -]; - -for (const stream of streams) { - test(`splits stream by delimiter correctly "${stream}"`, () => { - const correctResult = stream.split('.').filter(Boolean); - - for (let j = 0; j < 100; j++) { - const list: string[] = []; - const subject = new Subject(); - const splitted = split('.')(subject); - splitted.subscribe((value) => list.push(value)); - let i = 0; - while (i < stream.length) { - const len = Math.round(Math.random() * 10); - const chunk = stream.substr(i, len); - subject.next(chunk); - i += len; - } - subject.complete(); - expect(list).toEqual(correctResult); - } - }); -} diff --git a/src/plugins/bfetch/public/streaming/split.ts b/src/plugins/bfetch/public/streaming/split.ts deleted file mode 100644 index ba35e43a87c74..0000000000000 --- a/src/plugins/bfetch/public/streaming/split.ts +++ /dev/null @@ -1,49 +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 { Observable, Subject } from 'rxjs'; -import { filter } from 'rxjs'; - -/** - * Receives observable that emits strings, and returns a new observable - * that also returns strings separated by delimiter. - * - * Input stream: - * - * asdf.f -> df..aaa. -> dfsdf - * - * Output stream, assuming "." is used as delimiter: - * - * asdf -> fdf -> aaa -> dfsdf - * - */ -export const split = - (delimiter: string = '\n') => - (in$: Observable): Observable => { - const out$ = new Subject(); - let startingText = ''; - - in$.subscribe( - (chunk) => { - const messages = (startingText + chunk).split(delimiter); - - // We don't want to send the last message here, since it may or - // may not be a partial message. - messages.slice(0, -1).forEach(out$.next.bind(out$)); - startingText = messages.length ? messages[messages.length - 1] : ''; - }, - out$.error.bind(out$), - () => { - out$.next(startingText); - out$.complete(); - } - ); - - return out$.pipe(filter(Boolean)); - }; diff --git a/src/plugins/bfetch/public/test_helpers/xhr.ts b/src/plugins/bfetch/public/test_helpers/xhr.ts deleted file mode 100644 index dcc521d2c7563..0000000000000 --- a/src/plugins/bfetch/public/test_helpers/xhr.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -/* eslint-disable max-classes-per-file */ - -export const mockXMLHttpRequest = (): { - xhr: XMLHttpRequest; - XMLHttpRequest: typeof window.XMLHttpRequest; -} => { - class MockXMLHttpRequest implements XMLHttpRequest { - // @ts-expect-error upgrade typescript v5.1.6 - DONE = 0; - // @ts-expect-error upgrade typescript v5.1.6 - HEADERS_RECEIVED = 0; - // @ts-expect-error upgrade typescript v5.1.6 - LOADING = 0; - // @ts-expect-error upgrade typescript v5.1.6 - OPENED = 0; - // @ts-expect-error upgrade typescript v5.1.6 - UNSENT = 0; - abort = jest.fn(); - addEventListener = jest.fn(); - dispatchEvent = jest.fn(); - getAllResponseHeaders = jest.fn(); - getResponseHeader = jest.fn(); - onabort = jest.fn(); - onerror = jest.fn(); - onload = jest.fn(); - onloadend = jest.fn(); - onloadstart = jest.fn(); - onprogress = jest.fn(); - onreadystatechange = jest.fn(); - ontimeout = jest.fn(); - open = jest.fn(); - overrideMimeType = jest.fn(); - readyState = 0; - removeEventListener = jest.fn(); - response = null; - responseText = ''; - responseType = null as any; - responseURL = ''; - responseXML = null; - send = jest.fn(); - setRequestHeader = jest.fn(); - status = 0; - statusText = ''; - timeout = 0; - upload = null as any; - withCredentials = false; - } - - const xhr = new MockXMLHttpRequest(); - - return { - // @ts-expect-error upgrade typescript v5.1.6 - xhr, - XMLHttpRequest: class { - constructor() { - return xhr; - } - } as any, - }; -}; diff --git a/src/plugins/bfetch/server/mocks.ts b/src/plugins/bfetch/server/mocks.ts deleted file mode 100644 index 0c0af0369a2b5..0000000000000 --- a/src/plugins/bfetch/server/mocks.ts +++ /dev/null @@ -1,52 +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 { coreMock } from '@kbn/core/server/mocks'; -import { BfetchServerSetup, BfetchServerStart } from '.'; -import { plugin as pluginInitializer } from '.'; - -export type Setup = jest.Mocked; -export type Start = jest.Mocked; - -const createSetupContract = (): Setup => { - const setupContract: Setup = { - addBatchProcessingRoute: jest.fn(), - addStreamingResponseRoute: jest.fn(), - }; - return setupContract; -}; - -const createStartContract = (): Start => { - const startContract: Start = {}; - - return startContract; -}; - -const createPlugin = async () => { - const pluginInitializerContext = coreMock.createPluginInitializerContext(); - const coreSetup = coreMock.createSetup(); - const coreStart = coreMock.createStart(); - const plugin = await pluginInitializer(pluginInitializerContext); - const setup = await plugin.setup(coreSetup, {}); - - return { - pluginInitializerContext, - coreSetup, - coreStart, - plugin, - setup, - doStart: async () => await plugin.start(coreStart, {}), - }; -}; - -export const bfetchPluginMock = { - createSetupContract, - createStartContract, - createPlugin, -}; diff --git a/src/plugins/bfetch/server/plugin.ts b/src/plugins/bfetch/server/plugin.ts deleted file mode 100644 index 51ff8c0505026..0000000000000 --- a/src/plugins/bfetch/server/plugin.ts +++ /dev/null @@ -1,221 +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 { - CoreStart, - PluginInitializerContext, - CoreSetup, - Plugin, - Logger, - KibanaRequest, - StartServicesAccessor, - RequestHandlerContext, - RequestHandler, - KibanaResponseFactory, - AnalyticsServiceStart, - HttpProtocol, -} from '@kbn/core/server'; - -import { map$ } from '@kbn/std'; -import { schema } from '@kbn/config-schema'; -import { BFETCH_ROUTE_VERSION_LATEST } from '../common/constants'; -import { - StreamingResponseHandler, - BatchRequestData, - BatchResponseItem, - ErrorLike, - removeLeadingSlash, - normalizeError, -} from '../common'; -import { createStream } from './streaming'; -import { getUiSettings } from './ui_settings'; - -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface BfetchServerSetupDependencies {} - -export interface BfetchServerStartDependencies { - analytics?: AnalyticsServiceStart; -} - -export interface BatchProcessingRouteParams { - onBatchItem: (data: BatchItemData) => Promise; -} - -/** @public */ -export interface BfetchServerSetup { - addBatchProcessingRoute: ( - path: string, - handler: (request: KibanaRequest) => BatchProcessingRouteParams - ) => void; - addStreamingResponseRoute: ( - path: string, - params: ( - request: KibanaRequest, - context: RequestHandlerContext - ) => StreamingResponseHandler, - method?: 'GET' | 'POST' | 'PUT' | 'DELETE', - pluginRouter?: ReturnType - ) => void; -} - -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface BfetchServerStart {} - -const getStreamingHeaders = (protocol: HttpProtocol): Record => { - if (protocol === 'http2') { - return { - 'Content-Type': 'application/x-ndjson', - 'X-Accel-Buffering': 'no', - }; - } - return { - 'Content-Type': 'application/x-ndjson', - Connection: 'keep-alive', - 'Transfer-Encoding': 'chunked', - 'X-Accel-Buffering': 'no', - }; -}; - -interface Query { - compress: boolean; -} -export class BfetchServerPlugin - implements - Plugin< - BfetchServerSetup, - BfetchServerStart, - BfetchServerSetupDependencies, - BfetchServerStartDependencies - > -{ - private _analyticsService: AnalyticsServiceStart | undefined; - - constructor(private readonly initializerContext: PluginInitializerContext) {} - - public setup(core: CoreSetup, plugins: BfetchServerSetupDependencies): BfetchServerSetup { - const logger = this.initializerContext.logger.get(); - const router = core.http.createRouter(); - - core.uiSettings.register(getUiSettings()); - - const addStreamingResponseRoute = this.addStreamingResponseRoute({ - getStartServices: core.getStartServices, - router, - logger, - }); - const addBatchProcessingRoute = this.addBatchProcessingRoute(addStreamingResponseRoute); - - return { - addBatchProcessingRoute, - addStreamingResponseRoute, - }; - } - - public start(core: CoreStart, plugins: BfetchServerStartDependencies): BfetchServerStart { - this._analyticsService = core.analytics; - return {}; - } - - public stop() {} - - private addStreamingResponseRoute = - ({ - router, - logger, - }: { - getStartServices: StartServicesAccessor; - router: ReturnType; - logger: Logger; - }): BfetchServerSetup['addStreamingResponseRoute'] => - (path, handler, method = 'POST', pluginRouter) => { - const httpRouter = pluginRouter || router; - const routeDefinition = { - version: BFETCH_ROUTE_VERSION_LATEST, - validate: { - request: { - body: schema.any(), - query: schema.object({ compress: schema.boolean({ defaultValue: false }) }), - }, - }, - }; - - const routeHandler: RequestHandler = async ( - context: RequestHandlerContext, - request: KibanaRequest, - response: KibanaResponseFactory - ) => { - const handlerInstance = handler(request, context); - const data = request.body; - const compress = request.query.compress; - return response.ok({ - headers: getStreamingHeaders(request.protocol), - body: createStream( - handlerInstance.getResponseStream(data), - logger, - compress, - this._analyticsService - ), - }); - }; - - switch (method) { - case 'GET': - httpRouter.versioned - .get({ access: 'internal', path: `/${removeLeadingSlash(path)}` }) - .addVersion(routeDefinition, routeHandler); - break; - case 'POST': - httpRouter.versioned - .post({ access: 'internal', path: `/${removeLeadingSlash(path)}` }) - .addVersion(routeDefinition, routeHandler); - break; - case 'PUT': - httpRouter.versioned - .put({ access: 'internal', path: `/${removeLeadingSlash(path)}` }) - .addVersion(routeDefinition, routeHandler); - break; - case 'DELETE': - httpRouter.versioned - .delete({ access: 'internal', path: `/${removeLeadingSlash(path)}` }) - .addVersion(routeDefinition, routeHandler); - break; - default: - throw new Error(`Handler for method ${method} is not defined`); - } - }; - - private addBatchProcessingRoute = - ( - addStreamingResponseRoute: BfetchServerSetup['addStreamingResponseRoute'] - ): BfetchServerSetup['addBatchProcessingRoute'] => - ( - path: string, - handler: ( - request: KibanaRequest - ) => BatchProcessingRouteParams - ) => { - addStreamingResponseRoute< - BatchRequestData, - BatchResponseItem - >(path, (request) => { - const handlerInstance = handler(request); - return { - getResponseStream: ({ batch }) => - map$(batch, async (batchItem, id) => { - try { - const result = await handlerInstance.onBatchItem(batchItem); - return { id, result }; - } catch (error) { - return { id, error: normalizeError(error) }; - } - }), - }; - }); - }; -} diff --git a/src/plugins/bfetch/server/streaming/create_compressed_stream.ts b/src/plugins/bfetch/server/streaming/create_compressed_stream.ts deleted file mode 100644 index 2dfc290e40bb3..0000000000000 --- a/src/plugins/bfetch/server/streaming/create_compressed_stream.ts +++ /dev/null @@ -1,109 +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 { promisify } from 'util'; -import { Observable } from 'rxjs'; -import { catchError, concatMap, finalize } from 'rxjs'; -import { AnalyticsServiceStart, Logger } from '@kbn/core/server'; -import { Stream, PassThrough } from 'stream'; -import { constants, deflate } from 'zlib'; -import { reportPerformanceMetricEvent } from '@kbn/ebt-tools'; - -const delimiter = '\n'; -const pDeflate = promisify(deflate); - -const BFETCH_SERVER_ENCODING_EVENT_TYPE = 'bfetch_server_encoding'; - -class StreamMetricCollector { - private readonly _collector: number[] = []; - addMetric(time: number, messageSize: number) { - this._collector.push(time); - this._collector.push(messageSize); - } - getEBTPerformanceMetricEvent() { - let totalTime = 0; - let totalMessageSize = 0; - for (let i = 0; i < this._collector.length; i += 2) { - totalTime += this._collector[i]; - totalMessageSize += this._collector[i + 1]; - } - return { - eventName: BFETCH_SERVER_ENCODING_EVENT_TYPE, - duration: totalTime, - key1: 'message_count', - value1: this._collector.length / 2, - key2: 'total_byte_size', - value2: totalMessageSize, - key3: 'stream_type', - value3: 1, // 1 == 'compressed'. Can always include support for ndjson-type later (e.g. 2 == ndjson) - }; - } -} - -async function zipMessageToStream( - output: PassThrough, - message: string, - collector?: StreamMetricCollector -) { - return new Promise(async (resolve, reject) => { - try { - const before = performance.now(); - const gzipped = await pDeflate(message, { - flush: constants.Z_SYNC_FLUSH, - }); - const base64Compressed = gzipped.toString('base64'); - if (collector) { - // 1 ASCII character = 1 byte - collector.addMetric(performance.now() - before, base64Compressed.length); - } - output.write(base64Compressed); - output.write(delimiter); - resolve(undefined); - } catch (err) { - reject(err); - } - }); -} - -export const createCompressedStream = ( - results: Observable, - logger: Logger, - analyticsStart?: AnalyticsServiceStart -): Stream => { - const output = new PassThrough(); - const metricCollector: StreamMetricCollector | undefined = analyticsStart - ? new StreamMetricCollector() - : undefined; - - results - .pipe( - concatMap((message: Response) => { - const strMessage = JSON.stringify(message); - return zipMessageToStream(output, strMessage, metricCollector); - }), - catchError((e) => { - logger.error('Could not serialize or stream a message.'); - logger.error(e); - throw e; - }), - finalize(() => { - output.end(); - - if (analyticsStart && metricCollector) { - reportPerformanceMetricEvent( - analyticsStart, - metricCollector.getEBTPerformanceMetricEvent() - ); - } - }) - ) - .subscribe(); - - return output; -}; diff --git a/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts b/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts deleted file mode 100644 index d287f33f2c518..0000000000000 --- a/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts +++ /dev/null @@ -1,40 +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 { Observable } from 'rxjs'; -import { Logger } from '@kbn/core/server'; -import { Stream, PassThrough } from 'stream'; - -const delimiter = '\n'; - -export const createNDJSONStream = ( - results: Observable, - logger: Logger -): Stream => { - const stream = new PassThrough(); - - results.subscribe({ - next: (message: Response) => { - try { - const line = JSON.stringify(message); - stream.write(`${line}${delimiter}`); - } catch (error) { - logger.error('Could not serialize or stream a message.'); - logger.error(error); - } - }, - error: (error) => { - stream.end(); - logger.error(error); - }, - complete: () => stream.end(), - }); - - return stream; -}; diff --git a/src/plugins/bfetch/server/streaming/create_stream.ts b/src/plugins/bfetch/server/streaming/create_stream.ts deleted file mode 100644 index bbbbba701756c..0000000000000 --- a/src/plugins/bfetch/server/streaming/create_stream.ts +++ /dev/null @@ -1,25 +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 { AnalyticsServiceStart, Logger } from '@kbn/core/server'; -import { Stream } from 'stream'; -import { Observable } from 'rxjs'; -import { createCompressedStream } from './create_compressed_stream'; -import { createNDJSONStream } from './create_ndjson_stream'; - -export function createStream( - response$: Observable, - logger: Logger, - compress: boolean, - analytics?: AnalyticsServiceStart -): Stream { - return compress - ? createCompressedStream(response$, logger, analytics) - : createNDJSONStream(response$, logger); -} diff --git a/src/plugins/bfetch/server/streaming/index.ts b/src/plugins/bfetch/server/streaming/index.ts deleted file mode 100644 index 26e34b219959f..0000000000000 --- a/src/plugins/bfetch/server/streaming/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './create_ndjson_stream'; -export * from './create_compressed_stream'; -export * from './create_stream'; diff --git a/src/plugins/bfetch/server/ui_settings.ts b/src/plugins/bfetch/server/ui_settings.ts deleted file mode 100644 index 132dd19ef8b9c..0000000000000 --- a/src/plugins/bfetch/server/ui_settings.ts +++ /dev/null @@ -1,56 +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 { i18n } from '@kbn/i18n'; -import { UiSettingsParams } from '@kbn/core/server'; -import { schema } from '@kbn/config-schema'; -import { DISABLE_BFETCH_COMPRESSION, DISABLE_BFETCH } from '../common'; - -export function getUiSettings(): Record> { - return { - [DISABLE_BFETCH]: { - name: i18n.translate('bfetch.disableBfetch', { - defaultMessage: 'Disable request batching', - }), - value: true, - description: i18n.translate('bfetch.disableBfetchDesc', { - defaultMessage: - 'Disables requests batching. This increases number of HTTP requests from Kibana, but allows to debug requests individually.', - }), - schema: schema.boolean(), - deprecation: { - message: i18n.translate('bfetch.advancedSettings.disableBfetchDeprecation', { - defaultMessage: 'This setting is deprecated and will be removed in Kibana 9.0.', - }), - docLinksKey: 'generalSettings', - }, - category: [], - requiresPageReload: true, - }, - [DISABLE_BFETCH_COMPRESSION]: { - name: i18n.translate('bfetch.disableBfetchCompression', { - defaultMessage: 'Disable batch compression', - }), - value: false, - description: i18n.translate('bfetch.disableBfetchCompressionDesc', { - defaultMessage: - 'Disable batch compression. This allows you to debug individual requests, but increases response size.', - }), - schema: schema.boolean(), - deprecation: { - message: i18n.translate('bfetch.advancedSettings.disableBfetchCompressionDeprecation', { - defaultMessage: 'This setting is deprecated and will be removed in Kibana 9.0.', - }), - docLinksKey: 'generalSettings', - }, - category: [], - requiresPageReload: true, - }, - }; -} diff --git a/src/plugins/bfetch/tsconfig.json b/src/plugins/bfetch/tsconfig.json deleted file mode 100644 index d75e6085d4537..0000000000000 --- a/src/plugins/bfetch/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "server/**/*", "index.ts"], - "kbn_references": [ - "@kbn/core", - "@kbn/kibana-utils-plugin", - "@kbn/i18n", - "@kbn/config-schema", - "@kbn/std", - "@kbn/core-http-common", - "@kbn/bfetch-error", - "@kbn/ebt-tools", - "@kbn/item-buffer", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/charts/public/services/theme/theme.test.tsx b/src/plugins/charts/public/services/theme/theme.test.tsx index df0acfbede1cf..b478dc284d0d6 100644 --- a/src/plugins/charts/public/services/theme/theme.test.tsx +++ b/src/plugins/charts/public/services/theme/theme.test.tsx @@ -74,7 +74,7 @@ describe('ThemeService', () => { }); }); - describe('useBaseChartTheme', () => { + describe('useChartsBaseTheme', () => { it('updates when the theme setting change', () => { setUpMockTheme.theme$ = createTheme$Mock(false); const themeService = new ThemeService(); diff --git a/src/plugins/controls/jest.config.js b/src/plugins/controls/jest.config.js deleted file mode 100644 index cd1396d9c60a6..0000000000000 --- a/src/plugins/controls/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/controls'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/controls', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/controls/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/controls/jest_setup.ts'], -}; diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx b/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx deleted file mode 100644 index fc4d050d71d59..0000000000000 --- a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx +++ /dev/null @@ -1,82 +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 React from 'react'; -import { EuiButtonIcon, EuiRangeTick, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; - -import { TimeSliderStrings } from './time_slider_strings'; -import { TimeSliderAnchoredRange } from './time_slider_anchored_range'; -import { TimeSliderSlidingWindowRange } from './time_slider_sliding_window_range'; -import { Timeslice } from '../types'; - -interface Props { - isAnchored: boolean; - setIsAnchored: (isAnchored: boolean) => void; - value: Timeslice; - onChange: (value?: Timeslice) => void; - stepSize: number; - ticks: EuiRangeTick[]; - timeRangeMin: number; - timeRangeMax: number; - compressed: boolean; -} - -export function TimeSliderPopoverContent(props: Props) { - const rangeInput = props.isAnchored ? ( - - ) : ( - - ); - const anchorStartToggleButtonLabel = props.isAnchored - ? TimeSliderStrings.control.getUnpinStart() - : TimeSliderStrings.control.getPinStart(); - - return ( - - - - { - const nextIsAnchored = !props.isAnchored; - if (nextIsAnchored) { - props.onChange([props.timeRangeMin, props.value[1]]); - } - props.setIsAnchored(nextIsAnchored); - }} - aria-label={anchorStartToggleButtonLabel} - data-test-subj="timeSlider__anchorStartToggleButton" - /> - - - {rangeInput} - - ); -} diff --git a/src/plugins/dashboard/jest.config.js b/src/plugins/dashboard/jest.config.js deleted file mode 100644 index fb095ef361b06..0000000000000 --- a/src/plugins/dashboard/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/dashboard'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/dashboard', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/dashboard/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/dashboard/jest_setup.ts'], -}; diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts deleted file mode 100644 index 58492f51f4d36..0000000000000 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts +++ /dev/null @@ -1,225 +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 { pick } from 'lodash'; -import moment, { Moment } from 'moment'; - -import { extractSearchSourceReferences, RefreshInterval } from '@kbn/data-plugin/public'; -import { isFilterPinned } from '@kbn/es-query'; - -import type { SavedObjectReference } from '@kbn/core/server'; -import { getDashboardContentManagementCache } from '..'; -import { convertPanelMapToPanelsArray, extractReferences } from '../../../../common'; -import type { - DashboardAttributes, - DashboardCreateIn, - DashboardCreateOut, - DashboardUpdateIn, - DashboardUpdateOut, -} from '../../../../server/content_management'; -import { generateNewPanelIds } from '../../../../common/lib/dashboard_panel_converters'; -import { DASHBOARD_CONTENT_ID } from '../../../dashboard_constants'; -import { LATEST_DASHBOARD_CONTAINER_VERSION } from '../../../dashboard_container'; -import { dashboardSaveToastStrings } from '../../../dashboard_container/_dashboard_container_strings'; -import { getDashboardBackupService } from '../../dashboard_backup_service'; -import { - contentManagementService, - coreServices, - dataService, - embeddableService, - savedObjectsTaggingService, -} from '../../kibana_services'; -import { DashboardSearchSource, SaveDashboardProps, SaveDashboardReturn } from '../types'; -import { convertDashboardVersionToNumber } from './dashboard_versioning'; - -export const convertTimeToUTCString = (time?: string | Moment): undefined | string => { - if (moment(time).isValid()) { - return moment(time).utc().format('YYYY-MM-DDTHH:mm:ss.SSS[Z]'); - } else { - // If it's not a valid moment date, then it should be a string representing a relative time - // like 'now' or 'now-15m'. - return time as string; - } -}; - -export const saveDashboardState = async ({ - controlGroupReferences, - lastSavedId, - saveOptions, - currentState, - panelReferences, -}: SaveDashboardProps): Promise => { - const { - search: dataSearchService, - query: { - timefilter: { timefilter }, - }, - } = dataService; - const dashboardContentManagementCache = getDashboardContentManagementCache(); - - const { - tags, - query, - title, - filters, - timeRestore, - description, - - // Dashboard options - useMargins, - syncColors, - syncCursor, - syncTooltips, - hidePanelTitles, - controlGroupInput, - } = currentState; - - let { panels } = currentState; - let prefixedPanelReferences = panelReferences; - if (saveOptions.saveAsCopy) { - const { panels: newPanels, references: newPanelReferences } = generateNewPanelIds( - panels, - panelReferences - ); - panels = newPanels; - prefixedPanelReferences = newPanelReferences; - // - // do not need to generate new ids for controls. - // ControlGroup Component is keyed on dashboard id so changing dashboard id mounts new ControlGroup Component. - // - } - - const { searchSource, searchSourceReferences } = await (async () => { - const searchSourceFields = await dataSearchService.searchSource.create(); - searchSourceFields.setField( - 'filter', // save only unpinned filters - filters.filter((filter) => !isFilterPinned(filter)) - ); - searchSourceFields.setField('query', query); - - const rawSearchSourceFields = searchSourceFields.getSerializedFields(); - const [fields, references] = extractSearchSourceReferences(rawSearchSourceFields) as [ - DashboardSearchSource, - SavedObjectReference[] - ]; - return { searchSourceReferences: references, searchSource: fields }; - })(); - - const options = { - useMargins, - syncColors, - syncCursor, - syncTooltips, - hidePanelTitles, - }; - const savedPanels = convertPanelMapToPanelsArray(panels, true); - - /** - * Parse global time filter settings - */ - const { from, to } = timefilter.getTime(); - const timeFrom = timeRestore ? convertTimeToUTCString(from) : undefined; - const timeTo = timeRestore ? convertTimeToUTCString(to) : undefined; - const refreshInterval = timeRestore - ? (pick(timefilter.getRefreshInterval(), [ - 'display', - 'pause', - 'section', - 'value', - ]) as RefreshInterval) - : undefined; - - const rawDashboardAttributes: DashboardAttributes = { - version: convertDashboardVersionToNumber(LATEST_DASHBOARD_CONTAINER_VERSION), - controlGroupInput: controlGroupInput as DashboardAttributes['controlGroupInput'], - kibanaSavedObjectMeta: { searchSource }, - description: description ?? '', - refreshInterval, - timeRestore, - options, - panels: savedPanels, - timeFrom, - title, - timeTo, - }; - - /** - * Extract references from raw attributes and tags into the references array. - */ - const { attributes, references: dashboardReferences } = extractReferences( - { - attributes: rawDashboardAttributes, - references: searchSourceReferences, - }, - { embeddablePersistableStateService: embeddableService } - ); - - const savedObjectsTaggingApi = savedObjectsTaggingService?.getTaggingApi(); - const references = savedObjectsTaggingApi?.ui.updateTagsReferences - ? savedObjectsTaggingApi?.ui.updateTagsReferences(dashboardReferences, tags) - : dashboardReferences; - - const allReferences = [ - ...references, - ...(prefixedPanelReferences ?? []), - ...(controlGroupReferences ?? []), - ]; - - /** - * Save the saved object using the content management - */ - const idToSaveTo = saveOptions.saveAsCopy ? undefined : lastSavedId; - - try { - const result = idToSaveTo - ? await contentManagementService.client.update({ - id: idToSaveTo, - contentTypeId: DASHBOARD_CONTENT_ID, - data: attributes, - options: { - references: allReferences, - /** perform a "full" update instead, where the provided attributes will fully replace the existing ones */ - mergeAttributes: false, - }, - }) - : await contentManagementService.client.create({ - contentTypeId: DASHBOARD_CONTENT_ID, - data: attributes, - options: { - references: allReferences, - }, - }); - const newId = result.item.id; - - if (newId) { - coreServices.notifications.toasts.addSuccess({ - title: dashboardSaveToastStrings.getSuccessString(currentState.title), - className: 'eui-textBreakWord', - 'data-test-subj': 'saveDashboardSuccess', - }); - - /** - * If the dashboard id has been changed, redirect to the new ID to keep the url param in sync. - */ - if (newId !== lastSavedId) { - getDashboardBackupService().clearState(lastSavedId); - return { redirectRequired: true, id: newId, references: allReferences }; - } else { - dashboardContentManagementCache.deleteDashboard(newId); // something changed in an existing dashboard, so delete it from the cache so that it can be re-fetched - } - } - return { id: newId, references: allReferences }; - } catch (error) { - coreServices.notifications.toasts.addDanger({ - title: dashboardSaveToastStrings.getFailureString(currentState.title, error.message), - 'data-test-subj': 'saveDashboardFailure', - }); - return { error }; - } -}; diff --git a/src/plugins/data/kibana.jsonc b/src/plugins/data/kibana.jsonc index 84e692c42648a..0491e87f994e7 100644 --- a/src/plugins/data/kibana.jsonc +++ b/src/plugins/data/kibana.jsonc @@ -18,7 +18,6 @@ "browser": true, "server": true, "requiredPlugins": [ - "bfetch", "expressions", "uiActions", "share", @@ -40,4 +39,4 @@ "common" ] } -} \ No newline at end of file +} diff --git a/src/plugins/data/public/search/search_service.test.ts b/src/plugins/data/public/search/search_service.test.ts index 503a8a1d7961d..5654475263242 100644 --- a/src/plugins/data/public/search/search_service.test.ts +++ b/src/plugins/data/public/search/search_service.test.ts @@ -7,7 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { bfetchPluginMock } from '@kbn/bfetch-plugin/public/mocks'; import { CoreSetup, CoreStart } from '@kbn/core/public'; import { coreMock } from '@kbn/core/public/mocks'; import { DataViewsContract } from '@kbn/data-views-plugin/common'; @@ -38,10 +37,8 @@ describe('Search service', () => { describe('setup()', () => { it('exposes proper contract', async () => { - const bfetch = bfetchPluginMock.createSetupContract(); const setup = searchService.setup(mockCoreSetup, { packageInfo: { version: '8' }, - bfetch, expressions: { registerFunction: jest.fn(), registerType: jest.fn() }, management: managementPluginMock.createSetupContract(), } as unknown as SearchServiceSetupDependencies); @@ -55,10 +52,8 @@ describe('Search service', () => { describe('start()', () => { let data: ISearchStart; beforeEach(() => { - const bfetch = bfetchPluginMock.createSetupContract(); searchService.setup(mockCoreSetup, { packageInfo: { version: '8' }, - bfetch, expressions: { registerFunction: jest.fn(), registerType: jest.fn() }, management: managementPluginMock.createSetupContract(), } as unknown as SearchServiceSetupDependencies); diff --git a/src/plugins/data/public/types.ts b/src/plugins/data/public/types.ts index 6cd1878ac6fb8..2191f784c9c04 100644 --- a/src/plugins/data/public/types.ts +++ b/src/plugins/data/public/types.ts @@ -7,7 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { BfetchPublicSetup } from '@kbn/bfetch-plugin/public'; import { ExpressionsSetup } from '@kbn/expressions-plugin/public'; import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; import { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; @@ -32,7 +31,6 @@ import { DataViewsContract } from './data_views'; import { NowProviderPublicContract } from './now_provider'; export interface DataSetupDependencies { - bfetch: BfetchPublicSetup; expressions: ExpressionsSetup; uiActions: UiActionsSetup; inspector: InspectorSetup; diff --git a/src/plugins/data/server/plugin.ts b/src/plugins/data/server/plugin.ts index b74bae5fb76e9..c18353960db57 100644 --- a/src/plugins/data/server/plugin.ts +++ b/src/plugins/data/server/plugin.ts @@ -9,7 +9,6 @@ import { CoreSetup, CoreStart, Logger, Plugin, PluginInitializerContext } from '@kbn/core/server'; import { ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; -import { BfetchServerSetup } from '@kbn/bfetch-plugin/server'; import { PluginStart as DataViewsServerPluginStart } from '@kbn/data-views-plugin/server'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; import { FieldFormatsSetup, FieldFormatsStart } from '@kbn/field-formats-plugin/server'; @@ -47,7 +46,6 @@ export interface DataPluginStart { } export interface DataPluginSetupDependencies { - bfetch: BfetchServerSetup; expressions: ExpressionsServerSetup; usageCollection?: UsageCollectionSetup; fieldFormats: FieldFormatsSetup; @@ -85,7 +83,7 @@ export class DataServerPlugin public setup( core: CoreSetup, - { bfetch, expressions, usageCollection, fieldFormats }: DataPluginSetupDependencies + { expressions, usageCollection, fieldFormats }: DataPluginSetupDependencies ) { this.scriptsService.setup(core); const querySetup = this.queryService.setup(core); @@ -94,7 +92,6 @@ export class DataServerPlugin core.uiSettings.register(getUiSettings(core.docLinks, this.config.enableUiSettingsValidations)); const searchSetup = this.searchService.setup(core, { - bfetch, expressions, usageCollection, }); diff --git a/src/plugins/data/server/search/search_service.test.ts b/src/plugins/data/server/search/search_service.test.ts index 303d9a796ccca..5d26b9e3d3e78 100644 --- a/src/plugins/data/server/search/search_service.test.ts +++ b/src/plugins/data/server/search/search_service.test.ts @@ -16,7 +16,6 @@ import { createFieldFormatsStartMock } from '@kbn/field-formats-plugin/server/mo import { createIndexPatternsStartMock } from '../data_views/mocks'; import { SearchService, SearchServiceSetupDependencies } from './search_service'; -import { bfetchPluginMock } from '@kbn/bfetch-plugin/server/mocks'; import { lastValueFrom, of } from 'rxjs'; import type { @@ -68,10 +67,8 @@ describe('Search service', () => { describe('setup()', () => { it('exposes proper contract', async () => { - const bfetch = bfetchPluginMock.createSetupContract(); const setup = plugin.setup(mockCoreSetup, { packageInfo: { version: '8' }, - bfetch, expressions: { registerFunction: jest.fn(), registerType: jest.fn(), @@ -115,7 +112,6 @@ describe('Search service', () => { mockSessionClient = createSearchSessionsClientMock(); const pluginSetup = plugin.setup(mockCoreSetup, { - bfetch: bfetchPluginMock.createSetupContract(), expressions: expressionsPluginMock.createSetupContract(), }); pluginSetup.registerSearchStrategy(ENHANCED_ES_SEARCH_STRATEGY, mockStrategy); diff --git a/src/plugins/data/server/search/search_service.ts b/src/plugins/data/server/search/search_service.ts index f4d17f4f640e5..f52a94c8bf429 100644 --- a/src/plugins/data/server/search/search_service.ts +++ b/src/plugins/data/server/search/search_service.ts @@ -28,7 +28,6 @@ import type { IEsSearchRequest, IEsSearchResponse, } from '@kbn/search-types'; -import { BfetchServerSetup } from '@kbn/bfetch-plugin/server'; import { ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { FieldFormatsStart } from '@kbn/field-formats-plugin/server'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; @@ -106,7 +105,6 @@ type StrategyMap = Record>; /** @internal */ export interface SearchServiceSetupDependencies { - bfetch: BfetchServerSetup; expressions: ExpressionsServerSetup; usageCollection?: UsageCollectionSetup; } @@ -145,7 +143,7 @@ export class SearchService implements Plugin { public setup( core: CoreSetup, - { bfetch, expressions, usageCollection }: SearchServiceSetupDependencies + { expressions, usageCollection }: SearchServiceSetupDependencies ): ISearchSetup { core.savedObjects.registerType(searchSessionSavedObjectType); const usage = usageCollection ? usageProvider(core) : undefined; diff --git a/src/plugins/data/tsconfig.json b/src/plugins/data/tsconfig.json index b1f06b761c0fb..8683afafceb47 100644 --- a/src/plugins/data/tsconfig.json +++ b/src/plugins/data/tsconfig.json @@ -14,7 +14,6 @@ ], "kbn_references": [ "@kbn/core", - "@kbn/bfetch-plugin", "@kbn/ui-actions-plugin", "@kbn/share-plugin", "@kbn/inspector-plugin", diff --git a/src/plugins/data_view_management/server/routes/resolve_index.test.ts b/src/plugins/data_view_management/server/routes/resolve_index.test.ts new file mode 100644 index 0000000000000..90894edff4880 --- /dev/null +++ b/src/plugins/data_view_management/server/routes/resolve_index.test.ts @@ -0,0 +1,243 @@ +/* + * 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 { MockedKeys } from '@kbn/utility-types-jest'; +import { CoreSetup, RequestHandlerContext } from '@kbn/core/server'; +import { coreMock, httpServerMock } from '@kbn/core/server/mocks'; +import { registerResolveIndexRoute } from './resolve_index'; + +const mockResponseIndices = { + indices: [ + { + name: 'kibana_sample_data_logs', + attributes: ['open'], + }, + ], + aliases: [], + data_streams: [], +}; + +const mockResponseEmpty = { + indices: [], + aliases: [], + data_streams: [], +}; + +const mockError403 = { + meta: { + body: { + error: { + root_cause: [ + { + type: 'no_such_remote_cluster_exception', + reason: 'no such remote cluster: [cluster1]', + }, + ], + type: 'security_exception', + reason: + 'action [indices:admin/resolve/index] is unauthorized for user [elastic] with effective roles [superuser], this action is granted by the index privileges [view_index_metadata,manage,read,all]', + caused_by: { + type: 'no_such_remote_cluster_exception', + reason: 'no such remote cluster: [cluster1]', + }, + }, + status: 403, + }, + statusCode: 403, + }, +}; + +const mockError404 = { + meta: { + body: { + error: { + root_cause: [ + { + type: 'index_not_found_exception', + reason: 'no such index [asdf]', + 'resource.type': 'index_or_alias', + 'resource.id': 'asdf', + index_uuid: '_na_', + index: 'asdf', + }, + ], + type: 'index_not_found_exception', + reason: 'no such index [asdf]', + 'resource.type': 'index_or_alias', + 'resource.id': 'asdf', + index_uuid: '_na_', + index: 'asdf', + }, + status: 404, + }, + statusCode: 404, + }, +}; + +describe('resolve_index route', () => { + let mockCoreSetup: MockedKeys; + + beforeEach(() => { + mockCoreSetup = coreMock.createSetup(); + }); + + it('handler calls /_resolve/index with the given request', async () => { + const mockClient = { + indices: { + resolveIndex: jest.fn().mockResolvedValue(mockResponseIndices), + }, + }; + const mockContext = { + core: { + elasticsearch: { client: { asCurrentUser: mockClient } }, + }, + }; + const mockRequest = httpServerMock.createKibanaRequest({ + params: { + query: 'kibana_sample_data_logs', + }, + }); + const mockResponse = httpServerMock.createResponseFactory(); + + registerResolveIndexRoute(mockCoreSetup.http.createRouter()); + + const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value; + const handler = mockRouter.get.mock.calls[0][1]; + await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse); + + expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "expand_wildcards": "open", + "name": "kibana_sample_data_logs", + } + `); + + expect(mockResponse.ok).toBeCalled(); + expect(mockResponse.ok.mock.calls[0][0]).toEqual({ body: mockResponseIndices }); + }); + + it('should return 200 for a search for indices with wildcard', async () => { + const mockClient = { + indices: { + resolveIndex: jest.fn().mockResolvedValue(mockResponseEmpty), + }, + }; + const mockContext = { + core: { + elasticsearch: { client: { asCurrentUser: mockClient } }, + }, + }; + const mockRequest = httpServerMock.createKibanaRequest({ + params: { + query: 'asdf*', + }, + }); + const mockResponse = httpServerMock.createResponseFactory(); + + registerResolveIndexRoute(mockCoreSetup.http.createRouter()); + + const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value; + const handler = mockRouter.get.mock.calls[0][1]; + await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse); + + expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "expand_wildcards": "open", + "name": "asdf*", + } + `); + + expect(mockResponse.ok).toBeCalled(); + expect(mockResponse.ok.mock.calls[0][0]).toEqual({ body: mockResponseEmpty }); + }); + + it('returns 404 when hitting a 403 from Elasticsearch', async () => { + const mockClient = { + indices: { + resolveIndex: jest.fn().mockRejectedValue(mockError403), + }, + }; + const mockContext = { + core: { + elasticsearch: { client: { asCurrentUser: mockClient } }, + }, + }; + const mockRequest = httpServerMock.createKibanaRequest({ + params: { + query: 'cluster1:filebeat-*,cluster2:filebeat-*', + }, + }); + const mockResponse = httpServerMock.createResponseFactory(); + + registerResolveIndexRoute(mockCoreSetup.http.createRouter()); + + const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value; + const handler = mockRouter.get.mock.calls[0][1]; + + await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse); + + expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "expand_wildcards": "open", + "name": "cluster1:filebeat-*,cluster2:filebeat-*", + } + `); + + expect(mockResponse.notFound).toBeCalled(); + expect(mockResponse.notFound.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "body": Object { + "message": "action [indices:admin/resolve/index] is unauthorized for user [elastic] with effective roles [superuser], this action is granted by the index privileges [view_index_metadata,manage,read,all]", + }, + } + `); + }); + + it('returns 404 when hitting a 404 from Elasticsearch', async () => { + const mockClient = { + indices: { + resolveIndex: jest.fn().mockRejectedValue(mockError404), + }, + }; + const mockContext = { + core: { + elasticsearch: { client: { asCurrentUser: mockClient } }, + }, + }; + const mockRequest = httpServerMock.createKibanaRequest({ + params: { + query: 'asdf', + }, + }); + const mockResponse = httpServerMock.createResponseFactory(); + + registerResolveIndexRoute(mockCoreSetup.http.createRouter()); + + const mockRouter = mockCoreSetup.http.createRouter.mock.results[0].value; + const handler = mockRouter.get.mock.calls[0][1]; + + await handler(mockContext as unknown as RequestHandlerContext, mockRequest, mockResponse); + + expect(mockClient.indices.resolveIndex.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "expand_wildcards": "open", + "name": "asdf", + } + `); + + expect(mockResponse.notFound).toBeCalled(); + expect(mockResponse.notFound.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "body": Object { + "message": "no such index [asdf]", + }, + } + `); + }); +}); diff --git a/src/plugins/data_view_management/server/routes/resolve_index.ts b/src/plugins/data_view_management/server/routes/resolve_index.ts index f51027e55f9ca..04e3865fd8592 100644 --- a/src/plugins/data_view_management/server/routes/resolve_index.ts +++ b/src/plugins/data_view_management/server/routes/resolve_index.ts @@ -47,7 +47,9 @@ export function registerResolveIndexRoute(router: IRouter): void { }); return res.ok({ body }); } catch (e) { - if (e?.meta.statusCode === 404) { + // 403: no_such_remote_cluster_exception + // 404: index_not_found_exception + if ([403, 404].includes(e?.meta.statusCode)) { return res.notFound({ body: { message: e.meta?.body?.error?.reason } }); } else { throw getKbnServerError(e); diff --git a/src/plugins/discover_shared/README.md b/src/plugins/discover_shared/README.md index f8c50b081f22c..f1bcb5ab2e011 100755 --- a/src/plugins/discover_shared/README.md +++ b/src/plugins/discover_shared/README.md @@ -64,7 +64,7 @@ Having an interface for the feature and Discover consuming its definition, we ar For our example, we'll go to the logs app that owns the LogsAIAssistant codebase and register the feature: ```tsx -// x-pack/plugins/observability_solution/logs_shared/public/plugin.ts +// x-pack/platform/plugins/shared/logs_shared/public/plugin.ts export class LogsSharedPlugin implements LogsSharedClientPluginClass { // The rest of the plugin implementation is hidden for a cleaner example diff --git a/src/plugins/embeddable/jest.config.js b/src/plugins/embeddable/jest.config.js deleted file mode 100644 index bbb53214d1e99..0000000000000 --- a/src/plugins/embeddable/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/embeddable'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/embeddable', - coverageReporters: ['text', 'html'], - setupFiles: ['/src/plugins/embeddable/jest_setup.ts'], - collectCoverageFrom: ['/src/plugins/embeddable/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap b/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap deleted file mode 100644 index 6ef25188283e5..0000000000000 --- a/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap +++ /dev/null @@ -1,8 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`embeddable factory migrateToLatest returns list of all migrations 1`] = ` -Object { - "7.11.0": [Function], - "7.12.0": [Function], -} -`; diff --git a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts b/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts deleted file mode 100644 index 13baf96962a3a..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts +++ /dev/null @@ -1,65 +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 { SavedObjectAttributes } from '@kbn/core/public'; -import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common'; -import { EmbeddableFactory } from './embeddable_factory'; -import { EmbeddableStateWithType } from '../../../common/types'; -import { EmbeddableFactoryDefinition } from './embeddable_factory_definition'; -import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable'; -import { runEmbeddableFactoryMigrations } from '../factory_migrations/run_factory_migrations'; - -export const defaultEmbeddableFactoryProvider = < - I extends EmbeddableInput = EmbeddableInput, - O extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable, - T extends FinderAttributes = SavedObjectAttributes ->( - def: EmbeddableFactoryDefinition -): EmbeddableFactory => { - if (def.migrations && !def.latestVersion) { - throw new Error( - 'To run clientside Embeddable migrations a latest version key is required on the factory' - ); - } - - const factory: EmbeddableFactory = { - ...def, - latestVersion: def.latestVersion, - isContainerType: def.isContainerType ?? false, - canCreateNew: def.canCreateNew ? def.canCreateNew.bind(def) : () => true, - getDefaultInput: def.getDefaultInput ? def.getDefaultInput.bind(def) : () => ({}), - getExplicitInput: def.getExplicitInput - ? def.getExplicitInput.bind(def) - : () => Promise.resolve({}), - createFromSavedObject: def.createFromSavedObject - ? def.createFromSavedObject.bind(def) - : (savedObjectId: string, input: Partial, parent?: unknown) => { - throw new Error(`Creation from saved object not supported by type ${def.type}`); - }, - create: (...args) => { - const [initialInput, ...otherArgs] = args; - const { input } = runEmbeddableFactoryMigrations(initialInput, def); - const createdEmbeddable = def.create.bind(def)(input as I, ...otherArgs); - return createdEmbeddable; - }, - type: def.type, - isEditable: def.isEditable.bind(def), - getDisplayName: def.getDisplayName.bind(def), - getDescription: def.getDescription ? def.getDescription.bind(def) : () => '', - getIconType: def.getIconType ? def.getIconType.bind(def) : () => 'empty', - savedObjectMetaData: def.savedObjectMetaData, - telemetry: def.telemetry || ((state, stats) => stats), - inject: def.inject || ((state: EmbeddableStateWithType) => state), - extract: def.extract || ((state: EmbeddableStateWithType) => ({ state, references: [] })), - migrations: def.migrations || {}, - grouping: def.grouping, - }; - return factory; -}; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts deleted file mode 100644 index e363af639e252..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts +++ /dev/null @@ -1,153 +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 { SavedObjectMetaData } from '@kbn/saved-objects-finder-plugin/public'; -import { PersistableState } from '@kbn/kibana-utils-plugin/common'; -import type { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common'; -import { UiActionsPresentableGrouping } from '@kbn/ui-actions-plugin/public'; -import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable'; -import { ErrorEmbeddable } from './error_embeddable'; -import { PropertySpec } from '../types'; -import { EmbeddableStateWithType } from '../../../common/types'; - -export interface EmbeddableInstanceConfiguration { - id: string; - savedObjectId?: string; -} - -export interface OutputSpec { - [key: string]: PropertySpec; -} - -export interface ExplicitInputWithAttributes { - newInput: Partial; - attributes?: unknown; -} - -export const isExplicitInputWithAttributes = ( - value: ExplicitInputWithAttributes | Partial -): value is ExplicitInputWithAttributes => { - return Boolean((value as ExplicitInputWithAttributes).newInput); -}; - -/** - * EmbeddableFactories create and initialize an embeddable instance - */ -export interface EmbeddableFactory< - TEmbeddableInput extends EmbeddableInput = EmbeddableInput, - TEmbeddableOutput extends EmbeddableOutput = EmbeddableOutput, - TEmbeddable extends IEmbeddable = IEmbeddable< - TEmbeddableInput, - TEmbeddableOutput - >, - TSavedObjectAttributes extends FinderAttributes = FinderAttributes -> extends PersistableState { - /** - * The version of this Embeddable factory. This will be used in the client side migration system - * to ensure that input from any source is compatible with the latest version of this embeddable. - * If the latest version is not defined, all clientside migrations will be skipped. If migrations - * are added to this factory but a latestVersion is not set, an error will be thrown on server start - */ - readonly latestVersion?: string; - - // A unique identified for this factory, which will be used to map an embeddable spec to - // a factory that can generate an instance of it. - readonly type: string; - - /** - * Returns whether the current user should be allowed to edit this type of - * embeddable. Most of the time this should be based off the capabilities service, hence it's async. - */ - readonly isEditable: () => Promise; - - readonly savedObjectMetaData?: SavedObjectMetaData; - - /** - * Indicates the grouping this factory should appear in a sub-menu. Example, this is used for grouping - * options in the editors menu in Dashboard for creating new embeddables - */ - readonly grouping?: UiActionsPresentableGrouping; - - /** - * True if is this factory create embeddables that are Containers. Used in the add panel to - * conditionally show whether these can be added to another container. It's just not - * supported right now, but once nested containers are officially supported we can probably get - * rid of this interface. - */ - readonly isContainerType: boolean; - - /** - * Returns a display name for this type of embeddable. Used in "Create new... " options - * in the add panel for containers. - */ - getDisplayName(): string; - - /** - * Returns an EUI Icon type to be displayed in a menu. - */ - getIconType(): string; - - /** - * Returns a description about the embeddable. - */ - getDescription(): string; - - /** - * If false, this type of embeddable can't be created with the "createNew" functionality. Instead, - * use createFromSavedObject, where an existing saved object must first exist. - */ - canCreateNew(): boolean; - - /** - * Can be used to get the default input, to be passed in to during the creation process. Default - * input will not be stored in a parent container, so all inherited input from a container will trump - * default input parameters. - * @param partial - */ - getDefaultInput(partial: Partial): Partial; - - /** - * Can be used to request explicit input from the user, to be passed in to `EmbeddableFactory:create`. - * Explicit input is stored on the parent container for this embeddable. It overrides all inherited - * input passed down from the parent container. - * - * Can be used to edit an embeddable by re-requesting explicit input. Initial input can be provided to allow the editor to show the current state. - * - * If saved object information is needed for creation use-cases, getExplicitInput can also return an unknown typed attributes object which will be passed - * into the container's addNewEmbeddable function. - */ - getExplicitInput( - initialInput?: Partial, - parent?: unknown - ): Promise | ExplicitInputWithAttributes>; - - /** - * Creates a new embeddable instance based off the saved object id. - * @param savedObjectId - * @param input - some input may come from a parent, or user, if it's not stored with the saved object. For example, the time - * range of the parent container. - * @param parent - */ - createFromSavedObject( - savedObjectId: string, - input: Partial, - parent?: unknown - ): Promise; - - /** - * Creates an Embeddable instance, running the inital input through all registered migrations. Resolves to undefined if a new Embeddable - * cannot be directly created and the user will instead be redirected elsewhere. - */ - create( - initialInput: TEmbeddableInput, - parent?: unknown - ): Promise; - - order?: number; -} diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts deleted file mode 100644 index e718bd4de9288..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts +++ /dev/null @@ -1,44 +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 { FinderAttributes } from '@kbn/saved-objects-finder-plugin/common'; -import { IEmbeddable } from './i_embeddable'; -import { EmbeddableFactory } from './embeddable_factory'; -import { EmbeddableInput, EmbeddableOutput } from '..'; - -export type EmbeddableFactoryDefinition< - I extends EmbeddableInput = EmbeddableInput, - O extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable, - T extends FinderAttributes = FinderAttributes -> = - // Required parameters - Pick< - EmbeddableFactory, - 'create' | 'type' | 'latestVersion' | 'isEditable' | 'getDisplayName' - > & - // Optional parameters - Partial< - Pick< - EmbeddableFactory, - | 'createFromSavedObject' - | 'isContainerType' - | 'getExplicitInput' - | 'savedObjectMetaData' - | 'canCreateNew' - | 'getDefaultInput' - | 'telemetry' - | 'extract' - | 'inject' - | 'migrations' - | 'grouping' - | 'getIconType' - | 'getDescription' - > - >; diff --git a/src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts b/src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts deleted file mode 100644 index 03d1c4b977013..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts +++ /dev/null @@ -1,19 +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 { IEmbeddable } from './i_embeddable'; - -export const isEmbeddable = (x: unknown): x is IEmbeddable => { - if (!x) return false; - if (typeof x !== 'object') return false; - if (typeof (x as IEmbeddable).id !== 'string') return false; - if (typeof (x as IEmbeddable).getInput !== 'function') return false; - if (typeof (x as IEmbeddable).supportedTriggers !== 'function') return false; - return true; -}; diff --git a/src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts b/src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts deleted file mode 100644 index 67240f30f8d79..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -import { ErrorEmbeddable, IEmbeddable } from '..'; - -export function isErrorEmbeddable( - embeddable: TEmbeddable | ErrorEmbeddable -): embeddable is ErrorEmbeddable { - return Boolean(embeddable.fatalError || (embeddable as ErrorEmbeddable).error !== undefined); -} diff --git a/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx b/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx deleted file mode 100644 index 2bd36d3dd12d9..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx +++ /dev/null @@ -1,65 +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 React from 'react'; -import * as Rx from 'rxjs'; -import { IEmbeddable, EmbeddableInput, EmbeddableOutput } from './i_embeddable'; - -export const withEmbeddableSubscription = < - I extends EmbeddableInput, - O extends EmbeddableOutput, - E extends IEmbeddable = IEmbeddable, - ExtraProps = {} ->( - WrappedComponent: React.ComponentType<{ input: I; output: O; embeddable: E } & ExtraProps> -): React.ComponentType<{ embeddable: E } & ExtraProps> => - class WithEmbeddableSubscription extends React.Component< - { embeddable: E } & ExtraProps, - { input: I; output: O } - > { - private subscription?: Rx.Subscription; - private mounted: boolean = false; - - constructor(props: { embeddable: E } & ExtraProps) { - super(props); - this.state = { - input: this.props.embeddable.getInput(), - output: this.props.embeddable.getOutput(), - }; - } - - componentDidMount() { - this.mounted = true; - - this.subscription = Rx.merge( - this.props.embeddable.getOutput$(), - this.props.embeddable.getInput$() - ).subscribe(() => { - if (this.mounted) { - this.setState({ - input: this.props.embeddable.getInput(), - output: this.props.embeddable.getOutput(), - }); - } - }); - } - - componentWillUnmount() { - this.mounted = false; - if (this.subscription) { - this.subscription.unsubscribe(); - } - } - - render() { - return ( - - ); - } - }; diff --git a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts b/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts deleted file mode 100644 index aa94bc1695284..0000000000000 --- a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts +++ /dev/null @@ -1,77 +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 { EmbeddableInput } from '../embeddables'; -import { runEmbeddableFactoryMigrations } from './run_factory_migrations'; - -describe('Run embeddable factory migrations', () => { - interface TestInputTypeVersion009 extends EmbeddableInput { - version: '0.0.9'; - keyThatAlwaysExists: string; - keyThatGetsRemoved: string; - } - interface TestInputTypeVersion100 extends EmbeddableInput { - version: '1.0.0'; - id: string; - keyThatAlwaysExists: string; - keyThatGetsAdded: string; - } - - const migrations = { - '1.0.0': (input: TestInputTypeVersion009): TestInputTypeVersion100 => { - const newInput: TestInputTypeVersion100 = { - id: input.id, - version: '1.0.0', - keyThatAlwaysExists: input.keyThatAlwaysExists, - keyThatGetsAdded: 'I just got born', - }; - return newInput; - }, - }; - - it('should return the initial input and migrationRun=false if the current version is the latest', () => { - const initialInput: TestInputTypeVersion100 = { - id: 'superId', - version: '1.0.0', - keyThatAlwaysExists: 'Inside Problems', - keyThatGetsAdded: 'Oh my - I just got born', - }; - - const factory = { - latestVersion: '1.0.0', - migrations, - }; - - const result = runEmbeddableFactoryMigrations(initialInput, factory); - - expect(result.input).toBe(initialInput); - expect(result.migrationRun).toBe(false); - }); - - it('should return migrated input and migrationRun=true if version does not match latestVersion', () => { - const initialInput: TestInputTypeVersion009 = { - id: 'superId', - version: '0.0.9', - keyThatAlwaysExists: 'Inside Problems', - keyThatGetsRemoved: 'juvenile plumage', - }; - - const factory = { - latestVersion: '1.0.0', - migrations, - }; - - const result = runEmbeddableFactoryMigrations(initialInput, factory); - - expect(result.migrationRun).toBe(true); - expect(result.input.version).toBe('1.0.0'); - expect((result.input as unknown as TestInputTypeVersion009).keyThatGetsRemoved).toBeUndefined(); - expect(result.input.keyThatGetsAdded).toEqual('I just got born'); - }); -}); diff --git a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts b/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts deleted file mode 100644 index 45350dec95306..0000000000000 --- a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts +++ /dev/null @@ -1,47 +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 { cloneDeep } from 'lodash'; -import compare from 'semver/functions/compare'; - -import { migrateToLatest } from '@kbn/kibana-utils-plugin/common'; -import { EmbeddableFactory, EmbeddableInput } from '../embeddables'; - -/** - * A helper function that migrates an Embeddable Input to its latest version. Note that this function - * only runs the embeddable factory's migrations. - */ -export const runEmbeddableFactoryMigrations = ( - initialInput: { version?: string }, - factory: { migrations?: EmbeddableFactory['migrations']; latestVersion?: string } -): { input: ToType; migrationRun: boolean } => { - if (!factory.latestVersion) { - return { input: initialInput as unknown as ToType, migrationRun: false }; - } - - // any embeddable with no version set is considered to require all clientside migrations so we default to 0.0.0 - const inputVersion = initialInput.version ?? '0.0.0'; - const migrationRun = compare(inputVersion, factory.latestVersion, true) !== 0; - - // return early to avoid extra operations when there are no migrations to run. - if (!migrationRun) return { input: initialInput as unknown as ToType, migrationRun }; - - const factoryMigrations = - typeof factory?.migrations === 'function' ? factory?.migrations() : factory?.migrations || {}; - const migratedInput = migrateToLatest( - factoryMigrations ?? {}, - { - state: cloneDeep(initialInput), - version: inputVersion, - }, - true - ); - migratedInput.version = factory.latestVersion; - return { input: migratedInput as ToType, migrationRun }; -}; diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/index.ts b/src/plugins/embeddable/public/lib/filterable_embeddable/index.ts deleted file mode 100644 index 4224bb843c63a..0000000000000 --- a/src/plugins/embeddable/public/lib/filterable_embeddable/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export type { FilterableEmbeddable } from './types'; -export { isFilterableEmbeddable } from './types'; -export { shouldFetch$, shouldRefreshFilterCompareOptions } from './should_fetch'; diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx b/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx deleted file mode 100644 index 2e4b001224531..0000000000000 --- a/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx +++ /dev/null @@ -1,66 +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 { BehaviorSubject, Subscription } from 'rxjs'; -import type { FilterableEmbeddableInput } from './types'; -import { shouldFetch$ } from './should_fetch'; - -describe('shouldFetch$', () => { - let shouldFetchCount = 0; - let subscription: Subscription; - let updateInput: (inputFragment: Partial) => void; - beforeAll(() => { - let input: FilterableEmbeddableInput = { - id: '1', - timeRange: { - to: 'now', - from: 'now-15m', - }, - }; - const subject = new BehaviorSubject(input); - updateInput = (inputFragment: Partial) => { - input = { - ...input, - ...inputFragment, - }; - subject.next(input); - }; - - subscription = shouldFetch$(subject, () => { - return input; - }).subscribe(() => { - shouldFetchCount++; - }); - }); - - afterAll(() => { - subscription.unsubscribe(); - }); - - test('should not fire on initial subscription', () => { - expect(shouldFetchCount).toBe(0); - }); - - test('should not fire when there are no changes', () => { - const initialCount = shouldFetchCount; - updateInput({}); - expect(shouldFetchCount).toBe(initialCount); - }); - - test('should fire when timeRange changes', () => { - const initialCount = shouldFetchCount; - updateInput({ - timeRange: { - to: 'now', - from: 'now-25m', - }, - }); - expect(shouldFetchCount).toBe(initialCount + 1); - }); -}); diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx b/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx deleted file mode 100644 index cd7c499f42cc9..0000000000000 --- a/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx +++ /dev/null @@ -1,51 +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 fastIsEqual from 'fast-deep-equal'; -import { Observable } from 'rxjs'; -import { map, distinctUntilChanged, skip, startWith } from 'rxjs'; -import { COMPARE_ALL_OPTIONS, onlyDisabledFiltersChanged } from '@kbn/es-query'; -import type { FilterableEmbeddableInput } from './types'; - -export const shouldRefreshFilterCompareOptions = { - ...COMPARE_ALL_OPTIONS, - // do not compare $state to avoid refreshing when filter is pinned/unpinned (which does not impact results) - state: false, -}; - -export function shouldFetch$< - TFilterableEmbeddableInput extends FilterableEmbeddableInput = FilterableEmbeddableInput ->( - updated$: Observable, - getInput: () => TFilterableEmbeddableInput -): Observable { - return updated$.pipe(map(() => getInput())).pipe( - // wrapping distinctUntilChanged with startWith and skip to prime distinctUntilChanged with an initial input value. - startWith(getInput()), - distinctUntilChanged( - (previous: TFilterableEmbeddableInput, current: TFilterableEmbeddableInput) => { - if ( - !fastIsEqual( - [previous.searchSessionId, previous.query, previous.timeRange, previous.timeslice], - [current.searchSessionId, current.query, current.timeRange, current.timeslice] - ) - ) { - return false; - } - - return onlyDisabledFiltersChanged( - previous.filters, - current.filters, - shouldRefreshFilterCompareOptions - ); - } - ), - skip(1) - ); -} diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/types.ts b/src/plugins/embeddable/public/lib/filterable_embeddable/types.ts deleted file mode 100644 index e2eb2564a962b..0000000000000 --- a/src/plugins/embeddable/public/lib/filterable_embeddable/types.ts +++ /dev/null @@ -1,51 +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 { AggregateQuery, Filter, Query, TimeRange } from '@kbn/es-query'; -import { PublishesWritableUnifiedSearch } from '@kbn/presentation-publishing'; -import { EmbeddableInput } from '../embeddables'; - -export type FilterableEmbeddableInput = EmbeddableInput & { - filters?: Filter[]; - query?: Query; - searchSessionId?: string; - timeRange?: TimeRange; - timeslice?: [number, number]; -}; - -export type EmbeddableHasTimeRange = Pick< - PublishesWritableUnifiedSearch, - 'timeRange$' | 'setTimeRange' | 'isCompatibleWithUnifiedSearch' ->; - -/** - * All embeddables that implement this interface should support being filtered - * and/or queried via the top navigation bar. - */ -export interface FilterableEmbeddable { - /** - * Gets the embeddable's local filters - **/ - getFilters: () => Filter[]; - /** - * Gets the embeddable's local query - **/ - getQuery: () => Query | AggregateQuery | undefined; -} - -/** - * Ensure that embeddable supports filtering/querying - * @param incoming Embeddable that is being tested to check if it is a FilterableEmbeddable - * @returns true if the incoming embeddable is a FilterableEmbeddable, false if it is not - */ -export function isFilterableEmbeddable(incoming: unknown): incoming is FilterableEmbeddable { - return ( - !!(incoming as FilterableEmbeddable).getFilters && !!(incoming as FilterableEmbeddable).getQuery - ); -} diff --git a/src/plugins/embeddable/public/lib/index.ts b/src/plugins/embeddable/public/lib/index.ts deleted file mode 100644 index 511cc619bd5af..0000000000000 --- a/src/plugins/embeddable/public/lib/index.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './errors'; -export * from './embeddables'; -export * from './types'; -export * from './triggers'; -export * from './state_transfer'; -export * from './reference_or_value_embeddable'; -export * from './self_styled_embeddable'; -export * from './filterable_embeddable'; -export * from './factory_migrations/run_factory_migrations'; diff --git a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts b/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts deleted file mode 100644 index 00df48a533537..0000000000000 --- a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export type { ReferenceOrValueEmbeddable } from './types'; -export { isReferenceOrValueEmbeddable } from './types'; diff --git a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts b/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts deleted file mode 100644 index 2916986fa1352..0000000000000 --- a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts +++ /dev/null @@ -1,46 +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 { EmbeddableInput, SavedObjectEmbeddableInput } from '..'; - -/** - * All embeddables that implement this interface will be able to use input that is - * either by reference (backed by a saved object) OR by value, (provided - * by the container). - * @public - */ -export interface ReferenceOrValueEmbeddable< - ValTypeInput extends EmbeddableInput = EmbeddableInput, - RefTypeInput extends SavedObjectEmbeddableInput = SavedObjectEmbeddableInput -> { - /** - * determines whether the input is by value or by reference. - */ - inputIsRefType: (input: ValTypeInput | RefTypeInput) => input is RefTypeInput; - - /** - * Gets the embeddable's current input as its Value type - */ - getInputAsValueType: () => Promise; - - /** - * Gets the embeddable's current input as its Reference type - */ - getInputAsRefType: () => Promise; -} - -export function isReferenceOrValueEmbeddable( - incoming: unknown -): incoming is ReferenceOrValueEmbeddable { - return ( - !!(incoming as ReferenceOrValueEmbeddable).inputIsRefType && - !!(incoming as ReferenceOrValueEmbeddable).getInputAsValueType && - !!(incoming as ReferenceOrValueEmbeddable).getInputAsRefType - ); -} diff --git a/src/plugins/embeddable/public/lib/self_styled_embeddable/index.ts b/src/plugins/embeddable/public/lib/self_styled_embeddable/index.ts deleted file mode 100644 index 52376906d983b..0000000000000 --- a/src/plugins/embeddable/public/lib/self_styled_embeddable/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export type { SelfStyledEmbeddable } from './types'; -export { isSelfStyledEmbeddable } from './types'; diff --git a/src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts b/src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts deleted file mode 100644 index ec4b403e54448..0000000000000 --- a/src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export interface SelfStyledOptions { - hideTitle?: boolean; -} - -/** - * All embeddables that implement this interface will be able to configure - * the style of their containing panels - * @public - */ -export interface SelfStyledEmbeddable { - /** - * Gets the embeddable's style configuration - */ - getSelfStyledOptions: () => SelfStyledOptions; -} - -export function isSelfStyledEmbeddable(incoming: unknown): incoming is SelfStyledEmbeddable { - return !!(incoming as SelfStyledEmbeddable).getSelfStyledOptions; -} diff --git a/src/plugins/embeddable/public/plugin.test.ts b/src/plugins/embeddable/public/plugin.test.ts deleted file mode 100644 index 00a19f8e9f561..0000000000000 --- a/src/plugins/embeddable/public/plugin.test.ts +++ /dev/null @@ -1,168 +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 { coreMock } from '@kbn/core/public/mocks'; -import { testPlugin } from './tests/test_plugin'; - -describe('embeddable factory', () => { - const coreSetup = coreMock.createSetup(); - const coreStart = coreMock.createStart(); - const { setup, doStart } = testPlugin(coreSetup, coreStart); - const start = doStart(); - const embeddableFactoryId = 'ID'; - const embeddableFactory = { - type: embeddableFactoryId, - create: jest.fn(), - getDisplayName: () => 'Test', - isEditable: () => Promise.resolve(true), - extract: jest.fn().mockImplementation((state) => ({ state, references: [] })), - inject: jest.fn().mockImplementation((state) => state), - telemetry: jest.fn().mockResolvedValue({}), - latestVersion: '7.11.0', - migrations: { '7.11.0': jest.fn().mockImplementation((state) => state) }, - } as any; - const embeddableState = { - id: embeddableFactoryId, - type: embeddableFactoryId, - my: 'state', - } as any; - - const containerEmbeddableFactoryId = 'CONTAINER'; - const containerEmbeddableFactory = { - type: containerEmbeddableFactoryId, - latestVersion: '1.0.0', - create: jest.fn(), - getDisplayName: () => 'Container', - isContainer: true, - isEditable: () => Promise.resolve(true), - extract: jest.fn().mockImplementation((state) => ({ state, references: [] })), - inject: jest.fn().mockImplementation((state) => state), - telemetry: jest.fn().mockResolvedValue({}), - migrations: { '7.12.0': jest.fn().mockImplementation((state) => state) }, - }; - - const containerState = { - id: containerEmbeddableFactoryId, - type: containerEmbeddableFactoryId, - some: 'state', - panels: [ - { - ...embeddableState, - }, - ], - } as any; - - setup.registerEmbeddableFactory(embeddableFactoryId, embeddableFactory); - setup.registerEmbeddableFactory(containerEmbeddableFactoryId, containerEmbeddableFactory); - - test('cannot register embeddable factory with the same ID', async () => { - expect(() => - setup.registerEmbeddableFactory(embeddableFactoryId, embeddableFactory) - ).toThrowError( - 'Embeddable factory [embeddableFactoryId = ID] already registered in Embeddables API.' - ); - }); - - test('embeddableFactory extract function gets called when calling embeddable extract', () => { - start.extract(embeddableState); - expect(embeddableFactory.extract).toBeCalledWith(embeddableState); - }); - - test('embeddableFactory inject function gets called when calling embeddable inject', () => { - start.inject(embeddableState, []); - expect(embeddableFactory.extract).toBeCalledWith(embeddableState); - }); - - test('embeddableFactory telemetry function gets called when calling embeddable telemetry', () => { - start.telemetry(embeddableState, {}); - expect(embeddableFactory.telemetry).toBeCalledWith(embeddableState, {}); - }); - - test('embeddableFactory migrate function gets called when calling embeddable migrate', () => { - start.getAllMigrations!()['7.11.0']!(embeddableState); - expect(embeddableFactory.migrations['7.11.0']).toBeCalledWith(embeddableState); - }); - - test('panels inside container get automatically migrated when migrating conta1iner', () => { - start.getAllMigrations!()['7.11.0']!(containerState); - expect(embeddableFactory.migrations['7.11.0']).toBeCalledWith(embeddableState); - }); - - test('migrateToLatest returns list of all migrations', () => { - const migrations = start.getAllMigrations(); - expect(migrations).toMatchSnapshot(); - }); - - test('migrateToLatest calls correct migrate functions', () => { - start.migrateToLatest!({ - state: embeddableState, - version: '7.11.0', - }); - expect(embeddableFactory.migrations['7.11.0']).toBeCalledWith(embeddableState); - }); -}); - -describe('embeddable enhancements', () => { - const coreSetup = coreMock.createSetup(); - const coreStart = coreMock.createStart(); - const { setup, doStart } = testPlugin(coreSetup, coreStart); - const start = doStart(); - const embeddableEnhancement = { - id: 'test', - extract: jest.fn().mockImplementation((state) => ({ state, references: [] })), - inject: jest.fn().mockImplementation((state) => state), - telemetry: jest.fn().mockResolvedValue({}), - migrations: { '7.11.0': jest.fn().mockImplementation((state) => state) }, - } as any; - const embeddableState = { - enhancements: { - test: { - my: 'state', - }, - }, - } as any; - - setup.registerEnhancement(embeddableEnhancement); - - test('cannot register embeddable enhancement with the same ID', async () => { - expect(() => setup.registerEnhancement(embeddableEnhancement)).toThrowError( - 'enhancement with id test already exists in the registry' - ); - }); - - test('enhancement extract function gets called when calling embeddable extract', () => { - start.extract(embeddableState); - expect(embeddableEnhancement.extract).toBeCalledWith(embeddableState.enhancements.test); - }); - - test('enhancement inject function gets called when calling embeddable inject', () => { - start.inject(embeddableState, []); - expect(embeddableEnhancement.extract).toBeCalledWith(embeddableState.enhancements.test); - }); - - test('enhancement telemetry function gets called when calling embeddable telemetry', () => { - start.telemetry(embeddableState, {}); - expect(embeddableEnhancement.telemetry).toBeCalledWith(embeddableState.enhancements.test, {}); - }); - - test('enhancement migrate function gets called when calling embeddable migrate', () => { - start.getAllMigrations!()['7.11.0']!(embeddableState); - expect(embeddableEnhancement.migrations['7.11.0']).toBeCalledWith( - embeddableState.enhancements.test - ); - }); - - test('doesnt fail if there is no migration function registered for specific version', () => { - expect(() => { - start.getAllMigrations!()['7.11.0']!(embeddableState); - }).not.toThrow(); - - expect(start.getAllMigrations!()['7.11.0']!(embeddableState)).toEqual(embeddableState); - }); -}); diff --git a/src/plugins/embeddable/public/plugin.tsx b/src/plugins/embeddable/public/plugin.tsx deleted file mode 100644 index ef339e5bacc2c..0000000000000 --- a/src/plugins/embeddable/public/plugin.tsx +++ /dev/null @@ -1,298 +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 { Subscription } from 'rxjs'; -import { identity } from 'lodash'; -import type { SerializableRecord } from '@kbn/utility-types'; -import { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; -import { Start as InspectorStart } from '@kbn/inspector-plugin/public'; -import { - PluginInitializerContext, - CoreSetup, - CoreStart, - Plugin, - PublicAppInfo, -} from '@kbn/core/public'; -import { Storage } from '@kbn/kibana-utils-plugin/public'; -import { UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; -import { migrateToLatest, PersistableStateService } from '@kbn/kibana-utils-plugin/common'; -import { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public'; -import type { ContentManagementPublicStart } from '@kbn/content-management-plugin/public'; -import type { SavedObjectTaggingOssPluginStart } from '@kbn/saved-objects-tagging-oss-plugin/public'; -import { - EmbeddableFactoryRegistry, - EnhancementsRegistry, - EnhancementRegistryDefinition, - EnhancementRegistryItem, -} from './types'; -import { bootstrap } from './bootstrap'; -import { - EmbeddableFactory, - EmbeddableInput, - EmbeddableOutput, - defaultEmbeddableFactoryProvider, - IEmbeddable, -} from './lib'; -import { EmbeddableFactoryDefinition } from './lib/embeddables/embeddable_factory_definition'; -import { EmbeddableStateTransfer } from './lib/state_transfer'; -import { EmbeddableStateWithType, CommonEmbeddableStartContract } from '../common/types'; -import { - getExtractFunction, - getInjectFunction, - getMigrateFunction, - getTelemetryFunction, -} from '../common/lib'; -import { getAllMigrations } from '../common/lib/get_all_migrations'; -import { setKibanaServices } from './kibana_services'; -import { registerReactEmbeddableFactory } from './react_embeddable_system'; -import { registerAddFromLibraryType } from './add_from_library/registry'; - -export interface EmbeddableSetupDependencies { - uiActions: UiActionsSetup; -} - -export interface EmbeddableStartDependencies { - uiActions: UiActionsStart; - inspector: InspectorStart; - usageCollection: UsageCollectionStart; - contentManagement: ContentManagementPublicStart; - savedObjectsManagement: SavedObjectsManagementPluginStart; - savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart; -} - -export interface EmbeddableSetup { - /** - * Register a saved object type with the "Add from library" flyout. - * - * @example - * registerAddFromLibraryType({ - * onAdd: (container, savedObject) => { - * container.addNewPanel({ - * panelType: CONTENT_ID, - * initialState: savedObject.attributes, - * }); - * }, - * savedObjectType: MAP_SAVED_OBJECT_TYPE, - * savedObjectName: i18n.translate('xpack.maps.mapSavedObjectLabel', { - * defaultMessage: 'Map', - * }), - * getIconForSavedObject: () => APP_ICON, - * }); - */ - registerAddFromLibraryType: typeof registerAddFromLibraryType; - - /** - * Registers an async {@link ReactEmbeddableFactory} getter. - */ - registerReactEmbeddableFactory: typeof registerReactEmbeddableFactory; - - /** - * @deprecated use {@link registerReactEmbeddableFactory} instead. - */ - registerEmbeddableFactory: < - I extends EmbeddableInput, - O extends EmbeddableOutput, - E extends IEmbeddable = IEmbeddable - >( - id: string, - factory: EmbeddableFactoryDefinition - ) => () => EmbeddableFactory; - /** - * @deprecated - */ - registerEnhancement: (enhancement: EnhancementRegistryDefinition) => void; -} - -export interface EmbeddableStart extends PersistableStateService { - /** - * @deprecated use {@link registerReactEmbeddableFactory} instead. - */ - getEmbeddableFactory: < - I extends EmbeddableInput = EmbeddableInput, - O extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable - >( - embeddableFactoryId: string - ) => EmbeddableFactory | undefined; - - /** - * @deprecated - */ - getEmbeddableFactories: () => IterableIterator; - getStateTransfer: (storage?: Storage) => EmbeddableStateTransfer; -} -export class EmbeddablePublicPlugin implements Plugin { - private readonly embeddableFactoryDefinitions: Map = - new Map(); - private readonly embeddableFactories: EmbeddableFactoryRegistry = new Map(); - private readonly enhancements: EnhancementsRegistry = new Map(); - private stateTransferService: EmbeddableStateTransfer = {} as EmbeddableStateTransfer; - private isRegistryReady = false; - private appList?: ReadonlyMap; - private appListSubscription?: Subscription; - - constructor(initializerContext: PluginInitializerContext) {} - - public setup(core: CoreSetup, { uiActions }: EmbeddableSetupDependencies) { - bootstrap(uiActions); - - return { - registerReactEmbeddableFactory, - registerAddFromLibraryType, - - registerEmbeddableFactory: this.registerEmbeddableFactory, - registerEnhancement: this.registerEnhancement, - }; - } - - public start(core: CoreStart, deps: EmbeddableStartDependencies): EmbeddableStart { - this.embeddableFactoryDefinitions.forEach((def) => { - this.embeddableFactories.set(def.type, defaultEmbeddableFactoryProvider(def)); - }); - - this.appListSubscription = core.application.applications$.subscribe((appList) => { - this.appList = appList; - }); - - this.stateTransferService = new EmbeddableStateTransfer( - core.application.navigateToApp, - core.application.currentAppId$, - this.appList - ); - this.isRegistryReady = true; - - const commonContract: CommonEmbeddableStartContract = { - getEmbeddableFactory: this - .getEmbeddableFactory as unknown as CommonEmbeddableStartContract['getEmbeddableFactory'], - getEnhancement: this.getEnhancement, - }; - - const getAllMigrationsFn = () => - getAllMigrations( - Array.from(this.embeddableFactories.values()), - Array.from(this.enhancements.values()), - getMigrateFunction(commonContract) - ); - - const embeddableStart: EmbeddableStart = { - getEmbeddableFactory: this.getEmbeddableFactory, - getEmbeddableFactories: this.getEmbeddableFactories, - getStateTransfer: (storage?: Storage) => - storage - ? new EmbeddableStateTransfer( - core.application.navigateToApp, - core.application.currentAppId$, - this.appList, - storage - ) - : this.stateTransferService, - telemetry: getTelemetryFunction(commonContract), - extract: getExtractFunction(commonContract), - inject: getInjectFunction(commonContract), - getAllMigrations: getAllMigrationsFn, - migrateToLatest: (state) => { - return migrateToLatest(getAllMigrationsFn(), state) as EmbeddableStateWithType; - }, - }; - - setKibanaServices(core, embeddableStart, deps); - return embeddableStart; - } - - public stop() { - if (this.appListSubscription) { - this.appListSubscription.unsubscribe(); - } - } - - private registerEnhancement = (enhancement: EnhancementRegistryDefinition) => { - if (this.enhancements.has(enhancement.id)) { - throw new Error(`enhancement with id ${enhancement.id} already exists in the registry`); - } - this.enhancements.set(enhancement.id, { - id: enhancement.id, - telemetry: enhancement.telemetry || ((state, stats) => stats), - inject: enhancement.inject || identity, - extract: - enhancement.extract || - ((state: SerializableRecord) => { - return { state, references: [] }; - }), - migrations: enhancement.migrations || {}, - }); - }; - - private getEnhancement = (id: string): EnhancementRegistryItem => { - return ( - this.enhancements.get(id) || { - id: 'unknown', - telemetry: (state, stats) => stats, - inject: identity, - extract: (state: SerializableRecord) => { - return { state, references: [] }; - }, - migrations: {}, - } - ); - }; - - private getEmbeddableFactories = () => { - this.ensureFactoriesExist(); - return this.embeddableFactories.values(); - }; - - private registerEmbeddableFactory = < - I extends EmbeddableInput = EmbeddableInput, - O extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable - >( - embeddableFactoryId: string, - factory: EmbeddableFactoryDefinition - ): (() => EmbeddableFactory) => { - if (this.embeddableFactoryDefinitions.has(embeddableFactoryId)) { - throw new Error( - `Embeddable factory [embeddableFactoryId = ${embeddableFactoryId}] already registered in Embeddables API.` - ); - } - this.embeddableFactoryDefinitions.set(embeddableFactoryId, factory); - - return () => { - return this.getEmbeddableFactory(embeddableFactoryId); - }; - }; - - private getEmbeddableFactory = < - I extends EmbeddableInput = EmbeddableInput, - O extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable - >( - embeddableFactoryId: string - ): EmbeddableFactory => { - if (!this.isRegistryReady) { - throw new Error('Embeddable factories can only be retrieved after setup lifecycle.'); - } - this.ensureFactoryExists(embeddableFactoryId); - const factory = this.embeddableFactories.get(embeddableFactoryId); - - return factory as EmbeddableFactory; - }; - - // These two functions are only to support legacy plugins registering factories after the start lifecycle. - private ensureFactoriesExist = () => { - this.embeddableFactoryDefinitions.forEach((def) => this.ensureFactoryExists(def.type)); - }; - - private ensureFactoryExists = (type: string) => { - if (!this.embeddableFactories.get(type)) { - const def = this.embeddableFactoryDefinitions.get(type); - if (!def) return; - this.embeddableFactories.set(type, defaultEmbeddableFactoryProvider(def)); - } - }; -} diff --git a/src/plugins/expression_shape/jest.config.js b/src/plugins/expression_shape/jest.config.js deleted file mode 100644 index db039178653bb..0000000000000 --- a/src/plugins/expression_shape/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_shape'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_shape', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/expression_shape/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts index 97ea43a4ad1d8..4e6c9542d9e3d 100644 --- a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts @@ -14,7 +14,7 @@ import { encode, decode } from '@kbn/cbor'; import { elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mocks'; import { ContentStream, ContentStreamEncoding, ContentStreamParameters } from './content_stream'; import type { GetResponse } from '@elastic/elasticsearch/lib/api/types'; -import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import * as estypes from '@elastic/elasticsearch/lib/api/types'; import { FileDocument } from '../../../../file_client/file_metadata_client/adapters/es_index'; import { IndexRequest } from '@elastic/elasticsearch/lib/api/types'; diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts index 1f2517feb4e43..2cda6188fc8b3 100644 --- a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts @@ -15,7 +15,7 @@ import { ByteSizeValue } from '@kbn/config-schema'; import { defaults } from 'lodash'; import { Duplex, Writable, Readable } from 'stream'; -import { GetResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { GetResponse } from '@elastic/elasticsearch/lib/api/types'; import { inspect } from 'util'; import { wrapErrorAndReThrow } from '../../../../file_client/utils'; import type { FileChunkDocument } from '../mappings'; diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts b/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts index 179c8bcef5d8c..4f27ce44bba49 100644 --- a/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts @@ -7,10 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import type { - MappingTypeMapping, - MappingProperty, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { MappingTypeMapping, MappingProperty } from '@elastic/elasticsearch/lib/api/types'; /** * These are the fields we expect to find a given document acting as a file chunk. diff --git a/src/plugins/files/server/file_client/create_es_file_client.test.ts b/src/plugins/files/server/file_client/create_es_file_client.test.ts index 2edc1fe2820d2..98f22801b0991 100644 --- a/src/plugins/files/server/file_client/create_es_file_client.test.ts +++ b/src/plugins/files/server/file_client/create_es_file_client.test.ts @@ -16,7 +16,7 @@ import { MockedLogger } from '@kbn/logging-mocks'; import { createEsFileClient } from './create_es_file_client'; import { FileClient } from './types'; import { ElasticsearchBlobStorageClient } from '../blob_storage_service'; -import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import * as estypes from '@elastic/elasticsearch/lib/api/types'; import { FileDocument } from './file_metadata_client/adapters/es_index'; describe('When initializing file client via createESFileClient()', () => { diff --git a/src/plugins/input_control_vis/jest.config.js b/src/plugins/input_control_vis/jest.config.js deleted file mode 100644 index 21d88f50c056d..0000000000000 --- a/src/plugins/input_control_vis/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/input_control_vis'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/input_control_vis', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/input_control_vis/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/inspector/jest.config.js b/src/plugins/inspector/jest.config.js deleted file mode 100644 index 639569e8e6670..0000000000000 --- a/src/plugins/inspector/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/inspector'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/inspector', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/inspector/{common,public}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/kibana_overview/public/components/_index.scss b/src/plugins/kibana_overview/public/components/_index.scss deleted file mode 100644 index b8857d171728f..0000000000000 --- a/src/plugins/kibana_overview/public/components/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import 'overview'; diff --git a/src/plugins/kibana_overview/public/components/app.tsx b/src/plugins/kibana_overview/public/components/app.tsx index 581356f83d358..50233396f3c48 100644 --- a/src/plugins/kibana_overview/public/components/app.tsx +++ b/src/plugins/kibana_overview/public/components/app.tsx @@ -13,11 +13,11 @@ import { I18nProvider } from '@kbn/i18n-react'; import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public'; import type { FetchResult } from '@kbn/newsfeed-plugin/public'; import { Route, Routes } from '@kbn/shared-ux-router'; +import { withSuspense } from '@kbn/shared-ux-utility'; import React, { useEffect, useState } from 'react'; import { HashRouter as Router } from 'react-router-dom'; import useObservable from 'react-use/lib/useObservable'; import type { Observable } from 'rxjs'; -import { Overview } from './overview'; interface KibanaOverviewAppDeps { basename: string; @@ -48,6 +48,14 @@ export const KibanaOverviewApp = ({ } }, [newsfeed$]); + const Overview = withSuspense( + React.lazy(() => + import('./overview').then(({ Overview: OverviewComponent }) => { + return { default: OverviewComponent }; + }) + ) + ); + return ( diff --git a/src/plugins/kibana_overview/public/components/_overview.scss b/src/plugins/kibana_overview/public/components/overview/overview.scss similarity index 100% rename from src/plugins/kibana_overview/public/components/_overview.scss rename to src/plugins/kibana_overview/public/components/overview/overview.scss diff --git a/src/plugins/kibana_overview/public/components/overview/overview.tsx b/src/plugins/kibana_overview/public/components/overview/overview.tsx index 4d21adeecd377..c4a36e966142b 100644 --- a/src/plugins/kibana_overview/public/components/overview/overview.tsx +++ b/src/plugins/kibana_overview/public/components/overview/overview.tsx @@ -7,6 +7,8 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ +import './overview.scss'; + import { snakeCase } from 'lodash'; import React, { FC, useState, useEffect } from 'react'; import useObservable from 'react-use/lib/useObservable'; diff --git a/src/plugins/kibana_overview/public/index.scss b/src/plugins/kibana_overview/public/index.scss deleted file mode 100644 index 841415620d691..0000000000000 --- a/src/plugins/kibana_overview/public/index.scss +++ /dev/null @@ -1 +0,0 @@ -@import 'components/index'; diff --git a/src/plugins/kibana_overview/public/index.ts b/src/plugins/kibana_overview/public/index.ts index 5091cd83ae67c..6fb3f0cc4a6e3 100644 --- a/src/plugins/kibana_overview/public/index.ts +++ b/src/plugins/kibana_overview/public/index.ts @@ -7,8 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import './index.scss'; - import { KibanaOverviewPlugin } from './plugin'; // This exports static code and TypeScript types, diff --git a/src/plugins/links/jest.config.js b/src/plugins/links/jest.config.js deleted file mode 100644 index c0f838d194111..0000000000000 --- a/src/plugins/links/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/links'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/links', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/links/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/links/jest_setup.ts'], -}; diff --git a/src/plugins/maps_ems/jest.config.js b/src/plugins/maps_ems/jest.config.js deleted file mode 100644 index 9f9bebc3967a4..0000000000000 --- a/src/plugins/maps_ems/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/maps_ems'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/maps_ems', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/maps_ems/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/presentation_panel/jest.config.js b/src/plugins/presentation_panel/jest.config.js deleted file mode 100644 index a6812377c7175..0000000000000 --- a/src/plugins/presentation_panel/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/presentation_panel'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_panel', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/presentation_panel/{common,public,server}/**/*.{ts,tsx}', - ], - setupFiles: ['/src/plugins/presentation_panel/jest_setup.ts'], -}; diff --git a/src/plugins/presentation_util/jest.config.js b/src/plugins/presentation_util/jest.config.js deleted file mode 100644 index 5c94c3289bf82..0000000000000 --- a/src/plugins/presentation_util/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/presentation_util'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_util', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/presentation_util/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json index d5b0514b64918..7129b51740ffb 100644 --- a/src/plugins/telemetry/schema/oss_platform.json +++ b/src/plugins/telemetry/schema/oss_platform.json @@ -1,3 +1,118 @@ { - "properties": {} + "properties": { + "dashboard": { + "properties": { + "panels": { + "properties": { + "total": { + "type": "long" + }, + "by_reference": { + "type": "long" + }, + "by_value": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of panels that have been added to all dashboards." + } + }, + "by_reference": { + "type": "long", + "_meta": { + "description": "The number of \"by reference\" panels that have been added to all dashboards." + } + }, + "by_value": { + "type": "long", + "_meta": { + "description": "The number of \"by value\" panels that have been added to all dashboards." + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." + } + } + } + } + } + } + } + } + } + }, + "controls": { + "properties": { + "total": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of this type of control in all Control Groups" + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" + } + } + } + } + } + } + } + }, + "ignore_settings": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" + } + } + } + }, + "chaining_system": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" + } + } + } + }, + "label_position": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" + } + } + } + } + } + } + } + } + } } diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 2fb6314a348b9..56fd92fedb63c 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -9720,120 +9720,6 @@ } } }, - "dashboard": { - "properties": { - "panels": { - "properties": { - "total": { - "type": "long" - }, - "by_reference": { - "type": "long" - }, - "by_value": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of panels that have been added to all dashboards." - } - }, - "by_reference": { - "type": "long", - "_meta": { - "description": "The number of \"by reference\" panels that have been added to all dashboards." - } - }, - "by_value": { - "type": "long", - "_meta": { - "description": "The number of \"by value\" panels that have been added to all dashboards." - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." - } - } - } - } - } - } - } - } - } - }, - "controls": { - "properties": { - "total": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of this type of control in all Control Groups" - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" - } - } - } - } - } - } - } - }, - "ignore_settings": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" - } - } - } - }, - "chaining_system": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" - } - } - } - }, - "label_position": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" - } - } - } - } - } - } - } - }, "event_loop_delays": { "properties": { "daily": { diff --git a/src/plugins/unified_histogram/public/chart/histogram.tsx b/src/plugins/unified_histogram/public/chart/histogram.tsx index 8e3aa78da8d9d..19f92d8b4495a 100644 --- a/src/plugins/unified_histogram/public/chart/histogram.tsx +++ b/src/plugins/unified_histogram/public/chart/histogram.tsx @@ -212,6 +212,9 @@ export function Histogram({ > /src/plugins/vis_type_markdown'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_markdown', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_type_markdown/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/vis_types/timeseries/server/plugin.ts b/src/plugins/vis_types/timeseries/server/plugin.ts index 29b2f4adacadf..ff2e5ca1a7c69 100644 --- a/src/plugins/vis_types/timeseries/server/plugin.ts +++ b/src/plugins/vis_types/timeseries/server/plugin.ts @@ -63,7 +63,7 @@ export interface VisTypeTimeseriesSetup { getVisData: ( requestContext: VisTypeTimeseriesRequestHandlerContext, fakeRequest: KibanaRequest, - // ideally this should be VisPayload type, but currently has inconsistencies with x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts + // ideally this should be VisPayload type, but currently has inconsistencies with x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts options: any ) => Promise; } diff --git a/src/plugins/visualizations/public/legacy/embeddable/attribute_service.tsx b/src/plugins/visualizations/public/legacy/embeddable/attribute_service.tsx index 49703371ac783..48e8cd52e1e68 100644 --- a/src/plugins/visualizations/public/legacy/embeddable/attribute_service.tsx +++ b/src/plugins/visualizations/public/legacy/embeddable/attribute_service.tsx @@ -20,7 +20,7 @@ import { EmbeddableInput, SavedObjectEmbeddableInput, isSavedObjectEmbeddableInput, -} from '@kbn/embeddable-plugin/public'; +} from '@kbn/embeddable-plugin/common'; import { getNotifications } from '../../services'; /** diff --git a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx b/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx index 02f816a5983ba..1f631f30f8eb5 100644 --- a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx +++ b/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx @@ -22,14 +22,8 @@ import type { DataView } from '@kbn/data-views-plugin/public'; import { Warnings } from '@kbn/charts-plugin/public'; import { hasUnsupportedDownsampledAggregationFailure } from '@kbn/search-response-warnings'; import { Adapters } from '@kbn/inspector-plugin/public'; -import { - Embeddable, - EmbeddableInput, - EmbeddableOutput, - FilterableEmbeddable, - ReferenceOrValueEmbeddable, - SavedObjectEmbeddableInput, -} from '@kbn/embeddable-plugin/public'; +import { Embeddable, EmbeddableInput, EmbeddableOutput } from '@kbn/embeddable-plugin/public'; +import { SavedObjectEmbeddableInput } from '@kbn/embeddable-plugin/common'; import { ExpressionAstExpression, ExpressionLoader, @@ -105,12 +99,7 @@ export type VisualizeByReferenceInput = SavedObjectEmbeddableInput & VisualizeIn * VisualizeEmbeddable is no longer registered with the legacy embeddable system and is only * used within the visualize editor. */ -export class VisualizeEmbeddable - extends Embeddable - implements - ReferenceOrValueEmbeddable, - FilterableEmbeddable -{ +export class VisualizeEmbeddable extends Embeddable { private handler?: ExpressionLoader; private timefilter: TimefilterContract; private timeRange?: TimeRange; diff --git a/test/api_integration/apis/data_views/resolve_index/resolve_index.ts b/test/api_integration/apis/data_views/resolve_index/resolve_index.ts index cd13d23e80c1e..221b63b05fe8c 100644 --- a/test/api_integration/apis/data_views/resolve_index/resolve_index.ts +++ b/test/api_integration/apis/data_views/resolve_index/resolve_index.ts @@ -22,10 +22,18 @@ export default function ({ getService }: FtrProviderContext) { .set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana') .expect(200)); - it('should return 404 for an exact match index', () => + it('should return 404 when no indices match', () => supertest .get(`/internal/index-pattern-management/resolve_index/test`) .set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana') .expect(404)); + + it('should return 404 when cluster is not found', () => + supertest + .get( + `/internal/index-pattern-management/resolve_index/cluster1:filebeat-*,cluster2:filebeat-*` + ) + .set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana') + .expect(404)); }); } diff --git a/test/functional/apps/discover/group3/_request_counts.ts b/test/functional/apps/discover/group3/_request_counts.ts index 32f1be5a62e79..ecf84ede5a714 100644 --- a/test/functional/apps/discover/group3/_request_counts.ts +++ b/test/functional/apps/discover/group3/_request_counts.ts @@ -21,9 +21,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ]); const testSubjects = getService('testSubjects'); const browser = getService('browser'); + const monacoEditor = getService('monacoEditor'); const filterBar = getService('filterBar'); const queryBar = getService('queryBar'); const elasticChart = getService('elasticChart'); + const log = getService('log'); + const retry = getService('retry'); describe('discover request counts', function describeIndexTests() { before(async function () { @@ -39,6 +42,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { enableESQL: true, }); await timePicker.setDefaultAbsoluteRangeViaUiSettings(); + await common.navigateToApp('discover'); + await header.waitUntilLoadingHasFinished(); }); after(async () => { @@ -47,18 +52,31 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await kibanaServer.uiSettings.replace({}); }); - beforeEach(async () => { - await common.navigateToApp('discover'); - await header.waitUntilLoadingHasFinished(); - }); + const expectSearchCount = async (type: 'ese' | 'esql', searchCount: number) => { + await retry.try(async () => { + if (searchCount === 0) { + await browser.execute(async () => { + performance.clearResourceTimings(); + }); + } + await waitForLoadingToFinish(); + const endpoint = type === 'esql' ? `${type}_async` : type; + const requests = await browser.execute(() => + performance + .getEntries() + .filter((entry: any) => ['fetch', 'xmlhttprequest'].includes(entry.initiatorType)) + ); - const getSearchCount = async (type: 'ese' | 'esql') => { - const requests = await browser.execute(() => - performance - .getEntries() - .filter((entry: any) => ['fetch', 'xmlhttprequest'].includes(entry.initiatorType)) - ); - return requests.filter((entry) => entry.name.endsWith(`/internal/search/${type}`)).length; + const result = requests.filter((entry) => + entry.name.endsWith(`/internal/search/${endpoint}`) + ); + + const count = result.length; + if (count !== searchCount) { + log.warning('Request count differs:', result); + } + expect(count).to.be(searchCount); + }); }; const waitForLoadingToFinish = async () => { @@ -68,15 +86,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }; const expectSearches = async (type: 'ese' | 'esql', expected: number, cb: Function) => { - await browser.execute(async () => { - performance.clearResourceTimings(); - }); - let searchCount = await getSearchCount(type); - expect(searchCount).to.be(0); + await expectSearchCount(type, 0); await cb(); - await waitForLoadingToFinish(); - searchCount = await getSearchCount(type); - expect(searchCount).to.be(expected); + await expectSearchCount(type, expected); }; const getSharedTests = ({ @@ -103,8 +115,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { performance.setResourceTimingBufferSize(Number.MAX_SAFE_INTEGER); }); await waitForLoadingToFinish(); - const searchCount = await getSearchCount(type); - expect(searchCount).to.be(expectedRequests); + // one more requests for fields in ESQL mode + const actualExpectedRequests = type === 'esql' ? expectedRequests + 1 : expectedRequests; + await expectSearchCount(type, actualExpectedRequests); }); it(`should send no more than ${expectedRequests} requests (documents + chart) when refreshing`, async () => { @@ -121,12 +134,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it(`should send no more than ${expectedRequests} requests (documents + chart) when changing the time range`, async () => { - await expectSearches(type, expectedRequests, async () => { - await timePicker.setAbsoluteRange( - 'Sep 21, 2015 @ 06:31:44.000', - 'Sep 23, 2015 @ 00:00:00.000' - ); - }); + await expectSearches( + type, + type === 'esql' ? expectedRequests + 1 : expectedRequests, + async () => { + await timePicker.setAbsoluteRange( + 'Sep 21, 2015 @ 06:31:44.000', + 'Sep 23, 2015 @ 00:00:00.000' + ); + } + ); }); it(`should send ${savedSearchesRequests} requests for saved search changes`, async () => { @@ -137,35 +154,50 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'Sep 23, 2015 @ 00:00:00.000' ); await waitForLoadingToFinish(); - // TODO: Check why the request happens 4 times in case of opening a saved search - // https://github.com/elastic/kibana/issues/165192 - // creating the saved search - await expectSearches(type, savedSearchesRequests ?? expectedRequests, async () => { - await discover.saveSearch(savedSearch); - }); - // resetting the saved search + const actualExpectedRequests = savedSearchesRequests ?? expectedRequests; + log.debug('Creating saved search'); + await expectSearches( + type, + type === 'esql' ? actualExpectedRequests + 2 : actualExpectedRequests, + async () => { + await discover.saveSearch(savedSearch); + } + ); + log.debug('Resetting saved search'); await setQuery(query2); await queryBar.clickQuerySubmitButton(); await waitForLoadingToFinish(); - await expectSearches(type, expectedRequests, async () => { + await expectSearches(type, actualExpectedRequests, async () => { await discover.revertUnsavedChanges(); }); - // clearing the saved search - await expectSearches('ese', savedSearchesRequests ?? expectedRequests, async () => { - await testSubjects.click('discoverNewButton'); - await waitForLoadingToFinish(); - }); - // loading the saved search - // TODO: https://github.com/elastic/kibana/issues/165192 - await expectSearches(type, savedSearchesRequests ?? expectedRequests, async () => { - await discover.loadSavedSearch(savedSearch); - }); + log.debug('Clearing saved search'); + await expectSearches( + type, + type === 'esql' ? actualExpectedRequests + 2 : actualExpectedRequests, + async () => { + await testSubjects.click('discoverNewButton'); + await waitForLoadingToFinish(); + } + ); + log.debug('Loading saved search'); + await expectSearches( + type, + type === 'esql' ? actualExpectedRequests + 2 : actualExpectedRequests, + async () => { + await discover.loadSavedSearch(savedSearch); + } + ); }); }; describe('data view mode', () => { const type = 'ese'; + beforeEach(async () => { + await common.navigateToApp('discover'); + await header.waitUntilLoadingHasFinished(); + }); + getSharedTests({ type, savedSearch: 'data view test', @@ -206,6 +238,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should send no more than 3 requests (documents + chart + other bucket) when changing to a breakdown field with an other bucket', async () => { + await testSubjects.click('discoverNewButton'); await expectSearches(type, 3, async () => { await discover.chooseBreakdownField('extension.raw'); }); @@ -223,5 +256,39 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); }); }); + + describe('ES|QL mode', () => { + const type = 'esql'; + before(async () => { + await common.navigateToApp('discover'); + await header.waitUntilLoadingHasFinished(); + await discover.selectTextBaseLang(); + }); + + beforeEach(async () => { + await monacoEditor.setCodeEditorValue('from logstash-* | where bytes > 1000 '); + await queryBar.clickQuerySubmitButton(); + await waitForLoadingToFinish(); + }); + + getSharedTests({ + type, + savedSearch: 'esql test', + query1: 'from logstash-* | where bytes > 1000 ', + query2: 'from logstash-* | where bytes < 2000 ', + savedSearchesRequests: 2, + setQuery: (query) => monacoEditor.setCodeEditorValue(query), + expectedRequests: 2, + }); + + it(`should send requests (documents + chart) when toggling the chart visibility`, async () => { + await expectSearches(type, 1, async () => { + await discover.toggleChartVisibility(); + }); + await expectSearches(type, 3, async () => { + await discover.toggleChartVisibility(); + }); + }); + }); }); } diff --git a/tsconfig.base.json b/tsconfig.base.json index 10c2066c09866..3626a1f694b08 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -116,16 +116,12 @@ "@kbn/banners-plugin/*": ["x-pack/plugins/banners/*"], "@kbn/bazel-runner": ["packages/kbn-bazel-runner"], "@kbn/bazel-runner/*": ["packages/kbn-bazel-runner/*"], - "@kbn/bfetch-error": ["packages/kbn-bfetch-error"], - "@kbn/bfetch-error/*": ["packages/kbn-bfetch-error/*"], - "@kbn/bfetch-plugin": ["src/plugins/bfetch"], - "@kbn/bfetch-plugin/*": ["src/plugins/bfetch/*"], "@kbn/calculate-auto": ["packages/kbn-calculate-auto"], "@kbn/calculate-auto/*": ["packages/kbn-calculate-auto/*"], "@kbn/calculate-width-from-char-count": ["packages/kbn-calculate-width-from-char-count"], "@kbn/calculate-width-from-char-count/*": ["packages/kbn-calculate-width-from-char-count/*"], - "@kbn/canvas-plugin": ["x-pack/plugins/canvas"], - "@kbn/canvas-plugin/*": ["x-pack/plugins/canvas/*"], + "@kbn/canvas-plugin": ["x-pack/platform/plugins/private/canvas"], + "@kbn/canvas-plugin/*": ["x-pack/platform/plugins/private/canvas/*"], "@kbn/capture-oas-snapshot-cli": ["packages/kbn-capture-oas-snapshot-cli"], "@kbn/capture-oas-snapshot-cli/*": ["packages/kbn-capture-oas-snapshot-cli/*"], "@kbn/cases-api-integration-test-plugin": ["x-pack/test/cases_api_integration/common/plugins/cases"], @@ -144,6 +140,8 @@ "@kbn/chart-icons/*": ["packages/kbn-chart-icons/*"], "@kbn/charts-plugin": ["src/plugins/charts"], "@kbn/charts-plugin/*": ["src/plugins/charts/*"], + "@kbn/charts-theme": ["packages/kbn-charts-theme"], + "@kbn/charts-theme/*": ["packages/kbn-charts-theme/*"], "@kbn/check-mappings-update-cli": ["packages/kbn-check-mappings-update-cli"], "@kbn/check-mappings-update-cli/*": ["packages/kbn-check-mappings-update-cli/*"], "@kbn/check-prod-native-modules-cli": ["packages/kbn-check-prod-native-modules-cli"], @@ -230,44 +228,44 @@ "@kbn/content-management-utils/*": ["packages/kbn-content-management-utils/*"], "@kbn/controls-example-plugin": ["examples/controls_example"], "@kbn/controls-example-plugin/*": ["examples/controls_example/*"], - "@kbn/controls-plugin": ["src/plugins/controls"], - "@kbn/controls-plugin/*": ["src/plugins/controls/*"], + "@kbn/controls-plugin": ["src/platform/plugins/shared/controls"], + "@kbn/controls-plugin/*": ["src/platform/plugins/shared/controls/*"], "@kbn/core": ["src/core"], "@kbn/core/*": ["src/core/*"], - "@kbn/core-analytics-browser": ["packages/core/analytics/core-analytics-browser"], - "@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-internal/*": ["packages/core/analytics/core-analytics-browser-internal/*"], + "@kbn/core-analytics-browser": ["src/core/packages/analytics/browser"], + "@kbn/core-analytics-browser/*": ["src/core/packages/analytics/browser/*"], + "@kbn/core-analytics-browser-internal": ["src/core/packages/analytics/browser-internal"], + "@kbn/core-analytics-browser-internal/*": ["src/core/packages/analytics/browser-internal/*"], "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], "@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/*": ["packages/core/analytics/core-analytics-server/*"], - "@kbn/core-analytics-server-internal": ["packages/core/analytics/core-analytics-server-internal"], - "@kbn/core-analytics-server-internal/*": ["packages/core/analytics/core-analytics-server-internal/*"], + "@kbn/core-analytics-server": ["src/core/packages/analytics/server"], + "@kbn/core-analytics-server/*": ["src/core/packages/analytics/server/*"], + "@kbn/core-analytics-server-internal": ["src/core/packages/analytics/server-internal"], + "@kbn/core-analytics-server-internal/*": ["src/core/packages/analytics/server-internal/*"], "@kbn/core-analytics-server-mocks": ["packages/core/analytics/core-analytics-server-mocks"], "@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-app-status-plugin/*": ["test/plugin_functional/plugins/core_app_status/*"], - "@kbn/core-application-browser": ["packages/core/application/core-application-browser"], - "@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-internal/*": ["packages/core/application/core-application-browser-internal/*"], + "@kbn/core-application-browser": ["src/core/packages/application/browser"], + "@kbn/core-application-browser/*": ["src/core/packages/application/browser/*"], + "@kbn/core-application-browser-internal": ["src/core/packages/application/browser-internal"], + "@kbn/core-application-browser-internal/*": ["src/core/packages/application/browser-internal/*"], "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], - "@kbn/core-application-common": ["packages/core/application/core-application-common"], - "@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-internal/*": ["packages/core/apps/core-apps-browser-internal/*"], + "@kbn/core-application-common": ["src/core/packages/application/common"], + "@kbn/core-application-common/*": ["src/core/packages/application/common/*"], + "@kbn/core-apps-browser-internal": ["src/core/packages/apps/browser-internal"], + "@kbn/core-apps-browser-internal/*": ["src/core/packages/apps/browser-internal/*"], "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], "@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-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-internal/*": ["packages/core/base/core-base-browser-internal/*"], + "@kbn/core-apps-server-internal": ["src/core/packages/apps/server-internal"], + "@kbn/core-apps-server-internal/*": ["src/core/packages/apps/server-internal/*"], + "@kbn/core-base-browser-internal": ["src/core/packages/base/browser-internal"], + "@kbn/core-base-browser-internal/*": ["src/core/packages/base/browser-internal/*"], "@kbn/core-base-browser-mocks": ["packages/core/base/core-base-browser-mocks"], "@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/*": ["packages/core/base/core-base-common/*"], + "@kbn/core-base-common": ["src/core/packages/base/common"], + "@kbn/core-base-common/*": ["src/core/packages/base/common/*"], "@kbn/core-base-common-internal": ["packages/core/base/core-base-common-internal"], "@kbn/core-base-common-internal/*": ["packages/core/base/core-base-common-internal/*"], "@kbn/core-base-server-internal": ["packages/core/base/core-base-server-internal"], @@ -688,24 +686,24 @@ "@kbn/crypto-browser/*": ["packages/kbn-crypto-browser/*"], "@kbn/custom-branding-plugin": ["x-pack/plugins/custom_branding"], "@kbn/custom-branding-plugin/*": ["x-pack/plugins/custom_branding/*"], - "@kbn/custom-icons": ["packages/kbn-custom-icons"], - "@kbn/custom-icons/*": ["packages/kbn-custom-icons/*"], - "@kbn/custom-integrations": ["packages/kbn-custom-integrations"], - "@kbn/custom-integrations/*": ["packages/kbn-custom-integrations/*"], + "@kbn/custom-icons": ["src/platform/packages/shared/kbn-custom-icons"], + "@kbn/custom-icons/*": ["src/platform/packages/shared/kbn-custom-icons/*"], + "@kbn/custom-integrations": ["x-pack/solutions/observability/packages/kbn-custom-integrations"], + "@kbn/custom-integrations/*": ["x-pack/solutions/observability/packages/kbn-custom-integrations/*"], "@kbn/custom-integrations-plugin": ["src/plugins/custom_integrations"], "@kbn/custom-integrations-plugin/*": ["src/plugins/custom_integrations/*"], "@kbn/cypress-config": ["packages/kbn-cypress-config"], "@kbn/cypress-config/*": ["packages/kbn-cypress-config/*"], - "@kbn/dashboard-enhanced-plugin": ["x-pack/plugins/dashboard_enhanced"], - "@kbn/dashboard-enhanced-plugin/*": ["x-pack/plugins/dashboard_enhanced/*"], - "@kbn/dashboard-plugin": ["src/plugins/dashboard"], - "@kbn/dashboard-plugin/*": ["src/plugins/dashboard/*"], + "@kbn/dashboard-enhanced-plugin": ["x-pack/platform/plugins/shared/dashboard_enhanced"], + "@kbn/dashboard-enhanced-plugin/*": ["x-pack/platform/plugins/shared/dashboard_enhanced/*"], + "@kbn/dashboard-plugin": ["src/platform/plugins/shared/dashboard"], + "@kbn/dashboard-plugin/*": ["src/platform/plugins/shared/dashboard/*"], "@kbn/data-forge": ["x-pack/platform/packages/shared/kbn-data-forge"], "@kbn/data-forge/*": ["x-pack/platform/packages/shared/kbn-data-forge/*"], "@kbn/data-plugin": ["src/plugins/data"], "@kbn/data-plugin/*": ["src/plugins/data/*"], - "@kbn/data-quality-plugin": ["x-pack/plugins/data_quality"], - "@kbn/data-quality-plugin/*": ["x-pack/plugins/data_quality/*"], + "@kbn/data-quality-plugin": ["x-pack/platform/plugins/shared/data_quality"], + "@kbn/data-quality-plugin/*": ["x-pack/platform/plugins/shared/data_quality/*"], "@kbn/data-search-plugin": ["test/plugin_functional/plugins/data_search"], "@kbn/data-search-plugin/*": ["test/plugin_functional/plugins/data_search/*"], "@kbn/data-service": ["packages/kbn-data-service"], @@ -728,8 +726,8 @@ "@kbn/data-views-plugin/*": ["src/plugins/data_views/*"], "@kbn/data-visualizer-plugin": ["x-pack/platform/plugins/private/data_visualizer"], "@kbn/data-visualizer-plugin/*": ["x-pack/platform/plugins/private/data_visualizer/*"], - "@kbn/dataset-quality-plugin": ["x-pack/plugins/observability_solution/dataset_quality"], - "@kbn/dataset-quality-plugin/*": ["x-pack/plugins/observability_solution/dataset_quality/*"], + "@kbn/dataset-quality-plugin": ["x-pack/platform/plugins/shared/dataset_quality"], + "@kbn/dataset-quality-plugin/*": ["x-pack/platform/plugins/shared/dataset_quality/*"], "@kbn/datemath": ["packages/kbn-datemath"], "@kbn/datemath/*": ["packages/kbn-datemath/*"], "@kbn/deeplinks-analytics": ["packages/deeplinks/analytics"], @@ -774,8 +772,8 @@ "@kbn/dev-utils/*": ["packages/kbn-dev-utils/*"], "@kbn/developer-examples-plugin": ["examples/developer_examples"], "@kbn/developer-examples-plugin/*": ["examples/developer_examples/*"], - "@kbn/discover-contextual-components": ["packages/kbn-discover-contextual-components"], - "@kbn/discover-contextual-components/*": ["packages/kbn-discover-contextual-components/*"], + "@kbn/discover-contextual-components": ["src/platform/packages/shared/kbn-discover-contextual-components"], + "@kbn/discover-contextual-components/*": ["src/platform/packages/shared/kbn-discover-contextual-components/*"], "@kbn/discover-customization-examples-plugin": ["examples/discover_customization_examples"], "@kbn/discover-customization-examples-plugin/*": ["examples/discover_customization_examples/*"], "@kbn/discover-enhanced-plugin": ["x-pack/plugins/discover_enhanced"], @@ -798,8 +796,8 @@ "@kbn/ecs-data-quality-dashboard/*": ["x-pack/solutions/security/packages/ecs_data_quality_dashboard/*"], "@kbn/ecs-data-quality-dashboard-plugin": ["x-pack/solutions/security/plugins/ecs_data_quality_dashboard"], "@kbn/ecs-data-quality-dashboard-plugin/*": ["x-pack/solutions/security/plugins/ecs_data_quality_dashboard/*"], - "@kbn/elastic-agent-utils": ["packages/kbn-elastic-agent-utils"], - "@kbn/elastic-agent-utils/*": ["packages/kbn-elastic-agent-utils/*"], + "@kbn/elastic-agent-utils": ["src/platform/packages/shared/kbn-elastic-agent-utils"], + "@kbn/elastic-agent-utils/*": ["src/platform/packages/shared/kbn-elastic-agent-utils/*"], "@kbn/elastic-assistant": ["x-pack/platform/packages/shared/kbn-elastic-assistant"], "@kbn/elastic-assistant/*": ["x-pack/platform/packages/shared/kbn-elastic-assistant/*"], "@kbn/elastic-assistant-common": ["x-pack/platform/packages/shared/kbn-elastic-assistant-common"], @@ -810,12 +808,12 @@ "@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/elasticsearch-client-xpack-plugin/*": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client/*"], - "@kbn/embeddable-enhanced-plugin": ["x-pack/plugins/embeddable_enhanced"], - "@kbn/embeddable-enhanced-plugin/*": ["x-pack/plugins/embeddable_enhanced/*"], + "@kbn/embeddable-enhanced-plugin": ["x-pack/platform/plugins/shared/embeddable_enhanced"], + "@kbn/embeddable-enhanced-plugin/*": ["x-pack/platform/plugins/shared/embeddable_enhanced/*"], "@kbn/embeddable-examples-plugin": ["examples/embeddable_examples"], "@kbn/embeddable-examples-plugin/*": ["examples/embeddable_examples/*"], - "@kbn/embeddable-plugin": ["src/plugins/embeddable"], - "@kbn/embeddable-plugin/*": ["src/plugins/embeddable/*"], + "@kbn/embeddable-plugin": ["src/platform/plugins/shared/embeddable"], + "@kbn/embeddable-plugin/*": ["src/platform/plugins/shared/embeddable/*"], "@kbn/embedded-lens-example-plugin": ["x-pack/examples/embedded_lens_example"], "@kbn/embedded-lens-example-plugin/*": ["x-pack/examples/embedded_lens_example/*"], "@kbn/encrypted-saved-objects-plugin": ["x-pack/plugins/encrypted_saved_objects"], @@ -902,28 +900,28 @@ "@kbn/exploratory-view-example-plugin/*": ["x-pack/examples/exploratory_view_example/*"], "@kbn/exploratory-view-plugin": ["x-pack/solutions/observability/plugins/exploratory_view"], "@kbn/exploratory-view-plugin/*": ["x-pack/solutions/observability/plugins/exploratory_view/*"], - "@kbn/expression-error-plugin": ["src/plugins/expression_error"], - "@kbn/expression-error-plugin/*": ["src/plugins/expression_error/*"], + "@kbn/expression-error-plugin": ["src/platform/plugins/shared/expression_error"], + "@kbn/expression-error-plugin/*": ["src/platform/plugins/shared/expression_error/*"], "@kbn/expression-gauge-plugin": ["src/plugins/chart_expressions/expression_gauge"], "@kbn/expression-gauge-plugin/*": ["src/plugins/chart_expressions/expression_gauge/*"], "@kbn/expression-heatmap-plugin": ["src/plugins/chart_expressions/expression_heatmap"], "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], - "@kbn/expression-image-plugin": ["src/plugins/expression_image"], - "@kbn/expression-image-plugin/*": ["src/plugins/expression_image/*"], + "@kbn/expression-image-plugin": ["src/platform/plugins/shared/expression_image"], + "@kbn/expression-image-plugin/*": ["src/platform/plugins/shared/expression_image/*"], "@kbn/expression-legacy-metric-vis-plugin": ["src/plugins/chart_expressions/expression_legacy_metric"], "@kbn/expression-legacy-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_legacy_metric/*"], - "@kbn/expression-metric-plugin": ["src/plugins/expression_metric"], - "@kbn/expression-metric-plugin/*": ["src/plugins/expression_metric/*"], + "@kbn/expression-metric-plugin": ["src/platform/plugins/shared/expression_metric"], + "@kbn/expression-metric-plugin/*": ["src/platform/plugins/shared/expression_metric/*"], "@kbn/expression-metric-vis-plugin": ["src/plugins/chart_expressions/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-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], - "@kbn/expression-repeat-image-plugin": ["src/plugins/expression_repeat_image"], - "@kbn/expression-repeat-image-plugin/*": ["src/plugins/expression_repeat_image/*"], - "@kbn/expression-reveal-image-plugin": ["src/plugins/expression_reveal_image"], - "@kbn/expression-reveal-image-plugin/*": ["src/plugins/expression_reveal_image/*"], - "@kbn/expression-shape-plugin": ["src/plugins/expression_shape"], - "@kbn/expression-shape-plugin/*": ["src/plugins/expression_shape/*"], + "@kbn/expression-repeat-image-plugin": ["src/platform/plugins/shared/expression_repeat_image"], + "@kbn/expression-repeat-image-plugin/*": ["src/platform/plugins/shared/expression_repeat_image/*"], + "@kbn/expression-reveal-image-plugin": ["src/platform/plugins/shared/expression_reveal_image"], + "@kbn/expression-reveal-image-plugin/*": ["src/platform/plugins/shared/expression_reveal_image/*"], + "@kbn/expression-shape-plugin": ["src/platform/plugins/shared/expression_shape"], + "@kbn/expression-shape-plugin/*": ["src/platform/plugins/shared/expression_shape/*"], "@kbn/expression-tagcloud-plugin": ["src/plugins/chart_expressions/expression_tagcloud"], "@kbn/expression-tagcloud-plugin/*": ["src/plugins/chart_expressions/expression_tagcloud/*"], "@kbn/expression-xy-plugin": ["src/plugins/chart_expressions/expression_xy"], @@ -954,10 +952,10 @@ "@kbn/field-types/*": ["packages/kbn-field-types/*"], "@kbn/field-utils": ["packages/kbn-field-utils"], "@kbn/field-utils/*": ["packages/kbn-field-utils/*"], - "@kbn/fields-metadata-plugin": ["x-pack/plugins/fields_metadata"], - "@kbn/fields-metadata-plugin/*": ["x-pack/plugins/fields_metadata/*"], - "@kbn/file-upload-plugin": ["x-pack/plugins/file_upload"], - "@kbn/file-upload-plugin/*": ["x-pack/plugins/file_upload/*"], + "@kbn/fields-metadata-plugin": ["x-pack/platform/plugins/shared/fields_metadata"], + "@kbn/fields-metadata-plugin/*": ["x-pack/platform/plugins/shared/fields_metadata/*"], + "@kbn/file-upload-plugin": ["x-pack/platform/plugins/private/file_upload"], + "@kbn/file-upload-plugin/*": ["x-pack/platform/plugins/private/file_upload/*"], "@kbn/files-example-plugin": ["examples/files_example"], "@kbn/files-example-plugin/*": ["examples/files_example/*"], "@kbn/files-management-plugin": ["src/plugins/files_management"], @@ -968,8 +966,8 @@ "@kbn/find-used-node-modules/*": ["packages/kbn-find-used-node-modules/*"], "@kbn/fleet-plugin": ["x-pack/plugins/fleet"], "@kbn/fleet-plugin/*": ["x-pack/plugins/fleet/*"], - "@kbn/flot-charts": ["packages/kbn-flot-charts"], - "@kbn/flot-charts/*": ["packages/kbn-flot-charts/*"], + "@kbn/flot-charts": ["src/platform/packages/shared/kbn-flot-charts"], + "@kbn/flot-charts/*": ["src/platform/packages/shared/kbn-flot-charts/*"], "@kbn/foo-plugin": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin"], "@kbn/foo-plugin/*": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin/*"], "@kbn/formatters": ["packages/kbn-formatters"], @@ -1056,8 +1054,8 @@ "@kbn/index-lifecycle-management-common-shared/*": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/*"], "@kbn/index-lifecycle-management-plugin": ["x-pack/platform/plugins/private/index_lifecycle_management"], "@kbn/index-lifecycle-management-plugin/*": ["x-pack/platform/plugins/private/index_lifecycle_management/*"], - "@kbn/index-management-plugin": ["x-pack/plugins/index_management"], - "@kbn/index-management-plugin/*": ["x-pack/plugins/index_management/*"], + "@kbn/index-management-plugin": ["x-pack/platform/plugins/shared/index_management"], + "@kbn/index-management-plugin/*": ["x-pack/platform/plugins/shared/index_management/*"], "@kbn/index-management-shared-types": ["x-pack/platform/packages/shared/index-management/index_management_shared_types"], "@kbn/index-management-shared-types/*": ["x-pack/platform/packages/shared/index-management/index_management_shared_types/*"], "@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"], @@ -1070,14 +1068,14 @@ "@kbn/inference-plugin/*": ["x-pack/platform/plugins/shared/inference/*"], "@kbn/infra-forge": ["x-pack/platform/packages/private/kbn-infra-forge"], "@kbn/infra-forge/*": ["x-pack/platform/packages/private/kbn-infra-forge/*"], - "@kbn/infra-plugin": ["x-pack/plugins/observability_solution/infra"], - "@kbn/infra-plugin/*": ["x-pack/plugins/observability_solution/infra/*"], + "@kbn/infra-plugin": ["x-pack/solutions/observability/plugins/infra"], + "@kbn/infra-plugin/*": ["x-pack/solutions/observability/plugins/infra/*"], "@kbn/ingest-pipelines-plugin": ["x-pack/platform/plugins/shared/ingest_pipelines"], "@kbn/ingest-pipelines-plugin/*": ["x-pack/platform/plugins/shared/ingest_pipelines/*"], - "@kbn/input-control-vis-plugin": ["src/plugins/input_control_vis"], - "@kbn/input-control-vis-plugin/*": ["src/plugins/input_control_vis/*"], - "@kbn/inspector-plugin": ["src/plugins/inspector"], - "@kbn/inspector-plugin/*": ["src/plugins/inspector/*"], + "@kbn/input-control-vis-plugin": ["src/platform/plugins/private/input_control_vis"], + "@kbn/input-control-vis-plugin/*": ["src/platform/plugins/private/input_control_vis/*"], + "@kbn/inspector-plugin": ["src/platform/plugins/shared/inspector"], + "@kbn/inspector-plugin/*": ["src/platform/plugins/shared/inspector/*"], "@kbn/integration-assistant-plugin": ["x-pack/platform/plugins/shared/integration_assistant"], "@kbn/integration-assistant-plugin/*": ["x-pack/platform/plugins/shared/integration_assistant/*"], "@kbn/interactive-setup-plugin": ["src/plugins/interactive_setup"], @@ -1154,8 +1152,8 @@ "@kbn/license-management-plugin/*": ["x-pack/platform/plugins/shared/license_management/*"], "@kbn/licensing-plugin": ["x-pack/plugins/licensing"], "@kbn/licensing-plugin/*": ["x-pack/plugins/licensing/*"], - "@kbn/links-plugin": ["src/plugins/links"], - "@kbn/links-plugin/*": ["src/plugins/links/*"], + "@kbn/links-plugin": ["src/platform/plugins/private/links"], + "@kbn/links-plugin/*": ["src/platform/plugins/private/links/*"], "@kbn/lint-packages-cli": ["packages/kbn-lint-packages-cli"], "@kbn/lint-packages-cli/*": ["packages/kbn-lint-packages-cli/*"], "@kbn/lint-ts-projects-cli": ["packages/kbn-lint-ts-projects-cli"], @@ -1172,14 +1170,14 @@ "@kbn/logging/*": ["packages/kbn-logging/*"], "@kbn/logging-mocks": ["packages/kbn-logging-mocks"], "@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"], - "@kbn/logs-data-access-plugin": ["x-pack/plugins/observability_solution/logs_data_access"], - "@kbn/logs-data-access-plugin/*": ["x-pack/plugins/observability_solution/logs_data_access/*"], - "@kbn/logs-explorer-plugin": ["x-pack/plugins/observability_solution/logs_explorer"], - "@kbn/logs-explorer-plugin/*": ["x-pack/plugins/observability_solution/logs_explorer/*"], - "@kbn/logs-shared-plugin": ["x-pack/plugins/observability_solution/logs_shared"], - "@kbn/logs-shared-plugin/*": ["x-pack/plugins/observability_solution/logs_shared/*"], - "@kbn/logstash-plugin": ["x-pack/plugins/logstash"], - "@kbn/logstash-plugin/*": ["x-pack/plugins/logstash/*"], + "@kbn/logs-data-access-plugin": ["x-pack/platform/plugins/shared/logs_data_access"], + "@kbn/logs-data-access-plugin/*": ["x-pack/platform/plugins/shared/logs_data_access/*"], + "@kbn/logs-explorer-plugin": ["x-pack/solutions/observability/plugins/logs_explorer"], + "@kbn/logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/logs_explorer/*"], + "@kbn/logs-shared-plugin": ["x-pack/platform/plugins/shared/logs_shared"], + "@kbn/logs-shared-plugin/*": ["x-pack/platform/plugins/shared/logs_shared/*"], + "@kbn/logstash-plugin": ["x-pack/platform/plugins/private/logstash"], + "@kbn/logstash-plugin/*": ["x-pack/platform/plugins/private/logstash/*"], "@kbn/managed-content-badge": ["packages/kbn-managed-content-badge"], "@kbn/managed-content-badge/*": ["packages/kbn-managed-content-badge/*"], "@kbn/managed-vscode-config": ["packages/kbn-managed-vscode-config"], @@ -1216,16 +1214,16 @@ "@kbn/management-test-plugin/*": ["test/plugin_functional/plugins/management_test_plugin/*"], "@kbn/manifest": ["packages/kbn-manifest"], "@kbn/manifest/*": ["packages/kbn-manifest/*"], - "@kbn/mapbox-gl": ["packages/kbn-mapbox-gl"], - "@kbn/mapbox-gl/*": ["packages/kbn-mapbox-gl/*"], + "@kbn/mapbox-gl": ["src/platform/packages/private/kbn-mapbox-gl"], + "@kbn/mapbox-gl/*": ["src/platform/packages/private/kbn-mapbox-gl/*"], "@kbn/maps-custom-raster-source-plugin": ["x-pack/examples/third_party_maps_source_example"], "@kbn/maps-custom-raster-source-plugin/*": ["x-pack/examples/third_party_maps_source_example/*"], - "@kbn/maps-ems-plugin": ["src/plugins/maps_ems"], - "@kbn/maps-ems-plugin/*": ["src/plugins/maps_ems/*"], - "@kbn/maps-plugin": ["x-pack/plugins/maps"], - "@kbn/maps-plugin/*": ["x-pack/plugins/maps/*"], - "@kbn/maps-vector-tile-utils": ["x-pack/packages/maps/vector_tile_utils"], - "@kbn/maps-vector-tile-utils/*": ["x-pack/packages/maps/vector_tile_utils/*"], + "@kbn/maps-ems-plugin": ["src/platform/plugins/private/maps_ems"], + "@kbn/maps-ems-plugin/*": ["src/platform/plugins/private/maps_ems/*"], + "@kbn/maps-plugin": ["x-pack/platform/plugins/shared/maps"], + "@kbn/maps-plugin/*": ["x-pack/platform/plugins/shared/maps/*"], + "@kbn/maps-vector-tile-utils": ["x-pack/platform/packages/private/maps/vector_tile_utils"], + "@kbn/maps-vector-tile-utils/*": ["x-pack/platform/packages/private/maps/vector_tile_utils/*"], "@kbn/metrics-data-access-plugin": ["x-pack/plugins/observability_solution/metrics_data_access"], "@kbn/metrics-data-access-plugin/*": ["x-pack/plugins/observability_solution/metrics_data_access/*"], "@kbn/ml-agg-utils": ["x-pack/platform/packages/private/ml/agg_utils"], @@ -1300,10 +1298,10 @@ "@kbn/mock-idp-utils/*": ["packages/kbn-mock-idp-utils/*"], "@kbn/monaco": ["packages/kbn-monaco"], "@kbn/monaco/*": ["packages/kbn-monaco/*"], - "@kbn/monitoring-collection-plugin": ["x-pack/plugins/monitoring_collection"], - "@kbn/monitoring-collection-plugin/*": ["x-pack/plugins/monitoring_collection/*"], - "@kbn/monitoring-plugin": ["x-pack/plugins/monitoring"], - "@kbn/monitoring-plugin/*": ["x-pack/plugins/monitoring/*"], + "@kbn/monitoring-collection-plugin": ["x-pack/platform/plugins/private/monitoring_collection"], + "@kbn/monitoring-collection-plugin/*": ["x-pack/platform/plugins/private/monitoring_collection/*"], + "@kbn/monitoring-plugin": ["x-pack/platform/plugins/private/monitoring"], + "@kbn/monitoring-plugin/*": ["x-pack/platform/plugins/private/monitoring/*"], "@kbn/navigation-plugin": ["src/plugins/navigation"], "@kbn/navigation-plugin/*": ["src/plugins/navigation/*"], "@kbn/newsfeed-plugin": ["src/plugins/newsfeed"], @@ -1338,14 +1336,14 @@ "@kbn/observability-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/observability/*"], "@kbn/observability-get-padded-alert-time-range-util": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util"], "@kbn/observability-get-padded-alert-time-range-util/*": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util/*"], - "@kbn/observability-logs-explorer-plugin": ["x-pack/plugins/observability_solution/observability_logs_explorer"], - "@kbn/observability-logs-explorer-plugin/*": ["x-pack/plugins/observability_solution/observability_logs_explorer/*"], - "@kbn/observability-logs-overview": ["x-pack/packages/observability/logs_overview"], - "@kbn/observability-logs-overview/*": ["x-pack/packages/observability/logs_overview/*"], - "@kbn/observability-onboarding-e2e": ["x-pack/plugins/observability_solution/observability_onboarding/e2e"], - "@kbn/observability-onboarding-e2e/*": ["x-pack/plugins/observability_solution/observability_onboarding/e2e/*"], - "@kbn/observability-onboarding-plugin": ["x-pack/plugins/observability_solution/observability_onboarding"], - "@kbn/observability-onboarding-plugin/*": ["x-pack/plugins/observability_solution/observability_onboarding/*"], + "@kbn/observability-logs-explorer-plugin": ["x-pack/solutions/observability/plugins/observability_logs_explorer"], + "@kbn/observability-logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/observability_logs_explorer/*"], + "@kbn/observability-logs-overview": ["x-pack/platform/packages/shared/observability/logs_overview"], + "@kbn/observability-logs-overview/*": ["x-pack/platform/packages/shared/observability/logs_overview/*"], + "@kbn/observability-onboarding-e2e": ["x-pack/solutions/observability/plugins/observability_onboarding/e2e"], + "@kbn/observability-onboarding-e2e/*": ["x-pack/solutions/observability/plugins/observability_onboarding/e2e/*"], + "@kbn/observability-onboarding-plugin": ["x-pack/solutions/observability/plugins/observability_onboarding"], + "@kbn/observability-onboarding-plugin/*": ["x-pack/solutions/observability/plugins/observability_onboarding/*"], "@kbn/observability-plugin": ["x-pack/solutions/observability/plugins/observability"], "@kbn/observability-plugin/*": ["x-pack/solutions/observability/plugins/observability/*"], "@kbn/observability-shared-plugin": ["x-pack/plugins/observability_solution/observability_shared"], @@ -1382,8 +1380,8 @@ "@kbn/painless-lab-plugin/*": ["x-pack/platform/plugins/private/painless_lab/*"], "@kbn/palettes": ["packages/kbn-palettes"], "@kbn/palettes/*": ["packages/kbn-palettes/*"], - "@kbn/panel-loader": ["packages/kbn-panel-loader"], - "@kbn/panel-loader/*": ["packages/kbn-panel-loader/*"], + "@kbn/panel-loader": ["src/platform/packages/private/kbn-panel-loader"], + "@kbn/panel-loader/*": ["src/platform/packages/private/kbn-panel-loader/*"], "@kbn/peggy": ["packages/kbn-peggy"], "@kbn/peggy/*": ["packages/kbn-peggy/*"], "@kbn/peggy-loader": ["packages/kbn-peggy-loader"], @@ -1402,14 +1400,14 @@ "@kbn/portable-dashboards-example/*": ["examples/portable_dashboards_example/*"], "@kbn/preboot-example-plugin": ["examples/preboot_example"], "@kbn/preboot-example-plugin/*": ["examples/preboot_example/*"], - "@kbn/presentation-containers": ["packages/presentation/presentation_containers"], - "@kbn/presentation-containers/*": ["packages/presentation/presentation_containers/*"], - "@kbn/presentation-panel-plugin": ["src/plugins/presentation_panel"], - "@kbn/presentation-panel-plugin/*": ["src/plugins/presentation_panel/*"], - "@kbn/presentation-publishing": ["packages/presentation/presentation_publishing"], - "@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"], - "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], - "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], + "@kbn/presentation-containers": ["src/platform/packages/shared/presentation/presentation_containers"], + "@kbn/presentation-containers/*": ["src/platform/packages/shared/presentation/presentation_containers/*"], + "@kbn/presentation-panel-plugin": ["src/platform/plugins/private/presentation_panel"], + "@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"], + "@kbn/presentation-publishing": ["src/platform/packages/shared/presentation/presentation_publishing"], + "@kbn/presentation-publishing/*": ["src/platform/packages/shared/presentation/presentation_publishing/*"], + "@kbn/presentation-util-plugin": ["src/platform/plugins/shared/presentation_util"], + "@kbn/presentation-util-plugin/*": ["src/platform/plugins/shared/presentation_util/*"], "@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"], "@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"], "@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"], @@ -1426,8 +1424,8 @@ "@kbn/random-sampling/*": ["x-pack/packages/kbn-random-sampling/*"], "@kbn/react-field": ["packages/kbn-react-field"], "@kbn/react-field/*": ["packages/kbn-react-field/*"], - "@kbn/react-hooks": ["packages/kbn-react-hooks"], - "@kbn/react-hooks/*": ["packages/kbn-react-hooks/*"], + "@kbn/react-hooks": ["src/platform/packages/shared/kbn-react-hooks"], + "@kbn/react-hooks/*": ["src/platform/packages/shared/kbn-react-hooks/*"], "@kbn/react-kibana-context-common": ["packages/react/kibana_context/common"], "@kbn/react-kibana-context-common/*": ["packages/react/kibana_context/common/*"], "@kbn/react-kibana-context-render": ["packages/react/kibana_context/render"], @@ -1510,8 +1508,8 @@ "@kbn/rollup-plugin/*": ["x-pack/platform/plugins/private/rollup/*"], "@kbn/router-to-openapispec": ["packages/kbn-router-to-openapispec"], "@kbn/router-to-openapispec/*": ["packages/kbn-router-to-openapispec/*"], - "@kbn/router-utils": ["packages/kbn-router-utils"], - "@kbn/router-utils/*": ["packages/kbn-router-utils/*"], + "@kbn/router-utils": ["src/platform/packages/shared/kbn-router-utils"], + "@kbn/router-utils/*": ["src/platform/packages/shared/kbn-router-utils/*"], "@kbn/routing-example-plugin": ["examples/routing_example"], "@kbn/routing-example-plugin/*": ["examples/routing_example/*"], "@kbn/rrule": ["packages/kbn-rrule"], @@ -1880,6 +1878,8 @@ "@kbn/streams-app-plugin/*": ["x-pack/solutions/observability/plugins/streams_app/*"], "@kbn/streams-plugin": ["x-pack/solutions/observability/plugins/streams"], "@kbn/streams-plugin/*": ["x-pack/solutions/observability/plugins/streams/*"], + "@kbn/streams-schema": ["x-pack/packages/kbn-streams-schema"], + "@kbn/streams-schema/*": ["x-pack/packages/kbn-streams-schema/*"], "@kbn/synthetics-e2e": ["x-pack/solutions/observability/plugins/synthetics/e2e"], "@kbn/synthetics-e2e/*": ["x-pack/solutions/observability/plugins/synthetics/e2e/*"], "@kbn/synthetics-plugin": ["x-pack/solutions/observability/plugins/synthetics"], @@ -1934,8 +1934,8 @@ "@kbn/timelines-plugin/*": ["x-pack/solutions/security/plugins/timelines/*"], "@kbn/timelion-grammar": ["packages/kbn-timelion-grammar"], "@kbn/timelion-grammar/*": ["packages/kbn-timelion-grammar/*"], - "@kbn/timerange": ["packages/kbn-timerange"], - "@kbn/timerange/*": ["packages/kbn-timerange/*"], + "@kbn/timerange": ["src/platform/packages/shared/kbn-timerange"], + "@kbn/timerange/*": ["src/platform/packages/shared/kbn-timerange/*"], "@kbn/tinymath": ["packages/kbn-tinymath"], "@kbn/tinymath/*": ["packages/kbn-tinymath/*"], "@kbn/tooling-log": ["packages/kbn-tooling-log"], @@ -2038,8 +2038,8 @@ "@kbn/vis-type-gauge-plugin/*": ["src/plugins/vis_types/gauge/*"], "@kbn/vis-type-heatmap-plugin": ["src/plugins/vis_types/heatmap"], "@kbn/vis-type-heatmap-plugin/*": ["src/plugins/vis_types/heatmap/*"], - "@kbn/vis-type-markdown-plugin": ["src/plugins/vis_type_markdown"], - "@kbn/vis-type-markdown-plugin/*": ["src/plugins/vis_type_markdown/*"], + "@kbn/vis-type-markdown-plugin": ["src/platform/plugins/private/vis_type_markdown"], + "@kbn/vis-type-markdown-plugin/*": ["src/platform/plugins/private/vis_type_markdown/*"], "@kbn/vis-type-metric-plugin": ["src/plugins/vis_types/metric"], "@kbn/vis-type-metric-plugin/*": ["src/plugins/vis_types/metric/*"], "@kbn/vis-type-pie-plugin": ["src/plugins/vis_types/pie"], @@ -2070,8 +2070,8 @@ "@kbn/web-worker-stub/*": ["packages/kbn-web-worker-stub/*"], "@kbn/whereis-pkg-cli": ["packages/kbn-whereis-pkg-cli"], "@kbn/whereis-pkg-cli/*": ["packages/kbn-whereis-pkg-cli/*"], - "@kbn/xstate-utils": ["packages/kbn-xstate-utils"], - "@kbn/xstate-utils/*": ["packages/kbn-xstate-utils/*"], + "@kbn/xstate-utils": ["src/platform/packages/shared/kbn-xstate-utils"], + "@kbn/xstate-utils/*": ["src/platform/packages/shared/kbn-xstate-utils/*"], "@kbn/yarn-lock-validator": ["packages/kbn-yarn-lock-validator"], "@kbn/yarn-lock-validator/*": ["packages/kbn-yarn-lock-validator/*"], "@kbn/zod": ["packages/kbn-zod"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index c01b9ef40aed4..8feb16e470338 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -17,7 +17,7 @@ "xpack.apm": "plugins/observability_solution/apm", "xpack.apmDataAccess": "plugins/observability_solution/apm_data_access", "xpack.banners": "plugins/banners", - "xpack.canvas": "plugins/canvas", + "xpack.canvas": "platform/plugins/private/canvas", "xpack.cases": "plugins/cases", "xpack.cloud": "plugins/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", @@ -29,9 +29,9 @@ "packages/kbn-cloud-security-posture" ], "xpack.customBranding": "plugins/custom_branding", - "xpack.dashboard": "plugins/dashboard_enhanced", - "xpack.dataQuality": "plugins/data_quality", - "xpack.datasetQuality": "plugins/observability_solution/dataset_quality", + "xpack.dashboard": "platform/plugins/shared/dashboard_enhanced", + "xpack.dataQuality": "platform/plugins/shared/data_quality", + "xpack.datasetQuality": "platform/plugins/shared/dataset_quality", "xpack.dataUsage": "platform/plugins/private/data_usage", "xpack.discover": "plugins/discover_enhanced", "xpack.crossClusterReplication": "platform/plugins/private/cross_cluster_replication", @@ -39,13 +39,13 @@ "xpack.elasticAssistantCommon": "platform/packages/shared/kbn-elastic-assistant-common", "xpack.elasticAssistantPlugin": "solutions/security/plugins/elastic_assistant", "xpack.ecsDataQualityDashboard": "solutions/security/plugins/ecs_data_quality_dashboard", - "xpack.embeddableEnhanced": "plugins/embeddable_enhanced", + "xpack.embeddableEnhanced": "platform/plugins/shared/embeddable_enhanced", "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "plugins/enterprise_search", "xpack.features": "plugins/features", "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "solutions/observability/plugins/exploratory_view", - "xpack.fileUpload": "plugins/file_upload", + "xpack.fileUpload": "platform/plugins/private/file_upload", "xpack.globalSearch": [ "plugins/global_search" ], @@ -56,13 +56,13 @@ "plugins/graph" ], "xpack.grokDebugger": "platform/plugins/private/grokdebugger", - "xpack.idxMgmt": "plugins/index_management", + "xpack.idxMgmt": "platform/plugins/shared/index_management", "xpack.idxMgmtPackage": "packages/index-management", "xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management", - "xpack.infra": "plugins/observability_solution/infra", - "xpack.logsDataAccess": "plugins/observability_solution/logs_data_access", - "xpack.logsExplorer": "plugins/observability_solution/logs_explorer", - "xpack.logsShared": "plugins/observability_solution/logs_shared", + "xpack.infra": "solutions/observability/plugins/infra", + "xpack.logsDataAccess": "platform/plugins/shared/logs_data_access", + "xpack.logsExplorer": "solutions/observability/plugins/logs_explorer", + "xpack.logsShared": "platform/plugins/shared/logs_shared", "xpack.fleet": "plugins/fleet", "xpack.ingestPipelines": "platform/plugins/shared/ingest_pipelines", "xpack.integrationAssistant": "platform/plugins/shared/integration_assistant", @@ -77,11 +77,11 @@ "xpack.licensing": "plugins/licensing", "xpack.lists": "solutions/security/plugins/lists", "xpack.logstash": [ - "plugins/logstash" + "platform/plugins/private/logstash" ], "xpack.main": "legacy/plugins/xpack_main", "xpack.maps": [ - "plugins/maps" + "platform/plugins/shared/maps" ], "xpack.metricsData": "plugins/observability_solution/metrics_data_access", "xpack.ml": [ @@ -98,7 +98,7 @@ "platform/plugins/shared/ml" ], "xpack.monitoring": [ - "plugins/monitoring" + "platform/plugins/private/monitoring" ], "xpack.observability": "solutions/observability/plugins/observability", "xpack.observabilityAiAssistant": [ @@ -106,11 +106,11 @@ "solutions/observability/plugins/observability_ai_assistant_app" ], "xpack.observabilityAiAssistantManagement": "solutions/observability/plugins/observability_ai_assistant_management", - "xpack.observabilityLogsExplorer": "plugins/observability_solution/observability_logs_explorer", - "xpack.observability_onboarding": "plugins/observability_solution/observability_onboarding", + "xpack.observabilityLogsExplorer": "solutions/observability/plugins/observability_logs_explorer", + "xpack.observability_onboarding": "solutions/observability/plugins/observability_onboarding", "xpack.observabilityShared": "plugins/observability_solution/observability_shared", "xpack.observabilityLogsOverview": [ - "packages/observability/logs_overview/src/components" + "platform/packages/shared/observability/logs_overview/src/components" ], "xpack.osquery": [ "platform/plugins/shared/osquery" diff --git a/x-pack/.telemetryrc.json b/x-pack/.telemetryrc.json index 51abf578ae5f5..870b4d1de4c6a 100644 --- a/x-pack/.telemetryrc.json +++ b/x-pack/.telemetryrc.json @@ -3,12 +3,12 @@ "output": "plugins/telemetry_collection_xpack/schema/xpack_plugins.json", "root": "plugins/", "exclude": [ - "plugins/monitoring/server/telemetry_collection/" + "platform/plugins/private/monitoring/server/telemetry_collection/" ] }, { "output": "plugins/telemetry_collection_xpack/schema/xpack_monitoring.json", - "root": "plugins/monitoring/server/telemetry_collection/", + "root": "platform/plugins/private/monitoring/server/telemetry_collection/", "exclude": [] }, { diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx b/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx index 0783c7f64620a..6133df55c57e0 100644 --- a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx +++ b/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx @@ -10,7 +10,7 @@ import { css } from '@emotion/css'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, useCurrentEuiBreakpoint } from '@elastic/eui'; import type { ActionConnector } from '@kbn/triggers-actions-ui-plugin/public'; import { GenerativeAIForObservabilityConnectorFeatureId } from '@kbn/actions-plugin/common'; -import { isSupportedConnectorType } from '@kbn/observability-ai-assistant-plugin/public'; +import { isSupportedConnectorType } from '@kbn/inference-common'; import { AssistantBeacon } from '@kbn/ai-assistant-icon'; import type { UseKnowledgeBaseResult } from '../hooks/use_knowledge_base'; import type { UseGenAIConnectorsResult } from '../hooks/use_genai_connectors'; diff --git a/x-pack/packages/kbn-ai-assistant/tsconfig.json b/x-pack/packages/kbn-ai-assistant/tsconfig.json index c23f92085c28d..d33b8642561eb 100644 --- a/x-pack/packages/kbn-ai-assistant/tsconfig.json +++ b/x-pack/packages/kbn-ai-assistant/tsconfig.json @@ -37,6 +37,7 @@ "@kbn/ml-plugin", "@kbn/share-plugin", "@kbn/ai-assistant-common", + "@kbn/inference-common", "@kbn/storybook", "@kbn/ai-assistant-icon", ] diff --git a/x-pack/packages/kbn-streams-schema/README.md b/x-pack/packages/kbn-streams-schema/README.md new file mode 100644 index 0000000000000..368d090cada40 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/README.md @@ -0,0 +1,3 @@ +# @kbn/streams-schema + +This shared package contains the Zod schema definition for the Streams project. \ No newline at end of file diff --git a/x-pack/packages/kbn-streams-schema/index.ts b/x-pack/packages/kbn-streams-schema/index.ts new file mode 100644 index 0000000000000..c1f1effe45499 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './src/apis'; +export * from './src/models'; +export * from './src/helpers'; diff --git a/x-pack/packages/maps/vector_tile_utils/jest.config.js b/x-pack/packages/kbn-streams-schema/jest.config.js similarity index 77% rename from x-pack/packages/maps/vector_tile_utils/jest.config.js rename to x-pack/packages/kbn-streams-schema/jest.config.js index 416b669eacbf7..da4fa0627dfdd 100644 --- a/x-pack/packages/maps/vector_tile_utils/jest.config.js +++ b/x-pack/packages/kbn-streams-schema/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/maps/vector_tile_utils'], + rootDir: '../../..', + roots: ['/x-pack/packages/kbn-streams-schema'], }; diff --git a/x-pack/packages/kbn-streams-schema/kibana.jsonc b/x-pack/packages/kbn-streams-schema/kibana.jsonc new file mode 100644 index 0000000000000..61129483995e9 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/kibana.jsonc @@ -0,0 +1,8 @@ +{ + "type": "shared-common", + "id": "@kbn/streams-schema", + "owner": "@elastic/streams-program-team", + "group": "observability", + "visibility": "shared" +} + diff --git a/x-pack/packages/kbn-streams-schema/package.json b/x-pack/packages/kbn-streams-schema/package.json new file mode 100644 index 0000000000000..056a531bf2e3e --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/package.json @@ -0,0 +1,7 @@ +{ + "name": "@kbn/streams-schema", + "description": "Streams Zod schema definition and common models shared between public and server.", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} diff --git a/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap b/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap new file mode 100644 index 0000000000000..b40f64d66180d --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap @@ -0,0 +1,105 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`ReadStreamResponse should successfully parse 1`] = ` +Object { + "streams": Array [ + Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + "wired": Object { + "fields": Object { + "new_field": Object { + "type": "long", + }, + }, + }, + }, + }, + }, + Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + }, + }, + }, + ], +} +`; diff --git a/x-pack/packages/kbn-streams-schema/src/apis/index.ts b/x-pack/packages/kbn-streams-schema/src/apis/index.ts new file mode 100644 index 0000000000000..f3551a83d704d --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './read_streams_response'; +export * from './list_streams_response'; diff --git a/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts b/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts new file mode 100644 index 0000000000000..f1f42f7e90ae2 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { z } from '@kbn/zod'; +import { streamDefintionSchema } from '../models'; + +export const listStreamsResponseSchema = z.object({ + streams: z.array(streamDefintionSchema), +}); + +export type ListStreamsResponse = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts new file mode 100644 index 0000000000000..7200c9c4a1076 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { readStreamResponse } from '../fixtures/read_streams_response'; +import { readStreamResponseSchema } from './read_streams_response'; + +describe('ReadStreamResponse', () => { + it('should successfully parse', () => { + expect(readStreamResponseSchema.parse(readStreamResponse)).toMatchSnapshot(); + }); +}); diff --git a/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts new file mode 100644 index 0000000000000..bfb5d2f62e7fc --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { readStreamDefinitonSchema } from '../models'; + +export const readStreamResponseSchema = z.object({ + streams: z.array(readStreamDefinitonSchema), +}); + +export type ReadStreamResponse = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts new file mode 100644 index 0000000000000..547c1194333ac --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestStream } from './ingest_stream'; + +export const ingestReadStream = { + ...ingestStream, + inherited_fields: { + '@timestamp': { + type: 'date', + from: 'logs', + }, + message: { + type: 'match_only_text', + from: 'logs', + }, + }, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts new file mode 100644 index 0000000000000..dfd1b8eb9d33e --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestStreamConfig } from './ingest_stream_config'; + +export const ingestStream = { + name: 'logs.nginx', + elasticsearch_assets: [], + stream: ingestStreamConfig, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts new file mode 100644 index 0000000000000..925ac9310762f --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const ingestStreamConfig = { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: ['%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}'], + }, + }, + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + routing: [ + { + name: 'logs.errors', + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + }, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts new file mode 100644 index 0000000000000..fb1cd3ade2f9a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestReadStream } from './ingest_read_stream'; +import { wiredReadStream } from './wired_read_stream'; + +export const readStreamResponse = { + streams: [wiredReadStream, ingestReadStream], +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts new file mode 100644 index 0000000000000..177250bd8032a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { wiredStream } from './wired_stream'; + +export const wiredReadStream = { + ...wiredStream, + inherited_fields: { + '@timestamp': { + type: 'date', + from: 'logs', + }, + message: { + type: 'match_only_text', + from: 'logs', + }, + }, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts new file mode 100644 index 0000000000000..371f2f7876486 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { wiredStreamConfig } from './wired_stream_config'; + +export const wiredStream = { + name: 'logs.nginx', + elasticsearch_assets: [], + stream: wiredStreamConfig, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts new file mode 100644 index 0000000000000..51c65e3c09794 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const wiredStreamConfig = { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: ['%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}'], + }, + }, + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + routing: [ + { + name: 'logs.errors', + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + wired: { + fields: { + new_field: { + type: 'long', + }, + }, + }, + }, +}; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/index.ts b/x-pack/packages/kbn-streams-schema/src/helpers/index.ts similarity index 83% rename from x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/index.ts rename to x-pack/packages/kbn-streams-schema/src/helpers/index.ts index fa559fb86d9db..d1f9a8ff0c50a 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/index.ts +++ b/x-pack/packages/kbn-streams-schema/src/helpers/index.ts @@ -5,5 +5,4 @@ * 2.0. */ -export * from './ecs'; -export * from './semconv'; +export * from './type_guards'; diff --git a/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts b/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts new file mode 100644 index 0000000000000..557513fa74bb2 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts @@ -0,0 +1,108 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ZodSchema } from '@kbn/zod'; +import { + AndCondition, + conditionSchema, + dissectProcessingDefinitionSchema, + DissectProcssingDefinition, + FilterCondition, + filterConditionSchema, + GrokProcessingDefinition, + grokProcessingDefinitionSchema, + IngestReadStreamDefinition, + ingestReadStreamDefinitonSchema, + IngestStreamDefinition, + ingestStreamDefinitonSchema, + OrCondition, + ReadStreamDefinition, + readStreamDefinitonSchema, + StreamDefinition, + streamDefintionSchema, + WiredReadStreamDefinition, + wiredReadStreamDefinitonSchema, + WiredStreamDefinition, + wiredStreamDefinitonSchema, +} from '../models'; +import { + IngestStreamConfigDefinition, + ingestStreamConfigDefinitonSchema, + StreamConfigDefinition, + streamConfigDefinitionSchema, + WiredStreamConfigDefinition, + wiredStreamConfigDefinitonSchema, +} from '../models/stream_config'; + +export function isSchema(zodSchema: ZodSchema, subject: T) { + try { + zodSchema.parse(subject); + return true; + } catch (e) { + return false; + } +} + +export function isReadStream(subject: any): subject is ReadStreamDefinition { + return isSchema(readStreamDefinitonSchema, subject); +} + +export function isWiredReadStream(subject: any): subject is WiredReadStreamDefinition { + return isSchema(wiredReadStreamDefinitonSchema, subject); +} + +export function isIngestReadStream(subject: any): subject is IngestReadStreamDefinition { + return isSchema(ingestReadStreamDefinitonSchema, subject); +} + +export function isStream(subject: any): subject is StreamDefinition { + return isSchema(streamDefintionSchema, subject); +} + +export function isIngestStream( + subject: IngestStreamDefinition | WiredStreamDefinition +): subject is IngestStreamDefinition { + return isSchema(ingestStreamDefinitonSchema, subject); +} + +export function isWiredStream( + subject: IngestStreamDefinition | WiredStreamDefinition +): subject is WiredStreamDefinition { + return isSchema(wiredStreamDefinitonSchema, subject); +} + +export function isWiredStreamConfig(subject: any): subject is WiredStreamConfigDefinition { + return isSchema(wiredStreamConfigDefinitonSchema, subject); +} + +export function isIngestStreamConfig(subject: any): subject is IngestStreamConfigDefinition { + return isSchema(ingestStreamConfigDefinitonSchema, subject); +} + +export function isStreamConfig(subject: any): subject is StreamConfigDefinition { + return isSchema(streamConfigDefinitionSchema, subject); +} + +export function isGrokProcessor(subject: any): subject is GrokProcessingDefinition { + return isSchema(grokProcessingDefinitionSchema, subject); +} + +export function isDissectProcessor(subject: any): subject is DissectProcssingDefinition { + return isSchema(dissectProcessingDefinitionSchema, subject); +} + +export function isFilterCondition(subject: any): subject is FilterCondition { + return isSchema(filterConditionSchema, subject); +} + +export function isAndCondition(subject: any): subject is AndCondition { + return isSchema(conditionSchema, subject) && subject.and != null; +} + +export function isOrCondition(subject: any): subject is OrCondition { + return isSchema(conditionSchema, subject) && subject.or != null; +} diff --git a/x-pack/solutions/observability/plugins/streams/common/types.ts b/x-pack/packages/kbn-streams-schema/src/models/common.ts similarity index 55% rename from x-pack/solutions/observability/plugins/streams/common/types.ts rename to x-pack/packages/kbn-streams-schema/src/models/common.ts index 7917864706c2d..0751d9fed90c9 100644 --- a/x-pack/solutions/observability/plugins/streams/common/types.ts +++ b/x-pack/packages/kbn-streams-schema/src/models/common.ts @@ -48,71 +48,71 @@ export const conditionSchema: z.ZodType = z.lazy(() => ); export const grokProcessingDefinitionSchema = z.object({ - type: z.literal('grok'), - field: z.string(), - patterns: z.array(z.string()), - pattern_definitions: z.optional(z.record(z.string())), + grok: z.object({ + field: z.string(), + patterns: z.array(z.string()), + pattern_definitions: z.optional(z.record(z.string())), + }), }); +export type GrokProcessingDefinition = z.infer; + export const dissectProcessingDefinitionSchema = z.object({ - type: z.literal('dissect'), - field: z.string(), - pattern: z.string(), + dissect: z.object({ + field: z.string(), + pattern: z.string(), + }), }); +export type DissectProcssingDefinition = z.infer; + +export const processingConfigSchema = z.union([ + grokProcessingDefinitionSchema, + dissectProcessingDefinitionSchema, +]); + export const processingDefinitionSchema = z.object({ condition: z.optional(conditionSchema), - config: z.discriminatedUnion('type', [ - grokProcessingDefinitionSchema, - dissectProcessingDefinitionSchema, - ]), + config: processingConfigSchema, }); export type ProcessingDefinition = z.infer; -export const fieldDefinitionSchema = z.object({ - name: z.string(), +export const fieldDefinitionConfigSchema = z.object({ type: z.enum(['keyword', 'match_only_text', 'long', 'double', 'date', 'boolean', 'ip']), format: z.optional(z.string()), }); -export type FieldDefinition = z.infer; - -export const streamChildSchema = z.object({ - id: z.string(), - condition: z.optional(conditionSchema), -}); +export type FieldDefinitionConfig = z.infer; -export type StreamChild = z.infer; +export const fieldDefinitionSchema = z.record(z.string(), fieldDefinitionConfigSchema); -export const streamWithoutIdDefinitonSchema = z.object({ - processing: z.array(processingDefinitionSchema).default([]), - fields: z.array(fieldDefinitionSchema).default([]), - managed: z.boolean().default(true), - children: z.array(streamChildSchema).default([]), -}); +export type FieldDefinition = z.infer; -export type StreamWithoutIdDefinition = z.infer; +export const inheritedFieldDefinitionSchema = z.record( + z.string(), + fieldDefinitionConfigSchema.extend({ from: z.string() }) +); -export const unmanagedElasticsearchAsset = z.object({ - type: z.enum(['ingest_pipeline', 'component_template', 'index_template', 'data_stream']), - id: z.string(), -}); -export type UnmanagedElasticsearchAsset = z.infer; +export type InheritedFieldDefinition = z.infer; -export const streamDefinitonSchema = streamWithoutIdDefinitonSchema.extend({ - id: z.string(), - unmanaged_elasticsearch_assets: z.optional(z.array(unmanagedElasticsearchAsset)), +export const fieldDefinitionConfigWithNameSchema = fieldDefinitionConfigSchema.extend({ + name: z.string(), }); -export type StreamDefinition = z.infer; - -export const streamDefinitonWithoutChildrenSchema = streamDefinitonSchema.omit({ children: true }); - -export type StreamWithoutChildrenDefinition = z.infer; +export type FieldDefinitionConfigWithName = z.infer; -export const readStreamDefinitonSchema = streamDefinitonSchema.extend({ - inheritedFields: z.array(fieldDefinitionSchema.extend({ from: z.string() })).default([]), +export const streamChildSchema = z.object({ + name: z.string(), + condition: z.optional(conditionSchema), }); +export type StreamChild = z.infer; + +export const elasticsearchAssetSchema = z.array( + z.object({ + type: z.enum(['ingest_pipeline', 'component_template', 'index_template', 'data_stream']), + id: z.string(), + }) +); -export type ReadStreamDefinition = z.infer; +export type ElasticsearchAsset = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/index.ts b/x-pack/packages/kbn-streams-schema/src/models/index.ts new file mode 100644 index 0000000000000..dbb4ab6dbe6ac --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/index.ts @@ -0,0 +1,11 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './common'; +export * from './read_streams'; +export * from './streams'; +export * from './stream_config'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap b/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap new file mode 100644 index 0000000000000..0e3ca0bda8ded --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap @@ -0,0 +1,104 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`ReadStream should successfully parse ingestReadStream 1`] = ` +Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + }, + }, +} +`; + +exports[`ReadStream should successfully parse wiredReadStream 1`] = ` +Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + "wired": Object { + "fields": Object { + "new_field": Object { + "type": "long", + }, + }, + }, + }, + }, +} +`; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts new file mode 100644 index 0000000000000..1dce7ea7dcd30 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './ingest_read_stream'; +export * from './wired_read_stream'; +export * from './read_stream'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts new file mode 100644 index 0000000000000..b98e45c568432 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestStreamDefinitonSchema } from '../streams'; +import { inheritedFieldDefinitionSchema } from '../common'; + +export const ingestReadStreamDefinitonSchema = ingestStreamDefinitonSchema + .extend({ + inherited_fields: inheritedFieldDefinitionSchema.default({}), + }) + .strict(); + +export type IngestReadStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts new file mode 100644 index 0000000000000..a4a3b974e29e4 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts @@ -0,0 +1,19 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestReadStream } from '../../fixtures/ingest_read_stream'; +import { wiredReadStream } from '../../fixtures/wired_read_stream'; +import { readStreamDefinitonSchema } from './read_stream'; + +describe('ReadStream', () => { + it('should successfully parse wiredReadStream', () => { + expect(readStreamDefinitonSchema.parse(wiredReadStream)).toMatchSnapshot(); + }); + it('should successfully parse ingestReadStream', () => { + expect(readStreamDefinitonSchema.parse(ingestReadStream)).toMatchSnapshot(); + }); +}); diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts new file mode 100644 index 0000000000000..e19574977bbe9 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestReadStreamDefinitonSchema } from './ingest_read_stream'; +import { wiredReadStreamDefinitonSchema } from './wired_read_stream'; + +export const readStreamDefinitonSchema = z.union([ + wiredReadStreamDefinitonSchema, + ingestReadStreamDefinitonSchema, +]); + +export type ReadStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts new file mode 100644 index 0000000000000..621da441d66b1 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { wiredStreamDefinitonSchema } from '../streams'; +import { inheritedFieldDefinitionSchema } from '../common'; + +export const wiredReadStreamDefinitonSchema = wiredStreamDefinitonSchema + .extend({ + inherited_fields: inheritedFieldDefinitionSchema.default({}), + }) + .strict(); + +export type WiredReadStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts new file mode 100644 index 0000000000000..90b0f0e49bf7b --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './wired_stream_config'; +export * from './ingest_stream_config'; +export * from './stream_config'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts new file mode 100644 index 0000000000000..106ca450121ff --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { processingDefinitionSchema, streamChildSchema } from '../common'; + +export const ingestStreamConfigDefinitonSchema = z + .object({ + ingest: z.object({ + processing: z.array(processingDefinitionSchema).default([]), + routing: z.array(streamChildSchema).default([]), + }), + }) + .strict(); + +export type IngestStreamConfigDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts new file mode 100644 index 0000000000000..711f2ea7d725a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestStreamConfigDefinitonSchema } from './ingest_stream_config'; +import { wiredStreamConfigDefinitonSchema } from './wired_stream_config'; + +export const streamConfigDefinitionSchema = z.union([ + wiredStreamConfigDefinitonSchema, + ingestStreamConfigDefinitonSchema, +]); + +export type StreamConfigDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts new file mode 100644 index 0000000000000..ad875e7e5be93 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts @@ -0,0 +1,23 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { fieldDefinitionSchema, processingDefinitionSchema, streamChildSchema } from '../common'; + +export const wiredStreamConfigDefinitonSchema = z + .object({ + ingest: z.object({ + processing: z.array(processingDefinitionSchema).default([]), + wired: z.object({ + fields: fieldDefinitionSchema.default({}), + }), + routing: z.array(streamChildSchema).default([]), + }), + }) + .strict(); + +export type WiredStreamConfigDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts new file mode 100644 index 0000000000000..b04fb5f85f933 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './ingest_stream'; +export * from './wired_stream'; +export * from './stream'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts new file mode 100644 index 0000000000000..d21f11d869929 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestStreamConfigDefinitonSchema } from '../stream_config'; +import { elasticsearchAssetSchema } from '../common'; + +export const ingestStreamDefinitonSchema = z + .object({ + name: z.string(), + elasticsearch_assets: z.optional(elasticsearchAssetSchema), + stream: ingestStreamConfigDefinitonSchema, + }) + .strict(); + +export type IngestStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts new file mode 100644 index 0000000000000..152397060e51b --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { wiredStreamDefinitonSchema } from './wired_stream'; +import { ingestStreamDefinitonSchema } from './ingest_stream'; + +export const streamDefintionSchema = z.union([ + wiredStreamDefinitonSchema, + ingestStreamDefinitonSchema, +]); + +export type StreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts new file mode 100644 index 0000000000000..0374472673cdb --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { wiredStreamConfigDefinitonSchema } from '../stream_config'; +import { elasticsearchAssetSchema } from '../common'; + +export const wiredStreamDefinitonSchema = z + .object({ + name: z.string(), + elasticsearch_assets: z.optional(elasticsearchAssetSchema), + stream: wiredStreamConfigDefinitonSchema, + }) + .strict(); + +export type WiredStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/tsconfig.json b/x-pack/packages/kbn-streams-schema/tsconfig.json new file mode 100644 index 0000000000000..838f32bc68e74 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "kbn_references": [ + "@kbn/zod" + ], + "exclude": [ + "target/**/*" + ] +} + diff --git a/x-pack/packages/search/shared_ui/index.ts b/x-pack/packages/search/shared_ui/index.ts index 786fc67f4ea6d..66b35fc503371 100644 --- a/x-pack/packages/search/shared_ui/index.ts +++ b/x-pack/packages/search/shared_ui/index.ts @@ -5,4 +5,7 @@ * 2.0. */ +export * from './src/connector_icon'; +export * from './src/decorative_horizontal_stepper'; export * from './src/form_info_field/form_info_field'; +export * from './src/search_empty_prompt'; diff --git a/x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx b/x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx new file mode 100644 index 0000000000000..a37a3d8d99780 --- /dev/null +++ b/x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiToolTip, EuiIcon } from '@elastic/eui'; + +interface ConnectorIconProps { + name: string; + serviceType: string; + iconPath?: string; + showTooltip?: boolean; +} + +export const ConnectorIcon: React.FC = ({ + name, + serviceType, + iconPath, + showTooltip = true, +}) => { + const icon = ; + + return showTooltip ? {icon} : icon; +}; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts b/x-pack/packages/search/shared_ui/src/connector_icon/index.ts similarity index 78% rename from x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts rename to x-pack/packages/search/shared_ui/src/connector_icon/index.ts index 9978f61efafab..6bb7ae4a7a7b3 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts +++ b/x-pack/packages/search/shared_ui/src/connector_icon/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -export const commonOtelIndexPatterns = ['metrics-*otel*', 'logs-*']; +export * from './connector_icon'; diff --git a/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx b/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx new file mode 100644 index 0000000000000..414fe8d9a73f3 --- /dev/null +++ b/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiStepsHorizontal, EuiStepsHorizontalProps } from '@elastic/eui'; +import { css } from '@emotion/react'; + +interface DecorativeHorizontalStepperProps { + stepCount?: number; +} + +export const DecorativeHorizontalStepper: React.FC = ({ + stepCount = 2, +}) => { + // Generate the steps dynamically based on the stepCount prop + const horizontalSteps: EuiStepsHorizontalProps['steps'] = Array.from( + { length: stepCount }, + (_, index) => ({ + title: '', + status: 'incomplete', + onClick: () => {}, + }) + ); + + return ( + /* This is a presentational component, not intended for user interaction: + pointer-events: none, prevents user interaction with the component. + inert prevents click, focus, and other interactive events, removing it from the tab order. + role="presentation" indicates that this component is purely decorative and not interactive for assistive technologies. + Together, these attributes help ensure the component is accesible. */ + + ); +}; diff --git a/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts b/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts new file mode 100644 index 0000000000000..d29c384929804 --- /dev/null +++ b/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts @@ -0,0 +1,7 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +export * from './decorative_horizontal_stepper'; diff --git a/x-pack/solutions/observability/plugins/streams/common/index.ts b/x-pack/packages/search/shared_ui/src/search_empty_prompt/index.ts similarity index 78% rename from x-pack/solutions/observability/plugins/streams/common/index.ts rename to x-pack/packages/search/shared_ui/src/search_empty_prompt/index.ts index 634994cb87f13..0d4e70203ec31 100644 --- a/x-pack/solutions/observability/plugins/streams/common/index.ts +++ b/x-pack/packages/search/shared_ui/src/search_empty_prompt/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -export type { StreamDefinition, ReadStreamDefinition } from './types'; +export * from './search_empty_prompt'; diff --git a/x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx b/x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx new file mode 100644 index 0000000000000..9099d75c24677 --- /dev/null +++ b/x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx @@ -0,0 +1,90 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { + EuiFlexGroup, + EuiFlexItem, + EuiPanel, + EuiIcon, + EuiTitle, + EuiText, + EuiButtonEmpty, + EuiBadge, +} from '@elastic/eui'; + +interface BackButtonProps { + label: string; + onClickBack: () => void; +} +interface SearchEmptyPromptProps { + actions?: React.ReactNode; + backButton?: BackButtonProps; + body?: React.ReactNode; + description?: string; + icon?: string | React.JSXElementConstructor; + isComingSoon?: boolean; + comingSoonLabel?: string; + title: string; +} + +export const SearchEmptyPrompt: React.FC = ({ + actions, + backButton, + body, + description, + icon, + isComingSoon, + comingSoonLabel, + title, +}) => { + return ( + + + {backButton && ( + + + {backButton.label} + + + )} + {icon && ( + + + + )} + + +

{title}

+ + + {isComingSoon && ( + + {comingSoonLabel} + + )} + {description && ( + + +

{description}

+
+
+ )} + {body && <>{body}} + {actions && ( + + {actions} + + )} + + + ); +}; diff --git a/x-pack/packages/maps/vector_tile_utils/README.md b/x-pack/platform/packages/private/maps/vector_tile_utils/README.md similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/README.md rename to x-pack/platform/packages/private/maps/vector_tile_utils/README.md diff --git a/x-pack/packages/maps/vector_tile_utils/index.ts b/x-pack/platform/packages/private/maps/vector_tile_utils/index.ts similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/index.ts rename to x-pack/platform/packages/private/maps/vector_tile_utils/index.ts diff --git a/x-pack/packages/observability/logs_overview/jest.config.js b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js similarity index 72% rename from x-pack/packages/observability/logs_overview/jest.config.js rename to x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js index 2ee88ee990253..622f668754ea3 100644 --- a/x-pack/packages/observability/logs_overview/jest.config.js +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/observability/logs_overview'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/maps/vector_tile_utils'], }; diff --git a/x-pack/packages/maps/vector_tile_utils/kibana.jsonc b/x-pack/platform/packages/private/maps/vector_tile_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/kibana.jsonc rename to x-pack/platform/packages/private/maps/vector_tile_utils/kibana.jsonc diff --git a/x-pack/packages/maps/vector_tile_utils/package.json b/x-pack/platform/packages/private/maps/vector_tile_utils/package.json similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/package.json rename to x-pack/platform/packages/private/maps/vector_tile_utils/package.json diff --git a/x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts b/x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts rename to x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts diff --git a/x-pack/packages/maps/vector_tile_utils/tsconfig.json b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json similarity index 82% rename from x-pack/packages/maps/vector_tile_utils/tsconfig.json rename to x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json index 7b5a89ce1a8ce..840ed720badb2 100644 --- a/x-pack/packages/maps/vector_tile_utils/tsconfig.json +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx index 3925b51b6c38e..060b0ee997d00 100644 --- a/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx +++ b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx @@ -87,10 +87,6 @@ interface DatePickerWrapperProps { * Width setting to be passed on to `EuiSuperDatePicker` */ width?: EuiSuperDatePickerProps['width']; - /** - * Boolean flag to set use of flex group wrapper - */ - flexGroup?: boolean; /** * Boolean flag to disable the date picker */ @@ -123,7 +119,6 @@ export const DatePickerWrapper: FC = (props) => { isLoading = false, showRefresh, width, - flexGroup = true, isDisabled = false, needsUpdate, onRefresh, @@ -363,6 +358,8 @@ export const DatePickerWrapper: FC = (props) => { ); + const flexGroup = !isTimeRangeSelectorEnabled || isAutoRefreshOnly === true; + const wrapped = flexGroup ? ( {flexItems} diff --git a/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx index da0740f884ea9..f6e0aa1850cb9 100644 --- a/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx +++ b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx @@ -220,7 +220,7 @@ export const FullTimeRangeSelector: FC = (props) => }, [frozenDataPreference, showFrozenDataTierChoice]); return ( - + ): RawConnector => { + return { + id: 'id', + actionTypeId: 'connector-type', + name: 'some connector', + config: {}, + ...parts, + }; +}; + +describe('isSupportedConnectorType', () => { + it('returns true for supported connector types', () => { + expect(isSupportedConnectorType(InferenceConnectorType.OpenAI)).toBe(true); + expect(isSupportedConnectorType(InferenceConnectorType.Bedrock)).toBe(true); + expect(isSupportedConnectorType(InferenceConnectorType.Gemini)).toBe(true); + expect(isSupportedConnectorType(InferenceConnectorType.Inference)).toBe(true); + }); + it('returns false for unsupported connector types', () => { + expect(isSupportedConnectorType('anything-else')).toBe(false); + }); +}); + +describe('isSupportedConnector', () => { + // TODO + + it('returns true for OpenAI connectors', () => { + expect( + isSupportedConnector(createRawConnector({ actionTypeId: InferenceConnectorType.OpenAI })) + ).toBe(true); + }); + + it('returns true for Bedrock connectors', () => { + expect( + isSupportedConnector(createRawConnector({ actionTypeId: InferenceConnectorType.Bedrock })) + ).toBe(true); + }); + + it('returns true for Gemini connectors', () => { + expect( + isSupportedConnector(createRawConnector({ actionTypeId: InferenceConnectorType.Gemini })) + ).toBe(true); + }); + + it('returns true for OpenAI connectors with the right taskType', () => { + expect( + isSupportedConnector( + createRawConnector({ + actionTypeId: InferenceConnectorType.Inference, + config: { taskType: COMPLETION_TASK_TYPE }, + }) + ) + ).toBe(true); + }); + + it('returns false for OpenAI connectors with a bad taskType', () => { + expect( + isSupportedConnector( + createRawConnector({ + actionTypeId: InferenceConnectorType.Inference, + config: { taskType: 'embeddings' }, + }) + ) + ).toBe(false); + }); + + it('returns false for OpenAI connectors without taskType', () => { + expect( + isSupportedConnector( + createRawConnector({ + actionTypeId: InferenceConnectorType.Inference, + config: {}, + }) + ) + ).toBe(false); + }); +}); diff --git a/x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts new file mode 100644 index 0000000000000..da77d973614b5 --- /dev/null +++ b/x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts @@ -0,0 +1,76 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/** + * The list of connector types that can be used with the inference APIs + */ +export enum InferenceConnectorType { + OpenAI = '.gen-ai', + Bedrock = '.bedrock', + Gemini = '.gemini', + Inference = '.inference', +} + +export const COMPLETION_TASK_TYPE = 'completion'; + +const allSupportedConnectorTypes = Object.values(InferenceConnectorType); + +export interface InferenceConnector { + type: InferenceConnectorType; + name: string; + connectorId: string; +} + +/** + * Checks if a given connector type is compatible for inference. + * + * Note: this check is not sufficient to assert if a given connector can be + * used for inference, as `.inference` connectors need additional check logic. + * Please use `isSupportedConnector` instead when possible. + */ +export function isSupportedConnectorType(id: string): id is InferenceConnectorType { + return allSupportedConnectorTypes.includes(id as InferenceConnectorType); +} + +/** + * Checks if a given connector is compatible for inference. + * + * A connector is compatible if: + * 1. its type is in the list of allowed types + * 2. for inference connectors, if its taskType is "completion" + */ +export function isSupportedConnector(connector: RawConnector): connector is RawInferenceConnector { + if (!isSupportedConnectorType(connector.actionTypeId)) { + return false; + } + if (connector.actionTypeId === InferenceConnectorType.Inference) { + const config = connector.config ?? {}; + if (config.taskType !== COMPLETION_TASK_TYPE) { + return false; + } + } + return true; +} + +/** + * Connector types are living in the actions plugin and we can't afford + * having dependencies from this package to some mid-level plugin, + * so we're just using our own connector mixin type. + */ +export interface RawConnector { + id: string; + actionTypeId: string; + name: string; + config?: Record; +} + +interface RawInferenceConnector { + id: string; + actionTypeId: InferenceConnectorType; + name: string; + config?: Record; +} diff --git a/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/v1.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/v1.ts index 5b1a48cf940b7..114ff1aec9568 100644 --- a/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/v1.ts +++ b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/v1.ts @@ -99,4 +99,5 @@ export const edgeDataSchema = schema.object({ source: schema.string(), target: schema.string(), color: colorSchema, + type: schema.maybe(schema.oneOf([schema.literal('solid'), schema.literal('dashed')])), }); diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts index 975896f381443..022663e11d97d 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts @@ -13,6 +13,7 @@ describe('getOpenAndAcknowledgedAlertsQuery', () => { const anonymizationFields = [ { id: 'field1', field: 'field1', allowed: true, anonymized: false }, { id: 'field2', field: 'field2', allowed: true, anonymized: false }, + { id: 'field3', field: 'field3', allowed: false, anonymized: false }, ]; const size = 10; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts index 6f6e196053ca6..c275b9e640c3f 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts @@ -7,6 +7,34 @@ import type { AnonymizationFieldResponse } from '../../schemas/anonymization_fields/bulk_crud_anonymization_fields_route.gen'; +export const DEFAULT_END = 'now'; +export const DEFAULT_START = 'now-24h'; + +interface GetOpenAndAcknowledgedAlertsQuery { + allow_no_indices: boolean; + body: { + fields: Array<{ + field: string; + include_unmapped: boolean; + }>; + query: { + bool: { + filter: Array>; + }; + }; + runtime_mappings: Record; + size: number; + sort: Array<{ + [key: string]: { + order: string; + }; + }>; + _source: boolean; + }; + ignore_unavailable: boolean; + index: string[]; +} + /** * This query returns open and acknowledged (non-building block) alerts in the last 24 hours. * @@ -15,12 +43,18 @@ import type { AnonymizationFieldResponse } from '../../schemas/anonymization_fie export const getOpenAndAcknowledgedAlertsQuery = ({ alertsIndexPattern, anonymizationFields, + end, + filter, size, + start, }: { alertsIndexPattern: string; anonymizationFields: AnonymizationFieldResponse[]; + end?: string | null; + filter?: Record | null; size: number; -}) => ({ + start?: string | null; +}): GetOpenAndAcknowledgedAlertsQuery => ({ allow_no_indices: true, body: { fields: anonymizationFields @@ -53,11 +87,12 @@ export const getOpenAndAcknowledgedAlertsQuery = ({ minimum_should_match: 1, }, }, + ...(filter != null ? [filter] : []), { range: { '@timestamp': { - gte: 'now-24h', - lte: 'now', + gte: start != null ? start : DEFAULT_START, + lte: end != null ? end : DEFAULT_END, format: 'strict_date_optional_time', }, }, diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts index 0e204b4b949ea..35f4b88ef7174 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts @@ -20,5 +20,6 @@ export type AssistantFeatureKey = keyof AssistantFeatures; */ export const defaultAssistantFeatures = Object.freeze({ assistantModelEvaluation: false, + attackDiscoveryAlertFiltering: false, defendInsights: false, }); diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts index e080be1138eb3..a3293ee255dbe 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts @@ -28,11 +28,14 @@ export const AttackDiscoveryPostRequestBody = z.object({ * LLM API configuration. */ apiConfig: ApiConfig, + end: z.string().optional(), + filter: z.object({}).catchall(z.unknown()).optional(), langSmithProject: z.string().optional(), langSmithApiKey: z.string().optional(), model: z.string().optional(), replacements: Replacements.optional(), size: z.number(), + start: z.string().optional(), subAction: z.enum(['invokeAI', 'invokeStream']), }); export type AttackDiscoveryPostRequestBodyInput = z.input; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml index e613fbf841a21..ba85d4e31615b 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml @@ -38,6 +38,11 @@ paths: apiConfig: $ref: '../conversations/common_attributes.schema.yaml#/components/schemas/ApiConfig' description: LLM API configuration. + end: + type: string + filter: + type: object + additionalProperties: true langSmithProject: type: string langSmithApiKey: @@ -48,6 +53,8 @@ paths: $ref: '../conversations/common_attributes.schema.yaml#/components/schemas/Replacements' size: type: number + start: + type: string subAction: type: string enum: diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts index 8777e8d728279..5fc79ab1ce132 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts @@ -19,5 +19,6 @@ import { z } from '@kbn/zod'; export type GetCapabilitiesResponse = z.infer; export const GetCapabilitiesResponse = z.object({ assistantModelEvaluation: z.boolean(), + attackDiscoveryAlertFiltering: z.boolean(), defendInsights: z.boolean(), }); diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml index e9b6ca9697256..e1861f01a4d93 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml @@ -22,10 +22,13 @@ paths: properties: assistantModelEvaluation: type: boolean + attackDiscoveryAlertFiltering: + type: boolean defendInsights: type: boolean required: - assistantModelEvaluation + - attackDiscoveryAlertFiltering - defendInsights '400': description: Generic Error diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts index 41ed86dacd9db..19221ee4c27ac 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts @@ -41,3 +41,10 @@ export { getRawDataOrDefault } from './impl/alerts/helpers/get_raw_data_or_defau /** Return true if the provided size is out of range */ export { sizeIsOutOfRange } from './impl/alerts/helpers/size_is_out_of_range'; + +export { + /** The default (relative) end of the date range (i.e. `now`) */ + DEFAULT_END, + /** The default (relative) start of the date range (i.e. `now-24h`) */ + DEFAULT_START, +} from './impl/alerts/get_open_and_acknowledged_alerts_query'; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx b/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx index 63c8adf37e5b8..c8b08f90f14bc 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx @@ -10,10 +10,14 @@ import { KnowledgeBaseConfig } from '../assistant/types'; export const ATTACK_DISCOVERY_STORAGE_KEY = 'attackDiscovery'; export const DEFEND_INSIGHTS_STORAGE_KEY = 'defendInsights'; export const DEFAULT_ASSISTANT_NAMESPACE = 'elasticAssistantDefault'; +export const END_LOCAL_STORAGE_KEY = 'end'; export const LAST_CONVERSATION_ID_LOCAL_STORAGE_KEY = 'lastConversationId'; +export const FILTERS_LOCAL_STORAGE_KEY = 'filters'; export const MAX_ALERTS_LOCAL_STORAGE_KEY = 'maxAlerts'; export const KNOWLEDGE_BASE_LOCAL_STORAGE_KEY = 'knowledgeBase'; +export const QUERY_LOCAL_STORAGE_KEY = 'query'; export const SHOW_SETTINGS_TOUR_LOCAL_STORAGE_KEY = 'showSettingsTour'; +export const START_LOCAL_STORAGE_KEY = 'start'; export const STREAMING_LOCAL_STORAGE_KEY = 'streaming'; export const TRACE_OPTIONS_SESSION_STORAGE_KEY = 'traceOptions'; export const CONVERSATION_TABLE_SESSION_STORAGE_KEY = 'conversationTable'; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts index 97cd680fae3af..5b9beab5467d7 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts @@ -84,11 +84,19 @@ export { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS, DEFAULT_LATEST_ALERTS, DEFEND_INSIGHTS_STORAGE_KEY, + /** The end of the date range of alerts, sent as context to the LLM */ + END_LOCAL_STORAGE_KEY, + /** Search bar filters that apply to the alerts sent as context to the LLM */ + FILTERS_LOCAL_STORAGE_KEY, KNOWLEDGE_BASE_LOCAL_STORAGE_KEY, /** The local storage key that specifies the maximum number of alerts to send as context */ MAX_ALERTS_LOCAL_STORAGE_KEY, + /** Search bar query that apply to the alerts sent as context to the LLM */ + QUERY_LOCAL_STORAGE_KEY, /** The local storage key that specifies whether the settings tour should be shown */ SHOW_SETTINGS_TOUR_LOCAL_STORAGE_KEY, + /** The start of the date range of alerts, sent as context to the LLM */ + START_LOCAL_STORAGE_KEY, } from './impl/assistant_context/constants'; export { useLoadConnectors } from './impl/connectorland/use_load_connectors'; diff --git a/x-pack/packages/observability/logs_overview/README.md b/x-pack/platform/packages/shared/observability/logs_overview/README.md similarity index 100% rename from x-pack/packages/observability/logs_overview/README.md rename to x-pack/platform/packages/shared/observability/logs_overview/README.md diff --git a/x-pack/packages/observability/logs_overview/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/index.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/index.ts rename to x-pack/platform/packages/shared/observability/logs_overview/index.ts diff --git a/x-pack/platform/packages/shared/observability/logs_overview/jest.config.js b/x-pack/platform/packages/shared/observability/logs_overview/jest.config.js new file mode 100644 index 0000000000000..024fb5ea0b253 --- /dev/null +++ b/x-pack/platform/packages/shared/observability/logs_overview/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/observability/logs_overview'], +}; diff --git a/x-pack/packages/observability/logs_overview/kibana.jsonc b/x-pack/platform/packages/shared/observability/logs_overview/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/logs_overview/kibana.jsonc rename to x-pack/platform/packages/shared/observability/logs_overview/kibana.jsonc diff --git a/x-pack/packages/observability/logs_overview/package.json b/x-pack/platform/packages/shared/observability/logs_overview/package.json similarity index 100% rename from x-pack/packages/observability/logs_overview/package.json rename to x-pack/platform/packages/shared/observability/logs_overview/package.json diff --git a/x-pack/packages/observability/logs_overview/src/components/discover_link/discover_link.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/discover_link.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/discover_link/discover_link.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/discover_link.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/discover_link/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/index.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/discover_link/index.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/discover_link/index.ts diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/index.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/index.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/index.ts diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_control_bar.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_error_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_cell.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_time_cell.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_change_type_cell.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_control_columns.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_count_cell.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_expand_button.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_histogram_cell.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_grid_pattern_cell.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_loading_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_categories/log_categories_result_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_error_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_flyout.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_details_loading_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/log_category_details/log_category_document_examples_table.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/index.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/index.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/index.ts diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_error_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/logs_overview/logs_overview_loading_content.tsx diff --git a/x-pack/packages/observability/logs_overview/src/components/shared/log_category_pattern.tsx b/x-pack/platform/packages/shared/observability/logs_overview/src/components/shared/log_category_pattern.tsx similarity index 100% rename from x-pack/packages/observability/logs_overview/src/components/shared/log_category_pattern.tsx rename to x-pack/platform/packages/shared/observability/logs_overview/src/components/shared/log_category_pattern.tsx diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_documents.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/categorize_logs_service.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/count_documents.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/index.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/index.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/index.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/queries.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/queries.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/queries.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/queries.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/types.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/types.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/categorize_logs_service/types.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/categorize_logs_service/types.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/category_details_service/category_details_service.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/category_details_service.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/category_details_service/category_details_service.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/category_details_service.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/category_details_service/index.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/index.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/category_details_service/index.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/index.ts diff --git a/x-pack/packages/observability/logs_overview/src/services/category_details_service/types.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/types.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/services/category_details_service/types.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/services/category_details_service/types.ts diff --git a/x-pack/packages/observability/logs_overview/src/types.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/types.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/types.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/types.ts diff --git a/x-pack/packages/observability/logs_overview/src/utils/log_category.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/utils/log_category.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/utils/log_category.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/utils/log_category.ts diff --git a/x-pack/packages/observability/logs_overview/src/utils/logs_source.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/utils/logs_source.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/utils/logs_source.ts diff --git a/x-pack/packages/observability/logs_overview/src/utils/xstate5_utils.ts b/x-pack/platform/packages/shared/observability/logs_overview/src/utils/xstate5_utils.ts similarity index 100% rename from x-pack/packages/observability/logs_overview/src/utils/xstate5_utils.ts rename to x-pack/platform/packages/shared/observability/logs_overview/src/utils/xstate5_utils.ts diff --git a/x-pack/packages/observability/logs_overview/tsconfig.json b/x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json similarity index 94% rename from x-pack/packages/observability/logs_overview/tsconfig.json rename to x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json index 610ef8cc0126e..6e645a96df662 100644 --- a/x-pack/packages/observability/logs_overview/tsconfig.json +++ b/x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/plugins/canvas/.eslintrc.json b/x-pack/platform/plugins/private/canvas/.eslintrc.json similarity index 100% rename from x-pack/plugins/canvas/.eslintrc.json rename to x-pack/platform/plugins/private/canvas/.eslintrc.json diff --git a/x-pack/plugins/canvas/.gitignore b/x-pack/platform/plugins/private/canvas/.gitignore similarity index 100% rename from x-pack/plugins/canvas/.gitignore rename to x-pack/platform/plugins/private/canvas/.gitignore diff --git a/x-pack/plugins/canvas/CONTRIBUTING.md b/x-pack/platform/plugins/private/canvas/CONTRIBUTING.md similarity index 95% rename from x-pack/plugins/canvas/CONTRIBUTING.md rename to x-pack/platform/plugins/private/canvas/CONTRIBUTING.md index d8a657ea73c40..a63d9e6422022 100644 --- a/x-pack/plugins/canvas/CONTRIBUTING.md +++ b/x-pack/platform/plugins/private/canvas/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to Canvas -Canvas is a plugin for Kibana, therefore its [contribution guidelines](../../../CONTRIBUTING.md) apply to Canvas development, as well. This document contains Canvas-specific guidelines that extend from the Kibana guidelines. +Canvas is a plugin for Kibana, therefore its [contribution guidelines](../../../../../CONTRIBUTING.md) apply to Canvas development, as well. This document contains Canvas-specific guidelines that extend from the Kibana guidelines. - [Active Migrations](#active_migrations) - [i18n](#i18n) diff --git a/x-pack/plugins/canvas/PLUGINS.mdx b/x-pack/platform/plugins/private/canvas/PLUGINS.mdx similarity index 95% rename from x-pack/plugins/canvas/PLUGINS.mdx rename to x-pack/platform/plugins/private/canvas/PLUGINS.mdx index c0e0bc9c92f5a..a639b58760198 100644 --- a/x-pack/plugins/canvas/PLUGINS.mdx +++ b/x-pack/platform/plugins/private/canvas/PLUGINS.mdx @@ -60,8 +60,8 @@ In your plugin folder, create a new folder `public` and an `index.ts` file withi This `index.ts` will need export a Kibana Plugin. You can use this as a starting point for your plugin. ```typescript -import { Plugin, CoreSetup, CoreStart } from '../../../src/core/public'; -import { CanvasSetup } from '../../../x-pack/plugins/canvas/public'; +import { Plugin, CoreSetup, CoreStart } from '../../../../../src/core/public'; +import { CanvasSetup } from '../../../../../x-pack/plugins/canvas/public'; interface CanvasExampleSetupPlugins { canvas: CanvasSetup; @@ -171,8 +171,8 @@ Now, much like we made the client plugin, we'll make a server plugin. Start by making the `server` directory and an `index.ts` file with a shell for your server plugin: ```typescript -import { Plugin, CoreSetup, CoreStart } from '../../../src/core/server'; -import { ExpressionsServerSetup } from '../../../src/plugins/expressions/server'; +import { Plugin, CoreSetup, CoreStart } from '../../../../../src/core/server'; +import { ExpressionsServerSetup } from '../../../../../src/plugins/expressions/server'; interface CanvasExamplePluginsSetup { expressions: ExpressionsServerSetup; diff --git a/x-pack/plugins/canvas/README.md b/x-pack/platform/plugins/private/canvas/README.md similarity index 100% rename from x-pack/plugins/canvas/README.md rename to x-pack/platform/plugins/private/canvas/README.md diff --git a/x-pack/plugins/canvas/__fixtures__/elasticsearch.js b/x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/elasticsearch.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch.js diff --git a/x-pack/plugins/canvas/__fixtures__/elasticsearch_plugin.js b/x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch_plugin.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/elasticsearch_plugin.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch_plugin.js diff --git a/x-pack/plugins/canvas/__fixtures__/function_specs.ts b/x-pack/platform/plugins/private/canvas/__fixtures__/function_specs.ts similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/function_specs.ts rename to x-pack/platform/plugins/private/canvas/__fixtures__/function_specs.ts diff --git a/x-pack/plugins/canvas/__fixtures__/kibana.js b/x-pack/platform/plugins/private/canvas/__fixtures__/kibana.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/kibana.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/kibana.js diff --git a/x-pack/plugins/canvas/__fixtures__/workpads.ts b/x-pack/platform/plugins/private/canvas/__fixtures__/workpads.ts similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/workpads.ts rename to x-pack/platform/plugins/private/canvas/__fixtures__/workpads.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/canvas_addons.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/canvas_addons.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/canvas_addons.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/canvas_addons.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/area_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/area_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/bubble_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/bubble_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/filter_debug/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/filter_debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/filter_debug/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/filter_debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/heatmap/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/heatmap/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/heatmap/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/heatmap/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/line_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/line_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/markdown/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/markdown/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie_vis/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie_vis/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie_vis/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie_vis/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_gauge/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_gauge/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_wheel/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_wheel/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/repeat_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/repeat_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/reveal_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/reveal_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/shape/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/shape/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/table/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/table/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/tag_cloud/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/tag_cloud/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/tag_cloud/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/tag_cloud/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/time_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/time_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/location.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/location.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/urlparam.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axisConfig.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axisConfig.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axis_config.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axis_config.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axis_config.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axis_config.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/containerStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/containerStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/container_style.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/container_style.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/container_style.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/container_style.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdownControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdownControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/map_center.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/map_center.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/map_center.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/map_center.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/seriesStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/seriesStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/series_style.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/series_style.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/series_style.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/series_style.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/time_range.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/time_range.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/time_range.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/time_range.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/ci.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/ci.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/shirts.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/shirts.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/plugin.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/plugin.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/plugin.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/plugin.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/render.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/render.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/render.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/render.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/core.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/core.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/core.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/core.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/external.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/external.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/external.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/external.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plot.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plot.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/size.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/size.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/text.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/text.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/table.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/table.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/table.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/table.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/text.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/text.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/text.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/text.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/editor.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/editor.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/editor.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/editor.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/filter_group.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/filter_group.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/percentage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/percentage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/range.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/range.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/select.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/select.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/string.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/string.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/textarea.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/textarea.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/toggle.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/toggle.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/demodata.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/demodata.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/esdocs.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/esdocs.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/essql.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/essql.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/timelion.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/timelion.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/math.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/math.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/metric_vis.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/metric_vis.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/partition_labels.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/partition_labels.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/partition_labels.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/partition_labels.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/point_series.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/point_series.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/tagcloud.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/tagcloud.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/presentation.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/presentation.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/report.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/report.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatdate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatdate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/rounddate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/rounddate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/sort.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/sort.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/dropdownControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/dropdownControl.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/getCell.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/getCell.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/heatmap.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/heatmap.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/markdown.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/markdown.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/metric.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/metric.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie_vis.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie_vis.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie_vis.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie_vis.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/plot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/plot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/progress.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/progress.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/render.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/render.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/repeatImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/repeatImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/revealImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/revealImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/table.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/table.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/timefilterControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/timefilterControl.js diff --git a/x-pack/plugins/canvas/common/functions/filters.ts b/x-pack/platform/plugins/private/canvas/common/functions/filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/functions/filters.ts rename to x-pack/platform/plugins/private/canvas/common/functions/filters.ts diff --git a/x-pack/plugins/canvas/common/functions/index.ts b/x-pack/platform/plugins/private/canvas/common/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/functions/index.ts rename to x-pack/platform/plugins/private/canvas/common/functions/index.ts diff --git a/x-pack/plugins/canvas/common/index.ts b/x-pack/platform/plugins/private/canvas/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/index.ts rename to x-pack/platform/plugins/private/canvas/common/index.ts diff --git a/x-pack/plugins/canvas/common/lib/build_bool_array.js b/x-pack/platform/plugins/private/canvas/common/lib/build_bool_array.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_bool_array.js rename to x-pack/platform/plugins/private/canvas/common/lib/build_bool_array.js diff --git a/x-pack/plugins/canvas/common/lib/build_embeddable_filters.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_embeddable_filters.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.test.ts diff --git a/x-pack/plugins/canvas/common/lib/build_embeddable_filters.ts b/x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_embeddable_filters.ts rename to x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.ts diff --git a/x-pack/plugins/canvas/common/lib/constants.ts b/x-pack/platform/plugins/private/canvas/common/lib/constants.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/constants.ts rename to x-pack/platform/plugins/private/canvas/common/lib/constants.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/index.ts b/x-pack/platform/plugins/private/canvas/common/lib/datatable/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/index.ts rename to x-pack/platform/plugins/private/canvas/common/lib/datatable/index.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/query.ts b/x-pack/platform/plugins/private/canvas/common/lib/datatable/query.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/query.ts rename to x-pack/platform/plugins/private/canvas/common/lib/datatable/query.ts diff --git a/x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts b/x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts new file mode 100644 index 0000000000000..7cadd254ca3ed --- /dev/null +++ b/x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const encode = (input: object) => Buffer.from(JSON.stringify(input)).toString('base64'); +export const decode = (serializedInput: string) => + JSON.parse(Buffer.from(serializedInput, 'base64').toString()); diff --git a/x-pack/plugins/canvas/common/lib/errors.test.js b/x-pack/platform/plugins/private/canvas/common/lib/errors.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/errors.test.js diff --git a/x-pack/plugins/canvas/common/lib/errors.ts b/x-pack/platform/plugins/private/canvas/common/lib/errors.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.ts rename to x-pack/platform/plugins/private/canvas/common/lib/errors.ts diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.test.js b/x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.test.js diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.ts b/x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.ts rename to x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.ts diff --git a/x-pack/plugins/canvas/common/lib/fetch.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/fetch.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fetch.test.ts diff --git a/x-pack/plugins/canvas/common/lib/fetch.ts b/x-pack/platform/plugins/private/canvas/common/lib/fetch.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fetch.ts diff --git a/x-pack/plugins/canvas/common/lib/filters.js b/x-pack/platform/plugins/private/canvas/common/lib/filters.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/filters.js rename to x-pack/platform/plugins/private/canvas/common/lib/filters.js diff --git a/x-pack/plugins/canvas/common/lib/fonts.ts b/x-pack/platform/plugins/private/canvas/common/lib/fonts.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fonts.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fonts.ts diff --git a/x-pack/plugins/canvas/common/lib/get_es_filter.js b/x-pack/platform/plugins/private/canvas/common/lib/get_es_filter.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_es_filter.js rename to x-pack/platform/plugins/private/canvas/common/lib/get_es_filter.js diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_field_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_field_type.test.ts diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_field_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_field_type.ts diff --git a/x-pack/plugins/canvas/common/lib/get_id.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_id.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_id.ts diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.test.js b/x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.test.js diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.ts diff --git a/x-pack/plugins/canvas/common/lib/handlebars.js b/x-pack/platform/plugins/private/canvas/common/lib/handlebars.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.js rename to x-pack/platform/plugins/private/canvas/common/lib/handlebars.js diff --git a/x-pack/plugins/canvas/common/lib/handlebars.test.js b/x-pack/platform/plugins/private/canvas/common/lib/handlebars.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/handlebars.test.js diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.test.ts diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.ts b/x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.ts rename to x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.ts diff --git a/x-pack/plugins/canvas/common/lib/index.ts b/x-pack/platform/plugins/private/canvas/common/lib/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/index.ts rename to x-pack/platform/plugins/private/canvas/common/lib/index.ts diff --git a/x-pack/plugins/canvas/common/lib/palettes.ts b/x-pack/platform/plugins/private/canvas/common/lib/palettes.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/palettes.ts rename to x-pack/platform/plugins/private/canvas/common/lib/palettes.ts diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.test.ts diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.ts b/x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.ts rename to x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.ts diff --git a/x-pack/plugins/canvas/common/lib/request/build_bool_array.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/build_bool_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/build_bool_array.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/build_bool_array.ts diff --git a/x-pack/plugins/canvas/common/lib/request/build_es_request.js b/x-pack/platform/plugins/private/canvas/common/lib/request/build_es_request.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/build_es_request.js rename to x-pack/platform/plugins/private/canvas/common/lib/request/build_es_request.js diff --git a/x-pack/plugins/canvas/common/lib/request/filters.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/filters.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/filters.ts diff --git a/x-pack/plugins/canvas/common/lib/request/format_response.js b/x-pack/platform/plugins/private/canvas/common/lib/request/format_response.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/format_response.js rename to x-pack/platform/plugins/private/canvas/common/lib/request/format_response.js diff --git a/x-pack/plugins/canvas/common/lib/request/get_es_filter.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/get_es_filter.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/get_es_filter.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/get_es_filter.ts diff --git a/x-pack/plugins/canvas/common/lib/request/normalize_type.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/normalize_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/normalize_type.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/normalize_type.ts diff --git a/x-pack/plugins/canvas/common/lib/time_units.ts b/x-pack/platform/plugins/private/canvas/common/lib/time_units.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/time_units.ts rename to x-pack/platform/plugins/private/canvas/common/lib/time_units.ts diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/unquote_string.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/unquote_string.test.ts diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.ts b/x-pack/platform/plugins/private/canvas/common/lib/unquote_string.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.ts rename to x-pack/platform/plugins/private/canvas/common/lib/unquote_string.ts diff --git a/x-pack/plugins/canvas/common/locator.ts b/x-pack/platform/plugins/private/canvas/common/locator.ts similarity index 100% rename from x-pack/plugins/canvas/common/locator.ts rename to x-pack/platform/plugins/private/canvas/common/locator.ts diff --git a/x-pack/plugins/canvas/i18n/README.md b/x-pack/platform/plugins/private/canvas/i18n/README.md similarity index 100% rename from x-pack/plugins/canvas/i18n/README.md rename to x-pack/platform/plugins/private/canvas/i18n/README.md diff --git a/x-pack/plugins/canvas/i18n/capabilities.ts b/x-pack/platform/plugins/private/canvas/i18n/capabilities.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/capabilities.ts rename to x-pack/platform/plugins/private/canvas/i18n/capabilities.ts diff --git a/x-pack/plugins/canvas/i18n/constants.ts b/x-pack/platform/plugins/private/canvas/i18n/constants.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/constants.ts rename to x-pack/platform/plugins/private/canvas/i18n/constants.ts diff --git a/x-pack/plugins/canvas/i18n/elements/apply_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/apply_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/apply_strings.ts diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.test.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/element_strings.test.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.test.ts diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/element_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.ts diff --git a/x-pack/plugins/canvas/i18n/elements/index.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/index.ts diff --git a/x-pack/plugins/canvas/i18n/errors.ts b/x-pack/platform/plugins/private/canvas/i18n/errors.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/errors.ts rename to x-pack/platform/plugins/private/canvas/i18n/errors.ts diff --git a/x-pack/plugins/canvas/i18n/expression_types.ts b/x-pack/platform/plugins/private/canvas/i18n/expression_types.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/expression_types.ts rename to x-pack/platform/plugins/private/canvas/i18n/expression_types.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/all.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/all.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/all.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/all.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/alter_column.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/alter_column.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/any.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/any.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/any.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/any.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/as.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/as.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/as.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/as.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/asset.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/asset.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/asset.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/asset.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/axis_config.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/case.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/case.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/case.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/case.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/clear.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/clear.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/clear.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/clear.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/columns.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/columns.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/columns.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/columns.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/compare.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/compare.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/compare.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/compare.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/container_style.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/container_style.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/container_style.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/context.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/context.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/context.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/context.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/csv.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/csv.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/csv.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/csv.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/date.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/date.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/date.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/date.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/demodata.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/demodata.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/demodata.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/do.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/do.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/do.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/do.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/dropdown_control.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/dropdown_control.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/embeddable.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/eq.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/eq.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/eq.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/eq.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/escount.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/escount.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/escount.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/escount.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/esdocs.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/exactly.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/exactly.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/filterrows.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filters.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/filters.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/filters.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/filters.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatdate.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatnumber.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/get_cell.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/get_cell.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gt.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/gt.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/gt.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/gt.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gte.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/gte.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/gte.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/gte.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/head.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/head.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/head.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/head.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/if.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/if.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/if.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/if.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/join_rows.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/join_rows.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/location.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/location.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/location.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/location.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lt.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/lt.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/lt.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/lt.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lte.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/lte.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/lte.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/lte.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/map_center.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/map_center.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/map_center.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/markdown.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/markdown.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/neq.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/neq.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/neq.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/neq.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pie.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/pie.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/pie.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/pie.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/plot.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/plot.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/plot.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/plot.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/ply.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/ply.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/ply.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/ply.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/pointseries.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/pointseries.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/render.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/render.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/render.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/render.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/replace.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/replace.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/replace.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/replace.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/rounddate.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/row_count.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/row_count.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/row_count.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_lens.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_lens.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_map.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_map.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_search.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_search.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_visualization.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_visualization.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/series_style.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/series_style.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/series_style.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/sort.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/sort.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/sort.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/sort.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/static_column.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/static_column.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/static_column.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/string.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/string.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/string.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/string.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/switch.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/switch.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/switch.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/switch.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/table.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/table.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/table.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/table.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/tail.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/tail.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/tail.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/tail.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/time_range.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/time_range.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/time_range.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter_control.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter_control.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timelion.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timelion.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timelion.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/to.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/to.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/to.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/to.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/urlparam.ts diff --git a/x-pack/plugins/canvas/i18n/functions/function_errors.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/function_errors.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/function_errors.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/function_errors.ts diff --git a/x-pack/plugins/canvas/i18n/functions/function_help.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/function_help.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/function_help.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/function_help.ts diff --git a/x-pack/plugins/canvas/i18n/functions/index.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/index.ts diff --git a/x-pack/plugins/canvas/i18n/index.ts b/x-pack/platform/plugins/private/canvas/i18n/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/index.ts diff --git a/x-pack/plugins/canvas/i18n/lib.ts b/x-pack/platform/plugins/private/canvas/i18n/lib.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/lib.ts rename to x-pack/platform/plugins/private/canvas/i18n/lib.ts diff --git a/x-pack/plugins/canvas/i18n/renderers.ts b/x-pack/platform/plugins/private/canvas/i18n/renderers.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/renderers.ts rename to x-pack/platform/plugins/private/canvas/i18n/renderers.ts diff --git a/x-pack/plugins/canvas/i18n/shortcuts.ts b/x-pack/platform/plugins/private/canvas/i18n/shortcuts.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/shortcuts.ts rename to x-pack/platform/plugins/private/canvas/i18n/shortcuts.ts diff --git a/x-pack/plugins/canvas/i18n/tags.ts b/x-pack/platform/plugins/private/canvas/i18n/tags.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/tags.ts rename to x-pack/platform/plugins/private/canvas/i18n/tags.ts diff --git a/x-pack/plugins/canvas/i18n/templates/apply_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/apply_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/apply_strings.ts diff --git a/x-pack/plugins/canvas/i18n/templates/index.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/index.ts diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/template_strings.test.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.test.ts diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/template_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.ts diff --git a/x-pack/plugins/canvas/i18n/transitions.ts b/x-pack/platform/plugins/private/canvas/i18n/transitions.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/transitions.ts rename to x-pack/platform/plugins/private/canvas/i18n/transitions.ts diff --git a/x-pack/plugins/canvas/i18n/ui.ts b/x-pack/platform/plugins/private/canvas/i18n/ui.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/ui.ts rename to x-pack/platform/plugins/private/canvas/i18n/ui.ts diff --git a/x-pack/plugins/canvas/i18n/units.ts b/x-pack/platform/plugins/private/canvas/i18n/units.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/units.ts rename to x-pack/platform/plugins/private/canvas/i18n/units.ts diff --git a/x-pack/plugins/canvas/images/canvas.png b/x-pack/platform/plugins/private/canvas/images/canvas.png similarity index 100% rename from x-pack/plugins/canvas/images/canvas.png rename to x-pack/platform/plugins/private/canvas/images/canvas.png diff --git a/x-pack/plugins/canvas/images/canvas.svg b/x-pack/platform/plugins/private/canvas/images/canvas.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas.svg rename to x-pack/platform/plugins/private/canvas/images/canvas.svg diff --git a/x-pack/plugins/canvas/images/canvas_blank.svg b/x-pack/platform/plugins/private/canvas/images/canvas_blank.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas_blank.svg rename to x-pack/platform/plugins/private/canvas/images/canvas_blank.svg diff --git a/x-pack/plugins/canvas/images/icon_black.svg b/x-pack/platform/plugins/private/canvas/images/icon_black.svg similarity index 100% rename from x-pack/plugins/canvas/images/icon_black.svg rename to x-pack/platform/plugins/private/canvas/images/icon_black.svg diff --git a/x-pack/plugins/canvas/images/logo.gif b/x-pack/platform/plugins/private/canvas/images/logo.gif similarity index 100% rename from x-pack/plugins/canvas/images/logo.gif rename to x-pack/platform/plugins/private/canvas/images/logo.gif diff --git a/x-pack/plugins/canvas/jest.config.js b/x-pack/platform/plugins/private/canvas/jest.config.js similarity index 60% rename from x-pack/plugins/canvas/jest.config.js rename to x-pack/platform/plugins/private/canvas/jest.config.js index f7a9224795b4a..5198fd00fb35b 100644 --- a/x-pack/plugins/canvas/jest.config.js +++ b/x-pack/platform/plugins/private/canvas/jest.config.js @@ -7,15 +7,15 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/canvas'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/canvas'], transform: { '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', }, - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/canvas', + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/canvas', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', ], - setupFiles: ['/x-pack/plugins/canvas/jest_setup.ts'], + setupFiles: ['/x-pack/platform/plugins/private/canvas/jest_setup.ts'], }; diff --git a/x-pack/plugins/canvas/jest_setup.ts b/x-pack/platform/plugins/private/canvas/jest_setup.ts similarity index 100% rename from x-pack/plugins/canvas/jest_setup.ts rename to x-pack/platform/plugins/private/canvas/jest_setup.ts diff --git a/x-pack/plugins/canvas/kibana.jsonc b/x-pack/platform/plugins/private/canvas/kibana.jsonc similarity index 100% rename from x-pack/plugins/canvas/kibana.jsonc rename to x-pack/platform/plugins/private/canvas/kibana.jsonc diff --git a/x-pack/plugins/canvas/public/application.tsx b/x-pack/platform/plugins/private/canvas/public/application.tsx similarity index 100% rename from x-pack/plugins/canvas/public/application.tsx rename to x-pack/platform/plugins/private/canvas/public/application.tsx diff --git a/x-pack/plugins/canvas/public/components/app/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/app/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/app/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/app/index.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add/index.ts b/x-pack/platform/plugins/private/canvas/public/components/arg_add/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/index.ts diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/advanced_failure.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/advanced_failure.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.scss diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_label.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_label.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_label.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_label.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_simple_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_simple_form.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_template_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_template_form.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_form/index.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/index.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/index.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/pending_arg_value.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/pending_arg_value.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/simple_failure.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/simple_failure.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/simple_failure.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/simple_failure.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/assets.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/assets.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/assets.ts diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.component.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.component.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.scss diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.ts diff --git a/x-pack/plugins/canvas/public/components/asset_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.scss diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/canvas_loading/canvas_loading.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/canvas_loading/canvas_loading.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/canvas_loading/canvas_loading.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/canvas_loading/canvas_loading.component.tsx diff --git a/x-pack/plugins/canvas/public/components/canvas_loading/index.ts b/x-pack/platform/plugins/private/canvas/public/components/canvas_loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/canvas_loading/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/canvas_loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.scss b/x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.scss rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.scss diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx b/x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.tsx diff --git a/x-pack/plugins/canvas/public/components/clipboard/index.ts b/x-pack/platform/plugins/private/canvas/public/components/clipboard/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.scss b/x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.scss diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_dot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_manager/color_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/color_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.scss b/x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.scss diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_palette/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.scss diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/confirm_modal/confirm_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/confirm_modal/confirm_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/index.ts b/x-pack/platform/plugins/private/canvas/public/components/confirm_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/confirm_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.scss diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/index.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.scss b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.scss rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_component.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_component.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_selector.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_selector.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_selector.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_selector.js diff --git a/x-pack/plugins/canvas/public/components/datasource/index.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/index.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/no_datasource.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/no_datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/no_datasource.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/no_datasource.js diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.scss b/x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.scss rename to x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.scss diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.tsx b/x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.tsx rename to x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.tsx diff --git a/x-pack/plugins/canvas/public/components/datatable/index.ts b/x-pack/platform/plugins/private/canvas/public/components/datatable/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/datatable/index.ts diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.scss diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/dom_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/download/download.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/download/download.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/download/download.test.tsx diff --git a/x-pack/plugins/canvas/public/components/download/download.tsx b/x-pack/platform/plugins/private/canvas/public/components/download/download.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.tsx rename to x-pack/platform/plugins/private/canvas/public/components/download/download.tsx diff --git a/x-pack/plugins/canvas/public/components/download/index.ts b/x-pack/platform/plugins/private/canvas/public/components/download/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/download/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/download/index.ts diff --git a/x-pack/plugins/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_card/__stories__/element_card.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/element_card.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__stories__/element_card.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/element_card.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.scss b/x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.scss rename to x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.scss diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/element_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_config/element_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/element_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_config/element_config.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_config/index.js diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.scss b/x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.scss rename to x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.scss diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_element_type.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_element_type.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_element_type.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_element_type.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_expression.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_expression.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_expression.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_expression.tsx diff --git a/x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js b/x-pack/platform/plugins/private/canvas/public/components/element_share_container/element_share_container.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js rename to x-pack/platform/plugins/private/canvas/public/components/element_share_container/element_share_container.js diff --git a/x-pack/plugins/canvas/public/components/element_share_container/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_share_container/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_share_container/index.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js b/x-pack/platform/plugins/private/canvas/public/components/element_wrapper/element_wrapper.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js rename to x-pack/platform/plugins/private/canvas/public/components/element_wrapper/element_wrapper.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_wrapper/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_wrapper/index.js diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.component.tsx diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.tsx b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.tsx rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.tsx diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/index.ts b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/index.ts diff --git a/x-pack/plugins/canvas/public/components/enhance/error_boundary.tsx b/x-pack/platform/plugins/private/canvas/public/components/enhance/error_boundary.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/error_boundary.tsx rename to x-pack/platform/plugins/private/canvas/public/components/enhance/error_boundary.tsx diff --git a/x-pack/plugins/canvas/public/components/enhance/stateful_prop.js b/x-pack/platform/plugins/private/canvas/public/components/enhance/stateful_prop.js similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/stateful_prop.js rename to x-pack/platform/plugins/private/canvas/public/components/enhance/stateful_prop.js diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/es_field_select/es_field_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_field_select/es_field_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/es_field_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_field_select/es_field_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_field_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_field_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_field_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.component.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap b/x-pack/platform/plugins/private/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.scss b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.scss diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.test.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.ts b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.ts rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.ts diff --git a/x-pack/plugins/canvas/public/components/export_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/export_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/export_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/expression/element_not_selected.js b/x-pack/platform/plugins/private/canvas/public/components/expression/element_not_selected.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/element_not_selected.js rename to x-pack/platform/plugins/private/canvas/public/components/expression/element_not_selected.js diff --git a/x-pack/plugins/canvas/public/components/expression/expression.scss b/x-pack/platform/plugins/private/canvas/public/components/expression/expression.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.scss rename to x-pack/platform/plugins/private/canvas/public/components/expression/expression.scss diff --git a/x-pack/plugins/canvas/public/components/expression/expression.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression/expression.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression/expression.tsx diff --git a/x-pack/plugins/canvas/public/components/expression/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression/index.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression_input/expression_input.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/expression_input.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/index.ts b/x-pack/platform/plugins/private/canvas/public/components/expression_input/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/index.ts diff --git a/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx b/x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.tsx diff --git a/x-pack/plugins/canvas/public/components/flyouts/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/flyouts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/flyouts/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/flyouts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/font_picker/font_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/font_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/font_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/format_select/format_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/format_select/format_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/format_select/format_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/format_select/format_select.tsx diff --git a/x-pack/plugins/canvas/public/components/format_select/index.ts b/x-pack/platform/plugins/private/canvas/public/components/format_select/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/format_select/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/format_select/index.ts diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.scss diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.ts b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.ts rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.ts diff --git a/x-pack/plugins/canvas/public/components/fullscreen/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/index.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.scss b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.scss rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.scss diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_component.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_error.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_error.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_pending.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_pending.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_unknown.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_unknown.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_unknown.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_unknown.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/index.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js b/x-pack/platform/plugins/private/canvas/public/components/function_form_list/function_form_list.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js rename to x-pack/platform/plugins/private/canvas/public/components/function_form_list/function_form_list.js diff --git a/x-pack/plugins/canvas/public/components/function_form_list/index.js b/x-pack/platform/plugins/private/canvas/public/components/function_form_list/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/index.js rename to x-pack/platform/plugins/private/canvas/public/components/function_form_list/index.js diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/help_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/help_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/__snapshots__/home.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/__snapshots__/home.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/__snapshots__/home.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/__snapshots__/home.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/home.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/home.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/home.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.tsx diff --git a/x-pack/plugins/canvas/public/components/home/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_clone_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_clone_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_clone_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_clone_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_create_from_template.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_from_template.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_create_from_template.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_from_template.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_create_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_create_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_delete_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_delete_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_delete_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_delete_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_find_templates.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_templates.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_find_templates.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_templates.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_find_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_find_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_import_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_import_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_import_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_import_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/loading.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/loading.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.scss b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.scss rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.scss diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_create.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_create.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_create.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_create.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.scss b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.scss diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.tsx b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/hooks/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/index.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/use_canvas_api.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/use_canvas_api.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/use_canvas_api.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/use_canvas_api.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/index.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_download_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_download_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/item_grid/index.ts b/x-pack/platform/plugins/private/canvas/public/components/item_grid/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/index.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx b/x-pack/platform/plugins/private/canvas/public/components/item_grid/item_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/item_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/alignment_guide.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/alignment_guide.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/alignment_guide.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/alignment_guide.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/border_connection.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_connection.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/border_connection.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_connection.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/border_resize_handle.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_resize_handle.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/border_resize_handle.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_resize_handle.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/dragbox_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/dragbox_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/dragbox_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/dragbox_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/hover_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/hover_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/hover_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/hover_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/index.ts b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/index.ts diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/layout_annotations.scss b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/layout_annotations.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/layout_annotations.scss rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/layout_annotations.scss diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/rotation_handle.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/rotation_handle.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/rotation_handle.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/rotation_handle.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/tooltip_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/tooltip_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/tooltip_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/tooltip_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/loading/index.ts b/x-pack/platform/plugins/private/canvas/public/components/loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/loading/loading.scss b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.scss rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.scss diff --git a/x-pack/plugins/canvas/public/components/loading/loading.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.test.tsx diff --git a/x-pack/plugins/canvas/public/components/loading/loading.tsx b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.tsx rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/page_config/index.js b/x-pack/platform/plugins/private/canvas/public/components/page_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/index.js rename to x-pack/platform/plugins/private/canvas/public/components/page_config/index.js diff --git a/x-pack/plugins/canvas/public/components/page_config/page_config.js b/x-pack/platform/plugins/private/canvas/public/components/page_config/page_config.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/page_config.js rename to x-pack/platform/plugins/private/canvas/public/components/page_config/page_config.js diff --git a/x-pack/plugins/canvas/public/components/page_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/page_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.component.tsx diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.scss b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.scss rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.scss diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/page_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.component.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/paginate/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/paginate/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/paginate/index.tsx diff --git a/x-pack/plugins/canvas/public/components/paginate/paginate.tsx b/x-pack/platform/plugins/private/canvas/public/components/paginate/paginate.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/paginate.tsx rename to x-pack/platform/plugins/private/canvas/public/components/paginate/paginate.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/types.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/types.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/utils.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/types.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/types.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/utils.ts diff --git a/x-pack/plugins/canvas/public/components/popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/popover/popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/popover/popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/popover/popover.tsx diff --git a/x-pack/plugins/canvas/public/components/positionable/index.ts b/x-pack/platform/plugins/private/canvas/public/components/positionable/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/positionable/index.ts diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.scss b/x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.scss rename to x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.scss diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.tsx b/x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.tsx rename to x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.tsx diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/index.ts b/x-pack/platform/plugins/private/canvas/public/components/render_to_dom/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/render_to_dom/index.ts diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.tsx b/x-pack/platform/plugins/private/canvas/public/components/render_to_dom/render_to_dom.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.tsx rename to x-pack/platform/plugins/private/canvas/public/components/render_to_dom/render_to_dom.tsx diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/index.ts b/x-pack/platform/plugins/private/canvas/public/components/render_with_fn/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/render_with_fn/index.ts diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.tsx b/x-pack/platform/plugins/private/canvas/public/components/render_with_fn/render_with_fn.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.tsx rename to x-pack/platform/plugins/private/canvas/public/components/render_with_fn/render_with_fn.tsx diff --git a/x-pack/plugins/canvas/public/components/routing/index.ts b/x-pack/platform/plugins/private/canvas/public/components/routing/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/routing/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/routing/index.ts diff --git a/x-pack/plugins/canvas/public/components/routing/routing_link.tsx b/x-pack/platform/plugins/private/canvas/public/components/routing/routing_link.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/routing/routing_link.tsx rename to x-pack/platform/plugins/private/canvas/public/components/routing/routing_link.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/element_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/element_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/element_grid.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/element_grid.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/index.ts b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.scss diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/index.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.scss diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/index.ts b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/index.ts diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/filter_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/filter_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/filter_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/filter_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/general_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/general_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/general_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/general_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/global_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/global_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/global_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/global_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/group_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/group_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/multi_element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/multi_element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.scss rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/index.ts diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section.js diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section_title.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section_title.js diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag/__stories__/tag.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/tag.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__stories__/tag.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/tag.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/tag.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/tag.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/tag.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/tag.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/tag_list.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/tag_list.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.ts b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/font_sizes.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.ts rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/font_sizes.ts diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/text_style_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/text_style_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/index.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/index.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.component.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.scss b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.scss rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/index.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/index.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.tsx diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/index.ts b/x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/index.ts diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx b/x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/tooltip_icon.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/tooltip_icon.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/delete_var.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/delete_var.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/delete_var.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/delete_var.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/edit_var.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/edit_var.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/edit_var.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/edit_var.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/var_config.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/var_config.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/var_config.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/var_config.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/delete_var.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/delete_var.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/delete_var.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/delete_var.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/edit_var.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/edit_var.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/index.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/var_config.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_config.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/var_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/var_panel.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_panel.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_panel.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_panel.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/var_value_field.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_value_field.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_value_field.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_value_field.tsx diff --git a/x-pack/plugins/canvas/public/components/with_debounce_arg/index.ts b/x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/with_debounce_arg/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/index.ts diff --git a/x-pack/plugins/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx b/x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx rename to x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.scss diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad_shortcuts.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad_shortcuts.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad_shortcuts.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad_shortcuts.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.test.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_config/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/elements.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/elements.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/elements.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/elements.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/default_filter.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/default_filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/default_filter.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/default_filter.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/time_filter.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/time_filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/time_filter.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/time_filter.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filters_group.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filters_group.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filters_group.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filters_group.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/types.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/types.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx similarity index 50% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx index dc638adb979ed..22eb31d1a9086 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx +++ b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx @@ -8,54 +8,9 @@ import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import React from 'react'; -import { EmbeddableFactoryDefinition, IEmbeddable } from '@kbn/embeddable-plugin/public'; import { BaseVisType, VisTypeAlias } from '@kbn/visualizations-plugin/public'; import { EditorMenu } from '../editor_menu.component'; -const testFactories: EmbeddableFactoryDefinition[] = [ - { - type: 'ml_anomaly_swimlane', - getDisplayName: () => 'Anomaly swimlane', - getIconType: () => '', - getDescription: () => 'Description for anomaly swimlane', - isEditable: () => Promise.resolve(true), - latestVersion: '1.0.0', - create: () => Promise.resolve({ id: 'swimlane_embeddable' } as IEmbeddable), - grouping: [ - { - id: 'ml', - getDisplayName: () => 'machine learning', - getIconType: () => 'machineLearningApp', - }, - ], - }, - { - type: 'ml_anomaly_chart', - getDisplayName: () => 'Anomaly chart', - getIconType: () => '', - getDescription: () => 'Description for anomaly chart', - isEditable: () => Promise.resolve(true), - create: () => Promise.resolve({ id: 'anomaly_chart_embeddable' } as IEmbeddable), - latestVersion: '1.0.0', - grouping: [ - { - id: 'ml', - getDisplayName: () => 'machine learning', - getIconType: () => 'machineLearningApp', - }, - ], - }, - { - type: 'log_stream', - getDisplayName: () => 'Log stream', - getIconType: () => '', - getDescription: () => 'Description for log stream', - latestVersion: '1.0.0', - isEditable: () => Promise.resolve(true), - create: () => Promise.resolve({ id: 'anomaly_chart_embeddable' } as IEmbeddable), - }, -]; - const testVisTypes: BaseVisType[] = [ { title: 'TSVB', icon: '', description: 'Description of TSVB', name: 'tsvb' } as BaseVisType, { @@ -95,11 +50,9 @@ const testVisTypeAliases: VisTypeAlias[] = [ storiesOf('components/WorkpadHeader/EditorMenu', module).add('default', () => ( action('createNewVisType')} - createNewEmbeddableFromFactory={() => action('createNewEmbeddableFromFactory')} createNewEmbeddableFromAction={() => action('createNewEmbeddableFromAction')} /> )); diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx similarity index 58% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx index 5c424961d7f50..188898798dd7a 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx +++ b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx @@ -7,12 +7,7 @@ import React, { FC, useCallback } from 'react'; -import { - EuiContextMenu, - EuiContextMenuItemIcon, - EuiContextMenuPanelItemDescriptor, -} from '@elastic/eui'; -import { EmbeddableFactoryDefinition } from '@kbn/embeddable-plugin/public'; +import { EuiContextMenu, EuiContextMenuPanelItemDescriptor } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { ToolbarPopover } from '@kbn/shared-ux-button-toolbar'; import { Action, ActionExecutionContext } from '@kbn/ui-actions-plugin/public/actions'; @@ -28,21 +23,11 @@ const strings = { }), }; -interface FactoryGroup { - id: string; - appName: string; - icon: EuiContextMenuItemIcon; - panelId: number; - factories: EmbeddableFactoryDefinition[]; -} - interface Props { - factories: EmbeddableFactoryDefinition[]; addPanelActions: Action[]; promotedVisTypes: BaseVisType[]; visTypeAliases: VisTypeAlias[]; createNewVisType: (visType?: BaseVisType | VisTypeAlias) => () => void; - createNewEmbeddableFromFactory: (factory: EmbeddableFactoryDefinition) => () => void; createNewEmbeddableFromAction: ( action: Action, context: ActionExecutionContext, @@ -51,46 +36,14 @@ interface Props { } export const EditorMenu: FC = ({ - factories, addPanelActions, promotedVisTypes, visTypeAliases, createNewVisType, createNewEmbeddableFromAction, - createNewEmbeddableFromFactory, }: Props) => { - const factoryGroupMap: Record = {}; - const ungroupedFactories: EmbeddableFactoryDefinition[] = []; const canvasApi = useCanvasApi(); - let panelCount = 1; - - // Maps factories with a group to create nested context menus for each group type - // and pushes ungrouped factories into a separate array - factories.forEach((factory: EmbeddableFactoryDefinition, index) => { - const { grouping } = factory; - - if (grouping) { - grouping.forEach((group) => { - if (factoryGroupMap[group.id]) { - factoryGroupMap[group.id].factories.push(factory); - } else { - factoryGroupMap[group.id] = { - id: group.id, - appName: group.getDisplayName ? group.getDisplayName({}) : group.id, - icon: (group.getIconType ? group.getIconType({}) : 'empty') as EuiContextMenuItemIcon, - factories: [factory], - panelId: panelCount, - }; - - panelCount++; - } - }); - } else { - ungroupedFactories.push(factory); - } - }); - const getVisTypeMenuItem = (visType: BaseVisType): EuiContextMenuPanelItemDescriptor => { const { name, title, titleInWizard, description, icon = 'empty' } = visType; return { @@ -116,22 +69,6 @@ export const EditorMenu: FC = ({ }; }; - const getEmbeddableFactoryMenuItem = ( - factory: EmbeddableFactoryDefinition - ): EuiContextMenuPanelItemDescriptor => { - const icon = factory?.getIconType ? factory.getIconType() : 'empty'; - - const toolTipContent = factory?.getDescription ? factory.getDescription() : undefined; - - return { - name: factory.getDisplayName(), - icon, - toolTipContent, - onClick: createNewEmbeddableFromFactory(factory), - 'data-test-subj': `createNew-${factory.type}`, - }; - }; - const getAddPanelActionMenuItems = useCallback( (closePopover: () => void) => { return addPanelActions.map((item) => { @@ -158,23 +95,9 @@ export const EditorMenu: FC = ({ items: [ ...visTypeAliases.map(getVisTypeAliasMenuItem), ...getAddPanelActionMenuItems(closePopover), - ...ungroupedFactories.map(getEmbeddableFactoryMenuItem), ...promotedVisTypes.map(getVisTypeMenuItem), - ...Object.values(factoryGroupMap).map(({ id, appName, icon, panelId }) => ({ - name: appName, - icon, - panel: panelId, - 'data-test-subj': `canvasEditorMenu-${id}Group`, - })), ], }, - ...Object.values(factoryGroupMap).map( - ({ appName, panelId, factories: groupFactories }: FactoryGroup) => ({ - id: panelId, - title: appName, - items: groupFactories.map(getEmbeddableFactoryMenuItem), - }) - ), ]; return ( diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx similarity index 67% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx index 06d20e919dcbe..60933dd4d121b 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx +++ b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { FC, useCallback, useEffect, useMemo, useState } from 'react'; +import React, { FC, useCallback, useEffect, useState } from 'react'; import { useLocation } from 'react-router-dom'; import { VisGroups, @@ -13,19 +13,12 @@ import { type VisTypeAlias, type VisParams, } from '@kbn/visualizations-plugin/public'; -import { - EmbeddableFactory, - EmbeddableFactoryDefinition, - EmbeddableInput, -} from '@kbn/embeddable-plugin/public'; import { Action, ActionExecutionContext } from '@kbn/ui-actions-plugin/public/actions'; import { trackCanvasUiMetric, METRIC_TYPE } from '../../../lib/ui_metric'; import { CANVAS_APP } from '../../../../common/lib'; import { ElementSpec } from '../../../../types'; import { EditorMenu as Component } from './editor_menu.component'; -import { embeddableInputToExpression } from '../../../../canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression'; -import { EmbeddableInput as CanvasEmbeddableInput } from '../../../../canvas_plugin_src/expression_types'; import { useCanvasApi } from '../../hooks/use_canvas_api'; import { ADD_CANVAS_ELEMENT_TRIGGER } from '../../../state/triggers/add_canvas_element_trigger'; import { @@ -41,11 +34,6 @@ interface Props { addElement: (element: Partial) => void; } -interface UnwrappedEmbeddableFactory { - factory: EmbeddableFactory; - isEditable: boolean; -} - export const EditorMenu: FC = ({ addElement }) => { const { pathname, search, hash } = useLocation(); const stateTransferService = embeddableService.getStateTransfer(); @@ -53,26 +41,6 @@ export const EditorMenu: FC = ({ addElement }) => { const [addPanelActions, setAddPanelActions] = useState>>([]); - const embeddableFactories = useMemo( - () => (embeddableService ? Array.from(embeddableService.getEmbeddableFactories()) : []), - [] - ); - - const [unwrappedEmbeddableFactories, setUnwrappedEmbeddableFactories] = useState< - UnwrappedEmbeddableFactory[] - >([]); - - useEffect(() => { - Promise.all( - embeddableFactories.map>(async (factory) => ({ - factory, - isEditable: await factory.isEditable(), - })) - ).then((factories) => { - setUnwrappedEmbeddableFactories(factories); - }); - }, [embeddableFactories]); - useEffect(() => { let mounted = true; async function loadPanelActions() { @@ -123,33 +91,6 @@ export const EditorMenu: FC = ({ addElement }) => { [stateTransferService, pathname, search, hash] ); - const createNewEmbeddableFromFactory = useCallback( - (factory: EmbeddableFactoryDefinition) => async () => { - if (trackCanvasUiMetric) { - trackCanvasUiMetric(METRIC_TYPE.CLICK, factory.type); - } - - let embeddableInput; - if (factory.getExplicitInput) { - embeddableInput = await factory.getExplicitInput(); - } else { - const newEmbeddable = await factory.create({} as EmbeddableInput); - embeddableInput = newEmbeddable?.getInput(); - } - - if (embeddableInput) { - const expression = embeddableInputToExpression( - embeddableInput as CanvasEmbeddableInput, - factory.type, - undefined, - true - ); - addElement({ expression }); - } - }, - [addElement] - ); - const createNewEmbeddableFromAction = useCallback( (action: Action, context: ActionExecutionContext, closePopover: () => void) => (event: React.MouseEvent) => { @@ -190,31 +131,17 @@ export const EditorMenu: FC = ({ addElement }) => { ) .filter(({ disableCreate }: VisTypeAlias) => !disableCreate); - const factories = unwrappedEmbeddableFactories - .filter( - ({ isEditable, factory: { type, canCreateNew, isContainerType } }) => - isEditable && - !isContainerType && - canCreateNew() && - !['visualization', 'ml', 'links'].some((factoryType) => { - return type.includes(factoryType); - }) - ) - .map(({ factory }) => factory); - const promotedVisTypes = getVisTypesByGroup(VisGroups.PROMOTED); const legacyVisTypes = getVisTypesByGroup(VisGroups.LEGACY); return ( >).concat( promotedVisTypes, legacyVisTypes )} - factories={factories} addPanelActions={addPanelActions} visTypeAliases={visTypeAliases} /> diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/labs_control/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/labs_control/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/labs_control/labs_control.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/labs_control.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/labs_control/labs_control.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/labs_control.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.test.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.test.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.test.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/custom_interval.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/custom_interval.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/custom_interval.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/custom_interval.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/integration_utils.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/integration_utils.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/positioning_utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/positioning_utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/positioning_utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/positioning_utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_page/prop_types.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/prop_types.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/prop_types.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/prop_types.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_type.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_type.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_type_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_type_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/color.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/color.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/color.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/color.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/border_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/border_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/extended_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/simple_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/font.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/font.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/font.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/font.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/index.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/index.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/extended_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/simple_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/base_form.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/base_form.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/base_form.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/base_form.ts diff --git a/x-pack/plugins/canvas/public/expression_types/datasource.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/datasource.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/datasource.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/datasource_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/datasource_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/datasource_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/function_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/function_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/function_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/function_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/model.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/model.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/model.ts diff --git a/x-pack/plugins/canvas/public/expression_types/model_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/model_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/model_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/transform.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/transform.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/transform.ts diff --git a/x-pack/plugins/canvas/public/expression_types/transform_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/transform_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/transform_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/types.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/types.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/types.ts diff --git a/x-pack/plugins/canvas/public/expression_types/view.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/view.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/view.ts diff --git a/x-pack/plugins/canvas/public/expression_types/view_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/view_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/view_registry.ts diff --git a/x-pack/plugins/canvas/public/functions/asset.ts b/x-pack/platform/plugins/private/canvas/public/functions/asset.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/asset.ts rename to x-pack/platform/plugins/private/canvas/public/functions/asset.ts diff --git a/x-pack/plugins/canvas/public/functions/filters.ts b/x-pack/platform/plugins/private/canvas/public/functions/filters.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/filters.ts rename to x-pack/platform/plugins/private/canvas/public/functions/filters.ts diff --git a/x-pack/plugins/canvas/public/functions/index.ts b/x-pack/platform/plugins/private/canvas/public/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/index.ts rename to x-pack/platform/plugins/private/canvas/public/functions/index.ts diff --git a/x-pack/plugins/canvas/public/functions/pie.test.js b/x-pack/platform/plugins/private/canvas/public/functions/pie.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/pie.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/pie.test.js diff --git a/x-pack/plugins/canvas/public/functions/pie.ts b/x-pack/platform/plugins/private/canvas/public/functions/pie.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/pie.ts rename to x-pack/platform/plugins/private/canvas/public/functions/pie.ts diff --git a/x-pack/plugins/canvas/public/functions/plot.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/get_font_spec.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_font_spec.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_font_spec.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_font_spec.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/get_tick_hash.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_tick_hash.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_tick_hash.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_tick_hash.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/index.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/index.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.ts diff --git a/x-pack/plugins/canvas/public/functions/timelion.ts b/x-pack/platform/plugins/private/canvas/public/functions/timelion.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/timelion.ts rename to x-pack/platform/plugins/private/canvas/public/functions/timelion.ts diff --git a/x-pack/plugins/canvas/public/functions/to.ts b/x-pack/platform/plugins/private/canvas/public/functions/to.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/to.ts rename to x-pack/platform/plugins/private/canvas/public/functions/to.ts diff --git a/x-pack/plugins/canvas/public/icon.svg b/x-pack/platform/plugins/private/canvas/public/icon.svg similarity index 100% rename from x-pack/plugins/canvas/public/icon.svg rename to x-pack/platform/plugins/private/canvas/public/icon.svg diff --git a/x-pack/plugins/canvas/public/index.ts b/x-pack/platform/plugins/private/canvas/public/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/index.ts rename to x-pack/platform/plugins/private/canvas/public/index.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/common.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/common.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/common.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/common.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/functional.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/functional.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/functional.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/functional.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/geometry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/geometry.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/gestures.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/gestures.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/index.d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/index.d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout_functions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout_functions.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix2d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix2d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/select.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/select.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/select.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/select.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/store.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/store.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/store.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/typespec.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/typespec.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/typespec.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/typespec.test.ts diff --git a/x-pack/plugins/canvas/public/lib/app_handler_creators.ts b/x-pack/platform/plugins/private/canvas/public/lib/app_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/app_handler_creators.ts rename to x-pack/platform/plugins/private/canvas/public/lib/app_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/arg_helpers.js b/x-pack/platform/plugins/private/canvas/public/lib/arg_helpers.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/arg_helpers.js rename to x-pack/platform/plugins/private/canvas/public/lib/arg_helpers.js diff --git a/x-pack/plugins/canvas/public/lib/args.ts b/x-pack/platform/plugins/private/canvas/public/lib/args.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/args.ts rename to x-pack/platform/plugins/private/canvas/public/lib/args.ts diff --git a/x-pack/plugins/canvas/public/lib/assets.ts b/x-pack/platform/plugins/private/canvas/public/lib/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/assets.ts rename to x-pack/platform/plugins/private/canvas/public/lib/assets.ts diff --git a/x-pack/plugins/canvas/public/lib/breadcrumbs.ts b/x-pack/platform/plugins/private/canvas/public/lib/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/breadcrumbs.ts rename to x-pack/platform/plugins/private/canvas/public/lib/breadcrumbs.ts diff --git a/x-pack/plugins/canvas/public/lib/clipboard.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/clipboard.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clipboard.test.ts diff --git a/x-pack/plugins/canvas/public/lib/clipboard.ts b/x-pack/platform/plugins/private/canvas/public/lib/clipboard.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clipboard.ts diff --git a/x-pack/plugins/canvas/public/lib/clone_subgraphs.ts b/x-pack/platform/plugins/private/canvas/public/lib/clone_subgraphs.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clone_subgraphs.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clone_subgraphs.ts diff --git a/x-pack/plugins/canvas/public/lib/create_handlers.ts b/x-pack/platform/plugins/private/canvas/public/lib/create_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/create_handlers.ts rename to x-pack/platform/plugins/private/canvas/public/lib/create_handlers.ts diff --git a/x-pack/plugins/canvas/public/lib/create_thunk.ts b/x-pack/platform/plugins/private/canvas/public/lib/create_thunk.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/create_thunk.ts rename to x-pack/platform/plugins/private/canvas/public/lib/create_thunk.ts diff --git a/x-pack/plugins/canvas/public/lib/data_view_helpers.ts b/x-pack/platform/plugins/private/canvas/public/lib/data_view_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/data_view_helpers.ts rename to x-pack/platform/plugins/private/canvas/public/lib/data_view_helpers.ts diff --git a/x-pack/plugins/canvas/public/lib/doc_title.ts b/x-pack/platform/plugins/private/canvas/public/lib/doc_title.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/doc_title.ts rename to x-pack/platform/plugins/private/canvas/public/lib/doc_title.ts diff --git a/x-pack/plugins/canvas/public/lib/dom.ts b/x-pack/platform/plugins/private/canvas/public/lib/dom.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/dom.ts rename to x-pack/platform/plugins/private/canvas/public/lib/dom.ts diff --git a/x-pack/plugins/canvas/public/lib/element.ts b/x-pack/platform/plugins/private/canvas/public/lib/element.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element.ts rename to x-pack/platform/plugins/private/canvas/public/lib/element.ts diff --git a/x-pack/plugins/canvas/public/lib/element_handler_creators.ts b/x-pack/platform/plugins/private/canvas/public/lib/element_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element_handler_creators.ts rename to x-pack/platform/plugins/private/canvas/public/lib/element_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/elements_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/elements_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/elements_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/elements_registry.js diff --git a/x-pack/plugins/canvas/public/lib/extract_search.js b/x-pack/platform/plugins/private/canvas/public/lib/extract_search.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/extract_search.js rename to x-pack/platform/plugins/private/canvas/public/lib/extract_search.js diff --git a/x-pack/plugins/canvas/public/lib/filter.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter.test.ts diff --git a/x-pack/plugins/canvas/public/lib/filter.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter.ts diff --git a/x-pack/plugins/canvas/public/lib/filter_adapters.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter_adapters.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.test.ts diff --git a/x-pack/plugins/canvas/public/lib/filter_adapters.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter_adapters.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.ts diff --git a/x-pack/plugins/canvas/public/lib/find_existing_asset.js b/x-pack/platform/plugins/private/canvas/public/lib/find_existing_asset.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_existing_asset.js rename to x-pack/platform/plugins/private/canvas/public/lib/find_existing_asset.js diff --git a/x-pack/plugins/canvas/public/lib/find_expression_type.ts b/x-pack/platform/plugins/private/canvas/public/lib/find_expression_type.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_expression_type.ts rename to x-pack/platform/plugins/private/canvas/public/lib/find_expression_type.ts diff --git a/x-pack/plugins/canvas/public/lib/flatten_panel_tree.ts b/x-pack/platform/plugins/private/canvas/public/lib/flatten_panel_tree.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/flatten_panel_tree.ts rename to x-pack/platform/plugins/private/canvas/public/lib/flatten_panel_tree.ts diff --git a/x-pack/plugins/canvas/public/lib/format_msg.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/format_msg.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/format_msg.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/format_msg.test.ts diff --git a/x-pack/plugins/canvas/public/lib/format_msg.ts b/x-pack/platform/plugins/private/canvas/public/lib/format_msg.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/format_msg.ts rename to x-pack/platform/plugins/private/canvas/public/lib/format_msg.ts diff --git a/x-pack/plugins/canvas/public/lib/fullscreen.js b/x-pack/platform/plugins/private/canvas/public/lib/fullscreen.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/fullscreen.js rename to x-pack/platform/plugins/private/canvas/public/lib/fullscreen.js diff --git a/x-pack/plugins/canvas/public/lib/get_client_platform.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_client_platform.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_client_platform.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_client_platform.ts diff --git a/x-pack/plugins/canvas/public/lib/get_id.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_id.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_id.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.test.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.ts diff --git a/x-pack/plugins/canvas/public/lib/get_window.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_window.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_window.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_window.ts diff --git a/x-pack/plugins/canvas/public/lib/is_text_input.ts b/x-pack/platform/plugins/private/canvas/public/lib/is_text_input.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/is_text_input.ts rename to x-pack/platform/plugins/private/canvas/public/lib/is_text_input.ts diff --git a/x-pack/plugins/canvas/public/lib/keymap.ts b/x-pack/platform/plugins/private/canvas/public/lib/keymap.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/keymap.ts rename to x-pack/platform/plugins/private/canvas/public/lib/keymap.ts diff --git a/x-pack/plugins/canvas/public/lib/legend_options.js b/x-pack/platform/plugins/private/canvas/public/lib/legend_options.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/legend_options.js rename to x-pack/platform/plugins/private/canvas/public/lib/legend_options.js diff --git a/x-pack/plugins/canvas/public/lib/load_expression_types.js b/x-pack/platform/plugins/private/canvas/public/lib/load_expression_types.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_expression_types.js rename to x-pack/platform/plugins/private/canvas/public/lib/load_expression_types.js diff --git a/x-pack/plugins/canvas/public/lib/load_transitions.js b/x-pack/platform/plugins/private/canvas/public/lib/load_transitions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_transitions.js rename to x-pack/platform/plugins/private/canvas/public/lib/load_transitions.js diff --git a/x-pack/plugins/canvas/public/lib/loading_indicator.ts b/x-pack/platform/plugins/private/canvas/public/lib/loading_indicator.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/loading_indicator.ts rename to x-pack/platform/plugins/private/canvas/public/lib/loading_indicator.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/modify_path.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/modify_path.test.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.ts b/x-pack/platform/plugins/private/canvas/public/lib/modify_path.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.ts rename to x-pack/platform/plugins/private/canvas/public/lib/modify_path.ts diff --git a/x-pack/plugins/canvas/public/lib/parse_single_function_chain.js b/x-pack/platform/plugins/private/canvas/public/lib/parse_single_function_chain.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/parse_single_function_chain.js rename to x-pack/platform/plugins/private/canvas/public/lib/parse_single_function_chain.js diff --git a/x-pack/plugins/canvas/public/lib/readable_color.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/readable_color.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/readable_color.test.ts diff --git a/x-pack/plugins/canvas/public/lib/readable_color.ts b/x-pack/platform/plugins/private/canvas/public/lib/readable_color.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.ts rename to x-pack/platform/plugins/private/canvas/public/lib/readable_color.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.test.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.ts b/x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.ts rename to x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.ts diff --git a/x-pack/plugins/canvas/public/lib/shortcut_manager.js b/x-pack/platform/plugins/private/canvas/public/lib/shortcut_manager.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/shortcut_manager.js rename to x-pack/platform/plugins/private/canvas/public/lib/shortcut_manager.js diff --git a/x-pack/plugins/canvas/public/lib/storage.ts b/x-pack/platform/plugins/private/canvas/public/lib/storage.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/storage.ts rename to x-pack/platform/plugins/private/canvas/public/lib/storage.ts diff --git a/x-pack/plugins/canvas/public/lib/sync_filter_expression.ts b/x-pack/platform/plugins/private/canvas/public/lib/sync_filter_expression.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/sync_filter_expression.ts rename to x-pack/platform/plugins/private/canvas/public/lib/sync_filter_expression.ts diff --git a/x-pack/plugins/canvas/public/lib/tag.ts b/x-pack/platform/plugins/private/canvas/public/lib/tag.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tag.ts rename to x-pack/platform/plugins/private/canvas/public/lib/tag.ts diff --git a/x-pack/plugins/canvas/public/lib/tags_registry.ts b/x-pack/platform/plugins/private/canvas/public/lib/tags_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tags_registry.ts rename to x-pack/platform/plugins/private/canvas/public/lib/tags_registry.ts diff --git a/x-pack/plugins/canvas/public/lib/template.js b/x-pack/platform/plugins/private/canvas/public/lib/template.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/template.js rename to x-pack/platform/plugins/private/canvas/public/lib/template.js diff --git a/x-pack/plugins/canvas/public/lib/template_from_react_component.tsx b/x-pack/platform/plugins/private/canvas/public/lib/template_from_react_component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_from_react_component.tsx rename to x-pack/platform/plugins/private/canvas/public/lib/template_from_react_component.tsx diff --git a/x-pack/plugins/canvas/public/lib/template_service.ts b/x-pack/platform/plugins/private/canvas/public/lib/template_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_service.ts rename to x-pack/platform/plugins/private/canvas/public/lib/template_service.ts diff --git a/x-pack/plugins/canvas/public/lib/templates_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/templates_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/templates_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/templates_registry.js diff --git a/x-pack/plugins/canvas/public/lib/time_duration.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_duration.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_duration.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_duration.ts diff --git a/x-pack/plugins/canvas/public/lib/time_interval.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_interval.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_interval.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_interval.test.ts diff --git a/x-pack/plugins/canvas/public/lib/time_interval.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_interval.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_interval.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_interval.ts diff --git a/x-pack/plugins/canvas/public/lib/transitions_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/transitions_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/transitions_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/transitions_registry.js diff --git a/x-pack/plugins/canvas/public/lib/ui_metric.ts b/x-pack/platform/plugins/private/canvas/public/lib/ui_metric.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/ui_metric.ts rename to x-pack/platform/plugins/private/canvas/public/lib/ui_metric.ts diff --git a/x-pack/plugins/canvas/public/lib/workpad.ts b/x-pack/platform/plugins/private/canvas/public/lib/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/lib/workpad.ts diff --git a/x-pack/plugins/canvas/public/plugin.tsx b/x-pack/platform/plugins/private/canvas/public/plugin.tsx similarity index 100% rename from x-pack/plugins/canvas/public/plugin.tsx rename to x-pack/platform/plugins/private/canvas/public/plugin.tsx diff --git a/x-pack/plugins/canvas/public/plugin_api.ts b/x-pack/platform/plugins/private/canvas/public/plugin_api.ts similarity index 100% rename from x-pack/plugins/canvas/public/plugin_api.ts rename to x-pack/platform/plugins/private/canvas/public/plugin_api.ts diff --git a/x-pack/plugins/canvas/public/registries.ts b/x-pack/platform/plugins/private/canvas/public/registries.ts similarity index 100% rename from x-pack/plugins/canvas/public/registries.ts rename to x-pack/platform/plugins/private/canvas/public/registries.ts diff --git a/x-pack/plugins/canvas/public/routes/home/home_route.tsx b/x-pack/platform/plugins/private/canvas/public/routes/home/home_route.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/home/home_route.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/home/home_route.tsx diff --git a/x-pack/plugins/canvas/public/routes/home/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/home/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/home/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/home/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.test.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.test.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.test.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_routing_context.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_routing_context.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_routing_context.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_routing_context.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/route_state.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/route_state.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/route_state.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/route_state.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_presentation_helper.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_presentation_helper.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_route.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_route.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_routing_context.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_routing_context.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_routing_context.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_routing_context.tsx diff --git a/x-pack/plugins/canvas/public/services/canvas_custom_element_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_custom_element_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_custom_element_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_custom_element_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_expressions_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_expressions_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_expressions_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_expressions_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_filters_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_filters_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_filters_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_filters_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_notify_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_notify_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_notify_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_notify_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_workpad_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts diff --git a/x-pack/plugins/canvas/public/services/get_has_workpads.ts b/x-pack/platform/plugins/private/canvas/public/services/get_has_workpads.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/get_has_workpads.ts rename to x-pack/platform/plugins/private/canvas/public/services/get_has_workpads.ts diff --git a/x-pack/plugins/canvas/public/services/index.ts b/x-pack/platform/plugins/private/canvas/public/services/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/index.ts diff --git a/x-pack/plugins/canvas/public/services/kibana_services.ts b/x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts similarity index 99% rename from x-pack/plugins/canvas/public/services/kibana_services.ts rename to x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts index 92980d712fb4f..b820ca1396ffc 100644 --- a/x-pack/plugins/canvas/public/services/kibana_services.ts +++ b/x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts @@ -11,7 +11,7 @@ import type { ContentManagementPublicStart } from '@kbn/content-management-plugi import type { CoreStart, PluginInitializerContext } from '@kbn/core/public'; import type { DataPublicPluginStart } from '@kbn/data-plugin/public'; import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; -import type { EmbeddableStart } from '@kbn/embeddable-plugin/public/plugin'; +import type { EmbeddableStart } from '@kbn/embeddable-plugin/public'; import type { ExpressionsStart } from '@kbn/expressions-plugin/public'; import type { PresentationUtilPluginStart } from '@kbn/presentation-util-plugin/public'; import type { ReportingStart } from '@kbn/reporting-plugin/public'; diff --git a/x-pack/plugins/canvas/public/services/legacy/context.tsx b/x-pack/platform/plugins/private/canvas/public/services/legacy/context.tsx similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/context.tsx rename to x-pack/platform/plugins/private/canvas/public/services/legacy/context.tsx diff --git a/x-pack/plugins/canvas/public/services/legacy/index.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/index.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/search.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/search.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/search.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/search.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/stubs/index.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/stubs/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/index.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/stubs/search.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/search.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/stubs/search.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/search.ts diff --git a/x-pack/plugins/canvas/public/services/mocks.ts b/x-pack/platform/plugins/private/canvas/public/services/mocks.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/mocks.ts rename to x-pack/platform/plugins/private/canvas/public/services/mocks.ts diff --git a/x-pack/plugins/canvas/public/setup_expressions.ts b/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts similarity index 100% rename from x-pack/plugins/canvas/public/setup_expressions.ts rename to x-pack/platform/plugins/private/canvas/public/setup_expressions.ts diff --git a/x-pack/plugins/canvas/public/state/actions/app.js b/x-pack/platform/plugins/private/canvas/public/state/actions/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/app.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/app.js diff --git a/x-pack/plugins/canvas/public/state/actions/assets.js b/x-pack/platform/plugins/private/canvas/public/state/actions/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/assets.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/assets.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.js b/x-pack/platform/plugins/private/canvas/public/state/actions/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/elements.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.test.js b/x-pack/platform/plugins/private/canvas/public/state/actions/elements.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.test.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/elements.test.js diff --git a/x-pack/plugins/canvas/public/state/actions/embeddable.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/embeddable.ts diff --git a/x-pack/plugins/canvas/public/state/actions/filters.js b/x-pack/platform/plugins/private/canvas/public/state/actions/filters.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/filters.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/filters.js diff --git a/x-pack/plugins/canvas/public/state/actions/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/actions/history.js b/x-pack/platform/plugins/private/canvas/public/state/actions/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/history.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/history.js diff --git a/x-pack/plugins/canvas/public/state/actions/pages.js b/x-pack/platform/plugins/private/canvas/public/state/actions/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/pages.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/pages.js diff --git a/x-pack/plugins/canvas/public/state/actions/resolved_args.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/resolved_args.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/actions/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/actions/transient.js b/x-pack/platform/plugins/private/canvas/public/state/actions/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/transient.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/transient.js diff --git a/x-pack/plugins/canvas/public/state/actions/workpad.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/workpad.ts diff --git a/x-pack/plugins/canvas/public/state/defaults.js b/x-pack/platform/plugins/private/canvas/public/state/defaults.js similarity index 100% rename from x-pack/plugins/canvas/public/state/defaults.js rename to x-pack/platform/plugins/private/canvas/public/state/defaults.js diff --git a/x-pack/plugins/canvas/public/state/initial_state.js b/x-pack/platform/plugins/private/canvas/public/state/initial_state.js similarity index 100% rename from x-pack/plugins/canvas/public/state/initial_state.js rename to x-pack/platform/plugins/private/canvas/public/state/initial_state.js diff --git a/x-pack/plugins/canvas/public/state/middleware/element_stats.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/element_stats.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/element_stats.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/element_stats.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.test.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.test.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.test.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/index.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/index.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/index.js diff --git a/x-pack/plugins/canvas/public/state/middleware/resolved_args.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/resolved_args.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/middleware/workpad_update.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/workpad_update.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/workpad_update.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/workpad_update.js diff --git a/x-pack/plugins/canvas/public/state/reducers/__fixtures__/action_creator.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/__fixtures__/action_creator.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/__fixtures__/action_creator.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/__fixtures__/action_creator.js diff --git a/x-pack/plugins/canvas/public/state/reducers/app.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/app.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/app.js diff --git a/x-pack/plugins/canvas/public/state/reducers/assets.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/assets.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/assets.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/elements.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.test.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/elements.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.test.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/elements.test.js diff --git a/x-pack/plugins/canvas/public/state/reducers/embeddable.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/embeddable.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/embeddables.test.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/embeddables.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/embeddables.test.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/embeddables.test.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/history.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/history.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/history.js diff --git a/x-pack/plugins/canvas/public/state/reducers/index.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/index.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/index.js diff --git a/x-pack/plugins/canvas/public/state/reducers/pages.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/pages.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/pages.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.test.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.test.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.test.js diff --git a/x-pack/plugins/canvas/public/state/reducers/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/transient.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/transient.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/transient.js diff --git a/x-pack/plugins/canvas/public/state/reducers/workpad.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/workpad.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/workpad.js diff --git a/x-pack/plugins/canvas/public/state/selectors/app.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/app.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/app.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/app.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/assets.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/assets.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/assets.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.test.js b/x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.test.js rename to x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.test.js diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.test.js b/x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.test.js rename to x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.test.js diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.ts diff --git a/x-pack/plugins/canvas/public/state/store.js b/x-pack/platform/plugins/private/canvas/public/state/store.js similarity index 100% rename from x-pack/plugins/canvas/public/state/store.js rename to x-pack/platform/plugins/private/canvas/public/state/store.js diff --git a/x-pack/plugins/canvas/public/state/triggers/add_canvas_element_trigger.ts b/x-pack/platform/plugins/private/canvas/public/state/triggers/add_canvas_element_trigger.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/triggers/add_canvas_element_trigger.ts rename to x-pack/platform/plugins/private/canvas/public/state/triggers/add_canvas_element_trigger.ts diff --git a/x-pack/plugins/canvas/public/store.ts b/x-pack/platform/plugins/private/canvas/public/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/store.ts rename to x-pack/platform/plugins/private/canvas/public/store.ts diff --git a/x-pack/plugins/canvas/public/style/hackery.scss b/x-pack/platform/plugins/private/canvas/public/style/hackery.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/hackery.scss rename to x-pack/platform/plugins/private/canvas/public/style/hackery.scss diff --git a/x-pack/plugins/canvas/public/style/index.scss b/x-pack/platform/plugins/private/canvas/public/style/index.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/index.scss rename to x-pack/platform/plugins/private/canvas/public/style/index.scss diff --git a/x-pack/plugins/canvas/public/style/main.scss b/x-pack/platform/plugins/private/canvas/public/style/main.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/main.scss rename to x-pack/platform/plugins/private/canvas/public/style/main.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/fade.scss b/x-pack/platform/plugins/private/canvas/public/transitions/fade/fade.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/fade.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/fade/fade.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/fade/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/fade/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/rotate/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/rotate/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/rotate/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/rotate/rotate.scss b/x-pack/platform/plugins/private/canvas/public/transitions/rotate/rotate.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/rotate.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/rotate/rotate.scss diff --git a/x-pack/plugins/canvas/public/transitions/slide/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/slide/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/slide/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/slide/slide.scss b/x-pack/platform/plugins/private/canvas/public/transitions/slide/slide.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/slide.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/slide/slide.scss diff --git a/x-pack/plugins/canvas/public/transitions/transition.js b/x-pack/platform/plugins/private/canvas/public/transitions/transition.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/transition.js rename to x-pack/platform/plugins/private/canvas/public/transitions/transition.js diff --git a/x-pack/plugins/canvas/public/transitions/zoom/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/zoom/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/zoom/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/zoom/zoom.scss b/x-pack/platform/plugins/private/canvas/public/transitions/zoom/zoom.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/zoom.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/zoom/zoom.scss diff --git a/x-pack/plugins/canvas/scripts/jest.js b/x-pack/platform/plugins/private/canvas/scripts/jest.js similarity index 94% rename from x-pack/plugins/canvas/scripts/jest.js rename to x-pack/platform/plugins/private/canvas/scripts/jest.js index 77e0feb15165f..c0f539a363fc5 100644 --- a/x-pack/plugins/canvas/scripts/jest.js +++ b/x-pack/platform/plugins/private/canvas/scripts/jest.js @@ -14,7 +14,7 @@ const allPosition = process.argv.indexOf('--all'); console.log(` A helper proxying to the following command: - yarn jest --config x-pack/plugins/canvas/jest.config.js + yarn jest --config x-pack/platform/plugins/private/canvas/jest.config.js Provides the following additional options: --all Runs all tests and snapshots. Slower. diff --git a/x-pack/plugins/canvas/scripts/shareable_runtime.js b/x-pack/platform/plugins/private/canvas/scripts/shareable_runtime.js similarity index 100% rename from x-pack/plugins/canvas/scripts/shareable_runtime.js rename to x-pack/platform/plugins/private/canvas/scripts/shareable_runtime.js diff --git a/x-pack/plugins/canvas/server/collectors/collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/collector.ts diff --git a/x-pack/plugins/canvas/server/collectors/collector_helpers.ts b/x-pack/platform/plugins/private/canvas/server/collectors/collector_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/collector_helpers.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/collector_helpers.ts diff --git a/x-pack/plugins/canvas/server/collectors/custom_element_collector.test.ts b/x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/custom_element_collector.test.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.test.ts diff --git a/x-pack/plugins/canvas/server/collectors/custom_element_collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/custom_element_collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.ts diff --git a/x-pack/plugins/canvas/server/collectors/index.ts b/x-pack/platform/plugins/private/canvas/server/collectors/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/index.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/index.ts diff --git a/x-pack/plugins/canvas/server/collectors/workpad_collector.test.ts b/x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/workpad_collector.test.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.test.ts diff --git a/x-pack/plugins/canvas/server/collectors/workpad_collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/workpad_collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.ts diff --git a/x-pack/plugins/canvas/server/config.ts b/x-pack/platform/plugins/private/canvas/server/config.ts similarity index 100% rename from x-pack/plugins/canvas/server/config.ts rename to x-pack/platform/plugins/private/canvas/server/config.ts diff --git a/x-pack/plugins/canvas/server/feature.test.ts b/x-pack/platform/plugins/private/canvas/server/feature.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/feature.test.ts rename to x-pack/platform/plugins/private/canvas/server/feature.test.ts diff --git a/x-pack/plugins/canvas/server/feature.ts b/x-pack/platform/plugins/private/canvas/server/feature.ts similarity index 100% rename from x-pack/plugins/canvas/server/feature.ts rename to x-pack/platform/plugins/private/canvas/server/feature.ts diff --git a/x-pack/plugins/canvas/server/index.ts b/x-pack/platform/plugins/private/canvas/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/index.ts rename to x-pack/platform/plugins/private/canvas/server/index.ts diff --git a/x-pack/plugins/canvas/server/mocks/index.ts b/x-pack/platform/plugins/private/canvas/server/mocks/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/mocks/index.ts rename to x-pack/platform/plugins/private/canvas/server/mocks/index.ts diff --git a/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts b/x-pack/platform/plugins/private/canvas/server/mocks/workpad_route_context.ts similarity index 100% rename from x-pack/plugins/canvas/server/mocks/workpad_route_context.ts rename to x-pack/platform/plugins/private/canvas/server/mocks/workpad_route_context.ts diff --git a/x-pack/plugins/canvas/server/plugin.ts b/x-pack/platform/plugins/private/canvas/server/plugin.ts similarity index 100% rename from x-pack/plugins/canvas/server/plugin.ts rename to x-pack/platform/plugins/private/canvas/server/plugin.ts diff --git a/x-pack/plugins/canvas/server/routes/catch_error_handler.ts b/x-pack/platform/plugins/private/canvas/server/routes/catch_error_handler.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/catch_error_handler.ts rename to x-pack/platform/plugins/private/canvas/server/routes/catch_error_handler.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts similarity index 88% rename from x-pack/plugins/canvas/server/routes/custom_elements/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts index e0ea4be8d35f1..d4ea0557048bb 100644 --- a/x-pack/plugins/canvas/server/routes/custom_elements/create.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts @@ -29,6 +29,13 @@ export function initializeCreateCustomElementRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { body: CustomElementSchema }, }, diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/custom_element_attributes.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_attributes.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/custom_element_attributes.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_attributes.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/custom_element_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/custom_element_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_schema.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts similarity index 84% rename from x-pack/plugins/canvas/server/routes/custom_elements/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts index 94ea9cda5e367..328812ec32a5d 100644 --- a/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts @@ -22,6 +22,13 @@ export function initializeDeleteCustomElementRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts similarity index 90% rename from x-pack/plugins/canvas/server/routes/custom_elements/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts index a45eb217cd9cb..5d2b0ba1be12d 100644 --- a/x-pack/plugins/canvas/server/routes/custom_elements/find.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts @@ -20,6 +20,13 @@ export function initializeFindCustomElementsRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { query: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts similarity index 86% rename from x-pack/plugins/canvas/server/routes/custom_elements/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts index 4775d4cb497fb..a6f6a0ffe64bb 100644 --- a/x-pack/plugins/canvas/server/routes/custom_elements/get.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts @@ -21,6 +21,13 @@ export function initializeGetCustomElementRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/index.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts similarity index 90% rename from x-pack/plugins/canvas/server/routes/custom_elements/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts index eee18fb1e9a07..905e6aa3efed5 100644 --- a/x-pack/plugins/canvas/server/routes/custom_elements/update.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts @@ -30,6 +30,13 @@ export function initializeUpdateCustomElementRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/functions.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts similarity index 73% rename from x-pack/plugins/canvas/server/routes/functions/functions.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts index 3a8ff207fa000..70017862ea50f 100644 --- a/x-pack/plugins/canvas/server/routes/functions/functions.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts @@ -23,13 +23,26 @@ export function initializeGetFunctionsRoute(deps: RouteInitializerDeps) { path: API_ROUTE_FUNCTIONS, access: 'internal', }) - .addVersion({ version: '1', validate: false }, async (context, request, response) => { - const functions = expressions.getFunctions('canvas'); - const body = JSON.stringify(functions); - return response.ok({ - body, - }); - }); + .addVersion( + { + version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it only provides non-sensitive information about functions available to Canvas.', + }, + }, + validate: false, + }, + async (context, request, response) => { + const functions = expressions.getFunctions('canvas'); + const body = JSON.stringify(functions); + return response.ok({ + body, + }); + } + ); } export function initializeBatchFunctionsRoute(deps: RouteInitializerDeps) { @@ -42,6 +55,13 @@ export function initializeBatchFunctionsRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because data source expressions that perform search operations use the Kibana search client which handles permission checking.', + }, + }, validate: { request: { body: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/functions/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/index.ts diff --git a/x-pack/plugins/canvas/server/routes/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/index.ts diff --git a/x-pack/plugins/canvas/server/routes/ok_response.ts b/x-pack/platform/plugins/private/canvas/server/routes/ok_response.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/ok_response.ts rename to x-pack/platform/plugins/private/canvas/server/routes/ok_response.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/download.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts diff --git a/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts new file mode 100644 index 0000000000000..6ed41701d9602 --- /dev/null +++ b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { readFileSync } from 'fs'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing +import { SHAREABLE_RUNTIME_FILE } from '../../../shareable_runtime/constants'; +import { RouteInitializerDeps } from '..'; +import { API_ROUTE_SHAREABLE_RUNTIME_DOWNLOAD } from '../../../common/lib/constants'; + +export function initializeDownloadShareableWorkpadRoute(deps: RouteInitializerDeps) { + const { router } = deps; + router.versioned + .get({ + path: API_ROUTE_SHAREABLE_RUNTIME_DOWNLOAD, + access: 'internal', + }) + .addVersion( + { + version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it is only serving static files.', + }, + }, + validate: false, + }, + async (_context, _request, response) => { + // TODO: check if this is still an issue on cloud after migrating to NP + // + // The option setting is not for typical use. We're using it here to avoid + // problems in Cloud environments. See elastic/kibana#47405. + // const file = handler.file(SHAREABLE_RUNTIME_FILE, { confine: false }); + const file = readFileSync(SHAREABLE_RUNTIME_FILE); + return response.ok({ + headers: { 'content-type': 'application/octet-stream' }, + body: file, + }); + } + ); +} diff --git a/x-pack/plugins/canvas/server/routes/shareables/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/index.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/rendered_workpad_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/rendered_workpad_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/rendered_workpad_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/rendered_workpad_schema.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/zip.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts similarity index 82% rename from x-pack/plugins/canvas/server/routes/shareables/zip.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts index d476edb8ca4ac..34e1a9a01789f 100644 --- a/x-pack/plugins/canvas/server/routes/shareables/zip.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts @@ -24,7 +24,17 @@ export function initializeZipShareableWorkpadRoute(deps: RouteInitializerDeps) { access: 'internal', }) .addVersion( - { version: '1', validate: { request: { body: RenderedWorkpadSchema } } }, + { + version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it is only serving static files.', + }, + }, + validate: { request: { body: RenderedWorkpadSchema } }, + }, async (_context, request, response) => { const workpad = request.body; const archive = archiver('zip'); diff --git a/x-pack/plugins/canvas/server/routes/templates/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/index.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/list.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/list.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/list.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts similarity index 86% rename from x-pack/plugins/canvas/server/routes/templates/list.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts index e311ef3c8c24b..a6ec0d54f6425 100644 --- a/x-pack/plugins/canvas/server/routes/templates/list.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts @@ -21,6 +21,13 @@ export function initializeListTemplates(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({}) }, }, diff --git a/x-pack/plugins/canvas/server/routes/test_helpers.ts b/x-pack/platform/plugins/private/canvas/server/routes/test_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/test_helpers.ts rename to x-pack/platform/plugins/private/canvas/server/routes/test_helpers.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/create.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts similarity index 90% rename from x-pack/plugins/canvas/server/routes/workpad/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts index c1e4f7e2f8353..79492c94e5882 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/create.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts @@ -47,6 +47,13 @@ export function initializeCreateWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { body: createRequestBodySchema }, }, diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/delete.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts similarity index 83% rename from x-pack/plugins/canvas/server/routes/workpad/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts index d5abbbfed7a78..292e8e4b73080 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/delete.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts @@ -21,6 +21,13 @@ export function initializeDeleteWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/find.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts similarity index 89% rename from x-pack/plugins/canvas/server/routes/workpad/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts index 1e993a347d89f..39258afadfabf 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/find.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts @@ -20,6 +20,13 @@ export function initializeFindWorkpadsRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { query: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/get.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts similarity index 85% rename from x-pack/plugins/canvas/server/routes/workpad/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts index 8ce7687627611..57d1bf3517ca5 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/get.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts @@ -21,6 +21,13 @@ export function initializeGetWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/import.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts similarity index 86% rename from x-pack/plugins/canvas/server/routes/workpad/import.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts index 5490d460f8834..5c3d82521ec4d 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/import.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts @@ -30,6 +30,13 @@ export function initializeImportWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { body: createRequestBodySchema }, }, diff --git a/x-pack/plugins/canvas/server/routes/workpad/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/index.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts similarity index 87% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts index b6260e9e47694..9d0ea3139e043 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts @@ -21,6 +21,13 @@ export function initializeResolveWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/shim_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/shim_workpad.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/update.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts similarity index 84% rename from x-pack/plugins/canvas/server/routes/workpad/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts index ead5a097a6945..55be02a888bb1 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/update.ts +++ b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts @@ -38,6 +38,13 @@ export function initializeUpdateWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ @@ -71,6 +78,13 @@ export function initializeUpdateWorkpadRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ @@ -109,6 +123,13 @@ export function initializeUpdateWorkpadAssetsRoute(deps: RouteInitializerDeps) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because authorization is provided by saved objects client.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_attributes.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_attributes.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_attributes.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_attributes.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_schema.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_schema.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/custom_element.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/custom_element.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/index.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/index.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/index.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/expressions.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/expressions.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/expressions.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/expressions.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/index.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/index.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/types.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/types.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/types.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/workpad.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/workpad.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/workpad.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad_references.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_references.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad_references.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_references.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad_template.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad_template.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts diff --git a/x-pack/plugins/canvas/server/setup_interpreter.ts b/x-pack/platform/plugins/private/canvas/server/setup_interpreter.ts similarity index 100% rename from x-pack/plugins/canvas/server/setup_interpreter.ts rename to x-pack/platform/plugins/private/canvas/server/setup_interpreter.ts diff --git a/x-pack/plugins/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png b/x-pack/platform/plugins/private/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png rename to x-pack/platform/plugins/private/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png diff --git a/x-pack/plugins/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png b/x-pack/platform/plugins/private/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png rename to x-pack/platform/plugins/private/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png diff --git a/x-pack/plugins/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg diff --git a/x-pack/plugins/canvas/server/templates/index.ts b/x-pack/platform/plugins/private/canvas/server/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/index.ts rename to x-pack/platform/plugins/private/canvas/server/templates/index.ts diff --git a/x-pack/plugins/canvas/server/templates/pitch_presentation.ts b/x-pack/platform/plugins/private/canvas/server/templates/pitch_presentation.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/pitch_presentation.ts rename to x-pack/platform/plugins/private/canvas/server/templates/pitch_presentation.ts diff --git a/x-pack/plugins/canvas/server/templates/status_report.ts b/x-pack/platform/plugins/private/canvas/server/templates/status_report.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/status_report.ts rename to x-pack/platform/plugins/private/canvas/server/templates/status_report.ts diff --git a/x-pack/plugins/canvas/server/templates/summary_report.ts b/x-pack/platform/plugins/private/canvas/server/templates/summary_report.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/summary_report.ts rename to x-pack/platform/plugins/private/canvas/server/templates/summary_report.ts diff --git a/x-pack/plugins/canvas/server/templates/theme_dark.ts b/x-pack/platform/plugins/private/canvas/server/templates/theme_dark.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/theme_dark.ts rename to x-pack/platform/plugins/private/canvas/server/templates/theme_dark.ts diff --git a/x-pack/plugins/canvas/server/templates/theme_light.ts b/x-pack/platform/plugins/private/canvas/server/templates/theme_light.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/theme_light.ts rename to x-pack/platform/plugins/private/canvas/server/templates/theme_light.ts diff --git a/x-pack/plugins/canvas/server/ui_settings.ts b/x-pack/platform/plugins/private/canvas/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/canvas/server/ui_settings.ts rename to x-pack/platform/plugins/private/canvas/server/ui_settings.ts diff --git a/x-pack/plugins/canvas/server/workpad_route_context.test.ts b/x-pack/platform/plugins/private/canvas/server/workpad_route_context.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/workpad_route_context.test.ts rename to x-pack/platform/plugins/private/canvas/server/workpad_route_context.test.ts diff --git a/x-pack/plugins/canvas/server/workpad_route_context.ts b/x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts similarity index 100% rename from x-pack/plugins/canvas/server/workpad_route_context.ts rename to x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/README.mdx b/x-pack/platform/plugins/private/canvas/shareable_runtime/README.mdx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/README.mdx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/README.mdx diff --git a/x-pack/plugins/canvas/shareable_runtime/__mocks__/supported_renderers.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/__mocks__/supported_renderers.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/__mocks__/supported_renderers.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/__mocks__/supported_renderers.js diff --git a/x-pack/plugins/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/api/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/api/shareable.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/shareable.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/api/shareable.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/shareable.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap similarity index 56% rename from x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap index 447771435a1dc..a3d610ec821e2 100644 --- a/x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap +++ b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` App renders properly 1`] = `"
markdown mock
markdown mock

Page level controls

My Canvas Workpad

There is a new region landmark with page level controls at the end of the document.

"`; +exports[` App renders properly 1`] = `"
markdown mock
markdown mock

Page level controls

My Canvas Workpad

There is a new region landmark with page level controls at the end of the document.

"`; diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/page.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/page.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/page.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/page.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/app.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/app.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/app.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/app.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap similarity index 94% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap index cfe41427b1ea1..3ac5a1a2731bc 100644 --- a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap +++ b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap @@ -14,14 +14,18 @@ exports[` can navigate Autoplay Settings 1`] = ` class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-light-hasTransform" data-popover-panel="true" role="dialog" - style="top: -16px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: -16px; left: -18px; will-change: transform, opacity; z-index: 2000;" tabindex="0" >
+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper" + style="left: 9px; top: 100%;" + > +
+

can navigate Autoplay Settings 2`] = ` data-popover-open="true" data-popover-panel="true" role="dialog" - style="top: -16px; left: -22px; z-index: 2000;" + style="top: -16px; left: -18px; z-index: 2000;" tabindex="0" >

+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper" + style="left: 9px; top: 100%;" + > +
+

can navigate Toolbar Settings, closes when activated 1`] = class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-light-hasTransform" data-popover-panel="true" role="dialog" - style="top: -16px; left: -22px; will-change: transform, opacity; z-index: 2000;" + style="top: -16px; left: -18px; will-change: transform, opacity; z-index: 2000;" tabindex="0" >

+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper" + style="left: 9px; top: 100%;" + > +
+

can navigate Toolbar Settings, closes when activated 2`] = data-popover-open="true" data-popover-panel="true" role="dialog" - style="top: -16px; left: -22px; z-index: 2000;" + style="top: -16px; left: -18px; z-index: 2000;" tabindex="0" >

+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper" + style="left: 9px; top: 100%;" + > +
+

can navigate Toolbar Settings, closes when activated 3`] = class="euiPanel euiPanel--plain euiPopover__panel emotion-euiPanel-grow-m-plain-euiPopover__panel-light-hasTransform" data-popover-panel="true" role="dialog" - style="top: -16px; left: -22px; z-index: 2000;" + style="top: -16px; left: -18px; z-index: 2000;" tabindex="0" >

+ class="euiPopover__arrowWrapper emotion-euiPopoverArrowWrapper" + style="left: 9px; top: 100%;" + > +
+

'RenderedElement'); // Some of the code requires that this directory exists, but the tests don't actually require any css to be present -const cssDir = path.resolve(__dirname, '../../../../built_assets/css'); +const cssDir = path.resolve(__dirname, '../../../../../../built_assets/css'); if (!fs.existsSync(cssDir)) { fs.mkdirSync(cssDir, { recursive: true }); } diff --git a/x-pack/plugins/canvas/tasks/mocks/customElementService.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/customElementService.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/customElementService.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/customElementService.js diff --git a/x-pack/plugins/canvas/tasks/mocks/downloadWorkpad.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/downloadWorkpad.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/downloadWorkpad.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/downloadWorkpad.js diff --git a/x-pack/plugins/canvas/tasks/mocks/esService.ts b/x-pack/platform/plugins/private/canvas/tasks/mocks/esService.ts similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/esService.ts rename to x-pack/platform/plugins/private/canvas/tasks/mocks/esService.ts diff --git a/x-pack/plugins/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts diff --git a/x-pack/plugins/canvas/tasks/mocks/uiChrome.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiChrome.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiChrome.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiChrome.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiMetric.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiMetric.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiMetric.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiMetric.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotify.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotify.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotify.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotify.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotifyFormatMsg.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotifyFormatMsg.js diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/platform/plugins/private/canvas/tsconfig.json similarity index 94% rename from x-pack/plugins/canvas/tsconfig.json rename to x-pack/platform/plugins/private/canvas/tsconfig.json index 251deca87c4ee..1c372fabda1d3 100644 --- a/x-pack/plugins/canvas/tsconfig.json +++ b/x-pack/platform/plugins/private/canvas/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", @@ -13,7 +13,7 @@ }, "include": [ "*.ts", - "../../../typings/**/*", + "../../../../../typings/**/*", "__fixtures__/**/*", "canvas_plugin_src/**/*", "common/**/*", @@ -26,7 +26,7 @@ "types/**/*" ], "kbn_references": [ - { "path": "../../../src/setup_node_env/tsconfig.json" }, + { "path": "../../../../../src/setup_node_env/tsconfig.json" }, "@kbn/core", "@kbn/charts-plugin", "@kbn/data-plugin", diff --git a/x-pack/plugins/canvas/types/arguments.ts b/x-pack/platform/plugins/private/canvas/types/arguments.ts similarity index 100% rename from x-pack/plugins/canvas/types/arguments.ts rename to x-pack/platform/plugins/private/canvas/types/arguments.ts diff --git a/x-pack/plugins/canvas/types/assets.ts b/x-pack/platform/plugins/private/canvas/types/assets.ts similarity index 100% rename from x-pack/plugins/canvas/types/assets.ts rename to x-pack/platform/plugins/private/canvas/types/assets.ts diff --git a/x-pack/plugins/canvas/types/canvas.ts b/x-pack/platform/plugins/private/canvas/types/canvas.ts similarity index 100% rename from x-pack/plugins/canvas/types/canvas.ts rename to x-pack/platform/plugins/private/canvas/types/canvas.ts diff --git a/x-pack/plugins/canvas/types/elements.ts b/x-pack/platform/plugins/private/canvas/types/elements.ts similarity index 100% rename from x-pack/plugins/canvas/types/elements.ts rename to x-pack/platform/plugins/private/canvas/types/elements.ts diff --git a/x-pack/plugins/canvas/types/embeddables.ts b/x-pack/platform/plugins/private/canvas/types/embeddables.ts similarity index 100% rename from x-pack/plugins/canvas/types/embeddables.ts rename to x-pack/platform/plugins/private/canvas/types/embeddables.ts diff --git a/x-pack/plugins/canvas/types/filters.ts b/x-pack/platform/plugins/private/canvas/types/filters.ts similarity index 100% rename from x-pack/plugins/canvas/types/filters.ts rename to x-pack/platform/plugins/private/canvas/types/filters.ts diff --git a/x-pack/plugins/canvas/types/functions.ts b/x-pack/platform/plugins/private/canvas/types/functions.ts similarity index 100% rename from x-pack/plugins/canvas/types/functions.ts rename to x-pack/platform/plugins/private/canvas/types/functions.ts diff --git a/x-pack/plugins/canvas/types/global.d.ts b/x-pack/platform/plugins/private/canvas/types/global.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/global.d.ts rename to x-pack/platform/plugins/private/canvas/types/global.d.ts diff --git a/x-pack/plugins/canvas/types/index.ts b/x-pack/platform/plugins/private/canvas/types/index.ts similarity index 100% rename from x-pack/plugins/canvas/types/index.ts rename to x-pack/platform/plugins/private/canvas/types/index.ts diff --git a/x-pack/plugins/canvas/types/react_moment_prototypes.d.ts b/x-pack/platform/plugins/private/canvas/types/react_moment_prototypes.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/react_moment_prototypes.d.ts rename to x-pack/platform/plugins/private/canvas/types/react_moment_prototypes.d.ts diff --git a/x-pack/plugins/canvas/types/renderers.ts b/x-pack/platform/plugins/private/canvas/types/renderers.ts similarity index 100% rename from x-pack/plugins/canvas/types/renderers.ts rename to x-pack/platform/plugins/private/canvas/types/renderers.ts diff --git a/x-pack/plugins/canvas/types/shortcuts.ts b/x-pack/platform/plugins/private/canvas/types/shortcuts.ts similarity index 100% rename from x-pack/plugins/canvas/types/shortcuts.ts rename to x-pack/platform/plugins/private/canvas/types/shortcuts.ts diff --git a/x-pack/plugins/canvas/types/state.ts b/x-pack/platform/plugins/private/canvas/types/state.ts similarity index 100% rename from x-pack/plugins/canvas/types/state.ts rename to x-pack/platform/plugins/private/canvas/types/state.ts diff --git a/x-pack/plugins/canvas/types/strategy.ts b/x-pack/platform/plugins/private/canvas/types/strategy.ts similarity index 98% rename from x-pack/plugins/canvas/types/strategy.ts rename to x-pack/platform/plugins/private/canvas/types/strategy.ts index 1248c157075f9..e3191e03e50f8 100644 --- a/x-pack/plugins/canvas/types/strategy.ts +++ b/x-pack/platform/plugins/private/canvas/types/strategy.ts @@ -6,7 +6,7 @@ */ import { TransportResult } from '@elastic/elasticsearch'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { IKibanaSearchRequest } from '@kbn/search-types'; import { ExpressionValueFilter } from '.'; export interface EssqlSearchStrategyRequest extends IKibanaSearchRequest { diff --git a/x-pack/plugins/canvas/types/style.ts b/x-pack/platform/plugins/private/canvas/types/style.ts similarity index 100% rename from x-pack/plugins/canvas/types/style.ts rename to x-pack/platform/plugins/private/canvas/types/style.ts diff --git a/x-pack/plugins/canvas/types/telemetry.ts b/x-pack/platform/plugins/private/canvas/types/telemetry.ts similarity index 100% rename from x-pack/plugins/canvas/types/telemetry.ts rename to x-pack/platform/plugins/private/canvas/types/telemetry.ts diff --git a/x-pack/plugins/canvas/types/transforms.ts b/x-pack/platform/plugins/private/canvas/types/transforms.ts similarity index 100% rename from x-pack/plugins/canvas/types/transforms.ts rename to x-pack/platform/plugins/private/canvas/types/transforms.ts diff --git a/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx b/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx index 9a7700a5de828..464c23d28fbee 100644 --- a/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx +++ b/x-pack/platform/plugins/private/data_usage/public/app/components/chart_panel.tsx @@ -6,7 +6,7 @@ */ import React, { useCallback, useMemo } from 'react'; -import { EuiFlexItem, EuiPanel, EuiTitle, useEuiTheme } from '@elastic/eui'; +import { EuiFlexItem, EuiPanel, EuiTitle } from '@elastic/eui'; import { Chart, Axis, @@ -14,10 +14,9 @@ import { Settings, ScaleType, niceTimeFormatter, - DARK_THEME, - LIGHT_THEME, LineSeries, } from '@elastic/charts'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { i18n } from '@kbn/i18n'; import { LegendAction } from './legend_action'; import { type MetricTypes, type MetricSeries } from '../../../common/rest_types'; @@ -49,7 +48,7 @@ export const ChartPanel: React.FC = ({ popoverOpen, togglePopover, }) => { - const theme = useEuiTheme(); + const baseTheme = useElasticChartsTheme(); const chartTimestamps = series.flatMap((stream) => stream.data.map((d) => d.x)); @@ -97,7 +96,7 @@ export const ChartPanel: React.FC = ({ = ({ onRefresh, needsUpdate }) => { isAutoRefreshOnly={!hasValidTimeField} showRefresh={!hasValidTimeField} width="full" - flexGroup={!hasValidTimeField} onRefresh={onRefresh} needsUpdate={needsUpdate} />, diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx index 5f1f78af90073..b6ab99583cf49 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx @@ -12,7 +12,6 @@ import type { Required } from 'utility-types'; import { getEsQueryConfig } from '@kbn/data-plugin/common'; import { - useEuiTheme, useEuiBreakpoint, useIsWithinMaxBreakpoint, EuiFlexGroup, @@ -21,7 +20,6 @@ import { EuiPanel, EuiProgress, EuiSpacer, - EuiTitle, } from '@elastic/eui'; import { type Filter, FilterStateStore, type Query, buildEsQuery } from '@kbn/es-query'; @@ -108,8 +106,6 @@ export interface IndexDataVisualizerViewProps { } export const IndexDataVisualizerView: FC = (dataVisualizerProps) => { - const { euiTheme } = useEuiTheme(); - const [savedRandomSamplerPreference, saveRandomSamplerPreference] = useStorage< DVKey, DVStorageMapped @@ -515,49 +511,40 @@ export const IndexDataVisualizerView: FC = (dataVi paddingSize="none" > - - - -

{currentDataView.getName()}

- - - - - {isWithinLargeBreakpoint ? : null} - - {hasValidTimeField ? ( - - - - ) : null} - - + {currentDataView.getName()} + {/* TODO: This management section shouldn't live inside the header */} + + + } + rightSideGroupProps={{ + gutterSize: 's', + 'data-test-subj': 'dataVisualizerTimeRangeSelectorSection', + }} + rightSideItems={[ + , + hasValidTimeField && ( + - - - + ), + ]} + /> diff --git a/x-pack/plugins/file_upload/common/constants.ts b/x-pack/platform/plugins/private/file_upload/common/constants.ts similarity index 100% rename from x-pack/plugins/file_upload/common/constants.ts rename to x-pack/platform/plugins/private/file_upload/common/constants.ts diff --git a/x-pack/plugins/file_upload/common/index.ts b/x-pack/platform/plugins/private/file_upload/common/index.ts similarity index 100% rename from x-pack/plugins/file_upload/common/index.ts rename to x-pack/platform/plugins/private/file_upload/common/index.ts diff --git a/x-pack/plugins/file_upload/common/types.ts b/x-pack/platform/plugins/private/file_upload/common/types.ts similarity index 100% rename from x-pack/plugins/file_upload/common/types.ts rename to x-pack/platform/plugins/private/file_upload/common/types.ts diff --git a/x-pack/plugins/observability_solution/infra/jest.config.js b/x-pack/platform/plugins/private/file_upload/jest.config.js similarity index 58% rename from x-pack/plugins/observability_solution/infra/jest.config.js rename to x-pack/platform/plugins/private/file_upload/jest.config.js index 817a1f600b836..cf3d8cb9490b6 100644 --- a/x-pack/plugins/observability_solution/infra/jest.config.js +++ b/x-pack/platform/plugins/private/file_upload/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/plugins/observability_solution/infra'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/file_upload'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/infra', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/file_upload', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/infra/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/file_upload/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/file_upload/kibana.jsonc b/x-pack/platform/plugins/private/file_upload/kibana.jsonc similarity index 100% rename from x-pack/plugins/file_upload/kibana.jsonc rename to x-pack/platform/plugins/private/file_upload/kibana.jsonc diff --git a/x-pack/plugins/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx b/x-pack/platform/plugins/private/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx rename to x-pack/platform/plugins/private/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx diff --git a/x-pack/plugins/file_upload/public/api/index.ts b/x-pack/platform/plugins/private/file_upload/public/api/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/api/index.ts rename to x-pack/platform/plugins/private/file_upload/public/api/index.ts diff --git a/x-pack/plugins/file_upload/public/api/index_name_form_async_wrapper.tsx b/x-pack/platform/plugins/private/file_upload/public/api/index_name_form_async_wrapper.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/api/index_name_form_async_wrapper.tsx rename to x-pack/platform/plugins/private/file_upload/public/api/index_name_form_async_wrapper.tsx diff --git a/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap b/x-pack/platform/plugins/private/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap similarity index 100% rename from x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap rename to x-pack/platform/plugins/private/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/geo_file_picker.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_file_picker.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/geo_file_picker.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_file_picker.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/geo_upload_form.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_upload_form.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/geo_upload_form.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_upload_form.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/index.ts b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/index.ts rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index.ts diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_wizard.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_wizard.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_wizard.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_wizard.tsx diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.test.tsx b/x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.test.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/import_complete_view.test.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.test.tsx diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.tsx b/x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/import_complete_view.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.tsx diff --git a/x-pack/plugins/file_upload/public/components/utils.ts b/x-pack/platform/plugins/private/file_upload/public/components/utils.ts similarity index 100% rename from x-pack/plugins/file_upload/public/components/utils.ts rename to x-pack/platform/plugins/private/file_upload/public/components/utils.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/abstract_geo_file_importer.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/abstract_geo_file_importer.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/create_chunks.test.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/create_chunks.test.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.test.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/create_chunks.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/create_chunks.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.test.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.test.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.test.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/types.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/types.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/types.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/types.ts diff --git a/x-pack/plugins/file_upload/public/importer/get_max_bytes.ts b/x-pack/platform/plugins/private/file_upload/public/importer/get_max_bytes.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/get_max_bytes.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/get_max_bytes.ts diff --git a/x-pack/plugins/file_upload/public/importer/importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/importer_factory.ts b/x-pack/platform/plugins/private/file_upload/public/importer/importer_factory.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/importer_factory.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/importer_factory.ts diff --git a/x-pack/plugins/file_upload/public/importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/message_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/message_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/ndjson_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/ndjson_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/ndjson_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/ndjson_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/tika_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/tika_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/tika_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/tika_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/types.ts b/x-pack/platform/plugins/private/file_upload/public/importer/types.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/types.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/types.ts diff --git a/x-pack/plugins/file_upload/public/importer/validate_file.ts b/x-pack/platform/plugins/private/file_upload/public/importer/validate_file.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/validate_file.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/validate_file.ts diff --git a/x-pack/plugins/file_upload/public/index.ts b/x-pack/platform/plugins/private/file_upload/public/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/index.ts rename to x-pack/platform/plugins/private/file_upload/public/index.ts diff --git a/x-pack/plugins/file_upload/public/kibana_services.ts b/x-pack/platform/plugins/private/file_upload/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/file_upload/public/kibana_services.ts rename to x-pack/platform/plugins/private/file_upload/public/kibana_services.ts diff --git a/x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts b/x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts rename to x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts diff --git a/x-pack/plugins/file_upload/public/lazy_load_bundle/lazy/index.ts b/x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/lazy/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/lazy_load_bundle/lazy/index.ts rename to x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/lazy/index.ts diff --git a/x-pack/plugins/file_upload/public/plugin.ts b/x-pack/platform/plugins/private/file_upload/public/plugin.ts similarity index 100% rename from x-pack/plugins/file_upload/public/plugin.ts rename to x-pack/platform/plugins/private/file_upload/public/plugin.ts diff --git a/x-pack/plugins/file_upload/public/validate_index_name.test.ts b/x-pack/platform/plugins/private/file_upload/public/validate_index_name.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/validate_index_name.test.ts rename to x-pack/platform/plugins/private/file_upload/public/validate_index_name.test.ts diff --git a/x-pack/plugins/file_upload/public/validate_index_name.ts b/x-pack/platform/plugins/private/file_upload/public/validate_index_name.ts similarity index 100% rename from x-pack/plugins/file_upload/public/validate_index_name.ts rename to x-pack/platform/plugins/private/file_upload/public/validate_index_name.ts diff --git a/x-pack/plugins/file_upload/server/analyze_file.tsx b/x-pack/platform/plugins/private/file_upload/server/analyze_file.tsx similarity index 100% rename from x-pack/plugins/file_upload/server/analyze_file.tsx rename to x-pack/platform/plugins/private/file_upload/server/analyze_file.tsx diff --git a/x-pack/plugins/file_upload/server/capabilities.test.ts b/x-pack/platform/plugins/private/file_upload/server/capabilities.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/capabilities.test.ts rename to x-pack/platform/plugins/private/file_upload/server/capabilities.test.ts diff --git a/x-pack/plugins/file_upload/server/capabilities.ts b/x-pack/platform/plugins/private/file_upload/server/capabilities.ts similarity index 100% rename from x-pack/plugins/file_upload/server/capabilities.ts rename to x-pack/platform/plugins/private/file_upload/server/capabilities.ts diff --git a/x-pack/plugins/file_upload/server/check_privileges.ts b/x-pack/platform/plugins/private/file_upload/server/check_privileges.ts similarity index 100% rename from x-pack/plugins/file_upload/server/check_privileges.ts rename to x-pack/platform/plugins/private/file_upload/server/check_privileges.ts diff --git a/x-pack/plugins/file_upload/server/error_wrapper.ts b/x-pack/platform/plugins/private/file_upload/server/error_wrapper.ts similarity index 100% rename from x-pack/plugins/file_upload/server/error_wrapper.ts rename to x-pack/platform/plugins/private/file_upload/server/error_wrapper.ts diff --git a/x-pack/plugins/file_upload/server/get_time_field_range.ts b/x-pack/platform/plugins/private/file_upload/server/get_time_field_range.ts similarity index 100% rename from x-pack/plugins/file_upload/server/get_time_field_range.ts rename to x-pack/platform/plugins/private/file_upload/server/get_time_field_range.ts diff --git a/x-pack/plugins/file_upload/server/import_data.ts b/x-pack/platform/plugins/private/file_upload/server/import_data.ts similarity index 100% rename from x-pack/plugins/file_upload/server/import_data.ts rename to x-pack/platform/plugins/private/file_upload/server/import_data.ts diff --git a/x-pack/plugins/file_upload/server/index.ts b/x-pack/platform/plugins/private/file_upload/server/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/index.ts rename to x-pack/platform/plugins/private/file_upload/server/index.ts diff --git a/x-pack/plugins/file_upload/server/plugin.ts b/x-pack/platform/plugins/private/file_upload/server/plugin.ts similarity index 100% rename from x-pack/plugins/file_upload/server/plugin.ts rename to x-pack/platform/plugins/private/file_upload/server/plugin.ts diff --git a/x-pack/plugins/file_upload/server/preview_index_time_range.ts b/x-pack/platform/plugins/private/file_upload/server/preview_index_time_range.ts similarity index 100% rename from x-pack/plugins/file_upload/server/preview_index_time_range.ts rename to x-pack/platform/plugins/private/file_upload/server/preview_index_time_range.ts diff --git a/x-pack/plugins/file_upload/server/preview_tika_contents.ts b/x-pack/platform/plugins/private/file_upload/server/preview_tika_contents.ts similarity index 100% rename from x-pack/plugins/file_upload/server/preview_tika_contents.ts rename to x-pack/platform/plugins/private/file_upload/server/preview_tika_contents.ts diff --git a/x-pack/plugins/file_upload/server/routes.ts b/x-pack/platform/plugins/private/file_upload/server/routes.ts similarity index 100% rename from x-pack/plugins/file_upload/server/routes.ts rename to x-pack/platform/plugins/private/file_upload/server/routes.ts diff --git a/x-pack/plugins/file_upload/server/schemas.ts b/x-pack/platform/plugins/private/file_upload/server/schemas.ts similarity index 100% rename from x-pack/plugins/file_upload/server/schemas.ts rename to x-pack/platform/plugins/private/file_upload/server/schemas.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/index.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/index.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/index.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/internal_repository.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/internal_repository.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/internal_repository.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/internal_repository.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/mappings.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/mappings.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/mappings.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/mappings.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.test.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/usage_collector.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/usage_collector.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/usage_collector.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/usage_collector.ts diff --git a/x-pack/plugins/file_upload/server/types.ts b/x-pack/platform/plugins/private/file_upload/server/types.ts similarity index 100% rename from x-pack/plugins/file_upload/server/types.ts rename to x-pack/platform/plugins/private/file_upload/server/types.ts diff --git a/x-pack/plugins/file_upload/server/utils/runtime_field_utils.ts b/x-pack/platform/plugins/private/file_upload/server/utils/runtime_field_utils.ts similarity index 100% rename from x-pack/plugins/file_upload/server/utils/runtime_field_utils.ts rename to x-pack/platform/plugins/private/file_upload/server/utils/runtime_field_utils.ts diff --git a/x-pack/plugins/file_upload/tsconfig.json b/x-pack/platform/plugins/private/file_upload/tsconfig.json similarity index 90% rename from x-pack/plugins/file_upload/tsconfig.json rename to x-pack/platform/plugins/private/file_upload/tsconfig.json index 8b7fa66cbf14b..ab6402f8d3501 100644 --- a/x-pack/plugins/file_upload/tsconfig.json +++ b/x-pack/platform/plugins/private/file_upload/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap index 83e73494fcb0a..096b56da2fe6f 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap +++ b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap @@ -178,7 +178,7 @@ exports[`extend index management ilm summary extension should render a phase def > /x-pack/plugins/observability_solution/logs_explorer'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/logstash'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/logs_explorer', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/logstash', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/logs_explorer/{common,public}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/logstash/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/logstash/kibana.jsonc b/x-pack/platform/plugins/private/logstash/kibana.jsonc similarity index 100% rename from x-pack/plugins/logstash/kibana.jsonc rename to x-pack/platform/plugins/private/logstash/kibana.jsonc diff --git a/x-pack/plugins/logstash/public/application/breadcrumbs.js b/x-pack/platform/plugins/private/logstash/public/application/breadcrumbs.js similarity index 100% rename from x-pack/plugins/logstash/public/application/breadcrumbs.js rename to x-pack/platform/plugins/private/logstash/public/application/breadcrumbs.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/constants.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/constants.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/constants.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/index.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/index.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/index.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/index.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/constants.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/constants.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/constants.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/index.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/index.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/index.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/index.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.test.js diff --git a/x-pack/plugins/logstash/public/application/index.tsx b/x-pack/platform/plugins/private/logstash/public/application/index.tsx similarity index 100% rename from x-pack/plugins/logstash/public/application/index.tsx rename to x-pack/platform/plugins/private/logstash/public/application/index.tsx diff --git a/x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx b/x-pack/platform/plugins/private/logstash/public/application/pipeline_edit_view.tsx similarity index 100% rename from x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx rename to x-pack/platform/plugins/private/logstash/public/application/pipeline_edit_view.tsx diff --git a/x-pack/plugins/logstash/public/index.ts b/x-pack/platform/plugins/private/logstash/public/index.ts similarity index 100% rename from x-pack/plugins/logstash/public/index.ts rename to x-pack/platform/plugins/private/logstash/public/index.ts diff --git a/x-pack/plugins/logstash/public/lib/get_search_value/get_search_value.js b/x-pack/platform/plugins/private/logstash/public/lib/get_search_value/get_search_value.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/get_search_value/get_search_value.js rename to x-pack/platform/plugins/private/logstash/public/lib/get_search_value/get_search_value.js diff --git a/x-pack/plugins/logstash/public/lib/get_search_value/index.js b/x-pack/platform/plugins/private/logstash/public/lib/get_search_value/index.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/get_search_value/index.js rename to x-pack/platform/plugins/private/logstash/public/lib/get_search_value/index.js diff --git a/x-pack/plugins/logstash/public/models/cluster/cluster.js b/x-pack/platform/plugins/private/logstash/public/models/cluster/cluster.js similarity index 100% rename from x-pack/plugins/logstash/public/models/cluster/cluster.js rename to x-pack/platform/plugins/private/logstash/public/models/cluster/cluster.js diff --git a/x-pack/plugins/logstash/public/models/cluster/index.js b/x-pack/platform/plugins/private/logstash/public/models/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/cluster/index.js rename to x-pack/platform/plugins/private/logstash/public/models/cluster/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/index.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/index.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/pipeline.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/pipeline.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline/pipeline.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/props.ts b/x-pack/platform/plugins/private/logstash/public/models/pipeline/props.ts similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/props.ts rename to x-pack/platform/plugins/private/logstash/public/models/pipeline/props.ts diff --git a/x-pack/plugins/logstash/public/models/pipeline_list_item/index.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline_list_item/index.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/pipeline_list_item.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/pipeline_list_item.js diff --git a/x-pack/plugins/logstash/public/plugin.ts b/x-pack/platform/plugins/private/logstash/public/plugin.ts similarity index 100% rename from x-pack/plugins/logstash/public/plugin.ts rename to x-pack/platform/plugins/private/logstash/public/plugin.ts diff --git a/x-pack/plugins/logstash/public/services/cluster/cluster_service.js b/x-pack/platform/plugins/private/logstash/public/services/cluster/cluster_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/cluster_service.js rename to x-pack/platform/plugins/private/logstash/public/services/cluster/cluster_service.js diff --git a/x-pack/plugins/logstash/public/services/cluster/index.js b/x-pack/platform/plugins/private/logstash/public/services/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/index.js rename to x-pack/platform/plugins/private/logstash/public/services/cluster/index.js diff --git a/x-pack/plugins/logstash/public/services/index.js b/x-pack/platform/plugins/private/logstash/public/services/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/index.js rename to x-pack/platform/plugins/private/logstash/public/services/index.js diff --git a/x-pack/plugins/logstash/public/services/license/index.js b/x-pack/platform/plugins/private/logstash/public/services/license/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/index.js rename to x-pack/platform/plugins/private/logstash/public/services/license/index.js diff --git a/x-pack/plugins/logstash/public/services/license/logstash_license_service.js b/x-pack/platform/plugins/private/logstash/public/services/license/logstash_license_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/logstash_license_service.js rename to x-pack/platform/plugins/private/logstash/public/services/license/logstash_license_service.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/index.js b/x-pack/platform/plugins/private/logstash/public/services/monitoring/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/index.js rename to x-pack/platform/plugins/private/logstash/public/services/monitoring/index.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/monitoring_service.js b/x-pack/platform/plugins/private/logstash/public/services/monitoring/monitoring_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/monitoring_service.js rename to x-pack/platform/plugins/private/logstash/public/services/monitoring/monitoring_service.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/index.js b/x-pack/platform/plugins/private/logstash/public/services/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/index.js rename to x-pack/platform/plugins/private/logstash/public/services/pipeline/index.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/pipeline_service.js b/x-pack/platform/plugins/private/logstash/public/services/pipeline/pipeline_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/pipeline_service.js rename to x-pack/platform/plugins/private/logstash/public/services/pipeline/pipeline_service.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/index.js b/x-pack/platform/plugins/private/logstash/public/services/pipelines/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/index.js rename to x-pack/platform/plugins/private/logstash/public/services/pipelines/index.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/pipelines_service.js b/x-pack/platform/plugins/private/logstash/public/services/pipelines/pipelines_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/pipelines_service.js rename to x-pack/platform/plugins/private/logstash/public/services/pipelines/pipelines_service.js diff --git a/x-pack/plugins/logstash/server/index.ts b/x-pack/platform/plugins/private/logstash/server/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/index.ts rename to x-pack/platform/plugins/private/logstash/server/index.ts diff --git a/x-pack/plugins/logstash/server/lib/check_license/check_license.test.ts b/x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/check_license.test.ts rename to x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.test.ts diff --git a/x-pack/plugins/logstash/server/lib/check_license/check_license.ts b/x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.ts similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/check_license.ts rename to x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.ts diff --git a/x-pack/plugins/logstash/server/lib/check_license/index.ts b/x-pack/platform/plugins/private/logstash/server/lib/check_license/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/index.ts rename to x-pack/platform/plugins/private/logstash/server/lib/check_license/index.ts diff --git a/x-pack/plugins/logstash/server/models/cluster/cluster.test.ts b/x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.test.ts similarity index 97% rename from x-pack/plugins/logstash/server/models/cluster/cluster.test.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.test.ts index 9fe03cd411b81..34f750ac776a2 100755 --- a/x-pack/plugins/logstash/server/models/cluster/cluster.test.ts +++ b/x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { Cluster } from './cluster'; describe('cluster', () => { diff --git a/x-pack/plugins/logstash/server/models/cluster/cluster.ts b/x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.ts similarity index 98% rename from x-pack/plugins/logstash/server/models/cluster/cluster.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.ts index 6c1712eb4797e..c3a3729254623 100755 --- a/x-pack/plugins/logstash/server/models/cluster/cluster.ts +++ b/x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; /** * This model deals with a cluster object from ES and converts it to Kibana downstream diff --git a/x-pack/plugins/logstash/server/models/cluster/index.ts b/x-pack/platform/plugins/private/logstash/server/models/cluster/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/index.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/index.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline/index.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/index.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline/index.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline/pipeline.test.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/pipeline.test.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.test.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline/pipeline.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/pipeline.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/index.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/index.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/index.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.ts diff --git a/x-pack/plugins/logstash/server/plugin.ts b/x-pack/platform/plugins/private/logstash/server/plugin.ts similarity index 100% rename from x-pack/plugins/logstash/server/plugin.ts rename to x-pack/platform/plugins/private/logstash/server/plugin.ts diff --git a/x-pack/plugins/logstash/server/routes/cluster/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/cluster/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/cluster/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/cluster/index.ts diff --git a/x-pack/plugins/logstash/server/routes/cluster/load.ts b/x-pack/platform/plugins/private/logstash/server/routes/cluster/load.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/cluster/load.ts rename to x-pack/platform/plugins/private/logstash/server/routes/cluster/load.ts diff --git a/x-pack/plugins/logstash/server/routes/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/index.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/delete.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/delete.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/delete.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/delete.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/index.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/load.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/load.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/load.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/load.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/save.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/save.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/save.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/save.ts diff --git a/x-pack/plugins/logstash/server/routes/pipelines/delete.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipelines/delete.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipelines/delete.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipelines/delete.ts diff --git a/x-pack/plugins/logstash/server/routes/pipelines/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipelines/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipelines/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipelines/index.ts diff --git a/x-pack/plugins/logstash/server/routes/pipelines/list.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipelines/list.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipelines/list.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipelines/list.ts diff --git a/x-pack/plugins/logstash/server/types.ts b/x-pack/platform/plugins/private/logstash/server/types.ts similarity index 100% rename from x-pack/plugins/logstash/server/types.ts rename to x-pack/platform/plugins/private/logstash/server/types.ts diff --git a/x-pack/plugins/logstash/tsconfig.json b/x-pack/platform/plugins/private/logstash/tsconfig.json similarity index 91% rename from x-pack/plugins/logstash/tsconfig.json rename to x-pack/platform/plugins/private/logstash/tsconfig.json index 62240bd04b0cc..e5f89e5557317 100644 --- a/x-pack/plugins/logstash/tsconfig.json +++ b/x-pack/platform/plugins/private/logstash/tsconfig.json @@ -1,6 +1,6 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/monitoring/common/cancel_promise.ts b/x-pack/platform/plugins/private/monitoring/common/cancel_promise.ts similarity index 100% rename from x-pack/plugins/monitoring/common/cancel_promise.ts rename to x-pack/platform/plugins/private/monitoring/common/cancel_promise.ts diff --git a/x-pack/plugins/monitoring/common/ccs_utils.test.js b/x-pack/platform/plugins/private/monitoring/common/ccs_utils.test.js similarity index 100% rename from x-pack/plugins/monitoring/common/ccs_utils.test.js rename to x-pack/platform/plugins/private/monitoring/common/ccs_utils.test.js diff --git a/x-pack/plugins/monitoring/common/ccs_utils.ts b/x-pack/platform/plugins/private/monitoring/common/ccs_utils.ts similarity index 100% rename from x-pack/plugins/monitoring/common/ccs_utils.ts rename to x-pack/platform/plugins/private/monitoring/common/ccs_utils.ts diff --git a/x-pack/plugins/monitoring/common/constants.ts b/x-pack/platform/plugins/private/monitoring/common/constants.ts similarity index 100% rename from x-pack/plugins/monitoring/common/constants.ts rename to x-pack/platform/plugins/private/monitoring/common/constants.ts diff --git a/x-pack/plugins/monitoring/common/enums.ts b/x-pack/platform/plugins/private/monitoring/common/enums.ts similarity index 100% rename from x-pack/plugins/monitoring/common/enums.ts rename to x-pack/platform/plugins/private/monitoring/common/enums.ts diff --git a/x-pack/plugins/monitoring/common/es_glob_patterns.test.ts b/x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/es_glob_patterns.test.ts rename to x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.test.ts diff --git a/x-pack/plugins/monitoring/common/es_glob_patterns.ts b/x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.ts similarity index 100% rename from x-pack/plugins/monitoring/common/es_glob_patterns.ts rename to x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.ts diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.js b/x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.js rename to x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.test.js b/x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.test.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.test.js rename to x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.test.js diff --git a/x-pack/plugins/monitoring/common/formatting.ts b/x-pack/platform/plugins/private/monitoring/common/formatting.ts similarity index 100% rename from x-pack/plugins/monitoring/common/formatting.ts rename to x-pack/platform/plugins/private/monitoring/common/formatting.ts diff --git a/x-pack/plugins/monitoring/common/get_index_patterns.test.ts b/x-pack/platform/plugins/private/monitoring/common/get_index_patterns.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/get_index_patterns.test.ts rename to x-pack/platform/plugins/private/monitoring/common/get_index_patterns.test.ts diff --git a/x-pack/plugins/monitoring/common/get_index_patterns.ts b/x-pack/platform/plugins/private/monitoring/common/get_index_patterns.ts similarity index 100% rename from x-pack/plugins/monitoring/common/get_index_patterns.ts rename to x-pack/platform/plugins/private/monitoring/common/get_index_patterns.ts diff --git a/x-pack/plugins/monitoring/common/http_api/_health/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/_health/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/_health/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/_health/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_instance.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_instance.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instance.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_instances.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instances.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_instances.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instances.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beat_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beat_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beat_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beat_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beats_listing.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_listing.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beats_listing.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_listing.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beats_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beats_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/post_cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/post_cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/post_clusters.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/post_clusters.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_clusters.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts diff --git a/x-pack/plugins/monitoring/common/http_api/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instance.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instance.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instance.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instances.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instances.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instances.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instances.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_cluster_setup_status.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_cluster_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_cluster_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_cluster_setup_status.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_disable_internal_collection.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_disable_internal_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_disable_internal_collection.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_disable_internal_collection.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_node_setup_status.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_node_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_node_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_node_setup_status.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/ccs.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/ccs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/ccs.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/ccs.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/pagination.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/pagination.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/pagination.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/pagination.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.test.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.test.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.test.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_number.test.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_number.test.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.test.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_number.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_number.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/sorting.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/sorting.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/sorting.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/sorting.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/time_range.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/time_range.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/time_range.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/time_range.ts diff --git a/x-pack/plugins/monitoring/common/index.ts b/x-pack/platform/plugins/private/monitoring/common/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/index.ts rename to x-pack/platform/plugins/private/monitoring/common/index.ts diff --git a/x-pack/plugins/monitoring/common/runtime_types.ts b/x-pack/platform/plugins/private/monitoring/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/monitoring/common/runtime_types.ts rename to x-pack/platform/plugins/private/monitoring/common/runtime_types.ts diff --git a/x-pack/plugins/monitoring/common/types/alerts.ts b/x-pack/platform/plugins/private/monitoring/common/types/alerts.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/alerts.ts rename to x-pack/platform/plugins/private/monitoring/common/types/alerts.ts diff --git a/x-pack/plugins/monitoring/common/types/es.ts b/x-pack/platform/plugins/private/monitoring/common/types/es.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/es.ts rename to x-pack/platform/plugins/private/monitoring/common/types/es.ts diff --git a/x-pack/plugins/monitoring/common/types/logs.ts b/x-pack/platform/plugins/private/monitoring/common/types/logs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/logs.ts rename to x-pack/platform/plugins/private/monitoring/common/types/logs.ts diff --git a/x-pack/plugins/monitoring/common/validate_duration.ts b/x-pack/platform/plugins/private/monitoring/common/validate_duration.ts similarity index 100% rename from x-pack/plugins/monitoring/common/validate_duration.ts rename to x-pack/platform/plugins/private/monitoring/common/validate_duration.ts diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/apm_tracing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/apm_tracing.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/apm_tracing.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/apm_tracing.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/cloud_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/cloud_setup.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/cloud_setup.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/cloud_setup.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md similarity index 94% rename from x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md index d6988cc7d5987..f4576a746125b 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md @@ -1,6 +1,6 @@ When diagnosing issues with UI or alert errors, it can be useful to know the exact query being sent by kibana to elasticsearch. -Rules should have a `fetchData` setup [like this one](/x-pack/plugins/monitoring/server/alerts/nodes_changed_rule.ts#L96). Tracing down will get you to `fetchNodesFromClusterStats`. +Rules should have a `fetchData` setup [like this one](/x-pack/platform/plugins/private/monitoring/server/alerts/nodes_changed_rule.ts#L96). Tracing down will get you to `fetchNodesFromClusterStats`. Just before the `esClient.search` call you can log out the query parameters using something like: diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md similarity index 87% rename from x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md index 4e1b67ddd612e..5b3f9898b166d 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md @@ -49,7 +49,7 @@ docker run --name metricbeat \ --pull always --rm \ --hostname=metricbeat \ --publish=5066:5066 \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml:/usr/share/metricbeat/metricbeat.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml:/usr/share/metricbeat/metricbeat.yml:ro" \ docker.elastic.co/beats/metricbeat:master-SNAPSHOT ``` @@ -65,7 +65,7 @@ docker run --name filebeat \ --hostname=filebeat \ --publish=5067:5067 \ --volume="$(pwd)/.es:/es:ro" \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml:/usr/share/filebeat/filebeat.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml:/usr/share/filebeat/filebeat.yml:ro" \ docker.elastic.co/beats/filebeat:master-SNAPSHOT ``` @@ -80,8 +80,8 @@ docker run --name logstash \ --pull always --rm \ --hostname=logstash \ --publish=9600:9600 \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/logstash.yml:/usr/share/logstash/config/logstash.yml:ro" \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml:/usr/share/logstash/config/logstash.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro" \ docker.elastic.co/logstash/logstash:master-SNAPSHOT ``` diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/running_components_from_source.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/running_components_from_source.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md similarity index 74% rename from x-pack/plugins/monitoring/dev_docs/how_to/testing.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md index 75f16b1aab05c..937d6753fb8fa 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md @@ -4,7 +4,7 @@ See the [Kibana Testing guide](https://www.elastic.co/guide/en/kibana/master/dev We mainly use: 1. Jest unit tests - located in sibling files to the source code -2. [api_integration tests](../../../../test/api_integration/apis/monitoring) -3. [functional tests](../../../../test/functional/apps/monitoring) +2. [api_integration tests](../../../../../../test/api_integration/apis/monitoring) +3. [functional tests](../../../../../../test/functional/apps/monitoring) The functional and api integration tests are both under a 'Monitoring' description, so you can use `--grep Monitoring` to run only our tests. \ No newline at end of file diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/version_compatibility.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/version_compatibility.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/version_compatibility.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/version_compatibility.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/work_with_packages.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/work_with_packages.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/work_with_packages.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/work_with_packages.md diff --git a/x-pack/plugins/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png b/x-pack/platform/plugins/private/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png rename to x-pack/platform/plugins/private/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png diff --git a/x-pack/plugins/monitoring/dev_docs/images/ek_internal_collection_overview.png b/x-pack/platform/plugins/private/monitoring/dev_docs/images/ek_internal_collection_overview.png similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/images/ek_internal_collection_overview.png rename to x-pack/platform/plugins/private/monitoring/dev_docs/images/ek_internal_collection_overview.png diff --git a/x-pack/plugins/monitoring/dev_docs/reference/architectural_overview.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/architectural_overview.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/architectural_overview.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/architectural_overview.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md similarity index 98% rename from x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md index ea585fda0306e..dca58cb3daea3 100644 --- a/x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md @@ -38,7 +38,7 @@ subgraph Kibana click Collectors "https://github.com/elastic/kibana/tree/main/src/core/server/metrics/collectors" click OpsMetricsObservable "https://github.com/elastic/kibana/blob/92a8636f0ff63ab072527574e96e6616327b2ea4/src/core/server/metrics/metrics_service.ts#L32" - click BulkUploader "https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts" + click BulkUploader "https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts" end BulkUploader-->|/_monitoring/bulk|ProdElasticsearch diff --git a/x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/indices.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/indices.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/indices.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/indices.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/logstash.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/logstash.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/rules_alerts.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/rules_alerts.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/rules_alerts.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/rules_alerts.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/terminology.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/terminology.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/terminology.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/terminology.md diff --git a/x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md similarity index 81% rename from x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md index 7f8ee8de1c1e5..3d85ddcded998 100644 --- a/x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md @@ -6,9 +6,9 @@ When trying to debug why a CPU metric doesn't look the way you expect it to in a At the time of writing, the code path to get from a system level CPU metric to a utilization percentage looks like this: -1. `node_cpu_metric` set to `node_cgroup_quota_as_cpu_utilization` when cgroup is enabled: [node_detail.js](/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js#L61-65) -1. `node_cgroup_quota_as_cpu_utilization` defined as a `QuotaMetric` against `cpu.cfs_quota_micros`: [metrics.ts](/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts#L798-801) -1. `QuotaMetric` tries to produce a ratio of usage to quota, but returns null when quota isn't a positive number: [quota_metric.ts](/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts#L79-80) +1. `node_cpu_metric` set to `node_cgroup_quota_as_cpu_utilization` when cgroup is enabled: [node_detail.js](/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.js#L61-65) +1. `node_cgroup_quota_as_cpu_utilization` defined as a `QuotaMetric` against `cpu.cfs_quota_micros`: [metrics.ts](/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts#L798-801) +1. `QuotaMetric` tries to produce a ratio of usage to quota, but returns null when quota isn't a positive number: [quota_metric.ts](/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts#L79-80) So it's important to be aware of the `monitoring.ui.container.elasticsearch.enabled` setting, which defaults to `true` on cloud.elastic.co. diff --git a/x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md similarity index 94% rename from x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md index 04653d84c6b8b..1538044d9b2a4 100644 --- a/x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md @@ -1,6 +1,6 @@ If the stack monitoring UI isn't showing data for any cluster or missing key metrics, it may first be useful to survey the available data. -If troubleshooting a cluster with a version >= 8.3.1, the [Stack Monitoring health API](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/routes/api/v1/_health) is the recommended way to get an overview of the available data and possible metrics collection issues. +If troubleshooting a cluster with a version >= 8.3.1, the [Stack Monitoring health API](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health) is the recommended way to get an overview of the available data and possible metrics collection issues. The API is included in the [support-diagnostics utility](https://github.com/elastic/support-diagnostics) so if a bundle is provided in the issue you're working on, the API response would already be available in `kibana_stack_monitoring_health.json`. Otherwise, one can ask for the API response instead of the raw queries. If troubleshooting an older version, the following queries would be good starters: diff --git a/x-pack/plugins/observability_solution/dataset_quality/jest.config.js b/x-pack/platform/plugins/private/monitoring/jest.config.js similarity index 56% rename from x-pack/plugins/observability_solution/dataset_quality/jest.config.js rename to x-pack/platform/plugins/private/monitoring/jest.config.js index 23ec1505b0f89..31c593b40a0a0 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/jest.config.js +++ b/x-pack/platform/plugins/private/monitoring/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/plugins/observability_solution/dataset_quality'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/monitoring'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/dataset_quality', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/dataset_quality/{common,public}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/monitoring/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/monitoring/kibana.jsonc b/x-pack/platform/plugins/private/monitoring/kibana.jsonc similarity index 100% rename from x-pack/plugins/monitoring/kibana.jsonc rename to x-pack/platform/plugins/private/monitoring/kibana.jsonc diff --git a/x-pack/plugins/monitoring/public/alerts/alert_form.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/alert_form.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/alert_form.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/alert_form.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/alerts_dropdown.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/alerts_dropdown.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/badge.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/badge.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/badge.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/badge.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/callout.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/callout.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/callout.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/callout.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/validation.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/validation.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/configuration.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/configuration.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/configuration.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/configuration.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/context.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/context.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/context.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/context.ts diff --git a/x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/disk_usage_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/disk_usage_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/disk_usage_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/disk_usage_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/enable_alerts_modal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/enable_alerts_modal.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/large_shard_size_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/large_shard_size_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/large_shard_size_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/large_shard_size_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/legacy_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/legacy_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/legacy_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/legacy_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/alerts/lib/alerts_toast.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/alerts_toast.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/alerts_toast.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/alerts_toast.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/replace_tokens.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/replace_tokens.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/replace_tokens.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/replace_tokens.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/should_show_alert_badge.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/should_show_alert_badge.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/should_show_alert_badge.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/should_show_alert_badge.ts diff --git a/x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts diff --git a/x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.ts diff --git a/x-pack/plugins/monitoring/public/alerts/memory_usage_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/memory_usage_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/memory_usage_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/memory_usage_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/panel.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/panel.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/panel.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/panel.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/status.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/status.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/status.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/types.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/types.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/types.ts diff --git a/x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/external_config_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/external_config_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/global_state_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/global_state_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/header_action_menu_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/header_action_menu_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.test.ts b/x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.test.ts rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.test.ts diff --git a/x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.ts b/x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.ts rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_alerts_modal.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_alerts_modal.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_breadcrumbs.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_breadcrumbs.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_charts.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_charts.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_charts.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_charts.tsx diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_clusters.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_local_storage.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_local_storage.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_local_storage.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_monitoring_time.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_monitoring_time.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_request_error_handler.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_request_error_handler.tsx diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_table.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_table.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_table.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_title.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_title.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_title.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_title.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_track_metric.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_track_metric.tsx diff --git a/x-pack/plugins/monitoring/public/application/index.tsx b/x-pack/platform/plugins/private/monitoring/public/application/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/index.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/access_denied/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/access_denied/index.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/apm_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/apm_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/apm_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/apm_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/index.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/beats_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/beats_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/beats_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/beats_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/cluster/overview_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/cluster/overview_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/indices_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/indices_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/item_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/item_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/nodes_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/nodes_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/home/cluster_listing.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/home/cluster_listing.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/kibana_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/kibana_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/kibana_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/kibana_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/license_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/license_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/license_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/license_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/loading_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/loading_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/loading_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/advanced.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/advanced.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/logstash_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/logstash_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node_pipelines.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node_pipelines.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/nodes.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/nodes.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipelines.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipelines.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts similarity index 94% rename from x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts index 6225e3863b2f7..18cb74404a21f 100644 --- a/x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts +++ b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts @@ -5,7 +5,7 @@ * 2.0. */ -// From x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js +// From x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js export class Enabler { http: any; updateModel: any; diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/index.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/no_data/index.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/no_data_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/no_data_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/page_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/page_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/page_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/preserve_query_history.ts b/x-pack/platform/plugins/private/monitoring/public/application/preserve_query_history.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/preserve_query_history.ts rename to x-pack/platform/plugins/private/monitoring/public/application/preserve_query_history.ts diff --git a/x-pack/plugins/monitoring/public/application/route_init.tsx b/x-pack/platform/plugins/private/monitoring/public/application/route_init.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/route_init.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/route_init.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/apm_metrics.tsx b/x-pack/platform/plugins/private/monitoring/public/components/apm/apm_metrics.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/apm_metrics.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/apm/apm_metrics.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/instance.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/instance.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/instance.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/instance.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/instances.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/overview/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/overview/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/beat.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/beat/beat.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/beat.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/beat/beat.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/beat/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/beat/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/stats.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/stats.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/stats.js diff --git a/x-pack/plugins/monitoring/public/components/chart/chart_target.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/chart_target.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/chart_target.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/chart_target.js diff --git a/x-pack/plugins/monitoring/public/components/chart/event_bus.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/event_bus.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/event_bus.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/event_bus.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_chart_options.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_chart_options.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_chart_options.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_chart_options.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_technical_preview.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_technical_preview.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_technical_preview.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_technical_preview.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_units.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_units.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_units.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_units.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/index.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/index.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries.js diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.tsx diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_container.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_container.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_container.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_container.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.scss diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.scss b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.scss rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.scss diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/apm_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/apm_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/beats_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/beats_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/elasticsearch_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/elasticsearch_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/enterprise_search_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/enterprise_search_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/enterprise_search_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/enterprise_search_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.test.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.test.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.d.ts diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/kibana_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/kibana_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/logstash_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/logstash_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/status.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/parse_props.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/parse_props.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/progress.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/progress.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/snapshot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/snapshot.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_destination.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_destination.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/total_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/total_time.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/overview.tsx diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/status.tsx b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/status.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/status.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/index.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kibana/cluster_status/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/cluster_status/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/format_last_seen_timestamp.ts b/x-pack/platform/plugins/private/monitoring/public/components/kibana/format_last_seen_timestamp.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/format_last_seen_timestamp.ts rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/format_last_seen_timestamp.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/index.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/instances.tsx diff --git a/x-pack/plugins/monitoring/public/components/kibana/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/autocomplete_field.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/autocomplete_field.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/suggestion_item.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/monitoring/public/components/license/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/license/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/license/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/license/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/logs.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/logs.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/logs.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/logs.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/reason.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/reason.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/reason.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/reason.tsx diff --git a/x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/constants.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/constants.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/changes_needed.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/changes_needed.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/cloud_deployment.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/cloud_deployment.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/looking_for.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/looking_for.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/what_is.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/what_is.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checking_settings.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checking_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checking_settings.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checking_settings.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap similarity index 98% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap index 9eae73675cc3c..7fdc9cc321040 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap +++ b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap @@ -92,7 +92,7 @@ Array [ aria-label="Loading" class="euiLoadingSpinner emotion-euiLoadingSpinner-m" role="progressbar" - style="border-color: #07c currentcolor currentcolor currentcolor;" + style="border-color: #0077cc currentcolor currentcolor currentcolor;" /> Turn on monitoring diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.d.ts diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.test.js diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/page_loading/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/page_loading/page_loading.test.js b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/page_loading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/page_loading.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/page_loading.test.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/renderers/index.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/index.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/lib/find_new_uuid.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/lib/find_new_uuid.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/lib/find_new_uuid.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/lib/find_new_uuid.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.d.ts diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.test.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/badge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/badge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/badge.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/badge.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/exit_button.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/exit_button.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/exit_button.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/exit_button.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.ts diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/setup_mode_context.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/setup_mode_context.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/setup_mode_context.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/setup_mode_context.ts diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/tooltip.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/tooltip.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/types.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/types.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/types.ts diff --git a/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx b/x-pack/platform/plugins/private/monitoring/public/components/shared/toolbar.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/shared/toolbar.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/shared/toolbar.tsx diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.test.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline.scss b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline.scss rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline.scss diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline_flot_chart.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline_flot_chart.js diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_index.scss b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_index.scss rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/_status_icon.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/_status_icon.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/summary_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.scss b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.scss rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.scss diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.test.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.tsx b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.tsx diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table.tsx b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table.tsx diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.d.ts diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.js b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table_ssp.js rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.js diff --git a/x-pack/plugins/monitoring/public/components/table/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/index.ts diff --git a/x-pack/plugins/monitoring/public/components/table/storage.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/storage.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/storage.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/storage.ts diff --git a/x-pack/plugins/monitoring/public/external_config.ts b/x-pack/platform/plugins/private/monitoring/public/external_config.ts similarity index 100% rename from x-pack/plugins/monitoring/public/external_config.ts rename to x-pack/platform/plugins/private/monitoring/public/external_config.ts diff --git a/x-pack/plugins/monitoring/public/icons/health-gray.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-gray.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-green.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-green.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-red.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-red.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-yellow.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-yellow.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg diff --git a/x-pack/plugins/monitoring/public/index.scss b/x-pack/platform/plugins/private/monitoring/public/index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/index.scss rename to x-pack/platform/plugins/private/monitoring/public/index.scss diff --git a/x-pack/plugins/monitoring/public/index.ts b/x-pack/platform/plugins/private/monitoring/public/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/index.ts rename to x-pack/platform/plugins/private/monitoring/public/index.ts diff --git a/x-pack/plugins/monitoring/public/jest.helpers.ts b/x-pack/platform/plugins/private/monitoring/public/jest.helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/public/jest.helpers.ts rename to x-pack/platform/plugins/private/monitoring/public/jest.helpers.ts diff --git a/x-pack/plugins/monitoring/public/legacy_shims.ts b/x-pack/platform/plugins/private/monitoring/public/legacy_shims.ts similarity index 100% rename from x-pack/plugins/monitoring/public/legacy_shims.ts rename to x-pack/platform/plugins/private/monitoring/public/legacy_shims.ts diff --git a/x-pack/plugins/monitoring/public/lib/apm_agent.ts b/x-pack/platform/plugins/private/monitoring/public/lib/apm_agent.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/apm_agent.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/apm_agent.ts diff --git a/x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js b/x-pack/platform/plugins/private/monitoring/public/lib/calculate_shard_stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js rename to x-pack/platform/plugins/private/monitoring/public/lib/calculate_shard_stats.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/index.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.test.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js b/x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js rename to x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.test.js diff --git a/x-pack/plugins/monitoring/public/lib/extract_ip.js b/x-pack/platform/plugins/private/monitoring/public/lib/extract_ip.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/extract_ip.js rename to x-pack/platform/plugins/private/monitoring/public/lib/extract_ip.js diff --git a/x-pack/plugins/monitoring/public/lib/fetch_alerts.ts b/x-pack/platform/plugins/private/monitoring/public/lib/fetch_alerts.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/fetch_alerts.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/fetch_alerts.ts diff --git a/x-pack/plugins/monitoring/public/lib/fetch_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/lib/fetch_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/fetch_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/fetch_clusters.ts diff --git a/x-pack/plugins/monitoring/public/lib/form_validation.ts b/x-pack/platform/plugins/private/monitoring/public/lib/form_validation.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/form_validation.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/form_validation.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_msg.test.ts b/x-pack/platform/plugins/private/monitoring/public/lib/format_msg.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_msg.test.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/format_msg.test.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_msg.ts b/x-pack/platform/plugins/private/monitoring/public/lib/format_msg.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_msg.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/format_msg.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_number.js b/x-pack/platform/plugins/private/monitoring/public/lib/format_number.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.js rename to x-pack/platform/plugins/private/monitoring/public/lib/format_number.js diff --git a/x-pack/plugins/monitoring/public/lib/format_number.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/format_number.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/format_number.test.js diff --git a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_cluster_from_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_cluster_from_clusters.ts diff --git a/x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.test.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.test.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.test.ts diff --git a/x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.ts diff --git a/x-pack/plugins/monitoring/public/lib/kuery.ts b/x-pack/platform/plugins/private/monitoring/public/lib/kuery.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/kuery.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/kuery.ts diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.test.js diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.ts b/x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.ts diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.test.js diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.tsx b/x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.tsx rename to x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.tsx diff --git a/x-pack/plugins/monitoring/public/lib/typed_react.tsx b/x-pack/platform/plugins/private/monitoring/public/lib/typed_react.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/lib/typed_react.tsx rename to x-pack/platform/plugins/private/monitoring/public/lib/typed_react.tsx diff --git a/x-pack/plugins/monitoring/public/plugin.ts b/x-pack/platform/plugins/private/monitoring/public/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring/public/plugin.ts rename to x-pack/platform/plugins/private/monitoring/public/plugin.ts diff --git a/x-pack/plugins/monitoring/public/types.ts b/x-pack/platform/plugins/private/monitoring/public/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/types.ts rename to x-pack/platform/plugins/private/monitoring/public/types.ts diff --git a/x-pack/plugins/monitoring/public/url_state.ts b/x-pack/platform/plugins/private/monitoring/public/url_state.ts similarity index 100% rename from x-pack/plugins/monitoring/public/url_state.ts rename to x-pack/platform/plugins/private/monitoring/public/url_state.ts diff --git a/x-pack/plugins/monitoring/readme.md b/x-pack/platform/plugins/private/monitoring/readme.md similarity index 100% rename from x-pack/plugins/monitoring/readme.md rename to x-pack/platform/plugins/private/monitoring/readme.md diff --git a/x-pack/plugins/monitoring/server/config.test.ts b/x-pack/platform/plugins/private/monitoring/server/config.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/config.test.ts rename to x-pack/platform/plugins/private/monitoring/server/config.test.ts diff --git a/x-pack/plugins/monitoring/server/config.ts b/x-pack/platform/plugins/private/monitoring/server/config.ts similarity index 100% rename from x-pack/plugins/monitoring/server/config.ts rename to x-pack/platform/plugins/private/monitoring/server/config.ts diff --git a/x-pack/plugins/monitoring/server/debug_logger.ts b/x-pack/platform/plugins/private/monitoring/server/debug_logger.ts similarity index 100% rename from x-pack/plugins/monitoring/server/debug_logger.ts rename to x-pack/platform/plugins/private/monitoring/server/debug_logger.ts diff --git a/x-pack/plugins/monitoring/server/deprecations.test.js b/x-pack/platform/plugins/private/monitoring/server/deprecations.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/deprecations.test.js rename to x-pack/platform/plugins/private/monitoring/server/deprecations.test.js diff --git a/x-pack/plugins/monitoring/server/deprecations.ts b/x-pack/platform/plugins/private/monitoring/server/deprecations.ts similarity index 100% rename from x-pack/plugins/monitoring/server/deprecations.ts rename to x-pack/platform/plugins/private/monitoring/server/deprecations.ts diff --git a/x-pack/plugins/monitoring/server/es_client/README.md b/x-pack/platform/plugins/private/monitoring/server/es_client/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/README.md rename to x-pack/platform/plugins/private/monitoring/server/es_client/README.md diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.test.js b/x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.test.js rename to x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.test.js diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.ts b/x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.ts similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.ts rename to x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.ts diff --git a/x-pack/plugins/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts b/x-pack/platform/plugins/private/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts rename to x-pack/platform/plugins/private/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts diff --git a/x-pack/plugins/monitoring/server/index.ts b/x-pack/platform/plugins/private/monitoring/server/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/index.ts rename to x-pack/platform/plugins/private/monitoring/server/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/types.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/types.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/types.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/init.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/init.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/init.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/init.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/create_dataset_query_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/create_dataset_query_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/create_dataset_query_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/create_dataset_query_filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_status.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_status.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/_apm_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/_apm_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_apm_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/_apm_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/_get_time_of_last_event.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/_get_time_of_last_event.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/create_apm_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/create_apm_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/create_apm_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/create_apm_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apm_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apm_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apm_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apm_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.test.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/_beats_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/_beats_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/_beats_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/_beats_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/types.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availabiilty.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_availabiilty.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availabiilty.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_availabiilty.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availability.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_availability.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availability.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_availability.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__fixtures__/clusters.json b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/__fixtures__/clusters.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__fixtures__/clusters.json rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/__fixtures__/clusters.json diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_license.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_license.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_from_request.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_from_request.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/is_in_code_path.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/is_in_code_path.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/is_in_code_path.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/is_in_code_path.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_query.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_query.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_query.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_route_validation_function.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_route_validation_function.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_route_validation_function.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_route_validation_function.ts diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/details/get_series.ts b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_series.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_series.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_series.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/ccr.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/convert_metric_names.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/convert_metric_names.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/convert_metric_names.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/convert_metric_names.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/types.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/error_missing_required.ts b/x-pack/platform/plugins/private/monitoring/server/lib/error_missing_required.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/error_missing_required.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/error_missing_required.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/custom_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/custom_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/custom_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/custom_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/esclient_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/esclient_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/esclient_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/esclient_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_error.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_error.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_error.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_error.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_settings_error.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_settings_error.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/pipeline_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/pipeline_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/pipeline_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/pipeline_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/filter_partial_buckets.ts b/x-pack/platform/plugins/private/monitoring/server/lib/filter_partial_buckets.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/filter_partial_buckets.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/filter_partial_buckets.ts diff --git a/x-pack/plugins/monitoring/server/lib/format_timezone.ts b/x-pack/platform/plugins/private/monitoring/server/lib/format_timezone.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/format_timezone.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/format_timezone.ts diff --git a/x-pack/plugins/monitoring/server/lib/get_timezone.ts b/x-pack/platform/plugins/private/monitoring/server/lib/get_timezone.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/get_timezone.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/get_timezone.ts diff --git a/x-pack/plugins/monitoring/server/lib/helpers.ts b/x-pack/platform/plugins/private/monitoring/server/lib/helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/helpers.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/helpers.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/build_kibana_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/build_kibana_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/build_kibana_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/build_kibana_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/is_kibana_status_stale.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/is_kibana_status_stale.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/is_kibana_status_stale.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/is_kibana_status_stale.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason_from_exception.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason_from_exception.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason_from_exception.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason_from_exception.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_log_types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/get_log_types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_log_types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/get_log_types.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_logs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/get_logs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_logs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/get_logs.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/logs_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/logs_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/logs_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/logs_filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_logstash_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_logstash_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_paginated_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_paginated_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_paginated_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_paginated_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_ids.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_ids.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_state_document.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_state_document.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/sort_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/sort_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/sort_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/sort_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/lib/mb_safe_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/mb_safe_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/mb_safe_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/mb_safe_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/cluster_metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/cluster_metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/normalize_version_string.ts b/x-pack/platform/plugins/private/monitoring/server/lib/normalize_version_string.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/normalize_version_string.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/normalize_version_string.ts diff --git a/x-pack/plugins/monitoring/server/lib/pagination/filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/pagination/filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/pagination/filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/pagination/filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/pagination/paginate.ts b/x-pack/platform/plugins/private/monitoring/server/lib/pagination/paginate.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/pagination/paginate.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/pagination/paginate.ts diff --git a/x-pack/plugins/monitoring/server/lib/process_version_string.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/process_version_string.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/process_version_string.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/process_version_string.test.js diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts diff --git a/x-pack/plugins/monitoring/server/license_service.ts b/x-pack/platform/plugins/private/monitoring/server/license_service.ts similarity index 100% rename from x-pack/plugins/monitoring/server/license_service.ts rename to x-pack/platform/plugins/private/monitoring/server/license_service.ts diff --git a/x-pack/plugins/monitoring/server/mocks.ts b/x-pack/platform/plugins/private/monitoring/server/mocks.ts similarity index 100% rename from x-pack/plugins/monitoring/server/mocks.ts rename to x-pack/platform/plugins/private/monitoring/server/mocks.ts diff --git a/x-pack/plugins/monitoring/server/plugin.test.ts b/x-pack/platform/plugins/private/monitoring/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/plugin.test.ts rename to x-pack/platform/plugins/private/monitoring/server/plugin.test.ts diff --git a/x-pack/plugins/monitoring/server/plugin.ts b/x-pack/platform/plugins/private/monitoring/server/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring/server/plugin.ts rename to x-pack/platform/plugins/private/monitoring/server/plugin.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/README.md b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/README.md rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/README.md diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/types.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/types.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/types.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instances.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instances.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beat_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beat_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beats.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/check_access.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/check_access.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/cluster.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/indices.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/indices.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instances.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instances.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_node.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_node.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/node.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/node.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipeline.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/node_setup_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/node_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/node_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/node_setup_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/index.ts diff --git a/x-pack/plugins/monitoring/server/rules/alert_helpers.ts b/x-pack/platform/plugins/private/monitoring/server/rules/alert_helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/alert_helpers.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/alert_helpers.ts diff --git a/x-pack/plugins/monitoring/server/rules/base_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/base_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/base_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/base_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/base_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/base_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/base_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/base_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/cluster_health_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cluster_health_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/cluster_health_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cluster_health_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/cpu_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cpu_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/cpu_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cpu_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/disk_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/disk_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/disk_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/disk_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/index.ts b/x-pack/platform/plugins/private/monitoring/server/rules/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/index.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/index.ts diff --git a/x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/large_shard_size_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/large_shard_size_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/large_shard_size_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/large_shard_size_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/license_expiration_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/license_expiration_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/license_expiration_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/license_expiration_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/memory_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/memory_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/memory_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/memory_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/nodes_changed_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/nodes_changed_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/nodes_changed_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/nodes_changed_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/rules_factory.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/rules_factory.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/rules_factory.ts b/x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/rules_factory.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_rejections_rule_base.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_rejections_rule_base.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_rejections_rule_base.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_rejections_rule_base.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.ts diff --git a/x-pack/plugins/monitoring/server/static_globals.ts b/x-pack/platform/plugins/private/monitoring/server/static_globals.ts similarity index 100% rename from x-pack/plugins/monitoring/server/static_globals.ts rename to x-pack/platform/plugins/private/monitoring/server/static_globals.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/create_query.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/create_query.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/create_query.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/create_query.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/index.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/index.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/index.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts diff --git a/x-pack/plugins/monitoring/server/types.ts b/x-pack/platform/plugins/private/monitoring/server/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/types.ts rename to x-pack/platform/plugins/private/monitoring/server/types.ts diff --git a/x-pack/plugins/monitoring/tsconfig.json b/x-pack/platform/plugins/private/monitoring/tsconfig.json similarity index 96% rename from x-pack/plugins/monitoring/tsconfig.json rename to x-pack/platform/plugins/private/monitoring/tsconfig.json index 75676ed06e3c4..0a9770f9e7da8 100644 --- a/x-pack/plugins/monitoring/tsconfig.json +++ b/x-pack/platform/plugins/private/monitoring/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/monitoring_collection/README.md b/x-pack/platform/plugins/private/monitoring_collection/README.md similarity index 100% rename from x-pack/plugins/monitoring_collection/README.md rename to x-pack/platform/plugins/private/monitoring_collection/README.md diff --git a/x-pack/platform/plugins/private/monitoring_collection/jest.config.js b/x-pack/platform/plugins/private/monitoring_collection/jest.config.js new file mode 100644 index 0000000000000..91ceff0234bdd --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring_collection/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/monitoring_collection'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring_collection', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/monitoring_collection/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/monitoring_collection/kibana.jsonc b/x-pack/platform/plugins/private/monitoring_collection/kibana.jsonc similarity index 100% rename from x-pack/plugins/monitoring_collection/kibana.jsonc rename to x-pack/platform/plugins/private/monitoring_collection/kibana.jsonc diff --git a/x-pack/plugins/monitoring_collection/server/config.ts b/x-pack/platform/plugins/private/monitoring_collection/server/config.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/config.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/config.ts diff --git a/x-pack/plugins/monitoring_collection/server/constants.ts b/x-pack/platform/plugins/private/monitoring_collection/server/constants.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/constants.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/constants.ts diff --git a/x-pack/plugins/monitoring_collection/server/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/prometheus_exporter.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/prometheus_exporter.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/prometheus_exporter.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/prometheus_exporter.ts diff --git a/x-pack/plugins/monitoring_collection/server/mocks.ts b/x-pack/platform/plugins/private/monitoring_collection/server/mocks.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/mocks.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/mocks.ts diff --git a/x-pack/plugins/monitoring_collection/server/plugin.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/plugin.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/plugin.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/plugin.ts b/x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/plugin.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/index.ts diff --git a/x-pack/plugins/monitoring_collection/tsconfig.json b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json similarity index 87% rename from x-pack/plugins/monitoring_collection/tsconfig.json rename to x-pack/platform/plugins/private/monitoring_collection/tsconfig.json index 7e27b29c24c9c..a863a06a8a0dc 100644 --- a/x-pack/plugins/monitoring_collection/tsconfig.json +++ b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index 458e4ab1e73e5..b794f947c0fa1 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -2774,7 +2774,6 @@ "embeddableApi.common.constants.grouping.other": "Autre", "embeddableApi.contextMenuTrigger.description": "Une nouvelle action sera ajoutée au menu contextuel du panneau", "embeddableApi.contextMenuTrigger.title": "Menu contextuel", - "embeddableApi.errors.embeddableFactoryNotFound": "Impossible de charger {type}. Veuillez effectuer une mise à niveau vers la distribution par défaut d'Elasticsearch et de Kibana avec la licence appropriée.", "embeddableApi.errors.paneldoesNotExist": "Panneau introuvable", "embeddableApi.errors.panelIncompatibleError": "L'API du panneau n'est pas compatible", "embeddableApi.multiValueClickTrigger.description": "Sélection de plusieurs valeurs d'une même dimension dans la visualisation", @@ -22141,7 +22140,6 @@ "xpack.idxMgmt.dataStreamList.table.actionDeleteText": "Supprimer", "xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTitle": "Conservation des données", "xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTooltip": "Les données sont conservées au moins pour cette durée avant leur suppression automatique. La valeur de rétention de données s'applique uniquement aux données gérées directement par le flux de données. {canDisableDataRetention, plural, one {Si certaines données sont sujettes à une politique de gestion du cycle de vie de l'index, alors la valeur de conservation des données réglée pour le flux de données ne s'applique par à ces données.} other {}}", - "xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel": "Supprimer {count, plural, one {le flux de données} other {les flux de données} }", "xpack.idxMgmt.dataStreamList.table.healthColumnTitle": "Intégrité", "xpack.idxMgmt.dataStreamList.table.hiddenDataStreamBadge": "Masqué", "xpack.idxMgmt.dataStreamList.table.indicesColumnTitle": "Index", @@ -22157,22 +22155,16 @@ "xpack.idxMgmt.dataStreamListControls.includeStatsSwitchLabel": "Statistiques incluses", "xpack.idxMgmt.dataStreamListControls.includeStatsSwitchToolTip": "L'inclusion de statistiques peut augmenter le temps de rechargement", "xpack.idxMgmt.dataStreamListDescription.learnMoreLinkText": "En savoir plus.", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.cancelButtonLabel": "Annuler", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField": "Activer la conservation des données", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField": "Conservation des données", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError": "Une valeur positive est requise.", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError": "Une valeur de conservation des données est requise.", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.errorDataRetentionNotification": "Erreur lors de la mise à niveau de la conservation des données : \"{error}\"", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMButtonLabel": "Stratégie ILM", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMDescription": "Afin de modifier la conservation des données pour ce flux de données, vous devez modifier le {link} associé.", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMTitle": "Ce flux de données et les index associés sont gérés par la stratégie ILM", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText": "Comment ça fonctionne ?", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.saveButtonLabel": "Enregistrer", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody": "Un index ou plus sont gérés par une politique ILM ({viewAllIndicesLink}). La mise à niveau de la conservation des données pour ce flux de données n'aura pas d'incidence sur ces index. À la place, vous devrez mettre à niveau la politique {ilmPolicyLink}.", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMTitle": "Certains index sont gérés par la stratégie ILM", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification": "Conservation des données {disabledDataRetention, plural, one { désactivée } other { mise à niveau } }", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField": "Unité de temps", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel": "Unité de temps", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.viewAllIndices": "afficher les index", "xpack.idxMgmt.dataStreamsDetailsPanel.manageButtonLabel": "Gérer", "xpack.idxMgmt.dataStreamsDetailsPanel.stepLogistics.dataRetentionFieldDecimalError": "La valeur doit être un nombre entier.", @@ -42639,13 +42631,11 @@ "xpack.serverlessSearch.connectors.typeLabel": "Type", "xpack.serverlessSearch.connectors.variablesTitle": "Variable pour votre {url}", "xpack.serverlessSearch.connectors.waitingForConnection": "En attente de connexion", - "xpack.serverlessSearch.connectorsEmpty.description": "La configuration et le déploiement d'un connecteur se passe entre la source de données tierce, votre terminal et l'UI sans serveur d'Elasticsearch. Le processus à haut niveau ressemble à ça :", "xpack.serverlessSearch.connectorsEmpty.dockerLabel": "Docker", "xpack.serverlessSearch.connectorsEmpty.guideOneDescription": "Choisissez une source de données à synchroniser", "xpack.serverlessSearch.connectorsEmpty.guideThreeDescription": "Saisissez les informations d'accès et de connexion pour votre source de données et exécutez votre première synchronisation", "xpack.serverlessSearch.connectorsEmpty.guideTwoDescription": "Déployez le code du connecteur sur votre propre infrastructure en exécutant {source} ou à l'aide de {docker}", "xpack.serverlessSearch.connectorsEmpty.sourceLabel": "source", - "xpack.serverlessSearch.connectorsEmpty.title": "Créer un connecteur", "xpack.serverlessSearch.connectorsPythonLink": "elastic/connecteurs", "xpack.serverlessSearch.connectorsTable.summaryLabel": "Affichage des {items} de {count} {connectors}", "xpack.serverlessSearch.disabled": "Désactivé", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index f396226fdf560..eda56781402ff 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -2769,7 +2769,6 @@ "embeddableApi.common.constants.grouping.other": "Other", "embeddableApi.contextMenuTrigger.description": "新しいアクションがパネルのコンテキストメニューに追加されます", "embeddableApi.contextMenuTrigger.title": "コンテキストメニュー", - "embeddableApi.errors.embeddableFactoryNotFound": "{type} を読み込めません。Elasticsearch と Kibanaのデフォルトのディストリビューションを適切なライセンスでアップグレードしてください。", "embeddableApi.errors.paneldoesNotExist": "パネルが見つかりません", "embeddableApi.errors.panelIncompatibleError": "パネルAPIに互換性がありません", "embeddableApi.multiValueClickTrigger.description": "ビジュアライゼーションの1つのディメンションの複数値を選択しています", @@ -21999,7 +21998,6 @@ "xpack.idxMgmt.dataStreamList.table.actionDeleteText": "削除", "xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTitle": "データ保持", "xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTooltip": "データは少なくともこの期間保存された後、自動的に削除されます。データ保持値は、データストリームによって直接管理されたデータにのみ適用されます。{canDisableDataRetention, plural, one {一部のデータにインデックスライフサイクル管理ポリシーが適用される場合、データストリームに設定されたデータ保持値はそのデータに適用されません。} other {}}", - "xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel": "{count, plural, other {個のデータストリーム}}を削除", "xpack.idxMgmt.dataStreamList.table.healthColumnTitle": "ヘルス", "xpack.idxMgmt.dataStreamList.table.hiddenDataStreamBadge": "非表示", "xpack.idxMgmt.dataStreamList.table.indicesColumnTitle": "インデックス", @@ -22015,22 +22013,16 @@ "xpack.idxMgmt.dataStreamListControls.includeStatsSwitchLabel": "統計情報を含める", "xpack.idxMgmt.dataStreamListControls.includeStatsSwitchToolTip": "統計情報を含めると、再読み込み時間が長くなることがあります", "xpack.idxMgmt.dataStreamListDescription.learnMoreLinkText": "詳細情報", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.cancelButtonLabel": "キャンセル", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField": "データ保持を有効化", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField": "データ保持", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError": "正の値が必要です。", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError": "データ保持値が必要です。", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.errorDataRetentionNotification": "データ保持の更新エラー:''{error}''", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMButtonLabel": "ILMポリシー", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMDescription": "このデータストリームのデータ保持を編集するには、関連する{link}を編集する必要があります。", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMTitle": "このデータストリームと関連するインデックスはILMによって管理されます。", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText": "仕組み", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.saveButtonLabel": "保存", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody": "ILMポリシー({viewAllIndicesLink})によって1つ以上のインデックスが管理されます。このデータストリームのデータ保持を更新しても、これらのインデックスには影響しません。代わりに、{ilmPolicyLink}ポリシーを更新する必要があります。", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMTitle": "一部のインデックスはILMによって管理されます。", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification": "データ保持が{disabledDataRetention, plural, one {無効化されました} other {更新されました} }", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField": "時間単位", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel": "時間単位", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.viewAllIndices": "インデックスを表示", "xpack.idxMgmt.dataStreamsDetailsPanel.manageButtonLabel": "管理", "xpack.idxMgmt.dataStreamsDetailsPanel.stepLogistics.dataRetentionFieldDecimalError": "値は整数でなければなりません。", @@ -42496,13 +42488,11 @@ "xpack.serverlessSearch.connectors.typeLabel": "型", "xpack.serverlessSearch.connectors.variablesTitle": "{url}の変数", "xpack.serverlessSearch.connectors.waitingForConnection": "接続を待機中", - "xpack.serverlessSearch.connectorsEmpty.description": "コネクターを設定およびデプロイするには、サードパーティのデータソース、端末、ElasticsearchサーバーレスUI の間で作業することになります。プロセスの概要は次のとおりです。", "xpack.serverlessSearch.connectorsEmpty.dockerLabel": "Docker", "xpack.serverlessSearch.connectorsEmpty.guideOneDescription": "同期したいデータソースを選択します。", "xpack.serverlessSearch.connectorsEmpty.guideThreeDescription": "データソースのアクセスと接続の詳細情報を入力し、最初の同期を実行します", "xpack.serverlessSearch.connectorsEmpty.guideTwoDescription": "{source}から実行するか、{docker}を使用して、独自のインフラにコネクターコードをデプロイします。", "xpack.serverlessSearch.connectorsEmpty.sourceLabel": "ソース", - "xpack.serverlessSearch.connectorsEmpty.title": "コネクターを作成する", "xpack.serverlessSearch.connectorsPythonLink": "elastic/コネクター", "xpack.serverlessSearch.connectorsTable.summaryLabel": "{count} {connectors}中{items}を表示中", "xpack.serverlessSearch.disabled": "無効", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 73ef6cc59c976..db29389b8a0eb 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -2761,7 +2761,6 @@ "embeddableApi.common.constants.grouping.other": "其他", "embeddableApi.contextMenuTrigger.description": "会将一个新操作添加到该面板的上下文菜单", "embeddableApi.contextMenuTrigger.title": "上下文菜单", - "embeddableApi.errors.embeddableFactoryNotFound": "{type} 无法加载。请升级到具有适当许可的默认 Elasticsearch 和 Kibana 分发。", "embeddableApi.errors.paneldoesNotExist": "未找到面板", "embeddableApi.errors.panelIncompatibleError": "面板 API 不兼容", "embeddableApi.multiValueClickTrigger.description": "在可视化上选择多个单一维度的值", @@ -21653,7 +21652,6 @@ "xpack.idxMgmt.dataStreamList.table.actionDeleteText": "删除", "xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTitle": "数据保留", "xpack.idxMgmt.dataStreamList.table.dataRetentionColumnTooltip": "会至少在这个时长内保留数据,然后自动将其删除。数据保留值仅适用于由数据流直接管理的数据。{canDisableDataRetention, plural, one {如果某些数据受索引生命周期管理策略约束,则为数据流设置的数据保留值不适用于该数据。} other {}}", - "xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel": "删除{count, plural, other {数据流} }", "xpack.idxMgmt.dataStreamList.table.healthColumnTitle": "运行状况", "xpack.idxMgmt.dataStreamList.table.hiddenDataStreamBadge": "隐藏", "xpack.idxMgmt.dataStreamList.table.indicesColumnTitle": "索引", @@ -21669,7 +21667,6 @@ "xpack.idxMgmt.dataStreamListControls.includeStatsSwitchLabel": "包含统计信息", "xpack.idxMgmt.dataStreamListControls.includeStatsSwitchToolTip": "包含统计信息可能会延长重新加载时间", "xpack.idxMgmt.dataStreamListDescription.learnMoreLinkText": "了解详情。", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.cancelButtonLabel": "取消", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField": "启用数据保留", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField": "数据保留", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError": "需要提供正值。", @@ -21677,13 +21674,9 @@ "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMButtonLabel": "ILM 策略", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMDescription": "要编辑此数据流的数据保留,必须编辑其关联 {link}。", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.fullyManagedByILMTitle": "此数据流及其关联索引由 ILM 管理", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText": "工作原理?", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.saveButtonLabel": "保存", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody": "一个或多个索引由 ILM 策略管理 ({viewAllIndicesLink})。更新此数据流的数据保留不会影响到这些索引。相反,您必须更新 {ilmPolicyLink} 策略。", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMTitle": "某些索引由 ILM 管理", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification": "数据保留{disabledDataRetention, plural, one {已禁用} other {已更新} }", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField": "时间单位", - "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel": "时间单位", "xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.viewAllIndices": "查看索引", "xpack.idxMgmt.dataStreamsDetailsPanel.manageButtonLabel": "管理", "xpack.idxMgmt.dataStreamsDetailsPanel.stepLogistics.dataRetentionFieldDecimalError": "此值应为整数。", @@ -41883,13 +41876,11 @@ "xpack.serverlessSearch.connectors.typeLabel": "类型", "xpack.serverlessSearch.connectors.variablesTitle": "您的 {url} 的变量", "xpack.serverlessSearch.connectors.waitingForConnection": "等待连接", - "xpack.serverlessSearch.connectorsEmpty.description": "要设置并部署连接器,您需要在第三方数据源、终端与 Elasticsearch 无服务器 UI 之间开展工作。高级流程类似于这样:", "xpack.serverlessSearch.connectorsEmpty.dockerLabel": "Docker", "xpack.serverlessSearch.connectorsEmpty.guideOneDescription": "选择要同步的数据源", "xpack.serverlessSearch.connectorsEmpty.guideThreeDescription": "输入您数据源的访问权限和连接详情,然后运行第一次同步", "xpack.serverlessSearch.connectorsEmpty.guideTwoDescription": "通过从 {source} 运行或使用 {docker} 在您自己的基础设施上部署连接器代码", "xpack.serverlessSearch.connectorsEmpty.sourceLabel": "源", - "xpack.serverlessSearch.connectorsEmpty.title": "创建连接器", "xpack.serverlessSearch.connectorsPythonLink": "Elastic/连接器", "xpack.serverlessSearch.connectorsTable.summaryLabel": "正在显示 {items} 个(共 {count} 个){connectors}", "xpack.serverlessSearch.disabled": "已禁用", diff --git a/x-pack/platform/plugins/shared/aiops/public/cases/constants.ts b/x-pack/platform/plugins/shared/aiops/public/cases/constants.ts new file mode 100644 index 0000000000000..547734955cbbb --- /dev/null +++ b/x-pack/platform/plugins/shared/aiops/public/cases/constants.ts @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { ChangePointDetectionViewType } from '@kbn/aiops-change-point-detection/constants'; +import { i18n } from '@kbn/i18n'; + +/** + * Titles for the cases toast messages + */ +export const CASES_TOAST_MESSAGES_TITLES = { + CHANGE_POINT_DETECTION: (viewType: ChangePointDetectionViewType, chartsCount: number) => + viewType === 'table' + ? i18n.translate('xpack.aiops.cases.changePointDetectionTableTitle', { + defaultMessage: 'Change point table', + }) + : i18n.translate('xpack.aiops.cases.changePointDetectionChartsTitle', { + defaultMessage: 'Change point {chartsCount, plural, one {chart} other {charts}}', + values: { + chartsCount, + }, + }), + LOG_RATE_ANALYSIS: i18n.translate('xpack.aiops.cases.logRateAnalysisTitle', { + defaultMessage: 'Log rate analysis', + }), + PATTERN_ANALYSIS: i18n.translate('xpack.aiops.cases.logPatternAnalysisTitle', { + defaultMessage: 'Log pattern analysis', + }), +}; diff --git a/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx index fb1a51c311668..226eb6fbbc2fc 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx @@ -56,6 +56,7 @@ import { import { useChangePointResults } from './use_change_point_agg_request'; import { useSplitFieldCardinality } from './use_split_field_cardinality'; import { ViewTypeSelector } from './view_type_selector'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; const selectControlCss = { width: '350px' }; @@ -215,12 +216,18 @@ const FieldPanel: FC = ({ progress, } = useChangePointResults(fieldConfig, requestParams, combinedQuery, splitFieldCardinality); - const openCasesModalCallback = useCasesModal(EMBEDDABLE_CHANGE_POINT_CHART_TYPE); - const selectedPartitions = useMemo(() => { return (selectedChangePoints[panelIndex] ?? []).map((v) => v.group?.value as string); }, [selectedChangePoints, panelIndex]); + const openCasesModalCallback = useCasesModal( + EMBEDDABLE_CHANGE_POINT_CHART_TYPE, + CASES_TOAST_MESSAGES_TITLES.CHANGE_POINT_DETECTION( + caseAttachment.viewType, + selectedPartitions.length + ) + ); + const caseAttachmentButtonDisabled = isDefined(fieldConfig.splitField) && selectedPartitions.length === 0; @@ -283,6 +290,7 @@ const FieldPanel: FC = ({ defaultMessage: 'To dashboard', }), panel: 'attachToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'aiopsChangePointDetectionAttachToDashboardButton', }, ] @@ -307,6 +315,7 @@ const FieldPanel: FC = ({ : {}), 'data-test-subj': 'aiopsChangePointDetectionAttachToCaseButton', panel: 'attachToCasePanel', + icon: 'casesApp', }, ] : []), @@ -513,42 +522,37 @@ const FieldPanel: FC = ({ return ( - + - - - !prevState)} - aria-label={i18n.translate('xpack.aiops.changePointDetection.expandConfigLabel', { - defaultMessage: 'Expand configuration', - })} - /> - - - - - - } - value={progress ?? 0} - max={100} - valueText - size="m" + !prevState)} + aria-label={i18n.translate('xpack.aiops.changePointDetection.expandConfigLabel', { + defaultMessage: 'Expand configuration', + })} + size="s" + /> + + + + + + - - - + } + value={progress ?? 0} + max={100} + valueText + size="m" + /> + - + @@ -565,8 +569,11 @@ const FieldPanel: FC = ({ defaultMessage: 'Context menu', } )} - iconType="boxesHorizontal" color="text" + display="base" + size="s" + isSelected={isActionMenuOpen} + iconType="boxesHorizontal" onClick={setIsActionMenuOpen.bind(null, !isActionMenuOpen)} /> } @@ -678,7 +685,7 @@ export const FieldsControls: FC> = ({ : undefined } > - + onChangeFn('fn', v)} /> diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx index 409b489ff4510..a82e1a4b087ed 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx @@ -34,6 +34,7 @@ import type { PatternAnalysisEmbeddableState } from '../../embeddables/pattern_a import type { RandomSamplerOption, RandomSamplerProbability } from './sampling_menu/random_sampler'; import { useCasesModal } from '../../hooks/use_cases_modal'; import { useAiopsAppContext } from '../../hooks/use_aiops_app_context'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; const SavedObjectSaveModalDashboard = withSuspense(LazySavedObjectSaveModalDashboard); @@ -66,7 +67,10 @@ export const AttachmentsMenu = ({ update: false, }; - const openCasesModalCallback = useCasesModal(EMBEDDABLE_PATTERN_ANALYSIS_TYPE); + const openCasesModalCallback = useCasesModal( + EMBEDDABLE_PATTERN_ANALYSIS_TYPE, + CASES_TOAST_MESSAGES_TITLES.PATTERN_ANALYSIS + ); const timeRange = useTimeRangeUpdates(); @@ -123,6 +127,7 @@ export const AttachmentsMenu = ({ defaultMessage: 'Add to dashboard', }), panel: 'attachToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'aiopsLogPatternAnalysisAttachToDashboardButton', }, ] @@ -133,6 +138,7 @@ export const AttachmentsMenu = ({ name: i18n.translate('xpack.aiops.logCategorization.attachToCaseLabel', { defaultMessage: 'Add to case', }), + icon: 'casesApp', 'data-test-subj': 'aiopsLogPatternAnalysisAttachToCaseButton', onClick: () => { setIsActionMenuOpen(false); @@ -218,8 +224,11 @@ export const AttachmentsMenu = ({ defaultMessage: 'Attachments', } )} - iconType="boxesHorizontal" + size="m" color="text" + display="base" + isSelected={isActionMenuOpen} + iconType="boxesHorizontal" onClick={() => setIsActionMenuOpen(!isActionMenuOpen)} /> } diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx index 9bebf4d9b731a..482ef5801183d 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx @@ -357,48 +357,56 @@ export const LogCategorizationPage: FC = () => { - - - - - - - - {loading === false ? ( - { - loadCategories(); - }} - data-test-subj="aiopsLogPatternAnalysisRunButton" + + + + - - - ) : ( - cancelRequest()} - > - Cancel - - )} - - - + + + + {loading === false ? ( + { + loadCategories(); + }} + data-test-subj="aiopsLogPatternAnalysisRunButton" + > + + + ) : ( + cancelRequest()} + > + Cancel + + )} + + + loadCategories()} /> diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx index d2dd9591e76f7..7da2736fdd453 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx @@ -8,7 +8,7 @@ import type { FC } from 'react'; import { useMemo } from 'react'; import React, { useState } from 'react'; -import { EuiPopover, EuiButtonEmpty, EuiPanel } from '@elastic/eui'; +import { EuiPopover, EuiPanel, EuiButton } from '@elastic/eui'; import useObservable from 'react-use/lib/useObservable'; import type { RandomSampler } from './random_sampler'; @@ -34,14 +34,16 @@ export const SamplingMenu: FC = ({ randomSampler, reload }) => { data-test-subj="aiopsRandomSamplerOptionsPopover" id="aiopsSamplingOptions" button={ - setShowSamplingOptionsPopover(!showSamplingOptionsPopover)} + color="text" iconSide="right" - iconType="arrowDown" + isSelected={showSamplingOptionsPopover} + iconType={showSamplingOptionsPopover ? 'arrowUp' : 'arrowDown'} > {buttonText} - + } isOpen={showSamplingOptionsPopover} closePopover={() => setShowSamplingOptionsPopover(false)} diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx index d7e68ae42799c..def6721c2adb3 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx @@ -28,6 +28,7 @@ import { } from '@elastic/eui'; import type { WindowParameters } from '@kbn/aiops-log-rate-analysis/window_parameters'; import type { SignificantItem } from '@kbn/ml-agg-utils'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../../cases/constants'; import { useCasesModal } from '../../../hooks/use_cases_modal'; import { useDataSource } from '../../../hooks/use_data_source'; import type { LogRateAnalysisEmbeddableState } from '../../../embeddables/log_rate_analysis/types'; @@ -60,7 +61,10 @@ export const LogRateAnalysisAttachmentsMenu = ({ const timeRange = useTimeRangeUpdates(); const absoluteTimeRange = useTimeRangeUpdates(true); - const openCasesModalCallback = useCasesModal(EMBEDDABLE_LOG_RATE_ANALYSIS_TYPE); + const openCasesModalCallback = useCasesModal( + EMBEDDABLE_LOG_RATE_ANALYSIS_TYPE, + CASES_TOAST_MESSAGES_TITLES.LOG_RATE_ANALYSIS + ); const canEditDashboards = capabilities.dashboard.createNew; @@ -120,6 +124,7 @@ export const LogRateAnalysisAttachmentsMenu = ({ name: i18n.translate('xpack.aiops.logRateAnalysis.addToDashboardTitle', { defaultMessage: 'Add to dashboard', }), + icon: 'dashboardApp', panel: 'attachToDashboardPanel', 'data-test-subj': 'aiopsLogRateAnalysisAttachToDashboardButton', }, @@ -131,6 +136,7 @@ export const LogRateAnalysisAttachmentsMenu = ({ name: i18n.translate('xpack.aiops.logRateAnalysis.attachToCaseLabel', { defaultMessage: 'Add to case', }), + icon: 'casesApp', 'data-test-subj': 'aiopsLogRateAnalysisAttachToCaseButton', disabled: !isCasesAttachmentEnabled, ...(!isCasesAttachmentEnabled @@ -217,8 +223,11 @@ export const LogRateAnalysisAttachmentsMenu = ({ aria-label={i18n.translate('xpack.aiops.logRateAnalysis.attachmentsMenuAriaLabel', { defaultMessage: 'Attachments', })} - iconType="boxesHorizontal" color="text" + display="base" + size="s" + isSelected={isActionMenuOpen} + iconType="boxesHorizontal" onClick={() => setIsActionMenuOpen(!isActionMenuOpen)} /> } diff --git a/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx index a01e715e86272..3efed2b74093e 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx @@ -80,7 +80,6 @@ export const PageHeader: FC = () => { isAutoRefreshOnly={!hasValidTimeField} showRefresh={!hasValidTimeField} width="full" - flexGroup={!hasValidTimeField} />, hasValidTimeField && ( = * Returns a callback for opening the cases modal with provided attachment state. */ export const useCasesModal = ( - embeddableType: EmbeddableType + embeddableType: EmbeddableType, + title: string ) => { const { cases } = useAiopsAppContext(); - const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal(); + const successMessage = useMemo(() => { + return i18n.translate('xpack.aiops.useCasesModal.successMessage', { + defaultMessage: '{title} added to case.', + values: { title }, + }); + }, [title]); + + const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal({ + successToaster: { + content: successMessage, + }, + }); return useCallback( (persistableState: Partial, 'id'>>) => { @@ -64,7 +77,6 @@ export const useCasesModal = ( ], }); }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [embeddableType] + [embeddableType, selectCaseModal] ); }; diff --git a/x-pack/plugins/dashboard_enhanced/.storybook/main.js b/x-pack/platform/plugins/shared/dashboard_enhanced/.storybook/main.js similarity index 100% rename from x-pack/plugins/dashboard_enhanced/.storybook/main.js rename to x-pack/platform/plugins/shared/dashboard_enhanced/.storybook/main.js diff --git a/x-pack/plugins/dashboard_enhanced/README.asciidoc b/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc similarity index 100% rename from x-pack/plugins/dashboard_enhanced/README.asciidoc rename to x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts similarity index 84% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts index e763d34bc3cb5..68f80f364a744 100644 --- a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts @@ -10,6 +10,6 @@ * STORED IN SAVED OBJECTS. * * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it - * x-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts + * x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts */ export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts similarity index 87% rename from x-pack/plugins/dashboard_enhanced/common/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts index 0033253d720a7..35d241f19a443 100644 --- a/x-pack/plugins/dashboard_enhanced/common/index.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts @@ -6,6 +6,5 @@ */ // TODO: https://github.com/elastic/kibana/issues/110897 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './drilldowns'; diff --git a/x-pack/plugins/observability_solution/logs_shared/jest.config.js b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js similarity index 62% rename from x-pack/plugins/observability_solution/logs_shared/jest.config.js rename to x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js index 2e3869ccf0573..00627bd90221e 100644 --- a/x-pack/plugins/observability_solution/logs_shared/jest.config.js +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/plugins/observability_solution/logs_shared'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/dashboard_enhanced'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/logs_shared', + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dashboard_enhanced', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/logs_shared/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/dashboard_enhanced/kibana.jsonc b/x-pack/platform/plugins/shared/dashboard_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/dashboard_enhanced/kibana.jsonc rename to x-pack/platform/plugins/shared/dashboard_enhanced/kibana.jsonc diff --git a/x-pack/plugins/dashboard_enhanced/public/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/mocks.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/mocks.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/plugin.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/plugin.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts similarity index 84% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts index e763d34bc3cb5..68f80f364a744 100644 --- a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts @@ -10,6 +10,6 @@ * STORED IN SAVED OBJECTS. * * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it - * x-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts + * x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts */ export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/server/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/server/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/server/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/server/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/server/plugin.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/server/plugin.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts diff --git a/x-pack/plugins/dashboard_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json similarity index 93% rename from x-pack/plugins/dashboard_enhanced/tsconfig.json rename to x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json index 6663b6096e27c..b8026be8652b2 100644 --- a/x-pack/plugins/dashboard_enhanced/tsconfig.json +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/data_quality/README.md b/x-pack/platform/plugins/shared/data_quality/README.md similarity index 100% rename from x-pack/plugins/data_quality/README.md rename to x-pack/platform/plugins/shared/data_quality/README.md diff --git a/x-pack/plugins/data_quality/common/index.ts b/x-pack/platform/plugins/shared/data_quality/common/index.ts similarity index 100% rename from x-pack/plugins/data_quality/common/index.ts rename to x-pack/platform/plugins/shared/data_quality/common/index.ts diff --git a/x-pack/plugins/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_details_locator_path.ts diff --git a/x-pack/plugins/data_quality/common/locators/construct_dataset_quality_locator_path.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_locator_path.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/construct_dataset_quality_locator_path.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/construct_dataset_quality_locator_path.ts diff --git a/x-pack/plugins/data_quality/common/locators/dataset_quality_details_locator.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_details_locator.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/dataset_quality_details_locator.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_details_locator.ts diff --git a/x-pack/plugins/data_quality/common/locators/dataset_quality_locator.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_locator.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/dataset_quality_locator.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/dataset_quality_locator.ts diff --git a/x-pack/plugins/data_quality/common/locators/index.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/index.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/index.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/index.ts diff --git a/x-pack/plugins/data_quality/common/locators/locators.test.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/locators.test.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/locators.test.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/locators.test.ts diff --git a/x-pack/plugins/data_quality/common/locators/types.ts b/x-pack/platform/plugins/shared/data_quality/common/locators/types.ts similarity index 100% rename from x-pack/plugins/data_quality/common/locators/types.ts rename to x-pack/platform/plugins/shared/data_quality/common/locators/types.ts diff --git a/x-pack/plugins/data_quality/common/url_schema/common.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/common.ts similarity index 100% rename from x-pack/plugins/data_quality/common/url_schema/common.ts rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/common.ts diff --git a/x-pack/plugins/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts similarity index 100% rename from x-pack/plugins/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_details_url_schema_v1.ts diff --git a/x-pack/plugins/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts similarity index 100% rename from x-pack/plugins/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/dataset_quality_url_schema_v1.ts diff --git a/x-pack/plugins/data_quality/common/url_schema/index.ts b/x-pack/platform/plugins/shared/data_quality/common/url_schema/index.ts similarity index 100% rename from x-pack/plugins/data_quality/common/url_schema/index.ts rename to x-pack/platform/plugins/shared/data_quality/common/url_schema/index.ts diff --git a/x-pack/plugins/data_quality/common/utils/deep_compact_object.ts b/x-pack/platform/plugins/shared/data_quality/common/utils/deep_compact_object.ts similarity index 100% rename from x-pack/plugins/data_quality/common/utils/deep_compact_object.ts rename to x-pack/platform/plugins/shared/data_quality/common/utils/deep_compact_object.ts diff --git a/x-pack/plugins/data_quality/jest.config.js b/x-pack/platform/plugins/shared/data_quality/jest.config.js similarity index 67% rename from x-pack/plugins/data_quality/jest.config.js rename to x-pack/platform/plugins/shared/data_quality/jest.config.js index 15d8fe2f33986..fecaf2727c255 100644 --- a/x-pack/plugins/data_quality/jest.config.js +++ b/x-pack/platform/plugins/shared/data_quality/jest.config.js @@ -7,9 +7,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/data_quality'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/data_quality', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/data_quality'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/data_quality', coverageReporters: ['text', 'html'], collectCoverageFrom: ['/x-pack/plugins/datas_quality/{common,public}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/data_quality/kibana.jsonc b/x-pack/platform/plugins/shared/data_quality/kibana.jsonc similarity index 100% rename from x-pack/plugins/data_quality/kibana.jsonc rename to x-pack/platform/plugins/shared/data_quality/kibana.jsonc diff --git a/x-pack/plugins/data_quality/public/application.tsx b/x-pack/platform/plugins/shared/data_quality/public/application.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/application.tsx rename to x-pack/platform/plugins/shared/data_quality/public/application.tsx diff --git a/x-pack/plugins/data_quality/public/index.ts b/x-pack/platform/plugins/shared/data_quality/public/index.ts similarity index 100% rename from x-pack/plugins/data_quality/public/index.ts rename to x-pack/platform/plugins/shared/data_quality/public/index.ts diff --git a/x-pack/plugins/data_quality/public/plugin.ts b/x-pack/platform/plugins/shared/data_quality/public/plugin.ts similarity index 100% rename from x-pack/plugins/data_quality/public/plugin.ts rename to x-pack/platform/plugins/shared/data_quality/public/plugin.ts diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/context.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/context.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality/context.tsx rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/context.tsx diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/index.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/index.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality/index.tsx rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/index.tsx diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_schema_v1.ts similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality/url_schema_v1.ts rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_schema_v1.ts diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality/url_state_storage_service.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality/url_state_storage_service.ts rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality/url_state_storage_service.ts diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/context.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/context.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/context.tsx rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/context.tsx diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/index.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/index.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/index.tsx rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/index.tsx diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_schema_v1.ts diff --git a/x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts b/x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts rename to x-pack/platform/plugins/shared/data_quality/public/routes/dataset_quality_details/url_state_storage_service.ts diff --git a/x-pack/plugins/data_quality/public/routes/index.tsx b/x-pack/platform/plugins/shared/data_quality/public/routes/index.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/routes/index.tsx rename to x-pack/platform/plugins/shared/data_quality/public/routes/index.tsx diff --git a/x-pack/plugins/data_quality/public/types.ts b/x-pack/platform/plugins/shared/data_quality/public/types.ts similarity index 100% rename from x-pack/plugins/data_quality/public/types.ts rename to x-pack/platform/plugins/shared/data_quality/public/types.ts diff --git a/x-pack/plugins/data_quality/public/utils/kbn_url_state_context.ts b/x-pack/platform/plugins/shared/data_quality/public/utils/kbn_url_state_context.ts similarity index 100% rename from x-pack/plugins/data_quality/public/utils/kbn_url_state_context.ts rename to x-pack/platform/plugins/shared/data_quality/public/utils/kbn_url_state_context.ts diff --git a/x-pack/plugins/data_quality/public/utils/use_breadcrumbs.tsx b/x-pack/platform/plugins/shared/data_quality/public/utils/use_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/utils/use_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/data_quality/public/utils/use_breadcrumbs.tsx diff --git a/x-pack/plugins/data_quality/public/utils/use_kibana.tsx b/x-pack/platform/plugins/shared/data_quality/public/utils/use_kibana.tsx similarity index 100% rename from x-pack/plugins/data_quality/public/utils/use_kibana.tsx rename to x-pack/platform/plugins/shared/data_quality/public/utils/use_kibana.tsx diff --git a/x-pack/plugins/data_quality/server/features.ts b/x-pack/platform/plugins/shared/data_quality/server/features.ts similarity index 100% rename from x-pack/plugins/data_quality/server/features.ts rename to x-pack/platform/plugins/shared/data_quality/server/features.ts diff --git a/x-pack/plugins/data_quality/server/index.ts b/x-pack/platform/plugins/shared/data_quality/server/index.ts similarity index 100% rename from x-pack/plugins/data_quality/server/index.ts rename to x-pack/platform/plugins/shared/data_quality/server/index.ts diff --git a/x-pack/plugins/data_quality/server/plugin.ts b/x-pack/platform/plugins/shared/data_quality/server/plugin.ts similarity index 100% rename from x-pack/plugins/data_quality/server/plugin.ts rename to x-pack/platform/plugins/shared/data_quality/server/plugin.ts diff --git a/x-pack/plugins/data_quality/server/types.ts b/x-pack/platform/plugins/shared/data_quality/server/types.ts similarity index 100% rename from x-pack/plugins/data_quality/server/types.ts rename to x-pack/platform/plugins/shared/data_quality/server/types.ts diff --git a/x-pack/plugins/data_quality/tsconfig.json b/x-pack/platform/plugins/shared/data_quality/tsconfig.json similarity index 89% rename from x-pack/plugins/data_quality/tsconfig.json rename to x-pack/platform/plugins/shared/data_quality/tsconfig.json index a3f04f88ec7ff..e32e6e50f59da 100644 --- a/x-pack/plugins/data_quality/tsconfig.json +++ b/x-pack/platform/plugins/shared/data_quality/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/observability_solution/dataset_quality/README.md b/x-pack/platform/plugins/shared/dataset_quality/README.md similarity index 88% rename from x-pack/plugins/observability_solution/dataset_quality/README.md rename to x-pack/platform/plugins/shared/dataset_quality/README.md index 45883f6964cc8..59664f480a714 100755 --- a/x-pack/plugins/observability_solution/dataset_quality/README.md +++ b/x-pack/platform/plugins/shared/dataset_quality/README.md @@ -9,13 +9,13 @@ In order to make ongoing maintenance of log collection easy we want to introduce Kibana primarily uses Jest for unit testing. Each plugin or package defines a `jest.config.js` that extends a preset provided by the `@kbn/test` package. The following command runs all Data Set Quality unit tests: ``` -yarn jest --config x-pack/plugins/observability_solution/dataset_quality/jest.config.js +yarn jest --config x-pack/platform/plugins/shared/dataset_quality/jest.config.js ``` You can also run a specific test by passing the filepath as an argument, e.g.: ``` -yarn jest --config x-pack/plugins/observability_solution/dataset_quality/jest.config.js x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts +yarn jest --config x-pack/platform/plugins/shared/dataset_quality/jest.config.js x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts ``` ### Deployment-agnostic API tests @@ -58,7 +58,7 @@ The API tests are located in [`x-pack/test/dataset_quality_api_integration/`](/x #### Start server and run test (single process) ``` -node x-pack/plugins/observability_solution/dataset_quality/scripts/api [--help] +node x-pack/platform/plugins/shared/dataset_quality/scripts/api [--help] ``` The above command will start an ES instance on http://localhost:9220, a Kibana instance on http://localhost:5620 and run the api tests. @@ -68,10 +68,10 @@ Once the tests finish, the instances will be terminated. ```sh # start server -node x-pack/plugins/observability_solution/dataset_quality/scripts/api --server +node x-pack/platform/plugins/shared/dataset_quality/scripts/api --server # run tests -node x-pack/plugins/observability_solution/dataset_quality/scripts/api --runner --grep-files=data_stream_settings.spec.ts +node x-pack/platform/plugins/shared/dataset_quality/scripts/api --runner --grep-files=data_stream_settings.spec.ts ``` ### Using dockerized package registry diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/api_types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/api_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/api_types.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/api_types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/constants.ts b/x-pack/platform/plugins/shared/dataset_quality/common/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/constants.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/constants.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/data_stream_details/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/data_stream_details/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/data_stream_stat.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/data_stream_stat.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/data_stream_stat.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/data_stream_stat.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/integration.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/integration.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/integration.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/integration.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/data_streams_stats/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/data_streams_stats/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/errors.ts b/x-pack/platform/plugins/shared/dataset_quality/common/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/errors.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/errors.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/es_fields/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/es_fields/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/es_fields/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/es_fields/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/fetch_options.ts b/x-pack/platform/plugins/shared/dataset_quality/common/fetch_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/fetch_options.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/fetch_options.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/plugin_config.ts b/x-pack/platform/plugins/shared/dataset_quality/common/plugin_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/plugin_config.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/plugin_config.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/rest/call_api.ts b/x-pack/platform/plugins/shared/dataset_quality/common/rest/call_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/rest/call_api.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/rest/call_api.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/rest/create_call_dataset_quality_api.ts b/x-pack/platform/plugins/shared/dataset_quality/common/rest/create_call_dataset_quality_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/rest/create_call_dataset_quality_api.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/rest/create_call_dataset_quality_api.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/rest/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/rest/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/rest/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/rest/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/translations.ts b/x-pack/platform/plugins/shared/dataset_quality/common/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/translations.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/translations.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/common.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/types/common.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/types/common.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/dataset_types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/dataset_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/types/dataset_types.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/types/dataset_types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/types/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/types/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/types/quality_types.ts b/x-pack/platform/plugins/shared/dataset_quality/common/types/quality_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/types/quality_types.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/types/quality_types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/component_template_name.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/component_template_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/component_template_name.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/component_template_name.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.test.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.test.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.test.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/dataset_name.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/dataset_name.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/index.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/common/utils/quality_helpers.ts b/x-pack/platform/plugins/shared/dataset_quality/common/utils/quality_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/common/utils/quality_helpers.ts rename to x-pack/platform/plugins/shared/dataset_quality/common/utils/quality_helpers.ts diff --git a/x-pack/platform/plugins/shared/dataset_quality/jest.config.js b/x-pack/platform/plugins/shared/dataset_quality/jest.config.js new file mode 100644 index 0000000000000..5776eef45a9aa --- /dev/null +++ b/x-pack/platform/plugins/shared/dataset_quality/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/dataset_quality'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dataset_quality', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/dataset_quality/{common,public}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/dataset_quality/kibana.jsonc b/x-pack/platform/plugins/shared/dataset_quality/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/kibana.jsonc rename to x-pack/platform/plugins/shared/dataset_quality/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/descriptive_switch.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/descriptive_switch.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/descriptive_switch.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/descriptive_switch.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/insufficient_privileges.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/insufficient_privileges.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/insufficient_privileges.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/insufficient_privileges.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/integration_icon.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/integration_icon.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/integration_icon.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/integration_icon.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/spark_plot.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/spark_plot.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/spark_plot.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/spark_plot.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/common/vertical_rule.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/common/vertical_rule.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/common/vertical_rule.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/common/vertical_rule.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/context.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/context.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/context.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/context.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/dataset_quality.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/dataset_quality.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/dataset_quality.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/dataset_quality.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/empty_state/empty_state.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filters.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filters.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filters.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/filters.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/integrations_selector.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/namespaces_selector.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/qualities_selector.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/selector.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/selector.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/filters/selector.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/header.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/header.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/data_placeholder.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_activity.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/datasets_quality_indicators.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/estimated_data.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/summary_panel/summary_panel.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/columns.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.test.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/dataset_quality_details_link.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/degraded_docs_percentage_link.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/table.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/table.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/table/table.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality/warnings/warnings.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/context.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/context.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/context.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/context.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/dataset_quality_details.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/field_info.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_limit_documentation_link.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/field_mapping_limit.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/increase_field_mapping_limit.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/field_limit/message_callout.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/component_template_link.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/manual/pipeline_link.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/degraded_field_flyout/possible_mitigations/title.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/dataset_summary.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/fields_list.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/header.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/header.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/details/integration_actions_menu.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/header.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/header.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/index_not_found_prompt.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/aggregation_not_supported.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/columns.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/degraded_fields.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/degraded_fields/table.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/degraded_docs_chart.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/lens_attributes.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/header.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/header.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/header.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/index.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/dataset_quality_details/overview/summary/panel.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/dataset_quality_indicator.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/helpers.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/helpers.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/helpers.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/indicator.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/indicator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/indicator.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/indicator.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/components/quality_indicator/percentage_indicator.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/create_controller.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/create_controller.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/create_controller.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/lazy_create_controller.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/public_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/public_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/public_state.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/public_state.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/create_controller.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/create_controller.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/create_controller.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/lazy_create_controller.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/public_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/public_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/public_state.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/public_state.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/controller/dataset_quality_details/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/controller/dataset_quality_details/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_create_dataview.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_create_dataview.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_create_dataview.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_create_dataview.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_details_telemetry.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_details_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_details_telemetry.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_details_telemetry.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_details_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_details_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_details_state.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_details_state.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_filters.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_filters.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_table.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_table.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_table.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_warnings.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_warnings.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_warnings.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_quality_warnings.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_telemetry.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_telemetry.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_dataset_telemetry.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_docs_chart.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_docs_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_docs_chart.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_docs_chart.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_fields.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_degraded_fields.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_degraded_fields.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_empty_state.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_empty_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_empty_state.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_empty_state.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_integration_actions.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_integration_actions.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_integration_actions.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_integration_actions.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_overview_summary_panel.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_overview_summary_panel.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_overview_summary_panel.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_overview_summary_panel.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link_telemetry.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_redirect_link_telemetry.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_redirect_link_telemetry.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_summary_panel.ts b/x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_summary_panel.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_summary_panel.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/hooks/use_summary_panel.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/icons/logging.svg b/x-pack/platform/plugins/shared/dataset_quality/public/icons/logging.svg similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/icons/logging.svg rename to x-pack/platform/plugins/shared/dataset_quality/public/icons/logging.svg diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/plugin.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/plugin.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/plugin.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/plugin.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_client.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/data_stream_details_service.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_stream_details/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_stream_details/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_client.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/data_streams_stats_service.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/data_streams_stats/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/data_streams_stats/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_client.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_client.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_events.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_events.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.test.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/telemetry_service.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/services/telemetry/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/common/notifications.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/common/notifications.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/common/notifications.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/common/notifications.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/notifications.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/defaults.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/notifications.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/state_machine.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/state_machines/dataset_quality_details_controller/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/types.ts b/x-pack/platform/plugins/shared/dataset_quality/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/filter_inactive_datasets.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/filter_inactive_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/filter_inactive_datasets.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/filter_inactive_datasets.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/flatten_stats.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/flatten_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/flatten_stats.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/flatten_stats.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.test.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.test.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.test.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/generate_datasets.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/generate_datasets.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/index.ts b/x-pack/platform/plugins/shared/dataset_quality/public/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/use_kibana.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/utils/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/use_kibana.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/utils/use_quick_time_ranges.tsx b/x-pack/platform/plugins/shared/dataset_quality/public/utils/use_quick_time_ranges.tsx similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/public/utils/use_quick_time_ranges.tsx rename to x-pack/platform/plugins/shared/dataset_quality/public/utils/use_quick_time_ranges.tsx diff --git a/x-pack/plugins/observability_solution/dataset_quality/scripts/api.js b/x-pack/platform/plugins/shared/dataset_quality/scripts/api.js similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/scripts/api.js rename to x-pack/platform/plugins/shared/dataset_quality/scripts/api.js diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/plugin.ts b/x-pack/platform/plugins/shared/dataset_quality/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/plugin.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/create_datasets_quality_server_route.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/create_datasets_quality_server_route.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/create_datasets_quality_server_route.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/create_datasets_quality_server_route.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/check_and_load_integration/validate_custom_component_template.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/get_data_streams.test.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_metering_stats/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_data_streams_stats/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_dataset_aggregated_paginated_results.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/get_datastream_created_on.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_datastream_settings/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_docs.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_docs.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_docs.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_docs.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_mappings.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/get_datastream_settings.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_analysis/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_field_values/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/get_interval.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_degraded_fields/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/get_non_aggregatable_data_streams.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/routes.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/routes.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/routes.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/routes.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_component_template.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/data_streams/update_field_limit/update_settings_last_backing_index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integration_dashboards.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integration_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integration_dashboards.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integration_dashboards.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integrations.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integrations.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/get_integrations.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/get_integrations.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/routes.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/routes.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/integrations/routes.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/integrations/routes.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/register_routes.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/register_routes.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/register_routes.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/register_routes.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/routes/types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/routes/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/routes/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/routes/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_stream.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_stream.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_stream.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_stream.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/constants.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/constants.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/constants.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.test.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/data_telemetry_service.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/helpers.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/helpers.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/helpers.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/register_collector.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/register_collector.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/register_collector.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/register_collector.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/data_telemetry/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/data_telemetry/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/index_stats.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/index_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/index_stats.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/index_stats.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/services/privileges.ts b/x-pack/platform/plugins/shared/dataset_quality/server/services/privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/services/privileges.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/services/privileges.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/authentication.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/call_kibana.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_custom_role.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/helpers/create_or_update_user.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/test_helpers/create_dataset_quality_users/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/types.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/types/default_api_types.ts b/x-pack/platform/plugins/shared/dataset_quality/server/types/default_api_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/types/default_api_types.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/types/default_api_types.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/create_dataset_quality_es_client.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/create_dataset_quality_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/create_dataset_quality_es_client.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/create_dataset_quality_es_client.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/index.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/index.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/index.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/queries.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/queries.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/queries.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/queries.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.test.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.test.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.test.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/reduce_async_chunks.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/reduce_async_chunks.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/server/utils/to_boolean.ts b/x-pack/platform/plugins/shared/dataset_quality/server/utils/to_boolean.ts similarity index 100% rename from x-pack/plugins/observability_solution/dataset_quality/server/utils/to_boolean.ts rename to x-pack/platform/plugins/shared/dataset_quality/server/utils/to_boolean.ts diff --git a/x-pack/plugins/observability_solution/dataset_quality/tsconfig.json b/x-pack/platform/plugins/shared/dataset_quality/tsconfig.json similarity index 95% rename from x-pack/plugins/observability_solution/dataset_quality/tsconfig.json rename to x-pack/platform/plugins/shared/dataset_quality/tsconfig.json index b50a65aa83c4b..1db6f18d1a9c9 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/tsconfig.json +++ b/x-pack/platform/plugins/shared/dataset_quality/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -7,7 +7,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/embeddable_enhanced/README.asciidoc b/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc similarity index 100% rename from x-pack/plugins/embeddable_enhanced/README.asciidoc rename to x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc diff --git a/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js new file mode 100644 index 0000000000000..b36f4f6f57ccd --- /dev/null +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/embeddable_enhanced'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/embeddable_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/embeddable_enhanced/public/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/embeddable_enhanced/kibana.jsonc b/x-pack/platform/plugins/shared/embeddable_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/embeddable_enhanced/kibana.jsonc rename to x-pack/platform/plugins/shared/embeddable_enhanced/kibana.jsonc diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/index.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/index.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.test.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.test.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.test.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.test.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/index.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/index.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/index.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/mocks.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/mocks.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/mocks.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/mocks.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/plugin.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/plugin.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts diff --git a/x-pack/plugins/embeddable_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json similarity index 87% rename from x-pack/plugins/embeddable_enhanced/tsconfig.json rename to x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json index a065672b9162a..686878ff9b6fd 100644 --- a/x-pack/plugins/embeddable_enhanced/tsconfig.json +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts deleted file mode 100644 index e3356c4826ae8..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from './constants'; - -export const builtInContainersFromEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}containers_from_ecs_data`, - managed: true, - version: '0.1.0', - name: 'Containers from ECS data', - description: - 'This definition extracts container entities from common data streams by looking for the ECS field container.id', - type: 'container', - indexPatterns: ['filebeat-*', 'logs-*', 'metrics-*', 'metricbeat-*'], - identityFields: ['container.id'], - displayNameTemplate: '{{container.id}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - { - source: '_index', - destination: 'source_index', - }, - { - source: 'data_stream.type', - destination: 'source_data_stream.type', - }, - { - source: 'data_stream.dataset', - destination: 'source_data_stream.dataset', - }, - 'container.name', - 'container.image.name', - 'container.image.tag', - 'container.runtime', - 'host.name', - 'host.ip', - 'host.mac', - 'host.architecture', - 'host.os.family', - 'host.os.kernel', - 'host.os.name', - 'host.os.platform', - 'host.os.type', - 'host.os.version', - 'cloud.provider', - 'cloud.region', - 'cloud.availability_zone', - 'cloud.instance.id', - 'cloud.instance.name', - 'cloud.machine.type', - 'cloud.service.name', - 'agent.name', - 'agent.type', - 'agent.ephemeral_id', - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts deleted file mode 100644 index 5d7a30093419e..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from './constants'; - -export const builtInHostsFromEcsEntityDefinition: EntityDefinition = entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}hosts_from_ecs_data`, - managed: true, - version: '0.1.0', - name: 'Hosts from ECS data', - description: - 'This definition extracts host entities from common data streams by looking for the ECS field host.name', - type: 'host', - indexPatterns: ['filebeat-*', 'logs-*', 'metrics-*', 'metricbeat-*'], - identityFields: ['host.name'], - displayNameTemplate: '{{host.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - { - source: '_index', - destination: 'source_index', - }, - { - source: 'data_stream.type', - destination: 'source_data_stream.type', - }, - { - source: 'data_stream.dataset', - destination: 'source_data_stream.dataset', - }, - 'host.hostname', - 'host.ip', - 'host.mac', - 'host.architecture', - 'host.containerized', - 'host.os.platform', - 'host.os.name', - 'host.os.type', - 'host.os.codename', - 'host.os.family', - 'host.os.kernel', - 'host.os.version', - 'cloud.provider', - 'cloud.region', - 'cloud.availability_zone', - 'cloud.instance.id', - 'cloud.instance.name', - 'cloud.service.name', - 'cloud.machine.type', - 'cloud.account.id', - 'cloud.project.id', - 'agent.id', - 'agent.name', - 'agent.type', - 'agent.version', - ], -}); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/index.ts index 6b1c384f5b541..9fe3a5d6232a1 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/index.ts +++ b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/index.ts @@ -6,17 +6,6 @@ */ import { EntityDefinition } from '@kbn/entities-schema'; -import { builtInServicesFromEcsEntityDefinition } from './services_from_ecs_data'; -import { builtInHostsFromEcsEntityDefinition } from './hosts_from_ecs_data'; -import { builtInContainersFromEcsEntityDefinition } from './containers_from_ecs_data'; - -import * as kubernetes from './kubernetes'; - export { BUILT_IN_ID_PREFIX } from './constants'; -export const builtInDefinitions: EntityDefinition[] = [ - builtInServicesFromEcsEntityDefinition, - builtInHostsFromEcsEntityDefinition, - builtInContainersFromEcsEntityDefinition, - ...Object.values(kubernetes), -]; +export const builtInDefinitions: EntityDefinition[] = []; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts deleted file mode 100644 index 5995b4aa46d5f..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetadataField } from '@kbn/entities-schema'; -import { globalMetadata } from './global_metadata'; - -export const commonEcsMetadata: MetadataField[] = [ - ...globalMetadata, - { - source: 'orchestrator.namespace', - destination: 'orchestrator.namespace', - aggregation: { type: 'terms', limit: 10 }, - }, - { - source: 'orchestrator.cluster_ip', - destination: 'orchestrator.cluster_id', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - { - source: 'orchestrator.cluster_name', - destination: 'orchestrator.cluster_name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, -]; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts deleted file mode 100644 index bc7c8fc03a930..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetadataField } from '@kbn/entities-schema'; - -export const globalMetadata: MetadataField[] = [ - { - source: '_index', - destination: 'source_index', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - { - source: 'data_stream.type', - destination: 'source_data_stream.type', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - { - source: 'data_stream.dataset', - destination: 'source_data_stream.dataset', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, -]; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts deleted file mode 100644 index 946f5cc4ead43..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetadataField } from '@kbn/entities-schema'; -import { globalMetadata } from './global_metadata'; - -export const commonOtelMetadata: MetadataField[] = [ - ...globalMetadata, - { - source: 'k8s.namespace.name', - destination: 'k8s.namespace.name', - aggregation: { type: 'terms', limit: 10 }, - }, - { - source: 'k8s.cluster.name', - destination: 'k8s.cluster.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, -]; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts deleted file mode 100644 index 1d452b8a8620e..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; -import { globalMetadata } from '../common/global_metadata'; - -export const builtInKubernetesClusterEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_cluster_ecs`, - filter: 'orchestrator.cluster.name: *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Clusters from ECS data', - description: - 'This definition extracts Kubernetes cluster entities from the Kubernetes integration data streams', - type: 'k8s.cluster.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['orchestrator.cluster.name'], - displayNameTemplate: '{{orchestrator.cluster.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...globalMetadata, - { - source: 'orchestrator.namespace', - destination: 'orchestrator.namespace', - aggregation: { type: 'terms', limit: 10 }, - }, - { - source: 'orchestrator.cluster_ip', - destination: 'orchestrator.cluster_id', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts deleted file mode 100644 index 06bc9dba9fce7..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; -import { commonEcsMetadata } from '../common/ecs_metadata'; - -export const builtInKubernetesCronJobEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_cron_job_ecs`, - filter: 'kubernetes.cronjob.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes CronJob from ECS data', - description: - 'This definition extracts Kubernetes cron job entities from the Kubernetes integration data streams', - type: 'k8s.cronjob.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.cronjob.name'], - displayNameTemplate: '{{kubernetes.cronjob.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts deleted file mode 100644 index c69a1c5c7e625..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; -import { commonEcsMetadata } from '../common/ecs_metadata'; - -export const builtInKubernetesDaemonSetEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_daemon_set_ecs`, - filter: 'kubernetes.daemonset.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes DaemonSet from ECS data', - description: - 'This definition extracts Kubernetes daemon set entities from the Kubernetes integration data streams', - type: 'k8s.daemonset.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.daemonset.name'], - displayNameTemplate: '{{kubernetes.daemonset.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts deleted file mode 100644 index f8e8f920e2f47..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsMetadata } from '../common/ecs_metadata'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; - -export const builtInKubernetesDeploymentEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_deployment_ecs`, - filter: 'kubernetes.deployment.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Deployment from ECS data', - description: - 'This definition extracts Kubernetes deployment entities from the Kubernetes integration data streams', - type: 'k8s.deployment.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.deployment.name'], - displayNameTemplate: '{{kubernetes.deployment.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts deleted file mode 100644 index ecfa67ff893ba..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export { builtInKubernetesClusterEcsEntityDefinition } from './cluster'; -export { builtInKubernetesNodeEcsEntityDefinition } from './node'; -export { builtInKubernetesPodEcsEntityDefinition } from './pod'; -export { builtInKubernetesReplicaSetEcsEntityDefinition } from './replica_set'; -export { builtInKubernetesDeploymentEcsEntityDefinition } from './deployment'; -export { builtInKubernetesStatefulSetEcsEntityDefinition } from './stateful_set'; -export { builtInKubernetesDaemonSetEcsEntityDefinition } from './daemon_set'; -export { builtInKubernetesJobEcsEntityDefinition } from './job'; -export { builtInKubernetesCronJobEcsEntityDefinition } from './cron_job'; -export { builtInKubernetesServiceEcsEntityDefinition } from './service'; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts deleted file mode 100644 index 4efc41dc9ea81..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; -import { commonEcsMetadata } from '../common/ecs_metadata'; - -export const builtInKubernetesJobEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_job_ecs`, - filter: 'kubernetes.job.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Job from ECS data', - description: - 'This definition extracts Kubernetes job entities from the Kubernetes integration data streams', - type: 'k8s.job.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.job.name'], - displayNameTemplate: '{{kubernetes.job.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts deleted file mode 100644 index 033bd8313928d..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; -import { commonEcsMetadata } from '../common/ecs_metadata'; - -export const builtInKubernetesNodeEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_node_ecs`, - filer: 'kubernetes.node.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Node from ECS data', - description: - 'This definition extracts Kubernetes node entities from the Kubernetes integration data streams', - type: 'k8s.node.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.node.name'], - displayNameTemplate: '{{kubernetes.node.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts deleted file mode 100644 index 32029617d992c..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsMetadata } from '../common/ecs_metadata'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; - -export const builtInKubernetesPodEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_pod_ecs`, - filter: 'kubernetes.pod.uid: *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Pod from ECS data', - description: - 'This definition extracts Kubernetes pod entities from the Kubernetes integration data streams', - type: 'k8s.pod.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.pod.uid'], - displayNameTemplate: '{{kubernetes.pod.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonEcsMetadata, - { - source: 'kubernetes.pod.name', - destination: 'kubernetes.pod.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts deleted file mode 100644 index e9f534be8f1db..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsMetadata } from '../common/ecs_metadata'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; - -export const builtInKubernetesReplicaSetEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_replica_set_ecs`, - filer: 'kubernetes.replicaset.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes ReplicaSet from ECS data', - description: - 'This definition extracts Kubernetes replica set entities from the Kubernetes integration data streams', - type: 'k8s.replicaset.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.replicaset.name'], - displayNameTemplate: '{{kubernetes.replicaset.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts deleted file mode 100644 index be1b3b7c6b1c4..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsMetadata } from '../common/ecs_metadata'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; - -export const builtInKubernetesServiceEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_service_ecs`, - filter: 'kubernetes.service.name: *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Services from ECS data', - description: - 'This definition extracts Kubernetes service entities from the Kubernetes integration data streams', - type: 'k8s.service.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.service.name'], - displayNameTemplate: '{{kubernetes.service.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts deleted file mode 100644 index 927c8a259276d..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonEcsMetadata } from '../common/ecs_metadata'; -import { commonEcsIndexPatterns } from '../common/ecs_index_patterns'; - -export const builtInKubernetesStatefulSetEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_stateful_set_ecs`, - filter: 'kubernetes.statefulset.name : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes StatefulSet from ECS data', - description: - 'This definition extracts Kubernetes stateful set entities from the Kubernetes integration data streams', - type: 'k8s.statefulset.ecs', - indexPatterns: commonEcsIndexPatterns, - identityFields: ['kubernetes.statefulset.name'], - displayNameTemplate: '{{kubernetes.statefulset.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: commonEcsMetadata, - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts deleted file mode 100644 index 71024cfb166f2..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; -import { commonOtelMetadata } from '../common/otel_metadata'; - -export const builtInKubernetesClusterSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_cluster_semconv`, - filter: 'k8s.cluster.uid: *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Clusters from SemConv data', - description: - 'This definition extracts Kubernetes cluster entities using data collected with OpenTelemetry', - type: 'kubernetes_cluster_semconv', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.cluster.uid'], - displayNameTemplate: '{{k8s.cluster.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.cluster.name', - destination: 'k8s.cluster.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts deleted file mode 100644 index fff257bcf8e57..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; -import { commonOtelMetadata } from '../common/otel_metadata'; - -export const builtInKubernetesCronJobSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_cron_job_semconv`, - filter: 'k8s.cronjob.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes CronJob from SemConv data', - description: - 'This definition extracts Kubernetes cron job entities using data collected with OpenTelemetry', - type: 'k8s.cronjob.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.cronjob.uid'], - displayNameTemplate: '{{k8s.cronjob.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.cronjob.name', - destination: 'k8s.cronjob.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts deleted file mode 100644 index cf89dcc30e671..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; -import { commonOtelMetadata } from '../common/otel_metadata'; - -export const builtInKubernetesDaemonSetSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_daemon_set_semconv`, - filter: 'k8s.daemonset.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes DaemonSet from SemConv data', - description: - 'This definition extracts Kubernetes daemon set entities using data collected with OpenTelemetry', - type: 'k8s.daemonset.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.daemonset.uid'], - displayNameTemplate: '{{k8s.daemonset.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.daemonset.name', - destination: 'k8s.daemonset.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts deleted file mode 100644 index 05a89d67ead33..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelMetadata } from '../common/otel_metadata'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; - -export const builtInKubernetesDeploymentSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_deployment_semconv`, - filter: 'k8s.deployment.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Deployment from SemConv data', - description: - 'This definition extracts Kubernetes deployment entities using data collected with OpenTelemetry', - type: 'k8s.deployment.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.deployment.uid'], - displayNameTemplate: '{{k8s.deployment.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.deployment.name', - destination: 'k8s.deployment.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts deleted file mode 100644 index fbfcd9c5f9024..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export { builtInKubernetesClusterSemConvEntityDefinition } from './cluster'; -export { builtInKubernetesNodeSemConvEntityDefinition } from './node'; -export { builtInKubernetesPodSemConvEntityDefinition } from './pod'; -export { builtInKubernetesReplicaSetSemConvEntityDefinition } from './replica_set'; -export { builtInKubernetesDeploymentSemConvEntityDefinition } from './deployment'; -export { builtInKubernetesStatefulSetSemConvEntityDefinition } from './stateful_set'; -export { builtInKubernetesDaemonSetSemConvEntityDefinition } from './daemon_set'; -export { builtInKubernetesJobSemConvEntityDefinition } from './job'; -export { builtInKubernetesCronJobSemConvEntityDefinition } from './cron_job'; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts deleted file mode 100644 index 557afa54ca55e..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; -import { commonOtelMetadata } from '../common/otel_metadata'; - -export const builtInKubernetesJobSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_job_semconv`, - filter: 'k8s.job.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Job from SemConv data', - description: - 'This definition extracts Kubernetes job entities using data collected with OpenTelemetry', - type: 'k8s.job.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.job.uid'], - displayNameTemplate: '{{k8s.job.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.job.name', - destination: 'k8s.job.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts deleted file mode 100644 index 35bbed42e6a4a..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; -import { commonOtelMetadata } from '../common/otel_metadata'; - -export const builtInKubernetesNodeSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_node_semconv`, - filter: 'k8s.node.uid: *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Node from SemConv data', - description: - 'This definition extracts Kubernetes node entities using data collected with OpenTelemetry', - type: 'k8s.node.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.node.uid'], - displayNameTemplate: '{{k8s.node.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.node.name', - destination: 'k8s.node.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts deleted file mode 100644 index 05d22163fbacc..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelMetadata } from '../common/otel_metadata'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; - -export const builtInKubernetesPodSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_pod_semconv`, - filter: 'k8s.pod.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes Pod from SemConv data', - description: - 'This definition extracts Kubernetes pod entities using data collected with OpenTelemetry', - type: 'k8s.pod.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.pod.uid'], - displayNameTemplate: '{{k8s.pod.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.pod.name', - destination: 'k8s.pod.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts deleted file mode 100644 index ff4e33d789da9..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelMetadata } from '../common/otel_metadata'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; - -export const builtInKubernetesReplicaSetSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_replica_set_semconv`, - filter: 'k8s.replicaset.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes ReplicaSet from SemConv data', - description: - 'This definition extracts Kubernetes replica set entities using data collected with OpenTelemetry', - type: 'k8s.replicaset.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.replicaset.uid'], - displayNameTemplate: '{{k8s.replicaset.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.replicaset.name', - destination: 'k8s.replicaset.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts deleted file mode 100644 index 9c8b385f05c76..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from '../../constants'; -import { commonOtelMetadata } from '../common/otel_metadata'; -import { commonOtelIndexPatterns } from '../common/otel_index_patterns'; - -export const builtInKubernetesStatefulSetSemConvEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}kubernetes_stateful_set_semconv`, - filter: 'k8s.statefulset.uid : *', - managed: true, - version: '0.1.0', - name: 'Kubernetes StatefulSet from SemConv data', - description: - 'This definition extracts Kubernetes stateful set entities using data collected with OpenTelemetry', - type: 'k8s.statefulset.otel', - indexPatterns: commonOtelIndexPatterns, - identityFields: ['k8s.statefulset.uid'], - displayNameTemplate: '{{k8s.statefulset.name}}', - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '5m', - }, - }, - metadata: [ - ...commonOtelMetadata, - { - source: 'k8s.statefulset.name', - destination: 'k8s.statefulset.name', - aggregation: { type: 'top_value', sort: { '@timestamp': 'desc' } }, - }, - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts deleted file mode 100644 index fa40760e542aa..0000000000000 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; -import { BUILT_IN_ID_PREFIX } from './constants'; - -export const builtInServicesFromEcsEntityDefinition: EntityDefinition = - entityDefinitionSchema.parse({ - version: '0.5.0', - id: `${BUILT_IN_ID_PREFIX}services_from_ecs_data`, - name: 'Services from ECS data', - description: - 'This definition extracts service entities from common data streams by looking for the ECS field service.name', - type: 'service', - managed: true, - indexPatterns: ['logs-*', 'filebeat*', 'traces-*'], - latest: { - timestampField: '@timestamp', - lookbackPeriod: '10m', - settings: { - frequency: '2m', - syncDelay: '2m', - }, - }, - identityFields: ['service.name'], - displayNameTemplate: '{{service.name}}', - metadata: [ - { source: '_index', destination: 'source_index' }, - { - source: 'data_stream.type', - destination: 'source_data_stream.type', - }, - { - source: 'data_stream.dataset', - destination: 'source_data_stream.dataset', - }, - 'agent.name', - 'service.environment', - 'service.name', - 'service.namespace', - 'service.version', - 'service.runtime.name', - 'service.runtime.version', - 'service.language.name', - 'cloud.provider', - 'cloud.availability_zone', - 'cloud.machine.type', - 'kubernetes.namespace', - 'orchestrator.cluster.name', - 'k8s.namespace.name', - 'k8s.cluster.name', - ], - }); diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts index e0d7b0c9eed3d..b42e0db15834f 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts +++ b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts @@ -18,6 +18,9 @@ import { stopTransforms } from './stop_transforms'; import { deleteTransforms } from './delete_transforms'; import { EntityClient } from '../entity_client'; +import { EntityManagerServerSetup } from '../../types'; +import { deleteEntityDiscoveryAPIKey, readEntityDiscoveryAPIKey } from '../auth'; +import { getClientsFromAPIKey } from '../utils'; export async function uninstallEntityDefinition({ definition, @@ -52,7 +55,7 @@ export async function uninstallBuiltInEntityDefinitions({ perPage: 1000, }); - await Promise.all( + await Promise.allSettled( definitions.map(async ({ id }) => { await entityClient.deleteEntityDefinition({ id, deleteData }); }) @@ -60,3 +63,24 @@ export async function uninstallBuiltInEntityDefinitions({ return definitions; } + +export async function disableManagedEntityDiscovery({ + server, +}: { + server: EntityManagerServerSetup; +}) { + const apiKey = await readEntityDiscoveryAPIKey(server); + if (!apiKey) { + return; + } + + const { clusterClient, soClient } = getClientsFromAPIKey({ apiKey, server }); + const entityClient = new EntityClient({ clusterClient, soClient, logger: server.logger }); + + await uninstallBuiltInEntityDefinitions({ entityClient, deleteData: true }); + + await deleteEntityDiscoveryAPIKey(soClient); + await server.security.authc.apiKeys.invalidateAsInternalUser({ + ids: [apiKey.id], + }); +} diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/upgrade_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/upgrade_entity_definition.ts index a4d44cd45ee17..98b4e234c6f22 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/upgrade_entity_definition.ts +++ b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/upgrade_entity_definition.ts @@ -35,7 +35,8 @@ export async function upgradeBuiltInEntityDefinitions({ ); } - const { esClient, soClient } = getClientsFromAPIKey({ apiKey, server }); + const { clusterClient, soClient } = getClientsFromAPIKey({ apiKey, server }); + const esClient = clusterClient.asCurrentUser; logger.debug(`Starting built-in definitions upgrade`); const upgradedDefinitions = await installBuiltInEntityDefinitions({ diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/utils.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/utils.ts index d1d76e147efb0..d820b2f972a65 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/utils.ts +++ b/x-pack/platform/plugins/shared/entity_manager/server/lib/utils.ts @@ -5,11 +5,12 @@ * 2.0. */ -import { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import { IScopedClusterClient } from '@kbn/core-elasticsearch-server'; import { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-server'; import { getFakeKibanaRequest } from '@kbn/security-plugin/server/authentication/api_keys/fake_kibana_request'; import { EntityManagerServerSetup } from '../types'; import { EntityDiscoveryAPIKey } from './auth/api_key/api_key'; +import { EntityDiscoveryApiKeyType } from '../saved_objects'; export const getClientsFromAPIKey = ({ apiKey, @@ -17,9 +18,11 @@ export const getClientsFromAPIKey = ({ }: { apiKey: EntityDiscoveryAPIKey; server: EntityManagerServerSetup; -}): { esClient: ElasticsearchClient; soClient: SavedObjectsClientContract } => { +}): { clusterClient: IScopedClusterClient; soClient: SavedObjectsClientContract } => { const fakeRequest = getFakeKibanaRequest({ id: apiKey.id, api_key: apiKey.apiKey }); - const esClient = server.core.elasticsearch.client.asScoped(fakeRequest).asCurrentUser; - const soClient = server.core.savedObjects.getScopedClient(fakeRequest); - return { esClient, soClient }; + const clusterClient = server.core.elasticsearch.client.asScoped(fakeRequest); + const soClient = server.core.savedObjects.getScopedClient(fakeRequest, { + includedHiddenTypes: [EntityDiscoveryApiKeyType.name], + }); + return { clusterClient, soClient }; }; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/plugin.ts b/x-pack/platform/plugins/shared/entity_manager/server/plugin.ts index 8799c7f365bf7..0d1463dde1318 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/plugin.ts +++ b/x-pack/platform/plugins/shared/entity_manager/server/plugin.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { firstValueFrom } from 'rxjs'; import { CoreSetup, CoreStart, @@ -16,13 +17,9 @@ import { PluginInitializerContext, } from '@kbn/core/server'; import { registerRoutes } from '@kbn/server-route-repository'; -import { firstValueFrom } from 'rxjs'; import { KibanaFeatureScope } from '@kbn/features-plugin/common'; import { EntityManagerConfig, configSchema, exposeToBrowserConfig } from '../common/config'; -import { builtInDefinitions } from './lib/entities/built_in'; -import { upgradeBuiltInEntityDefinitions } from './lib/entities/upgrade_entity_definition'; import { EntityClient } from './lib/entity_client'; -import { installEntityManagerTemplates } from './lib/manage_index_templates'; import { entityManagerRouteRepository } from './routes'; import { EntityManagerRouteDependencies } from './routes/types'; import { EntityDiscoveryApiKeyType, entityDefinition } from './saved_objects'; @@ -40,6 +37,8 @@ import { READ_ENTITIES_PRIVILEGE, } from './lib/v2/constants'; import { installBuiltInDefinitions } from './lib/v2/definitions/install_built_in_definitions'; +import { disableManagedEntityDiscovery } from './lib/entities/uninstall_entity_definition'; +import { installEntityManagerTemplates } from './lib/manage_index_templates'; import { instanceAsFilter } from './lib/v2/definitions/instance_as_filter'; // eslint-disable-next-line @typescript-eslint/no-empty-interface @@ -174,28 +173,20 @@ export class EntityManagerServerPlugin installEntityManagerTemplates({ esClient: core.elasticsearch.client.asInternalUser, logger: this.logger, - }) - .then(async () => { - // the api key validation requires a check against the cluster license - // which is lazily loaded. we ensure it gets loaded before the update - await firstValueFrom(plugins.licensing.license$); - const { success } = await upgradeBuiltInEntityDefinitions({ - definitions: builtInDefinitions, - server: this.server!, - }); - - if (success) { - this.logger.info('Builtin definitions were successfully upgraded'); - } - }) - .catch((err) => this.logger.error(err)); + }).catch((err) => this.logger.error(err)); + + // Disable v1 built-in definitions. + // the api key invalidation requires a check against the cluster license + // which is lazily loaded. we ensure it gets loaded before the update + firstValueFrom(plugins.licensing.license$) + .then(() => disableManagedEntityDiscovery({ server: this.server! })) + .then(() => this.logger.info(`Disabled managed entity discovery`)) + .catch((err) => this.logger.error(`Failed to disable managed entity discovery: ${err}`)); // Setup v2 definitions index setupEntityDefinitionsIndex(core.elasticsearch.client, this.logger) .then(() => installBuiltInDefinitions(core.elasticsearch.client, this.logger)) - .catch((error) => { - this.logger.error(error); - }); + .catch((err) => this.logger.error(err)); return { getScopedClient: async ({ request }: { request: KibanaRequest }) => { diff --git a/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/check.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/check.ts index 100b0ac382dcf..41a8ec8f134a0 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/check.ts +++ b/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/check.ts @@ -68,7 +68,8 @@ export const checkEntityDiscoveryEnabledRoute = createEntityManagerServerRoute({ return response.ok({ body: { enabled: false, reason: ERROR_API_KEY_NOT_VALID } }); } - const { esClient, soClient } = getClientsFromAPIKey({ apiKey, server }); + const { clusterClient, soClient } = getClientsFromAPIKey({ apiKey, server }); + const esClient = clusterClient.asCurrentUser; const entityDiscoveryState = await Promise.all( builtInDefinitions.map(async (builtInDefinition) => { diff --git a/x-pack/platform/plugins/shared/entity_manager/tsconfig.json b/x-pack/platform/plugins/shared/entity_manager/tsconfig.json index 0fc46870ea472..f59960dc2873e 100644 --- a/x-pack/platform/plugins/shared/entity_manager/tsconfig.json +++ b/x-pack/platform/plugins/shared/entity_manager/tsconfig.json @@ -31,7 +31,6 @@ "@kbn/datemath", "@kbn/server-route-repository", "@kbn/zod", - "@kbn/zod-helpers", "@kbn/encrypted-saved-objects-plugin", "@kbn/licensing-plugin", "@kbn/core-saved-objects-server", @@ -39,5 +38,6 @@ "@kbn/apm-utils", "@kbn/features-plugin", "@kbn/core-elasticsearch-server-mocks", + "@kbn/zod-helpers", ] } diff --git a/x-pack/plugins/fields_metadata/README.md b/x-pack/platform/plugins/shared/fields_metadata/README.md similarity index 100% rename from x-pack/plugins/fields_metadata/README.md rename to x-pack/platform/plugins/shared/fields_metadata/README.md diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/common.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/common.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/common.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/common.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/errors.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/errors.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/errors.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/errors.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/index.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/models/field_metadata.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/field_metadata.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/models/fields_metadata_dictionary.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/types.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/types.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/types.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/find_fields_metadata.ts diff --git a/x-pack/plugins/fields_metadata/common/fields_metadata/v1/index.ts b/x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/fields_metadata/v1/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/fields_metadata/v1/index.ts diff --git a/x-pack/plugins/fields_metadata/common/hashed_cache.ts b/x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/hashed_cache.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts diff --git a/x-pack/plugins/fields_metadata/common/index.ts b/x-pack/platform/plugins/shared/fields_metadata/common/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/index.ts diff --git a/x-pack/plugins/fields_metadata/common/latest.ts b/x-pack/platform/plugins/shared/fields_metadata/common/latest.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/latest.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/latest.ts diff --git a/x-pack/plugins/fields_metadata/common/metadata_fields.ts b/x-pack/platform/plugins/shared/fields_metadata/common/metadata_fields.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/metadata_fields.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/metadata_fields.ts diff --git a/x-pack/plugins/fields_metadata/common/runtime_types.ts b/x-pack/platform/plugins/shared/fields_metadata/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/common/runtime_types.ts rename to x-pack/platform/plugins/shared/fields_metadata/common/runtime_types.ts diff --git a/x-pack/platform/plugins/shared/fields_metadata/jest.config.js b/x-pack/platform/plugins/shared/fields_metadata/jest.config.js new file mode 100644 index 0000000000000..aec85a0338bb6 --- /dev/null +++ b/x-pack/platform/plugins/shared/fields_metadata/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/fields_metadata'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fields_metadata', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/fields_metadata/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/fields_metadata/kibana.jsonc b/x-pack/platform/plugins/shared/fields_metadata/kibana.jsonc similarity index 100% rename from x-pack/plugins/fields_metadata/kibana.jsonc rename to x-pack/platform/plugins/shared/fields_metadata/kibana.jsonc diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/index.ts diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.mock.ts diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.test.ts diff --git a/x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/hooks/use_fields_metadata/use_fields_metadata.ts diff --git a/x-pack/plugins/fields_metadata/public/index.ts b/x-pack/platform/plugins/shared/fields_metadata/public/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/index.ts diff --git a/x-pack/plugins/fields_metadata/public/mocks.tsx b/x-pack/platform/plugins/shared/fields_metadata/public/mocks.tsx similarity index 100% rename from x-pack/plugins/fields_metadata/public/mocks.tsx rename to x-pack/platform/plugins/shared/fields_metadata/public/mocks.tsx diff --git a/x-pack/plugins/fields_metadata/public/plugin.ts b/x-pack/platform/plugins/shared/fields_metadata/public/plugin.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/plugin.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/plugin.ts diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.mock.ts diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_client.ts diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.mock.ts diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/fields_metadata_service.ts diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/index.ts diff --git a/x-pack/plugins/fields_metadata/public/services/fields_metadata/types.ts b/x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/services/fields_metadata/types.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/services/fields_metadata/types.ts diff --git a/x-pack/plugins/fields_metadata/public/types.ts b/x-pack/platform/plugins/shared/fields_metadata/public/types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/public/types.ts rename to x-pack/platform/plugins/shared/fields_metadata/public/types.ts diff --git a/x-pack/plugins/fields_metadata/server/fields_metadata_server.ts b/x-pack/platform/plugins/shared/fields_metadata/server/fields_metadata_server.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/fields_metadata_server.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/fields_metadata_server.ts diff --git a/x-pack/plugins/fields_metadata/server/index.ts b/x-pack/platform/plugins/shared/fields_metadata/server/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/index.ts diff --git a/x-pack/plugins/fields_metadata/server/lib/shared_types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/lib/shared_types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/lib/shared_types.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/lib/shared_types.ts diff --git a/x-pack/plugins/fields_metadata/server/mocks.ts b/x-pack/platform/plugins/shared/fields_metadata/server/mocks.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/mocks.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/mocks.ts diff --git a/x-pack/plugins/fields_metadata/server/plugin.ts b/x-pack/platform/plugins/shared/fields_metadata/server/plugin.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/plugin.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/plugin.ts diff --git a/x-pack/plugins/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts b/x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts diff --git a/x-pack/plugins/fields_metadata/server/routes/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/routes/fields_metadata/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/index.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/errors.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/errors.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/errors.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/errors.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.mock.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.test.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_client.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.mock.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/fields_metadata_service.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/index.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/index.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/index.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/index.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/ecs_fields_repository.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/integration_fields_repository.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/metadata_fields_repository.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/repositories/types.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/repositories/types.ts diff --git a/x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/services/fields_metadata/types.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/services/fields_metadata/types.ts diff --git a/x-pack/plugins/fields_metadata/server/types.ts b/x-pack/platform/plugins/shared/fields_metadata/server/types.ts similarity index 100% rename from x-pack/plugins/fields_metadata/server/types.ts rename to x-pack/platform/plugins/shared/fields_metadata/server/types.ts diff --git a/x-pack/plugins/fields_metadata/tsconfig.json b/x-pack/platform/plugins/shared/fields_metadata/tsconfig.json similarity index 81% rename from x-pack/plugins/fields_metadata/tsconfig.json rename to x-pack/platform/plugins/shared/fields_metadata/tsconfig.json index 91fc85b3024ea..3553201027f60 100644 --- a/x-pack/plugins/fields_metadata/tsconfig.json +++ b/x-pack/platform/plugins/shared/fields_metadata/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/x-pack/plugins/index_management/README.md b/x-pack/platform/plugins/shared/index_management/README.md similarity index 98% rename from x-pack/plugins/index_management/README.md rename to x-pack/platform/plugins/shared/index_management/README.md index bc7047888d2ab..c15e30f080139 100644 --- a/x-pack/plugins/index_management/README.md +++ b/x-pack/platform/plugins/shared/index_management/README.md @@ -61,7 +61,7 @@ relies on additional index data that is not available by default. To make these the `GET /indices` request, an index data enricher can be registered. A data enricher is essentially an extra request that is done for the array of indices and the information is added to the response. Currently, 3 data enrichers are registered by the ILM, Rollup and CCR plugins. Before adding a data enricher, the cost of the additional request should be taken -in consideration (see [this file](https://github.com/elastic/kibana/blob/main/x-pack/plugins/index_management/server/services/index_data_enricher.ts) for more details). +in consideration (see [this file](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts) for more details). ## Indices tab diff --git a/x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/create_enrich_policy/create_enrich_policy.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/fixtures.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/fixtures.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/fixtures.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/fixtures.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/http_requests.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/http_requests.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/http_requests.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/index.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/index.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/mocks.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/mocks.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/mocks.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/mocks.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/setup_environment.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/setup_environment.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/setup_environment.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_project_level_retention.test.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts similarity index 95% rename from x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts index 608d2ce5390da..b75d1c507cc7a 100644 --- a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts +++ b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts @@ -37,6 +37,8 @@ export interface DataStreamsTabTestBed extends TestBed { clickDeleteDataStreamButton: () => void; clickEditDataRetentionButton: () => void; clickDetailPanelIndexTemplateLink: () => void; + clickManageDataStreamsButton: () => void; + clickBulkEditDataRetentionButton: () => void; }; findDeleteActionAt: (index: number) => ReactWrapper; findDeleteConfirmationModal: () => ReactWrapper; @@ -210,6 +212,14 @@ export const setup = async ( component.update(); }; + const clickManageDataStreamsButton = () => { + testBed.find('dataStreamActionsPopoverButton').simulate('click'); + }; + + const clickBulkEditDataRetentionButton = () => { + testBed.find('bulkEditDataRetentionButton').simulate('click'); + }; + const findDetailPanel = () => { const { find } = testBed; return find('dataStreamDetailPanel'); @@ -258,6 +268,8 @@ export const setup = async ( clickDeleteDataStreamButton, clickEditDataRetentionButton, clickDetailPanelIndexTemplateLink, + clickManageDataStreamsButton, + clickBulkEditDataRetentionButton, }, findDeleteActionAt, findDeleteConfirmationModal, diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.test.ts similarity index 86% rename from x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.test.ts index 3bc122ad867f6..d3368371de336 100644 --- a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts +++ b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/data_streams_tab.test.ts @@ -449,6 +449,158 @@ describe('Data Streams tab', () => { }); }); + describe('bulk update data retention', () => { + beforeAll(async () => { + const { setLoadDataStreamsResponse, setLoadDataStreamResponse } = httpRequestsMockHelpers; + + const ds1 = createDataStreamPayload({ + name: 'dataStream1', + lifecycle: { + enabled: false, + }, + }); + const ds2 = createDataStreamPayload({ + name: 'dataStream2', + lifecycle: { + enabled: true, + }, + }); + + setLoadDataStreamsResponse([ds1, ds2]); + setLoadDataStreamResponse(ds1.name, ds1); + + testBed = await setup(httpSetup, { + history: createMemoryHistory(), + url: urlServiceMock, + }); + await act(async () => { + testBed.actions.goToDataStreamsList(); + }); + testBed.component.update(); + }); + + test('can set data retention period for mutliple data streams', async () => { + const { + actions: { + selectDataStream, + clickManageDataStreamsButton, + clickBulkEditDataRetentionButton, + }, + } = testBed; + + selectDataStream('dataStream1', true); + selectDataStream('dataStream2', true); + clickManageDataStreamsButton(); + + clickBulkEditDataRetentionButton(); + + httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream1', { + success: true, + }); + + httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream2', { + success: true, + }); + + // set data retention value + testBed.form.setInputValue('dataRetentionValue', '7'); + // Set data retention unit + testBed.find('show-filters-button').simulate('click'); + testBed.find('filter-option-h').simulate('click'); + + await act(async () => { + testBed.find('saveButton').simulate('click'); + }); + testBed.component.update(); + + expect(httpSetup.put).toHaveBeenLastCalledWith( + `${API_BASE_PATH}/data_streams/data_retention`, + expect.objectContaining({ + body: JSON.stringify({ + dataRetention: '7h', + dataStreams: ['dataStream1', 'dataStream2'], + }), + }) + ); + }); + + test('can disable lifecycle', async () => { + const { + actions: { + selectDataStream, + clickManageDataStreamsButton, + clickBulkEditDataRetentionButton, + }, + } = testBed; + + selectDataStream('dataStream1', true); + selectDataStream('dataStream2', true); + clickManageDataStreamsButton(); + + clickBulkEditDataRetentionButton(); + + httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream1', { + success: true, + }); + + httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream2', { + success: true, + }); + + testBed.form.toggleEuiSwitch('dataRetentionEnabledField.input'); + + await act(async () => { + testBed.find('saveButton').simulate('click'); + }); + testBed.component.update(); + + expect(httpSetup.put).toHaveBeenLastCalledWith( + `${API_BASE_PATH}/data_streams/data_retention`, + expect.objectContaining({ + body: JSON.stringify({ enabled: false, dataStreams: ['dataStream1', 'dataStream2'] }), + }) + ); + }); + + test('allows to set infinite retention period', async () => { + const { + actions: { + selectDataStream, + clickManageDataStreamsButton, + clickBulkEditDataRetentionButton, + }, + } = testBed; + + selectDataStream('dataStream1', true); + selectDataStream('dataStream2', true); + clickManageDataStreamsButton(); + + clickBulkEditDataRetentionButton(); + + httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream1', { + success: true, + }); + + httpRequestsMockHelpers.setEditDataRetentionResponse('dataStream2', { + success: true, + }); + + testBed.form.toggleEuiSwitch('infiniteRetentionPeriod.input'); + + await act(async () => { + testBed.find('saveButton').simulate('click'); + }); + testBed.component.update(); + + expect(httpSetup.put).toHaveBeenLastCalledWith( + `${API_BASE_PATH}/data_streams/data_retention`, + expect.objectContaining({ + body: JSON.stringify({ dataStreams: ['dataStream1', 'dataStream2'] }), + }) + ); + }); + }); + describe('detail panel', () => { test('opens when the data stream name in the table is clicked', async () => { const { actions, findDetailPanel, findDetailPanelTitle } = testBed; @@ -557,8 +709,10 @@ describe('Data Streams tab', () => { testBed.component.update(); expect(httpSetup.put).toHaveBeenLastCalledWith( - `${API_BASE_PATH}/data_streams/dataStream1/data_retention`, - expect.objectContaining({ body: JSON.stringify({ dataRetention: '7h' }) }) + `${API_BASE_PATH}/data_streams/data_retention`, + expect.objectContaining({ + body: JSON.stringify({ dataRetention: '7h', dataStreams: ['dataStream1'] }), + }) ); }); @@ -583,8 +737,10 @@ describe('Data Streams tab', () => { testBed.component.update(); expect(httpSetup.put).toHaveBeenLastCalledWith( - `${API_BASE_PATH}/data_streams/dataStream1/data_retention`, - expect.objectContaining({ body: JSON.stringify({ enabled: false }) }) + `${API_BASE_PATH}/data_streams/data_retention`, + expect.objectContaining({ + body: JSON.stringify({ enabled: false, dataStreams: ['dataStream1'] }), + }) ); }); @@ -609,8 +765,8 @@ describe('Data Streams tab', () => { testBed.component.update(); expect(httpSetup.put).toHaveBeenLastCalledWith( - `${API_BASE_PATH}/data_streams/dataStream1/data_retention`, - expect.objectContaining({ body: JSON.stringify({}) }) + `${API_BASE_PATH}/data_streams/data_retention`, + expect.objectContaining({ body: JSON.stringify({ dataStreams: ['dataStream1'] }) }) ); }); }); @@ -664,6 +820,7 @@ describe('Data Streams tab', () => { enabled: true, data_retention: '7d', }, + ilmPolicyName: 'testILM', indices: [ { managedBy: 'Index Lifecycle Management', @@ -1028,17 +1185,20 @@ describe('Data Streams tab', () => { test('displays/hides delete action depending on data streams privileges', async () => { const { - actions: { selectDataStream }, + actions: { selectDataStream, clickManageDataStreamsButton }, find, } = testBed; selectDataStream('dataStreamNoDelete', true); + clickManageDataStreamsButton(); expect(find('deleteDataStreamsButton').exists()).toBeFalsy(); selectDataStream('dataStreamWithDelete', true); + clickManageDataStreamsButton(); expect(find('deleteDataStreamsButton').exists()).toBeFalsy(); selectDataStream('dataStreamNoDelete', false); + clickManageDataStreamsButton(); expect(find('deleteDataStreamsButton').exists()).toBeTruthy(); }); diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/enrich_policies.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/enrich_policies.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.test.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/home.test.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.test.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.test.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.test.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/index_templates_tab.test.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/home/indices_tab.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/index_details_page.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/mocks.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/mocks.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/mocks.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/mocks.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/select_inference_id.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/semantic_text_bannner.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_details_page/trained_models_deployment_modal.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/constants.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/constants.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/constants.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/constants.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_clone.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts b/x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts rename to x-pack/platform/plugins/shared/index_management/__jest__/client_integration/index_template_wizard/template_form.helpers.ts diff --git a/x-pack/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap b/x-pack/platform/plugins/shared/index_management/__jest__/components/__snapshots__/index_table.test.js.snap similarity index 100% rename from x-pack/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap rename to x-pack/platform/plugins/shared/index_management/__jest__/components/__snapshots__/index_table.test.js.snap diff --git a/x-pack/plugins/index_management/__jest__/components/index_table.test.js b/x-pack/platform/plugins/shared/index_management/__jest__/components/index_table.test.js similarity index 100% rename from x-pack/plugins/index_management/__jest__/components/index_table.test.js rename to x-pack/platform/plugins/shared/index_management/__jest__/components/index_table.test.js diff --git a/x-pack/plugins/index_management/common/constants/allow_auto_create.ts b/x-pack/platform/plugins/shared/index_management/common/constants/allow_auto_create.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/allow_auto_create.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/allow_auto_create.ts diff --git a/x-pack/plugins/index_management/common/constants/api_base_path.ts b/x-pack/platform/plugins/shared/index_management/common/constants/api_base_path.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/api_base_path.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/api_base_path.ts diff --git a/x-pack/plugins/index_management/common/constants/base_path.ts b/x-pack/platform/plugins/shared/index_management/common/constants/base_path.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/base_path.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/base_path.ts diff --git a/x-pack/plugins/index_management/common/constants/index.ts b/x-pack/platform/plugins/shared/index_management/common/constants/index.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/index.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/index.ts diff --git a/x-pack/plugins/index_management/common/constants/index_modes.ts b/x-pack/platform/plugins/shared/index_management/common/constants/index_modes.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/index_modes.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/index_modes.ts diff --git a/x-pack/plugins/index_management/common/constants/index_statuses.ts b/x-pack/platform/plugins/shared/index_management/common/constants/index_statuses.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/index_statuses.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/index_statuses.ts diff --git a/x-pack/plugins/index_management/common/constants/invalid_characters.ts b/x-pack/platform/plugins/shared/index_management/common/constants/invalid_characters.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/invalid_characters.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/invalid_characters.ts diff --git a/x-pack/plugins/index_management/common/constants/plugin.ts b/x-pack/platform/plugins/shared/index_management/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/plugin.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/plugin.ts diff --git a/x-pack/plugins/index_management/common/constants/ui_metric.ts b/x-pack/platform/plugins/shared/index_management/common/constants/ui_metric.ts similarity index 100% rename from x-pack/plugins/index_management/common/constants/ui_metric.ts rename to x-pack/platform/plugins/shared/index_management/common/constants/ui_metric.ts diff --git a/x-pack/plugins/index_management/common/index.ts b/x-pack/platform/plugins/shared/index_management/common/index.ts similarity index 91% rename from x-pack/plugins/index_management/common/index.ts rename to x-pack/platform/plugins/shared/index_management/common/index.ts index ea1316ed2c185..61bdeb6007ef6 100644 --- a/x-pack/plugins/index_management/common/index.ts +++ b/x-pack/platform/plugins/shared/index_management/common/index.ts @@ -6,7 +6,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110892 -/* eslint-disable @kbn/eslint/no_export_all */ export { API_BASE_PATH, INTERNAL_API_BASE_PATH, BASE_PATH, MAJOR_VERSION } from './constants'; diff --git a/x-pack/plugins/index_management/common/lib/component_template_serialization.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.test.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/component_template_serialization.test.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.test.ts diff --git a/x-pack/plugins/index_management/common/lib/component_template_serialization.ts b/x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/component_template_serialization.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/component_template_serialization.ts diff --git a/x-pack/plugins/index_management/common/lib/data_stream_utils.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.test.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/data_stream_utils.test.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.test.ts diff --git a/x-pack/plugins/index_management/common/lib/data_stream_utils.ts b/x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/data_stream_utils.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/data_stream_utils.ts diff --git a/x-pack/plugins/index_management/common/lib/enrich_policies.ts b/x-pack/platform/plugins/shared/index_management/common/lib/enrich_policies.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/enrich_policies.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/enrich_policies.ts diff --git a/x-pack/plugins/index_management/common/lib/index.ts b/x-pack/platform/plugins/shared/index_management/common/lib/index.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/index.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/index.ts diff --git a/x-pack/plugins/index_management/common/lib/template_serialization.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.test.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/template_serialization.test.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.test.ts diff --git a/x-pack/plugins/index_management/common/lib/template_serialization.ts b/x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/template_serialization.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/template_serialization.ts diff --git a/x-pack/plugins/index_management/common/lib/utils.test.ts b/x-pack/platform/plugins/shared/index_management/common/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/utils.test.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/utils.test.ts diff --git a/x-pack/plugins/index_management/common/lib/utils.ts b/x-pack/platform/plugins/shared/index_management/common/lib/utils.ts similarity index 100% rename from x-pack/plugins/index_management/common/lib/utils.ts rename to x-pack/platform/plugins/shared/index_management/common/lib/utils.ts diff --git a/x-pack/plugins/index_management/common/types/aliases.ts b/x-pack/platform/plugins/shared/index_management/common/types/aliases.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/aliases.ts rename to x-pack/platform/plugins/shared/index_management/common/types/aliases.ts diff --git a/x-pack/plugins/index_management/common/types/component_templates.ts b/x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/component_templates.ts rename to x-pack/platform/plugins/shared/index_management/common/types/component_templates.ts diff --git a/x-pack/plugins/index_management/common/types/data_streams.ts b/x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/data_streams.ts rename to x-pack/platform/plugins/shared/index_management/common/types/data_streams.ts diff --git a/x-pack/plugins/index_management/common/types/enrich_policies.ts b/x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/enrich_policies.ts rename to x-pack/platform/plugins/shared/index_management/common/types/enrich_policies.ts diff --git a/x-pack/plugins/index_management/common/types/index.ts b/x-pack/platform/plugins/shared/index_management/common/types/index.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/index.ts rename to x-pack/platform/plugins/shared/index_management/common/types/index.ts diff --git a/x-pack/plugins/index_management/common/types/indices.ts b/x-pack/platform/plugins/shared/index_management/common/types/indices.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/indices.ts rename to x-pack/platform/plugins/shared/index_management/common/types/indices.ts diff --git a/x-pack/plugins/index_management/common/types/mappings.ts b/x-pack/platform/plugins/shared/index_management/common/types/mappings.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/mappings.ts rename to x-pack/platform/plugins/shared/index_management/common/types/mappings.ts diff --git a/x-pack/plugins/index_management/common/types/templates.ts b/x-pack/platform/plugins/shared/index_management/common/types/templates.ts similarity index 100% rename from x-pack/plugins/index_management/common/types/templates.ts rename to x-pack/platform/plugins/shared/index_management/common/types/templates.ts diff --git a/x-pack/platform/plugins/shared/index_management/jest.config.js b/x-pack/platform/plugins/shared/index_management/jest.config.js new file mode 100644 index 0000000000000..4b43baf3253f3 --- /dev/null +++ b/x-pack/platform/plugins/shared/index_management/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/index_management'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/index_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/index_management/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/index_management/kibana.jsonc b/x-pack/platform/plugins/shared/index_management/kibana.jsonc similarity index 100% rename from x-pack/plugins/index_management/kibana.jsonc rename to x-pack/platform/plugins/shared/index_management/kibana.jsonc diff --git a/x-pack/plugins/index_management/public/application/app.tsx b/x-pack/platform/plugins/shared/index_management/public/application/app.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/app.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/app.tsx diff --git a/x-pack/plugins/index_management/public/application/app_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/app_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/app_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/app_context.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_details.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_edit.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_list.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_create.helpers.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_details.helpers.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_edit.helpers.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_list.helpers.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/constants.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/http_requests.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/setup_environment.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/__jest__/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/__jest__/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/manage_button.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tab_summary.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tabs.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tabs.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/tabs.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_details/tabs.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/component_template_list_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/delete_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/empty_prompt.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/table.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_list/table.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_list/table.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.scss diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.scss diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_list_item.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selection.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.scss diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/component_templates_selector.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/create_button_popover.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/filter_list_button.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/components/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_selector/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_selector/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/component_template_clone.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_clone/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/component_template_create.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_create/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/mappings_datastreams_rollover_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_datastreams_rollover/use_datastreams_rollover.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/component_template_edit.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_logistics_schema.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/steps/step_review_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_template_wizard/use_step_from_query_string.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_templates_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_templates_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/component_templates_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/component_templates_context.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/components/deprecated_badge.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/deprecated_badge.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/components/deprecated_badge.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/deprecated_badge.tsx diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/components/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/constants.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/constants.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/constants.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/constants.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/api.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/api.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/api.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/api.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/documentation.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/documentation.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/documentation.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/documentation.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/lib/request.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/request.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/lib/request.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/lib/request.ts diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/shared_imports.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/component_templates/shared_imports.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/component_templates/shared_imports.ts diff --git a/x-pack/plugins/index_management/public/application/components/data_health.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/data_health.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/data_health.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/data_health.tsx diff --git a/x-pack/plugins/index_management/public/application/components/enrich_policies/auth_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/enrich_policies/auth_provider.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/enrich_policies/auth_provider.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/enrich_policies/auth_provider.tsx diff --git a/x-pack/plugins/index_management/public/application/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index_templates/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/shared_imports.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index_templates/shared_imports.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/shared_imports.ts diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template.tsx diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/index_templates/simulate_template/simulate_template_flyout.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/configuration_form.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/date_range_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/other_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/point_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/scaled_float_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/shape_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/text_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/datatypes/version_datatype.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/edit_field.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mapped_fields.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/__jest__/client_integration/runtime_fields.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/_index.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/_index.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/_index.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/_index.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/_index.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/_index.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/code_block.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/code_block.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/code_block.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/code_block.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_form_schema.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/configuration_serialization.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/dynamic_mapping_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/dynamic_mapping_section/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/mapper_size_plugin_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/meta_field_section/meta_field_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/routing_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/constants.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/i18n_texts.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/configuration_form/subobjects_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/_index.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_header.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/document_fields_search.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/editor_toggle_controls.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzer_parameter_selects.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/analyzers_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/boost_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_number_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/coerce_shape_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/copy_to_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/doc_values_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/dynamic_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/eager_global_ordinals_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/enabled_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_absolute.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_frequency_filter_percentage.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/format_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_above_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_malformed.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/ignore_z_value_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/index_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/locale_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/max_shingle_size_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/meta_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/name_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/norms_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/null_value_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/orientation_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_json_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/other_type_name_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/path_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/similarity_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/split_queries_on_whitespace_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/store_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subobjects_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/subtype_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/term_vector_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_field_list_item.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/_index.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/alias_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/dense_vector_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/scaled_float_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/required_parameters_forms/token_count_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/semantic_text/use_semantic_text.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/delete_field_provider.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_edit_field_form_row.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/_index.scss diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/advanced_parameters_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/basic_parameters_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_form_row.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/edit_field_header_form.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/field_description_section.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/edit_field/use_update_field.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_beta_badge.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/alias_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/binary_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/boolean_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/completion_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/constant_keyword_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/date_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/dense_vector_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/flattened_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_point_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/geo_shape_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/histogram_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/ip_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/join_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/keyword_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/nested_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/numeric_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/object_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/other_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/passthrough_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/point_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/range_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/rank_feature_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/search_as_you_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/shape_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/text_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/token_count_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/version_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/field_types/wildcard_type.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/modal_confirmation_delete_fields.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_json_editor.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/search_fields/search_result_item.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/fields_tree.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/fields_tree.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/fields_tree.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/fields_tree.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_from_json_button.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.test.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/delete_field_provider.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/empty_prompt.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtime_fields_list.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/runtime_fields/runtimefields_list_item_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/templates_form/templates_form_schema.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/tree/tree_item.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/config_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/config_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/config_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/config_context.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/data_types_definition.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/default_values.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/default_values.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/default_values.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/default_values.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/field_options_i18n.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/mappings_editor.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/constants/parameters_definition.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/error_reporter.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/error_reporter.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/error_reporter.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/error_reporter.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/extract_mappings_definition.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/mappings_validator.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/search_fields.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/search_fields.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/serializers.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/serializers.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/serializers.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/serializers.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.test.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/utils.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/utils.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/lib/validators.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/validators.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/lib/validators.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/lib/validators.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor_context.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_state_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_state_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_state_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_state_context.tsx diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/reducer.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/reducer.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/reducer.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/reducer.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/shared_imports.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/shared_imports.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/shared_imports.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/document_fields.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/document_fields.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/document_fields.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/document_fields.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/mappings_editor.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/mappings_editor.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/mappings_editor.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/mappings_editor.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/types/state.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/state.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/types/state.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/types/state.ts diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/use_state_listener.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/use_state_listener.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/mappings_editor/use_state_listener.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/use_state_listener.tsx diff --git a/x-pack/plugins/index_management/public/application/components/no_match/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/no_match/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/no_match/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/no_match/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/no_match/no_match.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/no_match/no_match.tsx diff --git a/x-pack/plugins/index_management/public/application/components/section_error.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/section_error.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/section_error.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/section_error.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_aliases.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_mappings.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/details_panel/tab_settings.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/template_content_indicator.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/template_content_indicator.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/template_content_indicator.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/template_content_indicator.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_aliases_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_mappings_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/step_settings_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/types.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/types.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/types.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/types.ts diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts diff --git a/x-pack/plugins/index_management/public/application/components/shared/fields/unit_field.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/fields/unit_field.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/fields/unit_field.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/fields/unit_field.tsx diff --git a/x-pack/plugins/index_management/public/application/components/shared/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/shared/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/shared/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/shared/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_delete_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_delete_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/index.ts diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_components.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_components.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_components_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_components_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_logistics_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_review.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_review.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/steps/step_review_container.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review_container.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/steps/step_review_container.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review_container.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form.tsx diff --git a/x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form_schemas.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/components/template_form/template_form_schemas.tsx diff --git a/x-pack/plugins/index_management/public/application/constants/ilm_locator.ts b/x-pack/platform/plugins/shared/index_management/public/application/constants/ilm_locator.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/constants/ilm_locator.ts rename to x-pack/platform/plugins/shared/index_management/public/application/constants/ilm_locator.ts diff --git a/x-pack/plugins/index_management/public/application/constants/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/constants/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/constants/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/constants/index.ts diff --git a/x-pack/plugins/index_management/public/application/constants/time_units.ts b/x-pack/platform/plugins/shared/index_management/public/application/constants/time_units.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/constants/time_units.ts rename to x-pack/platform/plugins/shared/index_management/public/application/constants/time_units.ts diff --git a/x-pack/plugins/index_management/public/application/hooks/redirect_path.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/hooks/redirect_path.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.test.tsx diff --git a/x-pack/plugins/index_management/public/application/hooks/redirect_path.tsx b/x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/hooks/redirect_path.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/redirect_path.tsx diff --git a/x-pack/plugins/index_management/public/application/hooks/use_index_errors.ts b/x-pack/platform/plugins/shared/index_management/public/application/hooks/use_index_errors.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/hooks/use_index_errors.ts rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/use_index_errors.ts diff --git a/x-pack/plugins/index_management/public/application/hooks/use_state_with_localstorage.ts b/x-pack/platform/plugins/shared/index_management/public/application/hooks/use_state_with_localstorage.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/hooks/use_state_with_localstorage.ts rename to x-pack/platform/plugins/shared/index_management/public/application/hooks/use_state_with_localstorage.ts diff --git a/x-pack/plugins/index_management/public/application/index.tsx b/x-pack/platform/plugins/shared/index_management/public/application/index.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/index.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/index.tsx diff --git a/x-pack/plugins/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap b/x-pack/platform/plugins/shared/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap rename to x-pack/platform/plugins/shared/index_management/public/application/lib/__snapshots__/flatten_object.test.ts.snap diff --git a/x-pack/plugins/index_management/public/application/lib/data_streams.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/data_streams.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.test.tsx diff --git a/x-pack/plugins/index_management/public/application/lib/data_streams.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/data_streams.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/lib/data_streams.tsx diff --git a/x-pack/plugins/index_management/public/application/lib/discover_link.test.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.test.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/discover_link.test.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.test.tsx diff --git a/x-pack/plugins/index_management/public/application/lib/discover_link.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/discover_link.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/lib/discover_link.tsx diff --git a/x-pack/plugins/index_management/public/application/lib/edit_settings.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/edit_settings.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/edit_settings.ts rename to x-pack/platform/plugins/shared/index_management/public/application/lib/edit_settings.ts diff --git a/x-pack/plugins/index_management/public/application/lib/flatten_object.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/flatten_object.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.test.ts diff --git a/x-pack/plugins/index_management/public/application/lib/flatten_object.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/flatten_object.ts rename to x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_object.ts diff --git a/x-pack/plugins/index_management/public/application/lib/flatten_panel_tree.js b/x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_panel_tree.js similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/flatten_panel_tree.js rename to x-pack/platform/plugins/shared/index_management/public/application/lib/flatten_panel_tree.js diff --git a/x-pack/plugins/index_management/public/application/lib/index_mode_labels.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/index_mode_labels.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/index_mode_labels.ts rename to x-pack/platform/plugins/shared/index_management/public/application/lib/index_mode_labels.ts diff --git a/x-pack/plugins/index_management/public/application/lib/index_status_labels.js b/x-pack/platform/plugins/shared/index_management/public/application/lib/index_status_labels.js similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/index_status_labels.js rename to x-pack/platform/plugins/shared/index_management/public/application/lib/index_status_labels.js diff --git a/x-pack/plugins/index_management/public/application/lib/index_templates.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/index_templates.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/index_templates.ts rename to x-pack/platform/plugins/shared/index_management/public/application/lib/index_templates.ts diff --git a/x-pack/plugins/index_management/public/application/lib/indices.ts b/x-pack/platform/plugins/shared/index_management/public/application/lib/indices.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/indices.ts rename to x-pack/platform/plugins/shared/index_management/public/application/lib/indices.ts diff --git a/x-pack/plugins/index_management/public/application/lib/render_badges.tsx b/x-pack/platform/plugins/shared/index_management/public/application/lib/render_badges.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/lib/render_badges.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/lib/render_badges.tsx diff --git a/x-pack/plugins/index_management/public/application/mount_management_section.ts b/x-pack/platform/plugins/shared/index_management/public/application/mount_management_section.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/mount_management_section.ts rename to x-pack/platform/plugins/shared/index_management/public/application/mount_management_section.ts diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_context.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/create_policy_wizard.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/enrich_policy_create.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/configuration.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/create.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/create.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/create.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/field_selection.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/fields/indices_selector.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/enrich_policy_create/steps/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/enrich_policy_create/steps/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/components/filter_list_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/filter_list_button.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/components/filter_list_button.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/filter_list_button.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/components/index.ts diff --git a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx new file mode 100644 index 0000000000000..2464f7ac03e3c --- /dev/null +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/data_stream_actions_menu.tsx @@ -0,0 +1,66 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; +import React, { useState } from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { EuiContextMenuPanelItemDescriptor } from '@elastic/eui/src/components/context_menu/context_menu'; +import { i18n } from '@kbn/i18n'; + +interface Props { + dataStreamActions: EuiContextMenuPanelItemDescriptor[]; + selectedDataStreamsCount: number; +} + +export const DataStreamActionsMenu = ({ dataStreamActions, selectedDataStreamsCount }: Props) => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + + const popoverButton = ( + setIsPopoverOpen(!isPopoverOpen)} + iconType="arrowDown" + iconSide="right" + fill={true} + > + + + ); + + return ( + setIsPopoverOpen(false)} + panelPaddingSize="none" + anchorPosition="rightUp" + repositionOnScroll={true} + > + + + ); +}; diff --git a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts similarity index 77% rename from x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts index 14e2766cac2b2..0eb726d3eb79f 100644 --- a/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_actions_menu/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -export const commonEcsIndexPatterns = ['metrics-kubernetes*', 'logs-*']; +export { DataStreamActionsMenu } from './data_stream_actions_menu'; diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_badges.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx similarity index 99% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx index 10ef17c566241..0f09a47f43880 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/data_stream_detail_panel.tsx @@ -550,7 +550,8 @@ export const DataStreamDetailPanel: React.FunctionComponent = ({ }} ilmPolicyName={dataStream?.ilmPolicyName} ilmPolicyLink={ilmPolicyLink} - dataStream={dataStream} + dataStreams={[dataStream]} + isBulkEdit={false} /> )} diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_detail_panel/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_list.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx similarity index 87% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx index 59daae719bf47..e419bda67aeae 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx @@ -24,6 +24,7 @@ import { import { ScopedHistory } from '@kbn/core/public'; import { useEuiTablePersist } from '@kbn/shared-ux-table-persist'; +import { EuiContextMenuPanelItemDescriptor } from '@elastic/eui/src/components/context_menu/context_menu'; import { MAX_DATA_RETENTION } from '../../../../../../common/constants'; import { useAppContext } from '../../../../app_context'; import { DataStream } from '../../../../../../common/types'; @@ -39,6 +40,8 @@ import { isDataStreamFullyManagedByILM } from '../../../../lib/data_streams'; import { indexModeLabels } from '../../../../lib/index_mode_labels'; import { FilterListButton, Filters } from '../../components'; import { type DataStreamFilterName } from '../data_stream_list'; +import { DataStreamActionsMenu } from '../data_stream_actions_menu'; +import { EditDataRetentionModal } from '../edit_data_retention_modal'; interface TableDataStream extends DataStream { isDataStreamFullyManagedByILM: boolean; @@ -70,6 +73,9 @@ export const DataStreamTable: React.FunctionComponent = ({ }) => { const [selection, setSelection] = useState([]); const [dataStreamsToDelete, setDataStreamsToDelete] = useState([]); + const [dataStreamsToEditDataRetention, setDataStreamsToEditDataRetention] = useState< + DataStream[] + >([]); const { config } = useAppContext(); const data = useMemo(() => { @@ -284,25 +290,40 @@ export const DataStreamTable: React.FunctionComponent = ({ onSelectionChange: setSelection, }; + const dataStreamActions: EuiContextMenuPanelItemDescriptor[] = [ + { + name: i18n.translate('xpack.idxMgmt.dataStreamList.table.bulkEditDataRetentionButtonLabel', { + defaultMessage: 'Edit data retention', + }), + icon: 'pencil', + onClick: () => setDataStreamsToEditDataRetention(selection), + 'data-test-subj': 'bulkEditDataRetentionButton', + }, + ]; + + if (selection.every((dataStream: DataStream) => dataStream.privileges.delete_index)) { + dataStreamActions.push({ + name: i18n.translate('xpack.idxMgmt.dataStreamList.table.deleteDataStreamsButtonLabel', { + defaultMessage: 'Delete data streams', + }), + icon: 'trash', + onClick: () => setDataStreamsToDelete(selection.map(({ name }: DataStream) => name)), + className: 'dataStreamsBulkDeleteButton', + 'data-test-subj': 'deleteDataStreamsButton', + }); + } + const searchConfig = { query: filters, box: { incremental: true, }, toolsLeft: - selection.length > 0 && - selection.every((dataStream: DataStream) => dataStream.privileges.delete_index) ? ( - setDataStreamsToDelete(selection.map(({ name }: DataStream) => name))} - color="danger" - > - - + selection.length > 0 ? ( + ) : undefined, toolsRight: [ @@ -365,6 +386,19 @@ export const DataStreamTable: React.FunctionComponent = ({ return ( <> + {dataStreamsToEditDataRetention && dataStreamsToEditDataRetention.length > 0 ? ( + { + if (res && res.hasUpdatedDataRetention) { + reload(); + } else { + setDataStreamsToEditDataRetention([]); + } + }} + dataStreams={dataStreamsToEditDataRetention} + isBulkEdit={true} + /> + ) : null} {dataStreamsToDelete && dataStreamsToDelete.length > 0 ? ( { diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx similarity index 52% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx index b8f2593131663..55d8348400f5f 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/edit_data_retention_modal.tsx @@ -20,26 +20,20 @@ import { EuiCallOut, } from '@elastic/eui'; import { has } from 'lodash'; -import { ScopedHistory } from '@kbn/core/public'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import { isBiggerThanGlobalMaxRetention } from './validations'; +import { isRetentionBiggerThan } from './validations'; +import { editDataRetentionFormSchema } from './schema'; import { useForm, useFormData, useFormIsModified, Form, - fieldFormatters, - FormSchema, - FIELD_TYPES, UseField, ToggleField, NumericField, - fieldValidators, } from '../../../../../shared_imports'; -import { reactRouterNavigate } from '../../../../../shared_imports'; -import { getIndexListUri } from '../../../../services/routing'; import { documentationService } from '../../../../services/documentation'; import { splitSizeAndUnits, DataStream } from '../../../../../../common'; import { timeUnits } from '../../../../constants/time_units'; @@ -47,179 +41,36 @@ import { deserializeGlobalMaxRetention, isDSLWithILMIndices } from '../../../../ import { useAppContext } from '../../../../app_context'; import { UnitField } from '../../../../components/shared'; import { updateDataRetention } from '../../../../services/api'; +import { MixedIndicesCallout } from './mixed_indices_callout'; interface Props { - dataStream: DataStream; + dataStreams: DataStream[]; ilmPolicyName?: string; - ilmPolicyLink: string; + ilmPolicyLink?: string; onClose: (data?: { hasUpdatedDataRetention: boolean }) => void; + isBulkEdit: boolean; } -const configurationFormSchema: FormSchema = { - dataRetention: { - type: FIELD_TYPES.TEXT, - label: i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField', - { - defaultMessage: 'Data retention period', - } - ), - formatters: [fieldFormatters.toInt], - validations: [ - { - validator: fieldValidators.isInteger({ - message: i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldIntegerError', - { - defaultMessage: 'Only integers are allowed.', - } - ), - }), - }, - { - validator: ({ value, formData, customData }) => { - // We only need to validate the data retention field if infiniteRetentionPeriod is set to false - if (!formData.infiniteRetentionPeriod) { - // If project level data retention is enabled, we need to enforce the global max retention - const { globalMaxRetention, enableProjectLevelRetentionChecks } = - customData.value as any; - if (enableProjectLevelRetentionChecks) { - return isBiggerThanGlobalMaxRetention(value, formData.timeUnit, globalMaxRetention); - } - } - }, - }, - { - validator: (args) => { - // We only need to validate the data retention field if infiniteRetentionPeriod is set to false - if (!args.formData.infiniteRetentionPeriod) { - return fieldValidators.emptyField( - i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError', - { - defaultMessage: 'A data retention value is required.', - } - ) - )(args); - } - }, - }, - { - validator: (args) => { - // We only need to validate the data retention field if infiniteRetentionPeriod is set to false - if (!args.formData.infiniteRetentionPeriod) { - return fieldValidators.numberGreaterThanField({ - than: 0, - allowEquality: false, - message: i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError', - { - defaultMessage: `A positive value is required.`, - } - ), - })(args); - } - }, - }, - ], - }, - timeUnit: { - type: FIELD_TYPES.TEXT, - label: i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField', - { - defaultMessage: 'Time unit', - } - ), - }, - infiniteRetentionPeriod: { - type: FIELD_TYPES.TOGGLE, - defaultValue: false, - }, - dataRetentionEnabled: { - type: FIELD_TYPES.TOGGLE, - defaultValue: false, - label: i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField', - { - defaultMessage: 'Enable data retention', - } - ), - }, -}; - -interface MixedIndicesCalloutProps { - history: ScopedHistory; - ilmPolicyLink: string; - ilmPolicyName?: string; - dataStreamName: string; -} - -const MixedIndicesCallout = ({ - ilmPolicyLink, - ilmPolicyName, - dataStreamName, - history, -}: MixedIndicesCalloutProps) => { - const { core } = useAppContext(); - - return ( - -

- core.application.navigateToUrl(ilmPolicyLink)} - > - {ilmPolicyName} - - ), - viewAllIndicesLink: ( - - - - ), - }} - /> -

-
- ); -}; - export const EditDataRetentionModal: React.FunctionComponent = ({ - dataStream, + dataStreams, ilmPolicyName, ilmPolicyLink, onClose, + isBulkEdit, }) => { - const lifecycle = dataStream?.lifecycle; - const dataStreamName = dataStream?.name as string; + const lifecycle = dataStreams[0]?.lifecycle; + const isSingleDataStream = dataStreams.length === 1; - const { history } = useAppContext(); - const dslWithIlmIndices = isDSLWithILMIndices(dataStream); - const { size, unit } = splitSizeAndUnits(lifecycle?.data_retention as string); + const { + history, + plugins: { cloud }, + } = useAppContext(); + const dataStreamNames = dataStreams.map(({ name }: DataStream) => name as string); const globalMaxRetention = deserializeGlobalMaxRetention(lifecycle?.globalMaxRetention); + const { size, unit } = isSingleDataStream + ? splitSizeAndUnits(lifecycle?.data_retention as string) + : { size: undefined, unit: undefined }; + const { services: { notificationService }, config: { enableTogglingDataRetention, enableProjectLevelRetentionChecks }, @@ -229,13 +80,14 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ defaultValue: { dataRetention: size, timeUnit: unit || 'd', - dataRetentionEnabled: lifecycle?.enabled, + dataRetentionEnabled: isSingleDataStream ? lifecycle?.enabled : true, // When data retention is not set and lifecycle is enabled, is the only scenario in // which data retention will be infinite. If lifecycle isnt set or is not enabled, we // dont have inifinite data retention. - infiniteRetentionPeriod: lifecycle?.enabled && !lifecycle?.data_retention, + infiniteRetentionPeriod: + isSingleDataStream && lifecycle?.enabled && !lifecycle?.data_retention, }, - schema: configurationFormSchema, + schema: editDataRetentionFormSchema, id: 'editDataRetentionForm', }); const [formData] = useFormData({ form }); @@ -247,8 +99,10 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ // Whenever the timeUnit field changes, we need to re-validate // the dataRetention field useEffect(() => { - form.validateFields(['dataRetention']); - }, [formData.timeUnit, form]); + if (formData.dataRetention) { + form.validateFields(['dataRetention']); + } + }, [formData.timeUnit, form, formData.dataRetention]); const onSubmitForm = async () => { const { isValid, data } = await form.submit(); @@ -267,7 +121,7 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ data.dataRetentionEnabled = true; } - return updateDataRetention(dataStreamName, data).then(({ data: responseData, error }) => { + return updateDataRetention(dataStreamNames, data).then(({ data: responseData, error }) => { if (responseData) { // If the response came back with a warning from ES, rely on that for the // toast message. @@ -276,27 +130,45 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ return onClose({ hasUpdatedDataRetention: true }); } - const successMessage = i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.successDataRetentionNotification', - { - defaultMessage: - 'Data retention {disabledDataRetention, plural, one { disabled } other { updated } }', - values: { disabledDataRetention: !data.dataRetentionEnabled ? 1 : 0 }, - } - ); + const successMessage = isBulkEdit + ? i18n.translate( + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.successBulkDataRetentionNotification', + { + defaultMessage: + 'Data retention has been updated for {dataStreamCount, plural, one {one data stream} other {{dataStreamCount} data streams}}.', + values: { dataStreamCount: dataStreams.length }, + } + ) + : i18n.translate( + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.successDataRetentionNotification', + { + defaultMessage: + 'Data retention {disabledDataRetention, plural, one { disabled } other { updated } }', + values: { disabledDataRetention: !data.dataRetentionEnabled ? 1 : 0 }, + } + ); + notificationService.showSuccessToast(successMessage); return onClose({ hasUpdatedDataRetention: true }); } if (error) { - const errorMessage = i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.errorDataRetentionNotification', - { - defaultMessage: "Error updating data retention: ''{error}''", - values: { error: error.message }, - } - ); + const errorMessage = isBulkEdit + ? i18n.translate( + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.errorBulkDataRetentionNotification', + { + defaultMessage: + 'There was an error updating the retention period. Try again later.', + } + ) + : i18n.translate( + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.errorDataRetentionNotification', + { + defaultMessage: "Error updating data retention: ''{error}''", + values: { error: error.message }, + } + ); notificationService.showDangerToast(errorMessage); } @@ -304,39 +176,61 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ }); }; + const affectedDataStreams = dataStreams + .filter( + (ds: DataStream) => + formData.dataRetention && + formData.timeUnit && + ((ds.lifecycle?.enabled && + !ds.lifecycle?.data_retention && + !ds.lifecycle?.effective_retention) || + (typeof ds.lifecycle?.data_retention === 'string' && + isRetentionBiggerThan( + ds.lifecycle.data_retention, + `${formData.dataRetention}${formData.timeUnit}` + )) || + (ds.lifecycle?.effective_retention && + isRetentionBiggerThan( + ds.lifecycle.effective_retention, + `${formData.dataRetention}${formData.timeUnit}` + ))) + ) + .map(({ name }: DataStream) => name); + return ( onClose()} data-test-subj="editDataRetentionModal" - css={{ minWidth: 450 }} + css={{ minWidth: isBulkEdit ? 650 : 450, maxWidth: 650 }} >
- {dslWithIlmIndices && ( + {!isBulkEdit && isDSLWithILMIndices(dataStreams[0]) && ( <> )} - {enableProjectLevelRetentionChecks && lifecycle?.globalMaxRetention && ( + {enableProjectLevelRetentionChecks && !isBulkEdit && lifecycle?.globalMaxRetention && ( <> = ({ {i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.learnMoreLinkText', + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.learnMoreLinkText', { defaultMessage: 'How does this work?', } @@ -374,8 +268,31 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ } + helpText={ + isBulkEdit && + lifecycle?.globalMaxRetention && ( + + {i18n.translate( + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.manageProjectSettingsLinkText', + { + defaultMessage: 'Manage project settings.', + } + )} + + ), + }} + /> + ) + } componentProps={{ - fullWidth: false, + fullWidth: isBulkEdit, euiFieldProps: { disabled: formData.infiniteRetentionPeriod || @@ -393,7 +310,7 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ euiFieldProps={{ 'data-test-subj': 'timeUnit', 'aria-label': i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.unitsAriaLabel', + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.unitsAriaLabel', { defaultMessage: 'Time unit', } @@ -410,7 +327,7 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ component={ToggleField} data-test-subj="infiniteRetentionPeriod" label={i18n.translate( - 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.infiniteRetentionPeriodField', + 'xpack.idxMgmt.dataStreams.editDataRetentionModal.infiniteRetentionPeriodField', { defaultMessage: 'Keep data {withProjectLevelRetention, plural, one {up to maximum retention period} other {indefinitely}}', @@ -425,12 +342,47 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ /> + + {isBulkEdit && affectedDataStreams.length > 0 && !formData.infiniteRetentionPeriod && ( + +

+ +

+ {affectedDataStreams.length <= 10 && ( +

+ {affectedDataStreams.join(', ')}, + }} + /> +

+ )} +
+ )}
onClose()}> @@ -444,7 +396,7 @@ export const EditDataRetentionModal: React.FunctionComponent = ({ onClick={onSubmitForm} > diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/index.ts diff --git a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx new file mode 100644 index 0000000000000..da9dd84b4247e --- /dev/null +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx @@ -0,0 +1,74 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiCallOut, EuiLink } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { reactRouterNavigate } from '@kbn/kibana-react-plugin/public'; +import React from 'react'; +import { ScopedHistory } from '@kbn/core-application-browser'; +import { getIndexListUri } from '../../../../..'; +import { useAppContext } from '../../../../app_context'; + +interface MixedIndicesCalloutProps { + history: ScopedHistory; + ilmPolicyLink?: string; + ilmPolicyName?: string; + dataStreamName: string; +} + +export const MixedIndicesCallout = ({ + ilmPolicyLink, + ilmPolicyName, + dataStreamName, + history, +}: MixedIndicesCalloutProps) => { + const { core } = useAppContext(); + + return ( + +

+ core.application.navigateToUrl(ilmPolicyLink)} + > + {ilmPolicyName} + + ), + viewAllIndicesLink: ( + + + + ), + }} + /> +

+
+ ); +}; diff --git a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts new file mode 100644 index 0000000000000..075e9c763276b --- /dev/null +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/schema.ts @@ -0,0 +1,110 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FIELD_TYPES, FormSchema } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { i18n } from '@kbn/i18n'; +import { fieldFormatters, fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import { isBiggerThanGlobalMaxRetention } from './validations'; + +export const editDataRetentionFormSchema: FormSchema = { + dataRetention: { + type: FIELD_TYPES.TEXT, + label: i18n.translate( + 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionField', + { + defaultMessage: 'Data retention period', + } + ), + formatters: [fieldFormatters.toInt], + validations: [ + { + validator: fieldValidators.isInteger({ + message: i18n.translate( + 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldIntegerError', + { + defaultMessage: 'Only integers are allowed.', + } + ), + }), + }, + { + validator: ({ value, formData, customData }) => { + // We only need to validate the data retention field if infiniteRetentionPeriod is set to false and dataRetentionEnabled is set to true + if (formData.dataRetentionEnabled !== false && !formData.infiniteRetentionPeriod) { + // If project level data retention is enabled, we need to enforce the global max retention + const { globalMaxRetention, enableProjectLevelRetentionChecks } = + customData.value as any; + if (enableProjectLevelRetentionChecks) { + return isBiggerThanGlobalMaxRetention(value, formData.timeUnit, globalMaxRetention); + } + } + }, + }, + { + validator: (args) => { + // We only need to validate the data retention field if infiniteRetentionPeriod is set to false and dataRetentionEnabled is set to true + if ( + args.formData.dataRetentionEnabled !== false && + !args.formData.infiniteRetentionPeriod + ) { + return fieldValidators.emptyField( + i18n.translate( + 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldRequiredError', + { + defaultMessage: 'A data retention value is required.', + } + ) + )(args); + } + }, + }, + { + validator: (args) => { + // We only need to validate the data retention field if infiniteRetentionPeriod is set to false and dataRetentionEnabled is set to true + if ( + args.formData.dataRetentionEnabled !== false && + !args.formData.infiniteRetentionPeriod + ) { + return fieldValidators.numberGreaterThanField({ + than: 0, + allowEquality: false, + message: i18n.translate( + 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionFieldNonNegativeError', + { + defaultMessage: `A positive value is required.`, + } + ), + })(args); + } + }, + }, + ], + }, + timeUnit: { + type: FIELD_TYPES.TEXT, + label: i18n.translate( + 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.timeUnitField', + { + defaultMessage: 'Time unit', + } + ), + }, + infiniteRetentionPeriod: { + type: FIELD_TYPES.TOGGLE, + defaultValue: false, + }, + dataRetentionEnabled: { + type: FIELD_TYPES.TOGGLE, + defaultValue: false, + label: i18n.translate( + 'xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.dataRetentionEnabledField', + { + defaultMessage: 'Enable data retention', + } + ), + }, +}; diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.test.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts similarity index 93% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts index 8486f01fb5b44..d019c587fe448 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/validations.ts @@ -40,7 +40,10 @@ const convertToSeconds = (value: string) => { } }; -const isRetentionBiggerThan = (valueA: string, valueB: string) => { +/* +True if the first retention period is bigger than the latter one. + */ +export const isRetentionBiggerThan = (valueA: string, valueB: string) => { const secondsA = convertToSeconds(valueA); const secondsB = convertToSeconds(valueB); diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/humanize_time_stamp.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/data_stream_list/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/delete_policy_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/execute_policy_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/confirm_modals/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/details_flyout/policy_details_flyout.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/empty_state.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/error_state.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/empty_states/loading_state.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/enrich_policies_list.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/enrich_policies_list/policies_table/policies_table.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/home.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/home.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/home.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/home.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_button.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/create_index_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.test.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/create_index/utils.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/create_index/utils.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_content.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_error.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_filter_fields.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/aliases_details.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/data_stream_details.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/details_page_overview.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/languages.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/overview_card.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/size_doc_count_details.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/status_details.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_overview/storage_details.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_settings_content.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_stats.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/details_page_tab.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/index_error_callout.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/manage_index_button.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/reset_index_url_params.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/semantic_text_banner.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/trained_models_deployment_modal.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mapping_with_context_types.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_mappings_embeddable.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_embeddable.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/details_page/with_context_components/index_settings_with_context_types.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index.js diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.container.js diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.d.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_list.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.d.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.js similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.container.js rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.container.js diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.js b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.js similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table.js rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table.js diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/index_list/index_table/index_table_pagination.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/components/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/components/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_deprecated_badge.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/components/template_type_indicator.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_preview.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/tabs/tab_summary.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_details/template_details_content.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_list.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_list.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_list.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_list.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/template_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/template_table.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/home/template_list/template_table/template_table.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/template_table/template_table.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/template_clone/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/template_clone/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/template_clone/template_clone.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/template_clone.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/template_clone/template_clone.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/template_clone.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/template_create/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/template_create/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/template_create/template_create.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/template_create.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/template_create/template_create.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/template_create.tsx diff --git a/x-pack/plugins/index_management/public/application/sections/template_edit/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/template_edit/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/index.ts diff --git a/x-pack/plugins/index_management/public/application/sections/template_edit/template_edit.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/template_edit.tsx similarity index 100% rename from x-pack/plugins/index_management/public/application/sections/template_edit/template_edit.tsx rename to x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/template_edit.tsx diff --git a/x-pack/plugins/index_management/public/application/services/api.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/api.ts similarity index 98% rename from x-pack/plugins/index_management/public/application/services/api.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/api.ts index 5e4f88ebb6b18..f2600220612e7 100644 --- a/x-pack/plugins/index_management/public/application/services/api.ts +++ b/x-pack/platform/plugins/shared/index_management/public/application/services/api.ts @@ -88,7 +88,7 @@ export async function deleteDataStreams(dataStreams: string[]) { } export async function updateDataRetention( - name: string, + dataStreams: string[], data: { dataRetention: string; timeUnit: string; @@ -99,15 +99,15 @@ export async function updateDataRetention( let body; if (!data.dataRetentionEnabled) { - body = { enabled: false }; + body = { enabled: false, dataStreams }; } else { body = data.infiniteRetentionPeriod - ? {} - : { dataRetention: `${data.dataRetention}${data.timeUnit}` }; + ? { dataStreams } + : { dataRetention: `${data.dataRetention}${data.timeUnit}`, dataStreams }; } return sendRequest({ - path: `${API_BASE_PATH}/data_streams/${encodeURIComponent(name)}/data_retention`, + path: `${API_BASE_PATH}/data_streams/data_retention`, method: 'put', body, }); diff --git a/x-pack/plugins/index_management/public/application/services/breadcrumbs.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/breadcrumbs.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/breadcrumbs.ts diff --git a/x-pack/plugins/index_management/public/application/services/documentation.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/documentation.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/documentation.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/documentation.ts diff --git a/x-pack/plugins/index_management/public/application/services/http.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/http.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/http.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/http.ts diff --git a/x-pack/plugins/index_management/public/application/services/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/index.ts diff --git a/x-pack/plugins/index_management/public/application/services/notification.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/notification.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/notification.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/notification.ts diff --git a/x-pack/plugins/index_management/public/application/services/routing.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/routing.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/routing.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/routing.test.ts diff --git a/x-pack/plugins/index_management/public/application/services/routing.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/routing.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/routing.ts diff --git a/x-pack/plugins/index_management/public/application/services/sort_table.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/sort_table.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.test.ts diff --git a/x-pack/plugins/index_management/public/application/services/sort_table.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/sort_table.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/sort_table.ts diff --git a/x-pack/plugins/index_management/public/application/services/ui_metric.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/ui_metric.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/ui_metric.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/ui_metric.ts diff --git a/x-pack/plugins/index_management/public/application/services/use_ilm_locator.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/use_ilm_locator.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/use_ilm_locator.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/use_ilm_locator.ts diff --git a/x-pack/plugins/index_management/public/application/services/use_request.ts b/x-pack/platform/plugins/shared/index_management/public/application/services/use_request.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/services/use_request.ts rename to x-pack/platform/plugins/shared/index_management/public/application/services/use_request.ts diff --git a/x-pack/plugins/index_management/public/application/shared/parse_mappings.ts b/x-pack/platform/plugins/shared/index_management/public/application/shared/parse_mappings.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/shared/parse_mappings.ts rename to x-pack/platform/plugins/shared/index_management/public/application/shared/parse_mappings.ts diff --git a/x-pack/plugins/index_management/public/application/store/actions/clear_cache_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_cache_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/clear_cache_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_cache_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/clear_row_status.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_row_status.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/clear_row_status.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/clear_row_status.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/close_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/close_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/close_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/close_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/delete_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/delete_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/delete_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/delete_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/extension_action.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/extension_action.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/extension_action.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/extension_action.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/flush_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/flush_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/flush_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/flush_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/forcemerge_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/forcemerge_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/forcemerge_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/forcemerge_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/index.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/index.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/index.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/index.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/load_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/load_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/load_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/load_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/open_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/open_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/open_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/open_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/refresh_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/refresh_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/refresh_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/refresh_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/reload_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/reload_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/reload_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/reload_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/table_state.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/table_state.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/table_state.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/table_state.js diff --git a/x-pack/plugins/index_management/public/application/store/actions/unfreeze_indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/actions/unfreeze_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/actions/unfreeze_indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/actions/unfreeze_indices.js diff --git a/x-pack/plugins/index_management/public/application/store/index.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/store/index.ts rename to x-pack/platform/plugins/shared/index_management/public/application/store/index.ts diff --git a/x-pack/plugins/index_management/public/application/store/reducers/index.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/reducers/index.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index.js diff --git a/x-pack/plugins/index_management/public/application/store/reducers/index_management.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index_management.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/reducers/index_management.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/index_management.js diff --git a/x-pack/plugins/index_management/public/application/store/reducers/indices.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/indices.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/reducers/indices.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/indices.js diff --git a/x-pack/plugins/index_management/public/application/store/reducers/row_status.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/row_status.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/reducers/row_status.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/row_status.js diff --git a/x-pack/plugins/index_management/public/application/store/reducers/table_state.js b/x-pack/platform/plugins/shared/index_management/public/application/store/reducers/table_state.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/reducers/table_state.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/reducers/table_state.js diff --git a/x-pack/plugins/index_management/public/application/store/selectors/extension_service.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/extension_service.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/store/selectors/extension_service.ts rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/extension_service.ts diff --git a/x-pack/plugins/index_management/public/application/store/selectors/index.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.d.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/store/selectors/index.d.ts rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.d.ts diff --git a/x-pack/plugins/index_management/public/application/store/selectors/index.js b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/selectors/index.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/index.js diff --git a/x-pack/plugins/index_management/public/application/store/selectors/indices_filter.test.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/selectors/indices_filter.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/store/selectors/indices_filter.test.ts rename to x-pack/platform/plugins/shared/index_management/public/application/store/selectors/indices_filter.test.ts diff --git a/x-pack/plugins/index_management/public/application/store/store.d.ts b/x-pack/platform/plugins/shared/index_management/public/application/store/store.d.ts similarity index 100% rename from x-pack/plugins/index_management/public/application/store/store.d.ts rename to x-pack/platform/plugins/shared/index_management/public/application/store/store.d.ts diff --git a/x-pack/plugins/index_management/public/application/store/store.js b/x-pack/platform/plugins/shared/index_management/public/application/store/store.js similarity index 100% rename from x-pack/plugins/index_management/public/application/store/store.js rename to x-pack/platform/plugins/shared/index_management/public/application/store/store.js diff --git a/x-pack/plugins/index_management/public/assets/curl.svg b/x-pack/platform/plugins/shared/index_management/public/assets/curl.svg similarity index 100% rename from x-pack/plugins/index_management/public/assets/curl.svg rename to x-pack/platform/plugins/shared/index_management/public/assets/curl.svg diff --git a/x-pack/plugins/index_management/public/assets/go.svg b/x-pack/platform/plugins/shared/index_management/public/assets/go.svg similarity index 100% rename from x-pack/plugins/index_management/public/assets/go.svg rename to x-pack/platform/plugins/shared/index_management/public/assets/go.svg diff --git a/x-pack/plugins/index_management/public/assets/javascript.svg b/x-pack/platform/plugins/shared/index_management/public/assets/javascript.svg similarity index 100% rename from x-pack/plugins/index_management/public/assets/javascript.svg rename to x-pack/platform/plugins/shared/index_management/public/assets/javascript.svg diff --git a/x-pack/plugins/index_management/public/assets/php.svg b/x-pack/platform/plugins/shared/index_management/public/assets/php.svg similarity index 100% rename from x-pack/plugins/index_management/public/assets/php.svg rename to x-pack/platform/plugins/shared/index_management/public/assets/php.svg diff --git a/x-pack/plugins/index_management/public/assets/python.svg b/x-pack/platform/plugins/shared/index_management/public/assets/python.svg similarity index 100% rename from x-pack/plugins/index_management/public/assets/python.svg rename to x-pack/platform/plugins/shared/index_management/public/assets/python.svg diff --git a/x-pack/plugins/index_management/public/assets/ruby.svg b/x-pack/platform/plugins/shared/index_management/public/assets/ruby.svg similarity index 100% rename from x-pack/plugins/index_management/public/assets/ruby.svg rename to x-pack/platform/plugins/shared/index_management/public/assets/ruby.svg diff --git a/x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.test.ts b/x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.test.ts rename to x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.test.ts diff --git a/x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.ts b/x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.ts similarity index 100% rename from x-pack/plugins/index_management/public/hooks/use_details_page_mappings_model_management.ts rename to x-pack/platform/plugins/shared/index_management/public/hooks/use_details_page_mappings_model_management.ts diff --git a/x-pack/plugins/index_management/public/hooks/use_ml_model_status_toasts.ts b/x-pack/platform/plugins/shared/index_management/public/hooks/use_ml_model_status_toasts.ts similarity index 100% rename from x-pack/plugins/index_management/public/hooks/use_ml_model_status_toasts.ts rename to x-pack/platform/plugins/shared/index_management/public/hooks/use_ml_model_status_toasts.ts diff --git a/x-pack/plugins/index_management/public/index.scss b/x-pack/platform/plugins/shared/index_management/public/index.scss similarity index 90% rename from x-pack/plugins/index_management/public/index.scss rename to x-pack/platform/plugins/shared/index_management/public/index.scss index a8952764cc39b..be46c14176133 100644 --- a/x-pack/plugins/index_management/public/index.scss +++ b/x-pack/platform/plugins/shared/index_management/public/index.scss @@ -20,3 +20,7 @@ word-break: break-all; } } + +.dataStreamsBulkDeleteButton { + color: $euiColorDangerText; +} diff --git a/x-pack/plugins/index_management/public/index.ts b/x-pack/platform/plugins/shared/index_management/public/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/index.ts rename to x-pack/platform/plugins/shared/index_management/public/index.ts diff --git a/x-pack/plugins/index_management/public/locator.test.ts b/x-pack/platform/plugins/shared/index_management/public/locator.test.ts similarity index 100% rename from x-pack/plugins/index_management/public/locator.test.ts rename to x-pack/platform/plugins/shared/index_management/public/locator.test.ts diff --git a/x-pack/plugins/index_management/public/locator.ts b/x-pack/platform/plugins/shared/index_management/public/locator.ts similarity index 100% rename from x-pack/plugins/index_management/public/locator.ts rename to x-pack/platform/plugins/shared/index_management/public/locator.ts diff --git a/x-pack/plugins/index_management/public/mocks.ts b/x-pack/platform/plugins/shared/index_management/public/mocks.ts similarity index 100% rename from x-pack/plugins/index_management/public/mocks.ts rename to x-pack/platform/plugins/shared/index_management/public/mocks.ts diff --git a/x-pack/plugins/index_management/public/plugin.ts b/x-pack/platform/plugins/shared/index_management/public/plugin.ts similarity index 100% rename from x-pack/plugins/index_management/public/plugin.ts rename to x-pack/platform/plugins/shared/index_management/public/plugin.ts diff --git a/x-pack/plugins/index_management/public/services/extensions_service.mock.ts b/x-pack/platform/plugins/shared/index_management/public/services/extensions_service.mock.ts similarity index 100% rename from x-pack/plugins/index_management/public/services/extensions_service.mock.ts rename to x-pack/platform/plugins/shared/index_management/public/services/extensions_service.mock.ts diff --git a/x-pack/plugins/index_management/public/services/extensions_service.ts b/x-pack/platform/plugins/shared/index_management/public/services/extensions_service.ts similarity index 100% rename from x-pack/plugins/index_management/public/services/extensions_service.ts rename to x-pack/platform/plugins/shared/index_management/public/services/extensions_service.ts diff --git a/x-pack/plugins/index_management/public/services/index.ts b/x-pack/platform/plugins/shared/index_management/public/services/index.ts similarity index 100% rename from x-pack/plugins/index_management/public/services/index.ts rename to x-pack/platform/plugins/shared/index_management/public/services/index.ts diff --git a/x-pack/plugins/index_management/public/services/public_api_service.mock.ts b/x-pack/platform/plugins/shared/index_management/public/services/public_api_service.mock.ts similarity index 100% rename from x-pack/plugins/index_management/public/services/public_api_service.mock.ts rename to x-pack/platform/plugins/shared/index_management/public/services/public_api_service.mock.ts diff --git a/x-pack/plugins/index_management/public/services/public_api_service.ts b/x-pack/platform/plugins/shared/index_management/public/services/public_api_service.ts similarity index 100% rename from x-pack/plugins/index_management/public/services/public_api_service.ts rename to x-pack/platform/plugins/shared/index_management/public/services/public_api_service.ts diff --git a/x-pack/plugins/index_management/public/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/public/shared_imports.ts similarity index 100% rename from x-pack/plugins/index_management/public/shared_imports.ts rename to x-pack/platform/plugins/shared/index_management/public/shared_imports.ts diff --git a/x-pack/plugins/index_management/public/types.ts b/x-pack/platform/plugins/shared/index_management/public/types.ts similarity index 100% rename from x-pack/plugins/index_management/public/types.ts rename to x-pack/platform/plugins/shared/index_management/public/types.ts diff --git a/x-pack/plugins/index_management/server/config.ts b/x-pack/platform/plugins/shared/index_management/server/config.ts similarity index 100% rename from x-pack/plugins/index_management/server/config.ts rename to x-pack/platform/plugins/shared/index_management/server/config.ts diff --git a/x-pack/plugins/index_management/server/index.ts b/x-pack/platform/plugins/shared/index_management/server/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/index.ts rename to x-pack/platform/plugins/shared/index_management/server/index.ts diff --git a/x-pack/plugins/index_management/server/lib/data_stream_serialization.ts b/x-pack/platform/plugins/shared/index_management/server/lib/data_stream_serialization.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/data_stream_serialization.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/data_stream_serialization.ts diff --git a/x-pack/plugins/index_management/server/lib/enrich_policies.test.ts b/x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/enrich_policies.test.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.test.ts diff --git a/x-pack/plugins/index_management/server/lib/enrich_policies.ts b/x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/enrich_policies.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/enrich_policies.ts diff --git a/x-pack/plugins/index_management/server/lib/fetch_indices.test.ts b/x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/fetch_indices.test.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.test.ts diff --git a/x-pack/plugins/index_management/server/lib/fetch_indices.ts b/x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/fetch_indices.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/fetch_indices.ts diff --git a/x-pack/plugins/index_management/server/lib/get_managed_templates.ts b/x-pack/platform/plugins/shared/index_management/server/lib/get_managed_templates.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/get_managed_templates.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/get_managed_templates.ts diff --git a/x-pack/plugins/index_management/server/lib/types.ts b/x-pack/platform/plugins/shared/index_management/server/lib/types.ts similarity index 100% rename from x-pack/plugins/index_management/server/lib/types.ts rename to x-pack/platform/plugins/shared/index_management/server/lib/types.ts diff --git a/x-pack/plugins/index_management/server/plugin.ts b/x-pack/platform/plugins/shared/index_management/server/plugin.ts similarity index 100% rename from x-pack/plugins/index_management/server/plugin.ts rename to x-pack/platform/plugins/shared/index_management/server/plugin.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_create_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_datastream_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_datastream_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_delete_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_delete_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_delete_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_get_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_update_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_update_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/register_update_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_update_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/schema_validation.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/schema_validation.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/component_templates/schema_validation.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/schema_validation.ts diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/data_streams.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/data_streams.test.ts similarity index 85% rename from x-pack/plugins/index_management/server/routes/api/data_streams/data_streams.test.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/data_streams.test.ts index bb1df7bf51518..a8143304f2b92 100644 --- a/x-pack/plugins/index_management/server/routes/api/data_streams/data_streams.test.ts +++ b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/data_streams.test.ts @@ -25,15 +25,14 @@ describe('Data streams API', () => { jest.resetAllMocks(); }); - describe('Update data retention for DS - PUT /internal/index_management/{name}/data_retention', () => { + describe('Update data retention for DS - PUT /internal/index_management/data_retention', () => { const updateDataLifecycle = router.getMockESApiFn('indices.putDataLifecycle'); it('updates data lifecycle for a given data stream', async () => { const mockRequest: RequestMock = { method: 'put', - path: addBasePath('/data_streams/{name}/data_retention'), - params: { name: 'foo' }, - body: { dataRetention: '7d' }, + path: addBasePath('/data_streams/data_retention'), + body: { dataRetention: '7d', dataStreams: ['foo'] }, }; updateDataLifecycle.mockResolvedValue({ success: true }); @@ -48,9 +47,8 @@ describe('Data streams API', () => { it('should return an error if it fails', async () => { const mockRequest: RequestMock = { method: 'put', - path: addBasePath('/data_streams/{name}/data_retention'), - params: { name: 'foo' }, - body: { dataRetention: '7d' }, + path: addBasePath('/data_streams/data_retention'), + body: { dataRetention: '7d', dataStreams: ['foo'] }, }; const error = new Error('Oh no!'); diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/data_streams/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_delete_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts similarity index 95% rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts index cd47b8cc9e0bb..d03c79e4f698c 100644 --- a/x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts +++ b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts @@ -168,11 +168,17 @@ export function registerGetAllRoute({ router, lib: { handleEsError }, config }: const { index_templates: indexTemplates } = await client.asCurrentUser.indices.getIndexTemplate(); + // Only take the lifecycle of the first data stream since all data streams have the same global retention period + const lifecycle = await getDataStreamLifecycle(client, dataStreams[0].name); + // @ts-ignore - TS doesn't know about the `global_retention` property yet + const globalMaxRetention = lifecycle?.global_retention?.max_retention; + const enhancedDataStreams = enhanceDataStreams({ dataStreams, dataStreamsStats, meteringStats, dataStreamsPrivileges, + globalMaxRetention, indexTemplates, }); diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_post_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_post_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/data_streams/register_put_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts similarity index 85% rename from x-pack/plugins/index_management/server/routes/api/data_streams/register_put_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts index 1f4930a9ec426..97ea662daaa14 100644 --- a/x-pack/plugins/index_management/server/routes/api/data_streams/register_put_route.ts +++ b/x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts @@ -20,29 +20,26 @@ export const getEsWarningText = (warning: string): string | null => { }; export function registerPutDataRetention({ router, lib: { handleEsError } }: RouteDependencies) { - const paramsSchema = schema.object({ - name: schema.string(), - }); const bodySchema = schema.object({ + dataStreams: schema.arrayOf(schema.string()), dataRetention: schema.maybe(schema.string()), enabled: schema.maybe(schema.boolean()), }); router.put( { - path: addBasePath('/data_streams/{name}/data_retention'), - validate: { params: paramsSchema, body: bodySchema }, + path: addBasePath('/data_streams/data_retention'), + validate: { body: bodySchema }, }, async (context, request, response) => { - const { name } = request.params as TypeOf; - const { dataRetention, enabled } = request.body as TypeOf; + const { dataStreams, dataRetention, enabled } = request.body as TypeOf; const { client } = (await context.core).elasticsearch; try { // Only when enabled is explicitly set to false, we delete the data retention policy. if (enabled === false) { - await client.asCurrentUser.indices.deleteDataLifecycle({ name }); + await client.asCurrentUser.indices.deleteDataLifecycle({ name: dataStreams }); } else { // Otherwise, we create or update the data retention policy. // @@ -51,7 +48,7 @@ export function registerPutDataRetention({ router, lib: { handleEsError } }: Rou // global data retention limit set. const { headers } = await client.asCurrentUser.indices.putDataLifecycle( { - name, + name: dataStreams, data_retention: dataRetention, }, { meta: true } diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/enrich_policies.test.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.test.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.test.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/helpers.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/helpers.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_create_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_delete_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_delete_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_delete_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_enrich_policies_routes.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_execute_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_execute_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_execute_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_execute_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_list_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_list_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts diff --git a/x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/enrich_policies/register_privileges_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/helpers.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/helpers.test.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.test.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/helpers.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/helpers.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/helpers.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_close_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_close_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_create_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_create_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_create_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_get_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_indices_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_indices_routes.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_indices_routes.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_indices_routes.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_list_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_open_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_open_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/inference_models/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/inference_models/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/inference_models/register_get_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/inference_models/register_get_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/inference_models/register_inference_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_inference_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/inference_models/register_inference_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_inference_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/mapping/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_index_mapping_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_index_mapping_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/mapping/register_index_mapping_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_index_mapping_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_update_mapping_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_update_mapping_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/mapping/register_update_mapping_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_update_mapping_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/nodes/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/nodes/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.test.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.test.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.test.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.test.ts diff --git a/x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/nodes/register_nodes_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/settings/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_load_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/register_load_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_settings_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_settings_routes.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/register_settings_routes.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_settings_routes.ts diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_update_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/register_update_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_update_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/stats/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/stats/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/stats/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/stats/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/index.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/lib.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/lib.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/lib.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/lib.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_delete_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/register_delete_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_simulate_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/register_simulate_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_template_routes.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_template_routes.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/register_template_routes.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_template_routes.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/register_update_route.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/register_update_route.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts diff --git a/x-pack/plugins/index_management/server/routes/api/templates/validate_schemas.ts b/x-pack/platform/plugins/shared/index_management/server/routes/api/templates/validate_schemas.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/templates/validate_schemas.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/api/templates/validate_schemas.ts diff --git a/x-pack/plugins/index_management/server/routes/index.ts b/x-pack/platform/plugins/shared/index_management/server/routes/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/routes/index.ts rename to x-pack/platform/plugins/shared/index_management/server/routes/index.ts diff --git a/x-pack/plugins/index_management/server/services/index.ts b/x-pack/platform/plugins/shared/index_management/server/services/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/services/index.ts rename to x-pack/platform/plugins/shared/index_management/server/services/index.ts diff --git a/x-pack/plugins/index_management/server/services/index_data_enricher.ts b/x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts similarity index 100% rename from x-pack/plugins/index_management/server/services/index_data_enricher.ts rename to x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts diff --git a/x-pack/plugins/index_management/server/shared_imports.ts b/x-pack/platform/plugins/shared/index_management/server/shared_imports.ts similarity index 100% rename from x-pack/plugins/index_management/server/shared_imports.ts rename to x-pack/platform/plugins/shared/index_management/server/shared_imports.ts diff --git a/x-pack/plugins/index_management/server/test/helpers/index.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/index.ts similarity index 100% rename from x-pack/plugins/index_management/server/test/helpers/index.ts rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/index.ts diff --git a/x-pack/plugins/index_management/server/test/helpers/indices_fixtures.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/indices_fixtures.ts similarity index 100% rename from x-pack/plugins/index_management/server/test/helpers/indices_fixtures.ts rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/indices_fixtures.ts diff --git a/x-pack/plugins/index_management/server/test/helpers/policies_fixtures.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/policies_fixtures.ts similarity index 100% rename from x-pack/plugins/index_management/server/test/helpers/policies_fixtures.ts rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/policies_fixtures.ts diff --git a/x-pack/plugins/index_management/server/test/helpers/route_dependencies.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/route_dependencies.ts similarity index 100% rename from x-pack/plugins/index_management/server/test/helpers/route_dependencies.ts rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/route_dependencies.ts diff --git a/x-pack/plugins/index_management/server/test/helpers/router_mock.ts b/x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts similarity index 100% rename from x-pack/plugins/index_management/server/test/helpers/router_mock.ts rename to x-pack/platform/plugins/shared/index_management/server/test/helpers/router_mock.ts diff --git a/x-pack/plugins/index_management/server/types.ts b/x-pack/platform/plugins/shared/index_management/server/types.ts similarity index 100% rename from x-pack/plugins/index_management/server/types.ts rename to x-pack/platform/plugins/shared/index_management/server/types.ts diff --git a/x-pack/plugins/index_management/test/fixtures/index.ts b/x-pack/platform/plugins/shared/index_management/test/fixtures/index.ts similarity index 100% rename from x-pack/plugins/index_management/test/fixtures/index.ts rename to x-pack/platform/plugins/shared/index_management/test/fixtures/index.ts diff --git a/x-pack/plugins/index_management/test/fixtures/template.ts b/x-pack/platform/plugins/shared/index_management/test/fixtures/template.ts similarity index 100% rename from x-pack/plugins/index_management/test/fixtures/template.ts rename to x-pack/platform/plugins/shared/index_management/test/fixtures/template.ts diff --git a/x-pack/plugins/index_management/tsconfig.json b/x-pack/platform/plugins/shared/index_management/tsconfig.json similarity index 92% rename from x-pack/plugins/index_management/tsconfig.json rename to x-pack/platform/plugins/shared/index_management/tsconfig.json index 48b40c9376157..41514049a13a8 100644 --- a/x-pack/plugins/index_management/tsconfig.json +++ b/x-pack/platform/plugins/shared/index_management/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,7 @@ "public/**/*", "server/**/*", "test/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", @@ -54,6 +54,7 @@ "@kbn/ml-error-utils", "@kbn/unsaved-changes-prompt", "@kbn/shared-ux-table-persist", + "@kbn/core-application-browser", ], "exclude": ["target/**/*"] } diff --git a/x-pack/platform/plugins/shared/inference/common/connectors.ts b/x-pack/platform/plugins/shared/inference/common/connectors.ts deleted file mode 100644 index ee628f520feff..0000000000000 --- a/x-pack/platform/plugins/shared/inference/common/connectors.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export enum InferenceConnectorType { - OpenAI = '.gen-ai', - Bedrock = '.bedrock', - Gemini = '.gemini', -} - -const allSupportedConnectorTypes = Object.values(InferenceConnectorType); - -export interface InferenceConnector { - type: InferenceConnectorType; - name: string; - connectorId: string; -} - -export function isSupportedConnectorType(id: string): id is InferenceConnectorType { - return allSupportedConnectorTypes.includes(id as InferenceConnectorType); -} diff --git a/x-pack/platform/plugins/shared/inference/common/http_apis.ts b/x-pack/platform/plugins/shared/inference/common/http_apis.ts index c07fcd29b2211..f6a60051e84fb 100644 --- a/x-pack/platform/plugins/shared/inference/common/http_apis.ts +++ b/x-pack/platform/plugins/shared/inference/common/http_apis.ts @@ -5,8 +5,12 @@ * 2.0. */ -import type { FunctionCallingMode, Message, ToolOptions } from '@kbn/inference-common'; -import { InferenceConnector } from './connectors'; +import type { + FunctionCallingMode, + Message, + ToolOptions, + InferenceConnector, +} from '@kbn/inference-common'; export type ChatCompleteRequestBody = { connectorId: string; diff --git a/x-pack/platform/plugins/shared/inference/public/types.ts b/x-pack/platform/plugins/shared/inference/public/types.ts index 735abfb5459a0..f07fe1e636836 100644 --- a/x-pack/platform/plugins/shared/inference/public/types.ts +++ b/x-pack/platform/plugins/shared/inference/public/types.ts @@ -5,8 +5,7 @@ * 2.0. */ -import type { ChatCompleteAPI, OutputAPI } from '@kbn/inference-common'; -import type { InferenceConnector } from '../common/connectors'; +import type { ChatCompleteAPI, OutputAPI, InferenceConnector } from '@kbn/inference-common'; /* eslint-disable @typescript-eslint/no-empty-interface*/ diff --git a/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts b/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts index ef6f1c4fdcdce..a3a75ea980523 100644 --- a/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts +++ b/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts @@ -25,9 +25,9 @@ import { withoutOutputUpdateEvents, type ToolOptions, ChatCompleteOptions, + type InferenceConnector, } from '@kbn/inference-common'; import type { ChatCompleteRequestBody } from '../../common/http_apis'; -import type { InferenceConnector } from '../../common/connectors'; import { createOutputApi } from '../../common/output/create_output_api'; import { eventSourceStreamIntoObservable } from '../../server/util/event_source_stream_into_observable'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts index 558e0cd06ef91..f6613152f9f00 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts @@ -5,11 +5,12 @@ * 2.0. */ -import { InferenceConnectorType } from '../../../common/connectors'; +import { InferenceConnectorType } from '@kbn/inference-common'; import { getInferenceAdapter } from './get_inference_adapter'; import { openAIAdapter } from './openai'; import { geminiAdapter } from './gemini'; import { bedrockClaudeAdapter } from './bedrock'; +import { inferenceAdapter } from './inference'; describe('getInferenceAdapter', () => { it('returns the openAI adapter for OpenAI type', () => { @@ -23,4 +24,8 @@ describe('getInferenceAdapter', () => { it('returns the bedrock adapter for Bedrock type', () => { expect(getInferenceAdapter(InferenceConnectorType.Bedrock)).toBe(bedrockClaudeAdapter); }); + + it('returns the inference adapter for Inference type', () => { + expect(getInferenceAdapter(InferenceConnectorType.Inference)).toBe(inferenceAdapter); + }); }); diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts index f34b0c27a339f..ec5e6803ab86d 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts @@ -5,11 +5,12 @@ * 2.0. */ -import { InferenceConnectorType } from '../../../common/connectors'; +import { InferenceConnectorType } from '@kbn/inference-common'; import type { InferenceConnectorAdapter } from '../types'; import { openAIAdapter } from './openai'; import { geminiAdapter } from './gemini'; import { bedrockClaudeAdapter } from './bedrock'; +import { inferenceAdapter } from './inference'; export const getInferenceAdapter = ( connectorType: InferenceConnectorType @@ -23,6 +24,9 @@ export const getInferenceAdapter = ( case InferenceConnectorType.Bedrock: return bedrockClaudeAdapter; + + case InferenceConnectorType.Inference: + return inferenceAdapter; } return undefined; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/index.ts new file mode 100644 index 0000000000000..040b4103dae80 --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { inferenceAdapter } from './inference_adapter'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.test.ts new file mode 100644 index 0000000000000..7cf5fc7bdfb8a --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.test.ts @@ -0,0 +1,148 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import OpenAI from 'openai'; +import { v4 } from 'uuid'; +import { PassThrough } from 'stream'; +import { lastValueFrom, Subject, toArray } from 'rxjs'; +import type { Logger } from '@kbn/logging'; +import { loggerMock } from '@kbn/logging-mocks'; +import { ChatCompletionEventType, MessageRole } from '@kbn/inference-common'; +import { observableIntoEventSourceStream } from '../../../util/observable_into_event_source_stream'; +import { InferenceExecutor } from '../../utils/inference_executor'; +import { inferenceAdapter } from './inference_adapter'; + +function createOpenAIChunk({ + delta, + usage, +}: { + delta?: OpenAI.ChatCompletionChunk['choices'][number]['delta']; + usage?: OpenAI.ChatCompletionChunk['usage']; +}): OpenAI.ChatCompletionChunk { + return { + choices: delta + ? [ + { + finish_reason: null, + index: 0, + delta, + }, + ] + : [], + created: new Date().getTime(), + id: v4(), + model: 'gpt-4o', + object: 'chat.completion.chunk', + usage, + }; +} + +describe('inferenceAdapter', () => { + const executorMock = { + invoke: jest.fn(), + } as InferenceExecutor & { invoke: jest.MockedFn }; + + const logger = { + debug: jest.fn(), + error: jest.fn(), + } as unknown as Logger; + + beforeEach(() => { + executorMock.invoke.mockReset(); + }); + + const defaultArgs = { + executor: executorMock, + logger: loggerMock.create(), + }; + + describe('when creating the request', () => { + beforeEach(() => { + executorMock.invoke.mockImplementation(async () => { + return { + actionId: '', + status: 'ok', + data: new PassThrough(), + }; + }); + }); + + it('emits chunk events', async () => { + const source$ = new Subject>(); + + executorMock.invoke.mockImplementation(async () => { + return { + actionId: '', + status: 'ok', + data: observableIntoEventSourceStream(source$, logger), + }; + }); + + const response$ = inferenceAdapter.chatComplete({ + ...defaultArgs, + messages: [ + { + role: MessageRole.User, + content: 'Hello', + }, + ], + }); + + source$.next( + createOpenAIChunk({ + delta: { + content: 'First', + }, + }) + ); + + source$.next( + createOpenAIChunk({ + delta: { + content: ', second', + }, + }) + ); + + source$.complete(); + + const allChunks = await lastValueFrom(response$.pipe(toArray())); + + expect(allChunks).toEqual([ + { + content: 'First', + tool_calls: [], + type: ChatCompletionEventType.ChatCompletionChunk, + }, + { + content: ', second', + tool_calls: [], + type: ChatCompletionEventType.ChatCompletionChunk, + }, + ]); + }); + + it('propagates the abort signal when provided', () => { + const abortController = new AbortController(); + + inferenceAdapter.chatComplete({ + logger, + executor: executorMock, + messages: [{ role: MessageRole.User, content: 'question' }], + abortSignal: abortController.signal, + }); + + expect(executorMock.invoke).toHaveBeenCalledTimes(1); + expect(executorMock.invoke).toHaveBeenCalledWith({ + subAction: 'unified_completion_stream', + subActionParams: expect.objectContaining({ + signal: abortController.signal, + }), + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.ts new file mode 100644 index 0000000000000..323dec4f5789d --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.ts @@ -0,0 +1,85 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import { from, identity, switchMap, throwError } from 'rxjs'; +import { isReadable, Readable } from 'stream'; +import { createInferenceInternalError } from '@kbn/inference-common'; +import { eventSourceStreamIntoObservable } from '../../../util/event_source_stream_into_observable'; +import type { InferenceConnectorAdapter } from '../../types'; +import { + parseInlineFunctionCalls, + wrapWithSimulatedFunctionCalling, +} from '../../simulated_function_calling'; +import { + toolsToOpenAI, + toolChoiceToOpenAI, + messagesToOpenAI, + processOpenAIStream, +} from '../openai'; + +export const inferenceAdapter: InferenceConnectorAdapter = { + chatComplete: ({ + executor, + system, + messages, + toolChoice, + tools, + functionCalling, + logger, + abortSignal, + }) => { + const simulatedFunctionCalling = functionCalling === 'simulated'; + + let request: Omit & { model?: string }; + if (simulatedFunctionCalling) { + const wrapped = wrapWithSimulatedFunctionCalling({ + system, + messages, + toolChoice, + tools, + }); + request = { + messages: messagesToOpenAI({ system: wrapped.system, messages: wrapped.messages }), + }; + } else { + request = { + messages: messagesToOpenAI({ system, messages }), + tool_choice: toolChoiceToOpenAI(toolChoice), + tools: toolsToOpenAI(tools), + }; + } + + return from( + executor.invoke({ + subAction: 'unified_completion_stream', + subActionParams: { + body: request, + signal: abortSignal, + }, + }) + ).pipe( + switchMap((response) => { + if (response.status === 'error') { + return throwError(() => + createInferenceInternalError('Error calling the inference API', { + rootError: response.serviceMessage, + }) + ); + } + if (isReadable(response.data as any)) { + return eventSourceStreamIntoObservable(response.data as Readable); + } + return throwError(() => + createInferenceInternalError('Unexpected error', response.data as Record) + ); + }), + processOpenAIStream(), + simulatedFunctionCalling ? parseInlineFunctionCalls({ logger }) : identity + ); + }, +}; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/from_openai.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/from_openai.ts new file mode 100644 index 0000000000000..750ae4710104a --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/from_openai.ts @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import { + ChatCompletionChunkEvent, + ChatCompletionEventType, + ChatCompletionTokenCountEvent, +} from '@kbn/inference-common'; + +export function chunkFromOpenAI(chunk: OpenAI.ChatCompletionChunk): ChatCompletionChunkEvent { + const delta = chunk.choices[0].delta; + + return { + type: ChatCompletionEventType.ChatCompletionChunk, + content: delta.content ?? '', + tool_calls: + delta.tool_calls?.map((toolCall) => { + return { + function: { + name: toolCall.function?.name ?? '', + arguments: toolCall.function?.arguments ?? '', + }, + toolCallId: toolCall.id ?? '', + index: toolCall.index, + }; + }) ?? [], + }; +} + +export function tokenCountFromOpenAI( + completionUsage: OpenAI.CompletionUsage +): ChatCompletionTokenCountEvent { + return { + type: ChatCompletionEventType.ChatCompletionTokenCount, + tokens: { + completion: completionUsage.completion_tokens, + prompt: completionUsage.prompt_tokens, + total: completionUsage.total_tokens, + }, + }; +} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts index 9aa1d94e01a52..ddf8441756cba 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts @@ -6,3 +6,5 @@ */ export { openAIAdapter } from './openai_adapter'; +export { toolChoiceToOpenAI, messagesToOpenAI, toolsToOpenAI } from './to_openai'; +export { processOpenAIStream } from './process_openai_stream'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts index 9b7fbc388024f..d93dee627ec18 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts @@ -15,7 +15,7 @@ import { loggerMock } from '@kbn/logging-mocks'; import { ChatCompletionEventType, MessageRole } from '@kbn/inference-common'; import { observableIntoEventSourceStream } from '../../../util/observable_into_event_source_stream'; import { InferenceExecutor } from '../../utils/inference_executor'; -import { openAIAdapter } from '.'; +import { openAIAdapter } from './openai_adapter'; function createOpenAIChunk({ delta, diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts index 0529820b1bfbf..8806429882e3f 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts @@ -6,41 +6,17 @@ */ import type OpenAI from 'openai'; -import type { - ChatCompletionAssistantMessageParam, - ChatCompletionMessageParam, - ChatCompletionSystemMessageParam, - ChatCompletionToolMessageParam, - ChatCompletionUserMessageParam, -} from 'openai/resources'; -import { - filter, - from, - identity, - map, - mergeMap, - Observable, - switchMap, - tap, - throwError, -} from 'rxjs'; +import { from, identity, switchMap, throwError } from 'rxjs'; import { isReadable, Readable } from 'stream'; -import { - ChatCompletionChunkEvent, - ChatCompletionEventType, - ChatCompletionTokenCountEvent, - createInferenceInternalError, - Message, - MessageRole, - ToolOptions, -} from '@kbn/inference-common'; -import { createTokenLimitReachedError } from '../../errors'; +import { createInferenceInternalError } from '@kbn/inference-common'; import { eventSourceStreamIntoObservable } from '../../../util/event_source_stream_into_observable'; import type { InferenceConnectorAdapter } from '../../types'; import { parseInlineFunctionCalls, wrapWithSimulatedFunctionCalling, } from '../../simulated_function_calling'; +import { messagesToOpenAI, toolsToOpenAI, toolChoiceToOpenAI } from './to_openai'; +import { processOpenAIStream } from './process_openai_stream'; export const openAIAdapter: InferenceConnectorAdapter = { chatComplete: ({ @@ -95,158 +71,8 @@ export const openAIAdapter: InferenceConnectorAdapter = { createInferenceInternalError('Unexpected error', response.data as Record) ); }), - filter((line) => !!line && line !== '[DONE]'), - map( - (line) => JSON.parse(line) as OpenAI.ChatCompletionChunk | { error: { message: string } } - ), - tap((line) => { - if ('error' in line) { - throw createInferenceInternalError(line.error.message); - } - if ( - 'choices' in line && - line.choices.length && - line.choices[0].finish_reason === 'length' - ) { - throw createTokenLimitReachedError(); - } - }), - filter((line): line is OpenAI.ChatCompletionChunk => { - return 'object' in line && line.object === 'chat.completion.chunk'; - }), - mergeMap((chunk): Observable => { - const events: Array = []; - if (chunk.usage) { - events.push(tokenCountFromOpenAI(chunk.usage)); - } - if (chunk.choices?.length) { - events.push(chunkFromOpenAI(chunk)); - } - return from(events); - }), + processOpenAIStream(), simulatedFunctionCalling ? parseInlineFunctionCalls({ logger }) : identity ); }, }; - -function chunkFromOpenAI(chunk: OpenAI.ChatCompletionChunk): ChatCompletionChunkEvent { - const delta = chunk.choices[0].delta; - - return { - type: ChatCompletionEventType.ChatCompletionChunk, - content: delta.content ?? '', - tool_calls: - delta.tool_calls?.map((toolCall) => { - return { - function: { - name: toolCall.function?.name ?? '', - arguments: toolCall.function?.arguments ?? '', - }, - toolCallId: toolCall.id ?? '', - index: toolCall.index, - }; - }) ?? [], - }; -} - -function tokenCountFromOpenAI( - completionUsage: OpenAI.CompletionUsage -): ChatCompletionTokenCountEvent { - return { - type: ChatCompletionEventType.ChatCompletionTokenCount, - tokens: { - completion: completionUsage.completion_tokens, - prompt: completionUsage.prompt_tokens, - total: completionUsage.total_tokens, - }, - }; -} - -function toolsToOpenAI(tools: ToolOptions['tools']): OpenAI.ChatCompletionCreateParams['tools'] { - return tools - ? Object.entries(tools).map(([toolName, { description, schema }]) => { - return { - type: 'function', - function: { - name: toolName, - description, - parameters: (schema ?? { - type: 'object' as const, - properties: {}, - }) as unknown as Record, - }, - }; - }) - : undefined; -} - -function toolChoiceToOpenAI( - toolChoice: ToolOptions['toolChoice'] -): OpenAI.ChatCompletionCreateParams['tool_choice'] { - return typeof toolChoice === 'string' - ? toolChoice - : toolChoice - ? { - function: { - name: toolChoice.function, - }, - type: 'function' as const, - } - : undefined; -} - -function messagesToOpenAI({ - system, - messages, -}: { - system?: string; - messages: Message[]; -}): OpenAI.ChatCompletionMessageParam[] { - const systemMessage: ChatCompletionSystemMessageParam | undefined = system - ? { role: 'system', content: system } - : undefined; - - return [ - ...(systemMessage ? [systemMessage] : []), - ...messages.map((message): ChatCompletionMessageParam => { - const role = message.role; - - switch (role) { - case MessageRole.Assistant: - const assistantMessage: ChatCompletionAssistantMessageParam = { - role: 'assistant', - content: message.content, - tool_calls: message.toolCalls?.map((toolCall) => { - return { - function: { - name: toolCall.function.name, - arguments: - 'arguments' in toolCall.function - ? JSON.stringify(toolCall.function.arguments) - : '{}', - }, - id: toolCall.toolCallId, - type: 'function', - }; - }), - }; - return assistantMessage; - - case MessageRole.User: - const userMessage: ChatCompletionUserMessageParam = { - role: 'user', - content: message.content, - }; - return userMessage; - - case MessageRole.Tool: - const toolMessage: ChatCompletionToolMessageParam = { - role: 'tool', - content: JSON.stringify(message.response), - tool_call_id: message.toolCallId, - }; - return toolMessage; - } - }), - ]; -} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/process_openai_stream.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/process_openai_stream.ts new file mode 100644 index 0000000000000..65384ed52e5ff --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/process_openai_stream.ts @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import { filter, from, map, mergeMap, Observable, tap } from 'rxjs'; +import { + ChatCompletionChunkEvent, + ChatCompletionTokenCountEvent, + createInferenceInternalError, +} from '@kbn/inference-common'; +import { createTokenLimitReachedError } from '../../errors'; +import { tokenCountFromOpenAI, chunkFromOpenAI } from './from_openai'; + +export function processOpenAIStream() { + return (source: Observable) => { + return source.pipe( + filter((line) => !!line && line !== '[DONE]'), + map( + (line) => JSON.parse(line) as OpenAI.ChatCompletionChunk | { error: { message: string } } + ), + tap((line) => { + if ('error' in line) { + throw createInferenceInternalError(line.error.message); + } + if ( + 'choices' in line && + line.choices.length && + line.choices[0].finish_reason === 'length' + ) { + throw createTokenLimitReachedError(); + } + }), + filter((line): line is OpenAI.ChatCompletionChunk => { + return 'object' in line && line.object === 'chat.completion.chunk'; + }), + mergeMap((chunk): Observable => { + const events: Array = []; + if (chunk.usage) { + events.push(tokenCountFromOpenAI(chunk.usage)); + } + if (chunk.choices?.length) { + events.push(chunkFromOpenAI(chunk)); + } + return from(events); + }) + ); + }; +} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.test.ts new file mode 100644 index 0000000000000..978f775c5d3dd --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.test.ts @@ -0,0 +1,187 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { MessageRole, ToolChoiceType } from '@kbn/inference-common'; +import { messagesToOpenAI, toolChoiceToOpenAI, toolsToOpenAI } from './to_openai'; + +describe('toolChoiceToOpenAI', () => { + it('returns the right value for tool choice types', () => { + expect(toolChoiceToOpenAI(ToolChoiceType.none)).toEqual('none'); + expect(toolChoiceToOpenAI(ToolChoiceType.auto)).toEqual('auto'); + expect(toolChoiceToOpenAI(ToolChoiceType.required)).toEqual('required'); + }); + + it('returns the right value for undefined', () => { + expect(toolChoiceToOpenAI(undefined)).toBeUndefined(); + }); + + it('returns the right value for named functions', () => { + expect(toolChoiceToOpenAI({ function: 'foo' })).toEqual({ + type: 'function', + function: { name: 'foo' }, + }); + }); +}); + +describe('toolsToOpenAI', () => { + it('converts tools to the expected format', () => { + expect( + toolsToOpenAI({ + myTool: { + description: 'my tool', + schema: { + type: 'object', + description: 'my tool schema', + properties: { + foo: { + type: 'string', + }, + }, + }, + }, + }) + ).toMatchInlineSnapshot(` + Array [ + Object { + "function": Object { + "description": "my tool", + "name": "myTool", + "parameters": Object { + "description": "my tool schema", + "properties": Object { + "foo": Object { + "type": "string", + }, + }, + "type": "object", + }, + }, + "type": "function", + }, + ] + `); + }); +}); + +describe('messagesToOpenAI', () => { + it('converts a user message', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.User, + content: 'question', + }, + ], + }) + ).toEqual([ + { + content: 'question', + role: 'user', + }, + ]); + }); + + it('converts single message and system', () => { + expect( + messagesToOpenAI({ + system: 'system message', + messages: [ + { + role: MessageRole.User, + content: 'question', + }, + ], + }) + ).toEqual([ + { + content: 'system message', + role: 'system', + }, + { + content: 'question', + role: 'user', + }, + ]); + }); + + it('converts a tool call', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.Tool, + name: 'tool', + response: {}, + toolCallId: 'callId', + }, + ], + }) + ).toEqual([ + { + content: '{}', + role: 'tool', + tool_call_id: 'callId', + }, + ]); + }); + + it('converts an assistant message', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.Assistant, + content: 'response', + }, + ], + }) + ).toEqual([ + { + role: 'assistant', + content: 'response', + }, + ]); + }); + + it('converts an assistant tool call', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.Assistant, + content: null, + toolCalls: [ + { + toolCallId: 'id', + function: { + name: 'function', + arguments: {}, + }, + }, + ], + }, + ], + }) + ).toEqual([ + { + role: 'assistant', + content: '', + tool_calls: [ + { + function: { + arguments: '{}', + name: 'function', + }, + id: 'id', + type: 'function', + }, + ], + }, + ]); + }); +}); diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.ts new file mode 100644 index 0000000000000..709b1fd4c6bfe --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.ts @@ -0,0 +1,107 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import type { + ChatCompletionAssistantMessageParam, + ChatCompletionMessageParam, + ChatCompletionSystemMessageParam, + ChatCompletionToolMessageParam, + ChatCompletionUserMessageParam, +} from 'openai/resources'; +import { Message, MessageRole, ToolOptions } from '@kbn/inference-common'; + +export function toolsToOpenAI( + tools: ToolOptions['tools'] +): OpenAI.ChatCompletionCreateParams['tools'] { + return tools + ? Object.entries(tools).map(([toolName, { description, schema }]) => { + return { + type: 'function', + function: { + name: toolName, + description, + parameters: (schema ?? { + type: 'object' as const, + properties: {}, + }) as unknown as Record, + }, + }; + }) + : undefined; +} + +export function toolChoiceToOpenAI( + toolChoice: ToolOptions['toolChoice'] +): OpenAI.ChatCompletionCreateParams['tool_choice'] { + return typeof toolChoice === 'string' + ? toolChoice + : toolChoice + ? { + function: { + name: toolChoice.function, + }, + type: 'function' as const, + } + : undefined; +} + +export function messagesToOpenAI({ + system, + messages, +}: { + system?: string; + messages: Message[]; +}): OpenAI.ChatCompletionMessageParam[] { + const systemMessage: ChatCompletionSystemMessageParam | undefined = system + ? { role: 'system', content: system } + : undefined; + + return [ + ...(systemMessage ? [systemMessage] : []), + ...messages.map((message): ChatCompletionMessageParam => { + const role = message.role; + + switch (role) { + case MessageRole.Assistant: + const assistantMessage: ChatCompletionAssistantMessageParam = { + role: 'assistant', + content: message.content ?? '', + tool_calls: message.toolCalls?.map((toolCall) => { + return { + function: { + name: toolCall.function.name, + arguments: + 'arguments' in toolCall.function + ? JSON.stringify(toolCall.function.arguments) + : '{}', + }, + id: toolCall.toolCallId, + type: 'function', + }; + }), + }; + return assistantMessage; + + case MessageRole.User: + const userMessage: ChatCompletionUserMessageParam = { + role: 'user', + content: message.content, + }; + return userMessage; + + case MessageRole.Tool: + const toolMessage: ChatCompletionToolMessageParam = { + role: 'tool', + content: JSON.stringify(message.response), + tool_call_id: message.toolCallId, + }; + return toolMessage; + } + }), + ]; +} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts index 1821b553dd6a9..1965d731885af 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts @@ -6,7 +6,7 @@ */ import { actionsClientMock } from '@kbn/actions-plugin/server/mocks'; -import { InferenceConnector, InferenceConnectorType } from '../../../common/connectors'; +import { InferenceConnector, InferenceConnectorType } from '@kbn/inference-common'; import { createInferenceExecutor, type InferenceExecutor } from './inference_executor'; describe('createInferenceExecutor', () => { diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts index c461e6b6cdfb7..0849e71ccf975 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts @@ -11,7 +11,7 @@ import type { ActionsClient, PluginStartContract as ActionsPluginStart, } from '@kbn/actions-plugin/server'; -import type { InferenceConnector } from '../../../common/connectors'; +import type { InferenceConnector } from '@kbn/inference-common'; import { getConnectorById } from '../../util/get_connector_by_id'; export interface InferenceInvokeOptions { @@ -28,7 +28,7 @@ export type InferenceInvokeResult = ActionTypeExecutorResult InferenceConnector; - invoke(params: InferenceInvokeOptions): Promise; + invoke(params: InferenceInvokeOptions): Promise>; } export const createInferenceExecutor = ({ @@ -40,7 +40,7 @@ export const createInferenceExecutor = ({ }): InferenceExecutor => { return { getConnector: () => connector, - async invoke({ subAction, subActionParams }): Promise { + async invoke({ subAction, subActionParams }): Promise> { return await actionsClient.execute({ actionId: connector.connectorId, params: { diff --git a/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts index 193ce83f6d7b6..4037eac3fb7ce 100644 --- a/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts +++ b/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts @@ -10,8 +10,8 @@ import type { ChatCompleteAPI, BoundOutputAPI, OutputAPI, + InferenceConnector, } from '@kbn/inference-common'; -import type { InferenceConnector } from '../../common/connectors'; /** * An inference client, scoped to a request, that can be used to interact with LLMs. diff --git a/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts b/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts index 240e11a37f20e..d28dfc6780af4 100644 --- a/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts +++ b/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts @@ -10,7 +10,7 @@ import { InferenceConnector, InferenceConnectorType, isSupportedConnectorType, -} from '../../common/connectors'; +} from '@kbn/inference-common'; import type { InferenceServerStart, InferenceStartDependencies } from '../types'; export function registerConnectorsRoute({ diff --git a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts index af7f35115325d..2ef7d05bdbd50 100644 --- a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts +++ b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { InferenceConnector, InferenceConnectorType } from '../../common/connectors'; +import { InferenceConnector, InferenceConnectorType } from '@kbn/inference-common'; export const createInferenceConnectorMock = ( parts: Partial = {} diff --git a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts index 64b5100a9db3d..9203f5eacf0de 100644 --- a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts +++ b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { InferenceConnector } from '../../common/connectors'; +import type { InferenceConnector } from '@kbn/inference-common'; import { InferenceExecutor } from '../chat_complete/utils'; import { createInferenceConnectorMock } from './inference_connector'; diff --git a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts index 7387944950f4a..17b5cbe86d7f4 100644 --- a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts @@ -7,7 +7,7 @@ import type { ActionResult as ActionConnector } from '@kbn/actions-plugin/server'; import { actionsClientMock } from '@kbn/actions-plugin/server/mocks'; -import { InferenceConnectorType } from '../../common/connectors'; +import { InferenceConnectorType } from '@kbn/inference-common'; import { getConnectorById } from './get_connector_by_id'; describe('getConnectorById', () => { @@ -68,7 +68,7 @@ describe('getConnectorById', () => { await expect(() => getConnectorById({ actionsClient, connectorId }) ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Type '.tcp-pigeon' not recognized as a supported connector type"` + `"Connector 'tcp-pigeon-3-0' of type '.tcp-pigeon' not recognized as a supported connector"` ); }); diff --git a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts index 1dbf9a6f0d75e..4bdbff0e1fecf 100644 --- a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts +++ b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts @@ -6,8 +6,11 @@ */ import type { ActionsClient, ActionResult as ActionConnector } from '@kbn/actions-plugin/server'; -import { createInferenceRequestError } from '@kbn/inference-common'; -import { isSupportedConnectorType, type InferenceConnector } from '../../common/connectors'; +import { + createInferenceRequestError, + isSupportedConnector, + type InferenceConnector, +} from '@kbn/inference-common'; /** * Retrieves a connector given the provided `connectorId` and asserts it's an inference connector @@ -29,11 +32,9 @@ export const getConnectorById = async ({ throw createInferenceRequestError(`No connector found for id '${connectorId}'`, 400); } - const actionTypeId = connector.actionTypeId; - - if (!isSupportedConnectorType(actionTypeId)) { + if (!isSupportedConnector(connector)) { throw createInferenceRequestError( - `Type '${actionTypeId}' not recognized as a supported connector type`, + `Connector '${connector.id}' of type '${connector.actionTypeId}' not recognized as a supported connector`, 400 ); } @@ -41,6 +42,6 @@ export const getConnectorById = async ({ return { connectorId: connector.id, name: connector.name, - type: actionTypeId, + type: connector.actionTypeId, }; }; diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts index 01d3976b9dd6b..294105a1621af 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts +++ b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.test.ts @@ -292,12 +292,6 @@ describe('isValidName', () => { expect(isValidName('anotherValidName')).toBe(true); }); - it('should return false for names with numbers', () => { - expect(isValidName('invalid123')).toBe(false); - expect(isValidName('123invalid')).toBe(false); - expect(isValidName('invalid_123')).toBe(false); - }); - it('should return false for empty string', () => { expect(isValidName('')).toBe(false); }); diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts index e63e7d0648da7..959f1ef093832 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts +++ b/x-pack/platform/plugins/shared/integration_assistant/server/integration_builder/build_integration.ts @@ -36,7 +36,7 @@ export async function buildPackage(integration: Integration): Promise { if (!isValidName(integration.name)) { throw new Error( - `Invalid integration name: ${integration.name}, Should only contain letters and underscores` + `Invalid integration name: ${integration.name}, Should only contain letters, numbers and underscores` ); } @@ -49,7 +49,7 @@ export async function buildPackage(integration: Integration): Promise { const dataStreamName = dataStream.name; if (!isValidName(dataStreamName)) { throw new Error( - `Invalid datastream name: ${dataStreamName}, Should only contain letters and underscores` + `Invalid datastream name: ${dataStreamName}, Should only contain letters, numbers and underscores` ); } const specificDataStreamDir = joinPath(dataStreamsDir, dataStreamName); @@ -77,7 +77,7 @@ export async function buildPackage(integration: Integration): Promise { return zipBuffer; } export function isValidName(input: string): boolean { - const regex = /^[a-zA-Z_]+$/; + const regex = /^[a-zA-Z0-9_]+$/; return input.length > 0 && regex.test(input); } function createDirectories( diff --git a/x-pack/plugins/observability_solution/logs_data_access/README.md b/x-pack/platform/plugins/shared/logs_data_access/README.md similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/README.md rename to x-pack/platform/plugins/shared/logs_data_access/README.md diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/constants.ts b/x-pack/platform/plugins/shared/logs_data_access/common/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/common/constants.ts rename to x-pack/platform/plugins/shared/logs_data_access/common/constants.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts b/x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts rename to x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/log_sources_service.mocks.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/types.ts b/x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/types.ts rename to x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/types.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/utils.ts b/x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/common/services/log_sources_service/utils.ts rename to x-pack/platform/plugins/shared/logs_data_access/common/services/log_sources_service/utils.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/types.ts b/x-pack/platform/plugins/shared/logs_data_access/common/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/common/types.ts rename to x-pack/platform/plugins/shared/logs_data_access/common/types.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/common/ui_settings.ts b/x-pack/platform/plugins/shared/logs_data_access/common/ui_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/common/ui_settings.ts rename to x-pack/platform/plugins/shared/logs_data_access/common/ui_settings.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/jest.config.js b/x-pack/platform/plugins/shared/logs_data_access/jest.config.js similarity index 71% rename from x-pack/plugins/observability_solution/logs_data_access/jest.config.js rename to x-pack/platform/plugins/shared/logs_data_access/jest.config.js index 08c16628e15ca..17405183fbaa1 100644 --- a/x-pack/plugins/observability_solution/logs_data_access/jest.config.js +++ b/x-pack/platform/plugins/shared/logs_data_access/jest.config.js @@ -9,6 +9,6 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/logs_data_access'], + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/platform/plugins/shared/logs_data_access'], }; diff --git a/x-pack/plugins/observability_solution/logs_data_access/kibana.jsonc b/x-pack/platform/plugins/shared/logs_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/kibana.jsonc rename to x-pack/platform/plugins/shared/logs_data_access/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/components/logs_sources_setting.tsx b/x-pack/platform/plugins/shared/logs_data_access/public/components/logs_sources_setting.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/components/logs_sources_setting.tsx rename to x-pack/platform/plugins/shared/logs_data_access/public/components/logs_sources_setting.tsx diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/hooks/use_log_sources.ts b/x-pack/platform/plugins/shared/logs_data_access/public/hooks/use_log_sources.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/hooks/use_log_sources.ts rename to x-pack/platform/plugins/shared/logs_data_access/public/hooks/use_log_sources.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/index.ts b/x-pack/platform/plugins/shared/logs_data_access/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/index.ts rename to x-pack/platform/plugins/shared/logs_data_access/public/index.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/plugin.ts b/x-pack/platform/plugins/shared/logs_data_access/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/plugin.ts rename to x-pack/platform/plugins/shared/logs_data_access/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/services/log_sources_service/index.ts b/x-pack/platform/plugins/shared/logs_data_access/public/services/log_sources_service/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/services/log_sources_service/index.ts rename to x-pack/platform/plugins/shared/logs_data_access/public/services/log_sources_service/index.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/services/register_services.ts b/x-pack/platform/plugins/shared/logs_data_access/public/services/register_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/services/register_services.ts rename to x-pack/platform/plugins/shared/logs_data_access/public/services/register_services.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/public/types.ts b/x-pack/platform/plugins/shared/logs_data_access/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/public/types.ts rename to x-pack/platform/plugins/shared/logs_data_access/public/types.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/es_fields.ts b/x-pack/platform/plugins/shared/logs_data_access/server/es_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/es_fields.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/es_fields.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/index.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/index.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/plugin.ts b/x-pack/platform/plugins/shared/logs_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/plugin.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rates_service/index.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/services/get_logs_rates_service/index.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/log_sources_service/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/log_sources_service/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/services/log_sources_service/index.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/services/log_sources_service/index.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/register_services.ts b/x-pack/platform/plugins/shared/logs_data_access/server/services/register_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/services/register_services.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/services/register_services.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/types.ts b/x-pack/platform/plugins/shared/logs_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/types.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/types.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/utils/es_queries.ts b/x-pack/platform/plugins/shared/logs_data_access/server/utils/es_queries.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/utils/es_queries.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/utils/es_queries.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/utils/index.ts b/x-pack/platform/plugins/shared/logs_data_access/server/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/utils/index.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/utils/index.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/utils/utils.test.ts b/x-pack/platform/plugins/shared/logs_data_access/server/utils/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_data_access/server/utils/utils.test.ts rename to x-pack/platform/plugins/shared/logs_data_access/server/utils/utils.test.ts diff --git a/x-pack/plugins/observability_solution/logs_data_access/tsconfig.json b/x-pack/platform/plugins/shared/logs_data_access/tsconfig.json similarity index 93% rename from x-pack/plugins/observability_solution/logs_data_access/tsconfig.json rename to x-pack/platform/plugins/shared/logs_data_access/tsconfig.json index ff67c2f1c8f30..f9520dd8528a8 100644 --- a/x-pack/plugins/observability_solution/logs_data_access/tsconfig.json +++ b/x-pack/platform/plugins/shared/logs_data_access/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/observability_solution/logs_shared/README.md b/x-pack/platform/plugins/shared/logs_shared/README.md similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/README.md rename to x-pack/platform/plugins/shared/logs_shared/README.md diff --git a/x-pack/plugins/observability_solution/logs_shared/common/constants.ts b/x-pack/platform/plugins/shared/logs_shared/common/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/constants.ts rename to x-pack/platform/plugins/shared/logs_shared/common/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/datetime.ts b/x-pack/platform/plugins/shared/logs_shared/common/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/datetime.ts rename to x-pack/platform/plugins/shared/logs_shared/common/formatters/datetime.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/deprecations/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/deprecations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/deprecations/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/deprecations/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/latest.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/latest.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/latest.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/latest.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_entries/v1/summary_highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/common.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/common.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/common.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/get_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/get_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/get_log_view.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/get_log_view.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/put_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/put_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/http_api/log_views/v1/put_log_view.ts rename to x-pack/platform/plugins/shared/logs_shared/common/http_api/log_views/v1/put_log_view.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/index.ts similarity index 97% rename from x-pack/plugins/observability_solution/logs_shared/common/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/index.ts index 0789f2f88e113..d05a52e90f419 100644 --- a/x-pack/plugins/observability_solution/logs_shared/common/index.ts +++ b/x-pack/platform/plugins/shared/logs_shared/common/index.ts @@ -43,7 +43,6 @@ export { ResolveLogViewError, } from './log_views/errors'; -// eslint-disable-next-line @kbn/eslint/no_export_all export * from './log_entry'; export { convertISODateToNanoPrecision } from './utils'; diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/get_logs_locators.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/get_logs_locators.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/get_logs_locators.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/get_logs_locators.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/helpers.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/helpers.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/helpers.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/logs_locator.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/logs_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/logs_locator.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/logs_locator.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/node_logs_locator.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/node_logs_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/node_logs_locator.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/node_logs_locator.ts diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_range.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/time/time_range.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/time_range.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/trace_logs_locator.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/trace_logs_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/trace_logs_locator.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/trace_logs_locator.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts b/x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/types.ts rename to x-pack/platform/plugins/shared/logs_shared/common/locators/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_entry/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_entry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_entry/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_entry/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_entry/log_entry_cursor.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_entry/log_entry_cursor.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_text_scale/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_text_scale/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_text_scale/log_text_scale.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/log_text_scale.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_text_scale/log_text_scale.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_text_scale/log_text_scale.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/defaults.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/defaults.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/errors.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/errors.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/log_view.mock.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/log_view.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/log_view.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/log_view.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.mock.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/resolved_log_view.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/resolved_log_view.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts b/x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_views/types.ts rename to x-pack/platform/plugins/shared/logs_shared/common/log_views/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/mocks.ts b/x-pack/platform/plugins/shared/logs_shared/common/mocks.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/mocks.ts rename to x-pack/platform/plugins/shared/logs_shared/common/mocks.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/plugin_config.ts b/x-pack/platform/plugins/shared/logs_shared/common/plugin_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/plugin_config.ts rename to x-pack/platform/plugins/shared/logs_shared/common/plugin_config.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/runtime_types.ts b/x-pack/platform/plugins/shared/logs_shared/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/runtime_types.ts rename to x-pack/platform/plugins/shared/logs_shared/common/runtime_types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/search_strategies/common/errors.ts b/x-pack/platform/plugins/shared/logs_shared/common/search_strategies/common/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/search_strategies/common/errors.ts rename to x-pack/platform/plugins/shared/logs_shared/common/search_strategies/common/errors.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entries.ts b/x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entries.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entries.ts rename to x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entries.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/search_strategies/log_entries/log_entry.ts rename to x-pack/platform/plugins/shared/logs_shared/common/search_strategies/log_entries/log_entry.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/time/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/time/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/time/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/time/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/time/time_key.ts b/x-pack/platform/plugins/shared/logs_shared/common/time/time_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/time/time_key.ts rename to x-pack/platform/plugins/shared/logs_shared/common/time/time_key.ts diff --git a/x-pack/plugins/observability_solution/infra/common/typed_json.ts b/x-pack/platform/plugins/shared/logs_shared/common/typed_json.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/typed_json.ts rename to x-pack/platform/plugins/shared/logs_shared/common/typed_json.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.test.ts b/x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.test.ts rename to x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.ts b/x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/utils/date_helpers.ts rename to x-pack/platform/plugins/shared/logs_shared/common/utils/date_helpers.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/utils/index.ts b/x-pack/platform/plugins/shared/logs_shared/common/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/utils/index.ts rename to x-pack/platform/plugins/shared/logs_shared/common/utils/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/emotion.d.ts b/x-pack/platform/plugins/shared/logs_shared/emotion.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/emotion.d.ts rename to x-pack/platform/plugins/shared/logs_shared/emotion.d.ts diff --git a/x-pack/platform/plugins/shared/logs_shared/jest.config.js b/x-pack/platform/plugins/shared/logs_shared/jest.config.js new file mode 100644 index 0000000000000..9d3e6d67cfc4b --- /dev/null +++ b/x-pack/platform/plugins/shared/logs_shared/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/logs_shared'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/logs_shared', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/logs_shared/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/logs_shared/kibana.jsonc b/x-pack/platform/plugins/shared/logs_shared/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/kibana.jsonc rename to x-pack/platform/plugins/shared/logs_shared/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/infra/public/components/auto_sizer.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/auto_sizer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/components/auto_sizer.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/auto_sizer.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/centered_flyout_body.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/centered_flyout_body.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/centered_flyout_body.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/centered_flyout_body.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.stories.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.stories.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_error_callout.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_error_callout.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.stories.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.stories.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/data_search_progress.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/data_search_progress.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/index.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/index.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/no_data.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/no_data.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/empty_states/no_data.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/empty_states/no_data.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/formatted_time.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/formatted_time.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/formatted_time.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/formatted_time.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/loading/__examples__/index.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/loading/__examples__/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/loading/__examples__/index.stories.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/loading/__examples__/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/loading/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/loading/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/loading/index.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/loading/index.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/index.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/index.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.mock.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/log_ai_assistant.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/translations.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_ai_assistant/translations.ts rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_ai_assistant/translations.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx similarity index 99% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx index 0cbc0a03f9184..64a6e1d9919a1 100644 --- a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx +++ b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx @@ -9,7 +9,7 @@ The purpose of this component is to allow you, the developer, to have your very The component is exposed through `logs_shared/public`. Since Kibana uses relative paths, it is up to you to find how to import it (sorry). ```tsx -import { LogStream } from '../../../../../../logs_shared/public'; +import { LogStream } from '../../../../../../../logs_shared/public'; // ^^ Modify appropriately ``` diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.story_decorators.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream_error_boundary.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/index.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/index.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_fields_table.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_entry_flyout/log_entry_flyout.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/column_headers_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/field_value.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/field_value.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/field_value.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/field_value.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/highlighting.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/highlighting.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/highlighting.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/highlighting.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/item.ts rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/item.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/jump_to_tail.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/loading_item_view.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_date_row.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_column.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.test.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.test.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_row_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/log_text_separator.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/measurable_item_view.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/text_styles.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/text_styles.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/text_styles.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/text_styles.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/index.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/index.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.mock.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.mock.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.mock.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.mock.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/logs_overview/logs_overview.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/logs_overview/logs_overview.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/open_in_logs_explorer_button.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/open_in_logs_explorer_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/open_in_logs_explorer_button.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/open_in_logs_explorer_button.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/components/resettable_error_boundary.tsx b/x-pack/platform/plugins/shared/logs_shared/public/components/resettable_error_boundary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/components/resettable_error_boundary.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/components/resettable_error_boundary.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_entry.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_entry.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_entries_highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/api/fetch_log_summary_highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_entry_highlights.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_highlights.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/log_summary_highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_highlights/next_and_previous.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/use_log_position.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/use_log_position.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_position/use_log_position.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_position/use_log_position.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_after.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_around.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_stream/use_fetch_log_entries_before.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/api/fetch_log_summary.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/bucket_size.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/bucket_size.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/bucket_size.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/bucket_size.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.test.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.tsx b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/log_summary.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/log_summary.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts b/x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/containers/logs/log_summary/with_summary.ts rename to x-pack/platform/plugins/shared/logs_shared/public/containers/logs/log_summary/with_summary.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/hooks/use_kibana.tsx b/x-pack/platform/plugins/shared/logs_shared/public/hooks/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/hooks/use_kibana.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/hooks/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/hooks/use_log_view.ts rename to x-pack/platform/plugins/shared/logs_shared/public/hooks/use_log_view.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/mocks.tsx b/x-pack/platform/plugins/shared/logs_shared/public/mocks.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/mocks.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/mocks.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/README.md b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/README.md similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/README.md rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/README.md diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/notifications.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/notifications.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/notifications.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/notifications.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/types.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/log_view_state/src/url_state_storage_service.ts diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/README.md b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/README.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/README.md rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/README.md diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/notification_channel.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/src/types.ts rename to x-pack/platform/plugins/shared/logs_shared/public/observability_logs/xstate_helpers/src/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/plugin.tsx b/x-pack/platform/plugins/shared/logs_shared/public/plugin.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/plugin.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/plugin.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.mock.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_client.ts rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_client.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.mock.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/log_views_service.ts rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/log_views_service.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/services/log_views/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/services/log_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/services/log_views/types.ts rename to x-pack/platform/plugins/shared/logs_shared/public/services/log_views/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/test_utils/entries.ts b/x-pack/platform/plugins/shared/logs_shared/public/test_utils/entries.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/test_utils/entries.ts rename to x-pack/platform/plugins/shared/logs_shared/public/test_utils/entries.ts diff --git a/x-pack/plugins/observability_solution/infra/public/test_utils/use_global_storybook_theme.tsx b/x-pack/platform/plugins/shared/logs_shared/public/test_utils/use_global_storybook_theme.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/test_utils/use_global_storybook_theme.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/test_utils/use_global_storybook_theme.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/types.ts rename to x-pack/platform/plugins/shared/logs_shared/public/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/data_search.stories.mdx b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/data_search.stories.mdx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/data_search.stories.mdx rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/data_search.stories.mdx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/flatten_data_search_response.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/flatten_data_search_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/flatten_data_search_response.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/flatten_data_search_response.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/normalize_data_search_responses.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/normalize_data_search_responses.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/normalize_data_search_responses.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/normalize_data_search_responses.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/types.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/types.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.test.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.test.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_request.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_response_state.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_response_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_response_state.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_data_search_response_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/datemath.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/datemath.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/datemath.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/datemath.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/dev_mode.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/dev_mode.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/dev_mode.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/dev_mode.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/handlers.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/handlers.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/handlers.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/handlers.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_column_render_configuration.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_column_render_configuration.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_column_render_configuration.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_column_render_configuration.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/index.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/index.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry_highlight.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry_highlight.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/log_entry/log_entry_highlight.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/log_entry/log_entry_highlight.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/typed_react.tsx b/x-pack/platform/plugins/shared/logs_shared/public/utils/typed_react.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/typed_react.tsx rename to x-pack/platform/plugins/shared/logs_shared/public/utils/typed_react.tsx diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_kibana_query_settings.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_query_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_kibana_query_settings.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_query_settings.ts diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_ui_setting.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_ui_setting.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_ui_setting.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_kibana_ui_setting.ts diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_observable.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_observable.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/hooks/use_observable.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_observable.ts diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_tracked_promise.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_tracked_promise.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/hooks/use_tracked_promise.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_tracked_promise.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/use_ui_tracker.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_ui_tracker.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/use_ui_tracker.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_ui_tracker.ts diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_visibility_state.ts b/x-pack/platform/plugins/shared/logs_shared/public/utils/use_visibility_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/hooks/use_visibility_state.ts rename to x-pack/platform/plugins/shared/logs_shared/public/utils/use_visibility_state.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/config.ts b/x-pack/platform/plugins/shared/logs_shared/server/config.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/config.ts rename to x-pack/platform/plugins/shared/logs_shared/server/config.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/deprecations/constants.ts b/x-pack/platform/plugins/shared/logs_shared/server/deprecations/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/deprecations/constants.ts rename to x-pack/platform/plugins/shared/logs_shared/server/deprecations/constants.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/deprecations/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/deprecations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/deprecations/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/deprecations/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/deprecations/log_sources_setting.ts b/x-pack/platform/plugins/shared/logs_shared/server/deprecations/log_sources_setting.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/deprecations/log_sources_setting.ts rename to x-pack/platform/plugins/shared/logs_shared/server/deprecations/log_sources_setting.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/feature_flags.ts b/x-pack/platform/plugins/shared/logs_shared/server/feature_flags.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/feature_flags.ts rename to x-pack/platform/plugins/shared/logs_shared/server/feature_flags.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/adapter_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/adapter_types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/log_entries_domain.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/domains/log_entries_domain/queries/log_entry_datasets.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/logs_shared_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/lib/logs_shared_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/logs_shared_types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/lib/logs_shared_types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/logs_shared_server.ts b/x-pack/platform/plugins/shared/logs_shared/server/logs_shared_server.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/logs_shared_server.ts rename to x-pack/platform/plugins/shared/logs_shared/server/logs_shared_server.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/mocks.ts b/x-pack/platform/plugins/shared/logs_shared/server/mocks.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/mocks.ts rename to x-pack/platform/plugins/shared/logs_shared/server/mocks.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/plugin.ts b/x-pack/platform/plugins/shared/logs_shared/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/plugin.ts rename to x-pack/platform/plugins/shared/logs_shared/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/highlights.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary_highlights.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary_highlights.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_entries/summary_highlights.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_entries/summary_highlights.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/get_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/get_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/get_log_view.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/get_log_view.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/put_log_view.ts b/x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/put_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/routes/log_views/put_log_view.ts rename to x-pack/platform/plugins/shared/logs_shared/server/routes/log_views/put_log_view.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/log_view_saved_object.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/log_indices.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/log_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/references/log_indices.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/references/log_indices.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/log_view/types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/log_view/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/references.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/references.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/references.ts b/x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/references.ts rename to x-pack/platform/plugins/shared/logs_shared/server/saved_objects/references.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_search_strategy.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_search_strategy.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_service.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entries_service.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entries_service.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/log_entry_search_strategy.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/log_entry_search_strategy.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_apache2.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_auditd.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_haproxy.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_icinga.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_iis.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_kafka.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_logstash.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mongodb.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_mysql.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_nginx.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_osquery.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_redis.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_system.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/filebeat_traefik.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/generic_webserver.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/helpers.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/builtin_rules/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/builtin_rules/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/message.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/message.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/message.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/message.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/rule_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/rule_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/message/rule_types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/message/rule_types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/common.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/common.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/common.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entries.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entries.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entries.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entries.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entry.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/queries/log_entry.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/queries/log_entry.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_entries/types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_entries/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/errors.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/errors.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/errors.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/index.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/index.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.mock.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.test.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.test.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_client.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_client.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.mock.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.mock.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/log_views_service.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/log_views_service.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/services/log_views/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/services/log_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/services/log_views/types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/services/log_views/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/types.ts b/x-pack/platform/plugins/shared/logs_shared/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/utils/elasticsearch_runtime_types.ts b/x-pack/platform/plugins/shared/logs_shared/server/utils/elasticsearch_runtime_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/utils/elasticsearch_runtime_types.ts rename to x-pack/platform/plugins/shared/logs_shared/server/utils/elasticsearch_runtime_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/serialized_query.ts b/x-pack/platform/plugins/shared/logs_shared/server/utils/serialized_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/serialized_query.ts rename to x-pack/platform/plugins/shared/logs_shared/server/utils/serialized_query.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/utils/typed_search_strategy.ts b/x-pack/platform/plugins/shared/logs_shared/server/utils/typed_search_strategy.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/utils/typed_search_strategy.ts rename to x-pack/platform/plugins/shared/logs_shared/server/utils/typed_search_strategy.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/tsconfig.json b/x-pack/platform/plugins/shared/logs_shared/tsconfig.json similarity index 94% rename from x-pack/plugins/observability_solution/logs_shared/tsconfig.json rename to x-pack/platform/plugins/shared/logs_shared/tsconfig.json index 1892e6b4e2dca..63a176154b4ea 100644 --- a/x-pack/plugins/observability_solution/logs_shared/tsconfig.json +++ b/x-pack/platform/plugins/shared/logs_shared/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/x-pack/plugins/maps/README.md b/x-pack/platform/plugins/shared/maps/README.md similarity index 89% rename from x-pack/plugins/maps/README.md rename to x-pack/platform/plugins/shared/maps/README.md index de683af8ac627..ce44a4baf6e0b 100644 --- a/x-pack/plugins/maps/README.md +++ b/x-pack/platform/plugins/shared/maps/README.md @@ -7,7 +7,7 @@ Visualize geo data from Elasticsearch or 3rd party geo-services. Run all tests from the `x-pack` root directory -- Unit tests: `yarn test:jest x-pack/plugins/maps --watch` +- Unit tests: `yarn test:jest x-pack/platform/plugins/shared/maps --watch` - Functional tests: - Run `node scripts/functional_tests_server` - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group1/config.ts` diff --git a/x-pack/plugins/maps/common/constants.ts b/x-pack/platform/plugins/shared/maps/common/constants.ts similarity index 100% rename from x-pack/plugins/maps/common/constants.ts rename to x-pack/platform/plugins/shared/maps/common/constants.ts diff --git a/x-pack/plugins/maps/common/content_management/constants.ts b/x-pack/platform/plugins/shared/maps/common/content_management/constants.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/constants.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/constants.ts diff --git a/x-pack/plugins/maps/common/content_management/index.ts b/x-pack/platform/plugins/shared/maps/common/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/index.ts diff --git a/x-pack/plugins/maps/common/content_management/latest.ts b/x-pack/platform/plugins/shared/maps/common/content_management/latest.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/latest.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/latest.ts diff --git a/x-pack/plugins/maps/common/content_management/types.ts b/x-pack/platform/plugins/shared/maps/common/content_management/types.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/types.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/types.ts diff --git a/x-pack/plugins/maps/common/content_management/v1/index.ts b/x-pack/platform/plugins/shared/maps/common/content_management/v1/index.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/v1/index.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/v1/index.ts diff --git a/x-pack/plugins/maps/common/content_management/v1/types.ts b/x-pack/platform/plugins/shared/maps/common/content_management/v1/types.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/v1/types.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/v1/types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/index.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/index.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/index.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/index.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/index.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/index.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/index.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/index.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/total_hits.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/total_hits.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/total_hits.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/total_hits.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.ts diff --git a/x-pack/plugins/maps/common/embeddable/extract.test.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/extract.test.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/extract.test.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/extract.test.ts diff --git a/x-pack/plugins/maps/common/embeddable/extract.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/extract.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/extract.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/extract.ts diff --git a/x-pack/plugins/maps/common/embeddable/index.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/index.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/index.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/index.ts diff --git a/x-pack/plugins/maps/common/embeddable/inject.test.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/inject.test.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/inject.test.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/inject.test.ts diff --git a/x-pack/plugins/maps/common/embeddable/inject.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/inject.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/inject.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/inject.ts diff --git a/x-pack/plugins/maps/common/embeddable/types.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/types.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/types.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/types.ts diff --git a/x-pack/plugins/maps/common/get_agg_key.ts b/x-pack/platform/plugins/shared/maps/common/get_agg_key.ts similarity index 100% rename from x-pack/plugins/maps/common/get_agg_key.ts rename to x-pack/platform/plugins/shared/maps/common/get_agg_key.ts diff --git a/x-pack/plugins/maps/common/i18n_getters.ts b/x-pack/platform/plugins/shared/maps/common/i18n_getters.ts similarity index 100% rename from x-pack/plugins/maps/common/i18n_getters.ts rename to x-pack/platform/plugins/shared/maps/common/i18n_getters.ts diff --git a/x-pack/plugins/maps/common/index.ts b/x-pack/platform/plugins/shared/maps/common/index.ts similarity index 100% rename from x-pack/plugins/maps/common/index.ts rename to x-pack/platform/plugins/shared/maps/common/index.ts diff --git a/x-pack/plugins/maps/common/migrations/add_field_meta_options.js b/x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_field_meta_options.js rename to x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.js diff --git a/x-pack/plugins/maps/common/migrations/add_field_meta_options.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_field_meta_options.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.test.js diff --git a/x-pack/plugins/maps/common/migrations/add_type_to_termjoin.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_type_to_termjoin.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.test.ts diff --git a/x-pack/plugins/maps/common/migrations/add_type_to_termjoin.ts b/x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_type_to_termjoin.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.ts diff --git a/x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js b/x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js rename to x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js diff --git a/x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js diff --git a/x-pack/plugins/maps/common/migrations/join_agg_key.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/join_agg_key.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.test.ts diff --git a/x-pack/plugins/maps/common/migrations/join_agg_key.ts b/x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/join_agg_key.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_other_category_color.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_other_category_color.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_other_category_color.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_other_category_color.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.js b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.js rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.js diff --git a/x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.test.js diff --git a/x-pack/plugins/maps/common/migrations/move_apply_global_query.js b/x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_apply_global_query.js rename to x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.js diff --git a/x-pack/plugins/maps/common/migrations/move_apply_global_query.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_apply_global_query.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.test.js diff --git a/x-pack/plugins/maps/common/migrations/move_attribution.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_attribution.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.test.ts diff --git a/x-pack/plugins/maps/common/migrations/move_attribution.ts b/x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_attribution.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.ts diff --git a/x-pack/plugins/maps/common/migrations/references.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/references.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/references.test.ts diff --git a/x-pack/plugins/maps/common/migrations/references.ts b/x-pack/platform/plugins/shared/maps/common/migrations/references.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/references.ts diff --git a/x-pack/plugins/maps/common/migrations/remove_bounds.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/remove_bounds.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.test.ts diff --git a/x-pack/plugins/maps/common/migrations/remove_bounds.ts b/x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/remove_bounds.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.ts diff --git a/x-pack/plugins/maps/common/migrations/rename_layer_types.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/rename_layer_types.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.test.ts diff --git a/x-pack/plugins/maps/common/migrations/rename_layer_types.ts b/x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/rename_layer_types.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.ts diff --git a/x-pack/plugins/maps/common/migrations/scaling_type.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/scaling_type.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.test.ts diff --git a/x-pack/plugins/maps/common/migrations/scaling_type.ts b/x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/scaling_type.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.ts diff --git a/x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx b/x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx rename to x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx diff --git a/x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.ts diff --git a/x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.test.ts diff --git a/x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.ts diff --git a/x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.js b/x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.js rename to x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.js diff --git a/x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.test.js diff --git a/x-pack/plugins/maps/common/mvt_request_body.test.ts b/x-pack/platform/plugins/shared/maps/common/mvt_request_body.test.ts similarity index 100% rename from x-pack/plugins/maps/common/mvt_request_body.test.ts rename to x-pack/platform/plugins/shared/maps/common/mvt_request_body.test.ts diff --git a/x-pack/plugins/maps/common/mvt_request_body.ts b/x-pack/platform/plugins/shared/maps/common/mvt_request_body.ts similarity index 100% rename from x-pack/plugins/maps/common/mvt_request_body.ts rename to x-pack/platform/plugins/shared/maps/common/mvt_request_body.ts diff --git a/x-pack/plugins/maps/common/parse_xml_string.test.ts b/x-pack/platform/plugins/shared/maps/common/parse_xml_string.test.ts similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.test.ts rename to x-pack/platform/plugins/shared/maps/common/parse_xml_string.test.ts diff --git a/x-pack/plugins/maps/common/parse_xml_string.ts b/x-pack/platform/plugins/shared/maps/common/parse_xml_string.ts similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.ts rename to x-pack/platform/plugins/shared/maps/common/parse_xml_string.ts diff --git a/x-pack/plugins/maps/common/telemetry/index.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/index.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/index.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/index.ts diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.test.ts diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.ts diff --git a/x-pack/plugins/maps/common/telemetry/map_settings_collector.test.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/map_settings_collector.test.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.test.ts diff --git a/x-pack/plugins/maps/common/telemetry/map_settings_collector.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/map_settings_collector.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.ts diff --git a/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json b/x-pack/platform/plugins/shared/maps/common/telemetry/test_resources/sample_map_saved_objects.json similarity index 100% rename from x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json rename to x-pack/platform/plugins/shared/maps/common/telemetry/test_resources/sample_map_saved_objects.json diff --git a/x-pack/plugins/maps/common/telemetry/types.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/types.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/types.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/types.ts diff --git a/x-pack/plugins/maps/common/types.ts b/x-pack/platform/plugins/shared/maps/common/types.ts similarity index 100% rename from x-pack/plugins/maps/common/types.ts rename to x-pack/platform/plugins/shared/maps/common/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/jest.config.js b/x-pack/platform/plugins/shared/maps/jest.config.js similarity index 66% rename from x-pack/plugins/dashboard_enhanced/jest.config.js rename to x-pack/platform/plugins/shared/maps/jest.config.js index 86ae949431e69..15089c91daff2 100644 --- a/x-pack/plugins/dashboard_enhanced/jest.config.js +++ b/x-pack/platform/plugins/shared/maps/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/dashboard_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/dashboard_enhanced', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/maps'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/maps', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/maps/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/maps/kibana.jsonc b/x-pack/platform/plugins/shared/maps/kibana.jsonc similarity index 100% rename from x-pack/plugins/maps/kibana.jsonc rename to x-pack/platform/plugins/shared/maps/kibana.jsonc diff --git a/x-pack/plugins/maps/public/_animations.scss b/x-pack/platform/plugins/shared/maps/public/_animations.scss similarity index 100% rename from x-pack/plugins/maps/public/_animations.scss rename to x-pack/platform/plugins/shared/maps/public/_animations.scss diff --git a/x-pack/plugins/maps/public/_index.scss b/x-pack/platform/plugins/shared/maps/public/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/_index.scss rename to x-pack/platform/plugins/shared/maps/public/_index.scss diff --git a/x-pack/plugins/maps/public/_main.scss b/x-pack/platform/plugins/shared/maps/public/_main.scss similarity index 87% rename from x-pack/plugins/maps/public/_main.scss rename to x-pack/platform/plugins/shared/maps/public/_main.scss index 02298872d4f7d..3089ed516ca34 100644 --- a/x-pack/plugins/maps/public/_main.scss +++ b/x-pack/platform/plugins/shared/maps/public/_main.scss @@ -1,4 +1,4 @@ -@import '../../../../src/core/public/mixins'; +@import '../../../../../../src/core/public/mixins'; // sass-lint:disable no-ids #maps-plugin { diff --git a/x-pack/plugins/maps/public/_mapbox_hacks.scss b/x-pack/platform/plugins/shared/maps/public/_mapbox_hacks.scss similarity index 100% rename from x-pack/plugins/maps/public/_mapbox_hacks.scss rename to x-pack/platform/plugins/shared/maps/public/_mapbox_hacks.scss diff --git a/x-pack/plugins/maps/public/_mixins.scss b/x-pack/platform/plugins/shared/maps/public/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/_mixins.scss rename to x-pack/platform/plugins/shared/maps/public/_mixins.scss diff --git a/x-pack/plugins/maps/public/actions/data_request_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/data_request_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/data_request_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/data_request_actions.ts diff --git a/x-pack/plugins/maps/public/actions/get_layers_extent.tsx b/x-pack/platform/plugins/shared/maps/public/actions/get_layers_extent.tsx similarity index 100% rename from x-pack/plugins/maps/public/actions/get_layers_extent.tsx rename to x-pack/platform/plugins/shared/maps/public/actions/get_layers_extent.tsx diff --git a/x-pack/plugins/maps/public/actions/index.ts b/x-pack/platform/plugins/shared/maps/public/actions/index.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/index.ts rename to x-pack/platform/plugins/shared/maps/public/actions/index.ts diff --git a/x-pack/plugins/maps/public/actions/layer_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/layer_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/layer_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/layer_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/layer_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/layer_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/layer_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/layer_actions.ts diff --git a/x-pack/plugins/maps/public/actions/map_action_constants.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_action_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_action_constants.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_action_constants.ts diff --git a/x-pack/plugins/maps/public/actions/map_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/map_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_actions.ts diff --git a/x-pack/plugins/maps/public/actions/tooltip_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/tooltip_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/tooltip_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/tooltip_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.ts diff --git a/x-pack/plugins/maps/public/actions/ui_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/ui_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/ui_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/ui_actions.ts diff --git a/x-pack/plugins/maps/public/api/create_layer_descriptors.ts b/x-pack/platform/plugins/shared/maps/public/api/create_layer_descriptors.ts similarity index 100% rename from x-pack/plugins/maps/public/api/create_layer_descriptors.ts rename to x-pack/platform/plugins/shared/maps/public/api/create_layer_descriptors.ts diff --git a/x-pack/plugins/maps/public/api/ems.ts b/x-pack/platform/plugins/shared/maps/public/api/ems.ts similarity index 100% rename from x-pack/plugins/maps/public/api/ems.ts rename to x-pack/platform/plugins/shared/maps/public/api/ems.ts diff --git a/x-pack/plugins/maps/public/api/index.ts b/x-pack/platform/plugins/shared/maps/public/api/index.ts similarity index 100% rename from x-pack/plugins/maps/public/api/index.ts rename to x-pack/platform/plugins/shared/maps/public/api/index.ts diff --git a/x-pack/plugins/maps/public/api/setup_api.ts b/x-pack/platform/plugins/shared/maps/public/api/setup_api.ts similarity index 100% rename from x-pack/plugins/maps/public/api/setup_api.ts rename to x-pack/platform/plugins/shared/maps/public/api/setup_api.ts diff --git a/x-pack/plugins/maps/public/api/start_api.ts b/x-pack/platform/plugins/shared/maps/public/api/start_api.ts similarity index 100% rename from x-pack/plugins/maps/public/api/start_api.ts rename to x-pack/platform/plugins/shared/maps/public/api/start_api.ts diff --git a/x-pack/plugins/maps/public/assets/boundaries_screenshot.png b/x-pack/platform/plugins/shared/maps/public/assets/boundaries_screenshot.png similarity index 100% rename from x-pack/plugins/maps/public/assets/boundaries_screenshot.png rename to x-pack/platform/plugins/shared/maps/public/assets/boundaries_screenshot.png diff --git a/x-pack/plugins/maps/public/assets/gdal_logo.svg b/x-pack/platform/plugins/shared/maps/public/assets/gdal_logo.svg similarity index 100% rename from x-pack/plugins/maps/public/assets/gdal_logo.svg rename to x-pack/platform/plugins/shared/maps/public/assets/gdal_logo.svg diff --git a/x-pack/plugins/maps/public/classes/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/_index.scss diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field_types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field_types.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/index.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/top_term_percentage_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/top_term_percentage_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/top_term_percentage_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/top_term_percentage_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/ems_file_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/ems_file_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/ems_file_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/ems_file_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/es_doc_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/es_doc_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/es_doc_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/inline_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/inline_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/inline_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/inline_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/mvt_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/mvt_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/mvt_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/mvt_field.ts diff --git a/x-pack/plugins/maps/public/classes/joins/inner_join.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/inner_join.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.test.ts diff --git a/x-pack/plugins/maps/public/classes/joins/inner_join.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/inner_join.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.ts diff --git a/x-pack/plugins/maps/public/classes/joins/is_spatial_join.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/is_spatial_join.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/is_spatial_join.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/is_spatial_join.ts diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_sync_context.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_sync_context.ts diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/layers/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/layers/_index.scss diff --git a/x-pack/plugins/maps/public/classes/layers/_layers.scss b/x-pack/platform/plugins/shared/maps/public/classes/layers/_layers.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/_layers.scss rename to x-pack/platform/plugins/shared/maps/public/classes/layers/_layers.scss diff --git a/x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/build_vector_request_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/build_vector_request_meta.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_region_map_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_region_map_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/heatmap_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/invalid_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/invalid_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/invalid_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/invalid_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/tile_errors_list.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/tile_errors_list.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/tile_errors_list.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/tile_errors_list.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/bounds_data.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/bounds_data.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/bounds_data.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/bounds_data.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mask.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mask.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mask.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mask.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/types.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/load_layer_wizards.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/load_layer_wizards.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/create_source_instance.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/create_source_instance.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/create_source_instance.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/create_source_instance.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.test.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.test.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/feature_edit.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/feature_edit.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/feature_edit.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/feature_edit.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/load_index_settings.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/load_index_settings.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/load_index_settings.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/load_index_settings.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/es_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/es_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/narrow_by_field.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/narrow_by_field.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/execution_context_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/execution_context_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/execution_context_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/execution_context_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/i18n_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/i18n_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/i18n_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/i18n_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/index.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/index.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/index.js diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/raster_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/setup_sources.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/setup_sources.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.ts diff --git a/x-pack/plugins/maps/public/classes/sources/source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/source_registry.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/source_registry.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/source_registry.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/source_registry.ts diff --git a/x-pack/plugins/maps/public/classes/sources/tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/mvt_vector_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/mvt_vector_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/mvt_vector_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/mvt_vector_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/index.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/index.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/index.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.test.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.test.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/_index.scss diff --git a/x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/color_palettes.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/color_palettes.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.ts diff --git a/x-pack/plugins/maps/public/classes/styles/components/ranged_style_legend_row.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/components/ranged_style_legend_row.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/components/ranged_style_legend_row.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/components/ranged_style_legend_row.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/ems_vector_tile_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/ems_vector_tile_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/ems_vector_tile_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/ems_vector_tile_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_constants.ts diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/heatmap_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/heatmap_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/heatmap_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/heatmap_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/style.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/style.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/style.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/style.ts diff --git a/x-pack/plugins/maps/public/classes/styles/tile/tile_style.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/tile/tile_style.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/tile/tile_style.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/tile/tile_style.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/_style_prop_editor.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/_style_prop_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/_style_prop_editor.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/_style_prop_editor.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/_color_stops.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/_color_stops.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/_color_stops.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/_color_stops.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_map_select.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_map_select.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_map_select.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_map_select.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_categorical.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_categorical.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_categorical.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_categorical.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_utils.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_utils.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_utils.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_utils.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/static_color_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/static_color_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/static_color_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/static_color_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/field_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/field_select.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/get_vector_style_label.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/get_vector_style_label.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/get_vector_style_label.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/get_vector_style_label.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/static_label_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/static_label_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/static_label_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/static_label_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/_category.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_category.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/_category.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_category.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/_vector_legend.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_vector_legend.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/_vector_legend.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_vector_legend.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/category.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/category.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/circle_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/circle_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/circle_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/circle_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/line_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/line_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/line_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/line_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/mask_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/mask_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/mask_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/mask_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_list.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_list.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_list.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_list.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/style_error.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/style_error.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/style_error.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/style_error.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/orientation_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/orientation_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/orientation_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/orientation_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/row_action_buttons.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/row_action_buttons.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/row_action_buttons.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/row_action_buttons.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/size_range_selector.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/size_range_selector.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/size_range_selector.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/size_range_selector.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/static_size_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/static_size_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/static_size_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/static_size_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/stop_input.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/stop_input.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/stop_input.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/stop_input.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/style_option_shapes.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_option_shapes.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/style_option_shapes.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_option_shapes.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/style_prop_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_prop_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/style_prop_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_prop_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_select.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_select.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_select.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_select.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/maki_icons.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/maki_icons.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/maki_icons.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/maki_icons.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_border_size_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_border_size_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_border_size_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_border_size_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_color_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_color_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_color_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_color_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_icon_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_icon_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_icon_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_icon_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_orientation_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_orientation_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_orientation_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_orientation_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_size_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_size_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_size_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_size_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/symbolize_as_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/symbolize_as_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/symbolize_as_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/symbolize_as_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_meta.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_util.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_util.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_agg_tooltip_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_agg_tooltip_property.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/index.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.ts diff --git a/x-pack/plugins/maps/public/classes/util/data_request.tsx b/x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/util/data_request.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx diff --git a/x-pack/plugins/maps/public/classes/util/geo_tile_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/geo_tile_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/geo_tile_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/geo_tile_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.test.tsx diff --git a/x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.ts diff --git a/x-pack/plugins/maps/public/classes/util/is_metric_countable.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/is_metric_countable.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/is_metric_countable.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/is_metric_countable.ts diff --git a/x-pack/plugins/maps/public/classes/util/maplibre_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/maplibre_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/maplibre_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/maplibre_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/mb_filter_expressions.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/mb_filter_expressions.ts diff --git a/x-pack/plugins/maps/public/classes/util/ordinal_suffix.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/ordinal_suffix.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/ordinal_suffix.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/ordinal_suffix.ts diff --git a/x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/valid_string_config.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/valid_string_config.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/valid_string_config.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/valid_string_config.ts diff --git a/x-pack/plugins/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/__snapshots__/validated_range.test.js.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_range.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/validated_range.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_range.test.js.snap diff --git a/x-pack/plugins/maps/public/components/_action_select.scss b/x-pack/platform/plugins/shared/maps/public/components/_action_select.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_action_select.scss rename to x-pack/platform/plugins/shared/maps/public/components/_action_select.scss diff --git a/x-pack/plugins/maps/public/components/_index.scss b/x-pack/platform/plugins/shared/maps/public/components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_index.scss rename to x-pack/platform/plugins/shared/maps/public/components/_index.scss diff --git a/x-pack/plugins/maps/public/components/action_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/action_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/action_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/action_select.tsx diff --git a/x-pack/plugins/maps/public/components/alpha_slider.tsx b/x-pack/platform/plugins/shared/maps/public/components/alpha_slider.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/alpha_slider.tsx rename to x-pack/platform/plugins/shared/maps/public/components/alpha_slider.tsx diff --git a/x-pack/plugins/maps/public/components/draw_forms/distance_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/distance_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/distance_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/distance_filter_form.tsx diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx diff --git a/x-pack/plugins/maps/public/components/ems_file_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/ems_file_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/ems_file_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/ems_file_select.tsx diff --git a/x-pack/plugins/maps/public/components/ems_unavailable_message.tsx b/x-pack/platform/plugins/shared/maps/public/components/ems_unavailable_message.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/ems_unavailable_message.tsx rename to x-pack/platform/plugins/shared/maps/public/components/ems_unavailable_message.tsx diff --git a/x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/force_refresh_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/force_refresh_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/geo_field_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_field_select.tsx diff --git a/x-pack/plugins/maps/public/components/geo_index_pattern_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_index_pattern_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.test.tsx diff --git a/x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.tsx diff --git a/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/global_filter_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/global_filter_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/global_filter_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/global_time_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/global_time_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/global_time_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/global_time_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/metrics_editor/_metric_editors.scss b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/_metric_editors.scss similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/_metric_editors.scss rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/_metric_editors.scss diff --git a/x-pack/plugins/maps/public/components/metrics_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/index.ts diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/index.ts diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_editor.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metric_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metric_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_select.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.test.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.tsx diff --git a/x-pack/plugins/maps/public/components/remove_layer_confirm_modal.tsx b/x-pack/platform/plugins/shared/maps/public/components/remove_layer_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/remove_layer_confirm_modal.tsx rename to x-pack/platform/plugins/shared/maps/public/components/remove_layer_confirm_modal.tsx diff --git a/x-pack/plugins/maps/public/components/single_field_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/single_field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/single_field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/single_field_select.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/_tooltip_selector.scss b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/_tooltip_selector.scss similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/_tooltip_selector.scss rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/_tooltip_selector.scss diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/index.ts b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/index.ts diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.test.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.tsx diff --git a/x-pack/plugins/maps/public/components/validated_number_input.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/validated_number_input.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/validated_number_input.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/validated_number_input.test.tsx diff --git a/x-pack/plugins/maps/public/components/validated_number_input.tsx b/x-pack/platform/plugins/shared/maps/public/components/validated_number_input.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/validated_number_input.tsx rename to x-pack/platform/plugins/shared/maps/public/components/validated_number_input.tsx diff --git a/x-pack/plugins/maps/public/components/validated_range.js b/x-pack/platform/plugins/shared/maps/public/components/validated_range.js similarity index 100% rename from x-pack/plugins/maps/public/components/validated_range.js rename to x-pack/platform/plugins/shared/maps/public/components/validated_range.js diff --git a/x-pack/plugins/maps/public/components/validated_range.test.js b/x-pack/platform/plugins/shared/maps/public/components/validated_range.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/validated_range.test.js rename to x-pack/platform/plugins/shared/maps/public/components/validated_range.test.js diff --git a/x-pack/plugins/maps/public/connected_components/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/view.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/view.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/view.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/view.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/_layer_panel.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_layer_panel.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/_layer_panel.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_layer_panel.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx diff --git a/x-pack/plugins/maps/public/connected_components/input_strings.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/input_strings.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/input_strings.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/input_strings.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_container/_map_container.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/_map_container.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/_map_container.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/_map_container.scss diff --git a/x-pack/plugins/maps/public/connected_components/map_container/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/map_container.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/map_container.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/display_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/display_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/display_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/display_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_circle.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_circle.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/get_initial_view.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/get_initial_view.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/get_initial_view.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/get_initial_view.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/glyphs.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/glyphs.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/glyphs.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/glyphs.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/mb_map.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/mb_map.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/transform_request.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/transform_request.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/transform_request.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/transform_request.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.ts diff --git a/x-pack/plugins/maps/public/connected_components/panel_strings.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/panel_strings.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/panel_strings.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/panel_strings.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_mixins.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_mixins.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_mixins.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_right_side_controls.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_right_side_controls.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_right_side_controls.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_right_side_controls.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/right_side_controls.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/right_side_controls.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/right_side_controls.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/right_side_controls.tsx diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/timeslider.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/timeslider.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/timeslider.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/timeslider.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx diff --git a/x-pack/plugins/maps/public/content_management/duplicate_title_check.ts b/x-pack/platform/plugins/shared/maps/public/content_management/duplicate_title_check.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/duplicate_title_check.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/duplicate_title_check.ts diff --git a/x-pack/plugins/maps/public/content_management/index.ts b/x-pack/platform/plugins/shared/maps/public/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/index.ts diff --git a/x-pack/plugins/maps/public/content_management/maps_client.ts b/x-pack/platform/plugins/shared/maps/public/content_management/maps_client.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/maps_client.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/maps_client.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.test.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.test.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.test.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.test.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/index.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/index.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/index.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/index.ts diff --git a/x-pack/plugins/maps/public/feature_catalogue_entry.ts b/x-pack/platform/plugins/shared/maps/public/feature_catalogue_entry.ts similarity index 100% rename from x-pack/plugins/maps/public/feature_catalogue_entry.ts rename to x-pack/platform/plugins/shared/maps/public/feature_catalogue_entry.ts diff --git a/x-pack/plugins/maps/public/icon.svg b/x-pack/platform/plugins/shared/maps/public/icon.svg similarity index 100% rename from x-pack/plugins/maps/public/icon.svg rename to x-pack/platform/plugins/shared/maps/public/icon.svg diff --git a/x-pack/plugins/maps/public/index.ts b/x-pack/platform/plugins/shared/maps/public/index.ts similarity index 100% rename from x-pack/plugins/maps/public/index.ts rename to x-pack/platform/plugins/shared/maps/public/index.ts diff --git a/x-pack/plugins/maps/public/index_pattern_util.test.ts b/x-pack/platform/plugins/shared/maps/public/index_pattern_util.test.ts similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.test.ts rename to x-pack/platform/plugins/shared/maps/public/index_pattern_util.test.ts diff --git a/x-pack/plugins/maps/public/index_pattern_util.ts b/x-pack/platform/plugins/shared/maps/public/index_pattern_util.ts similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.ts rename to x-pack/platform/plugins/shared/maps/public/index_pattern_util.ts diff --git a/x-pack/plugins/maps/public/inspector/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/index.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/index.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_adapter.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_adapter.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_adapter.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_adapter.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_details.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_details.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_details.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_inspector_view.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_inspector_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_inspector_view.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_inspector_view.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_view_component.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_view_component.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_view_component.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_view_component.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/types.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/types.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/types.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/types.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/index.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/types.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/types.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/types.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/types.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx diff --git a/x-pack/plugins/maps/public/kibana_services.ts b/x-pack/platform/plugins/shared/maps/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/maps/public/kibana_services.ts rename to x-pack/platform/plugins/shared/maps/public/kibana_services.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_editor.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_editor.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_fn.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_fn.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/to_ast.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/to_ast.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/to_ast.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/to_ast.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/types.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/types.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/utils.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/utils.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/utils.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/geo_hash.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/geo_hash.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/geo_hash.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/geo_hash.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/to_ast.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/to_ast.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/to_ast.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/to_ast.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/types.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/types.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/utils.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/utils.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/utils.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/view_in_maps.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/view_in_maps.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/view_in_maps.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/view_in_maps.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/choropleth_chart.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/choropleth_chart.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/choropleth_chart.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/choropleth_chart.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/expression_function.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_function.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/expression_function.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_function.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/expression_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/expression_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_renderer.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/get_ems_suggestion.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/get_ems_suggestion.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/get_ems_suggestion.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/get_ems_suggestion.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/index.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/index.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/index.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/index.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/region_key_editor.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/region_key_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/region_key_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/region_key_editor.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/setup.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/setup.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/setup.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/setup.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/suggestions.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/suggestions.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/suggestions_lazy.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions_lazy.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/suggestions_lazy.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions_lazy.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/types.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/types.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/types.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/types.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/visualization.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/visualization.tsx diff --git a/x-pack/plugins/maps/public/lens/index.ts b/x-pack/platform/plugins/shared/maps/public/lens/index.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/index.ts rename to x-pack/platform/plugins/shared/maps/public/lens/index.ts diff --git a/x-pack/plugins/maps/public/lens/passive_map.tsx b/x-pack/platform/plugins/shared/maps/public/lens/passive_map.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/passive_map.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/passive_map.tsx diff --git a/x-pack/plugins/maps/public/lens/passive_map_lazy.tsx b/x-pack/platform/plugins/shared/maps/public/lens/passive_map_lazy.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/passive_map_lazy.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/passive_map_lazy.tsx diff --git a/x-pack/plugins/maps/public/licensed_features.ts b/x-pack/platform/plugins/shared/maps/public/licensed_features.ts similarity index 100% rename from x-pack/plugins/maps/public/licensed_features.ts rename to x-pack/platform/plugins/shared/maps/public/licensed_features.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/locator_definition.test.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.test.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/locator_definition.test.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.test.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/types.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/types.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/types.ts diff --git a/x-pack/plugins/maps/public/maps_vis_type_alias.ts b/x-pack/platform/plugins/shared/maps/public/maps_vis_type_alias.ts similarity index 100% rename from x-pack/plugins/maps/public/maps_vis_type_alias.ts rename to x-pack/platform/plugins/shared/maps/public/maps_vis_type_alias.ts diff --git a/x-pack/plugins/maps/public/plugin.ts b/x-pack/platform/plugins/shared/maps/public/plugin.ts similarity index 100% rename from x-pack/plugins/maps/public/plugin.ts rename to x-pack/platform/plugins/shared/maps/public/plugin.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/_index.scss b/x-pack/platform/plugins/shared/maps/public/react_embeddable/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/_index.scss rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/_index.scss diff --git a/x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.test.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.test.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.test.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.test.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_action_handlers.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_action_handlers.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_action_handlers.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_action_handlers.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_cross_panel_actions.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_cross_panel_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_cross_panel_actions.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_cross_panel_actions.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_data_views.test.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.test.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_data_views.test.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.test.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_data_views.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_data_views.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_edit_api.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_edit_api.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_edit_api.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_edit_api.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_fetch.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_fetch.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_fetch.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_fetch.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_redux_sync.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_redux_sync.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_redux_sync.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_redux_sync.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/library_transforms.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/map_embeddables_singleton.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_embeddables_singleton.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_embeddables_singleton.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_embeddables_singleton.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/map_react_embeddable.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_react_embeddable.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_react_embeddable.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_react_embeddable.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/types.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/types.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/types.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/types.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/setup_map_embeddable.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/setup_map_embeddable.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/setup_map_embeddable.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/setup_map_embeddable.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/types.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/types.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts diff --git a/x-pack/plugins/maps/public/reducers/copy_persistent_state.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/copy_persistent_state.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.test.ts diff --git a/x-pack/plugins/maps/public/reducers/copy_persistent_state.ts b/x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/copy_persistent_state.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.ts diff --git a/x-pack/plugins/maps/public/reducers/map/data_request_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/data_request_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.test.ts diff --git a/x-pack/plugins/maps/public/reducers/map/data_request_utils.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/data_request_utils.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.ts diff --git a/x-pack/plugins/maps/public/reducers/map/default_map_settings.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/default_map_settings.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/default_map_settings.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/default_map_settings.ts diff --git a/x-pack/plugins/maps/public/reducers/map/index.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/index.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/index.ts diff --git a/x-pack/plugins/maps/public/reducers/map/layer_utils.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/layer_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/layer_utils.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/layer_utils.ts diff --git a/x-pack/plugins/maps/public/reducers/map/map.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/map.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/map.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/map.test.ts diff --git a/x-pack/plugins/maps/public/reducers/map/map.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/map.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/map.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/map.ts diff --git a/x-pack/plugins/maps/public/reducers/map/types.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/types.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/types.ts diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.d.ts b/x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.d.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/non_serializable_instances.d.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.d.ts diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.js b/x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.js similarity index 100% rename from x-pack/plugins/maps/public/reducers/non_serializable_instances.js rename to x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.js diff --git a/x-pack/plugins/maps/public/reducers/store.d.ts b/x-pack/platform/plugins/shared/maps/public/reducers/store.d.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/store.d.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/store.d.ts diff --git a/x-pack/plugins/maps/public/reducers/store.js b/x-pack/platform/plugins/shared/maps/public/reducers/store.js similarity index 100% rename from x-pack/plugins/maps/public/reducers/store.js rename to x-pack/platform/plugins/shared/maps/public/reducers/store.js diff --git a/x-pack/plugins/maps/public/reducers/ui.ts b/x-pack/platform/plugins/shared/maps/public/reducers/ui.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/ui.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/ui.ts diff --git a/x-pack/plugins/maps/public/render_app.tsx b/x-pack/platform/plugins/shared/maps/public/render_app.tsx similarity index 100% rename from x-pack/plugins/maps/public/render_app.tsx rename to x-pack/platform/plugins/shared/maps/public/render_app.tsx diff --git a/x-pack/plugins/maps/public/routes/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/index.ts diff --git a/x-pack/plugins/maps/public/routes/list_page/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/list_page/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/index.ts diff --git a/x-pack/plugins/maps/public/routes/list_page/load_list_and_render.tsx b/x-pack/platform/plugins/shared/maps/public/routes/list_page/load_list_and_render.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/load_list_and_render.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/load_list_and_render.tsx diff --git a/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx b/x-pack/platform/plugins/shared/maps/public/routes/list_page/maps_list_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/maps_list_view.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/map_app.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/map_app.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_page.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_page.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_page.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_page.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_query.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_query.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_query.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_query.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/saved_map.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/saved_map.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/types.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/types.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/top_nav_config.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/top_nav_config.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/top_nav_config.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/top_nav_config.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_state_manager.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_state_manager.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_sync.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_sync.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/index.ts diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.test.ts b/x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.test.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.test.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.test.ts diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.ts b/x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.ts diff --git a/x-pack/plugins/maps/public/selectors/ui_selectors.ts b/x-pack/platform/plugins/shared/maps/public/selectors/ui_selectors.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/ui_selectors.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/ui_selectors.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/action.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/modal.tsx b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/modal.tsx rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/modal.tsx diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/types.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/types.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/types.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/types.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/get_maps_link.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/get_maps_link.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/get_maps_link.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/get_maps_link.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/action.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/is_compatible.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/is_compatible.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/is_compatible.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/is_compatible.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/modal.tsx b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/modal.tsx rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/modal.tsx diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/types.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/types.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/types.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/types.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/trigger_utils.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/trigger_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/trigger_utils.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/trigger_utils.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/visualize_geo_field_action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/visualize_geo_field_action.ts diff --git a/x-pack/plugins/maps/public/util.ts b/x-pack/platform/plugins/shared/maps/public/util.ts similarity index 100% rename from x-pack/plugins/maps/public/util.ts rename to x-pack/platform/plugins/shared/maps/public/util.ts diff --git a/x-pack/plugins/maps/server/config.ts b/x-pack/platform/plugins/shared/maps/server/config.ts similarity index 100% rename from x-pack/plugins/maps/server/config.ts rename to x-pack/platform/plugins/shared/maps/server/config.ts diff --git a/x-pack/plugins/maps/server/content_management/index.ts b/x-pack/platform/plugins/shared/maps/server/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/index.ts diff --git a/x-pack/plugins/maps/server/content_management/maps_storage.ts b/x-pack/platform/plugins/shared/maps/server/content_management/maps_storage.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/maps_storage.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/maps_storage.ts diff --git a/x-pack/plugins/maps/server/content_management/schema/cm_services.ts b/x-pack/platform/plugins/shared/maps/server/content_management/schema/cm_services.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/schema/cm_services.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/schema/cm_services.ts diff --git a/x-pack/plugins/maps/server/content_management/schema/v1/cm_services.ts b/x-pack/platform/plugins/shared/maps/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/schema/v1/cm_services.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/schema/v1/cm_services.ts diff --git a/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/create_doc_source.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/create_doc_source.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/create_doc_source.ts diff --git a/x-pack/plugins/maps/server/data_indexing/get_indexes_matching_pattern.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/get_indexes_matching_pattern.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/get_indexes_matching_pattern.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/get_indexes_matching_pattern.ts diff --git a/x-pack/plugins/maps/server/data_indexing/index_data.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/index_data.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/index_data.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/index_data.ts diff --git a/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts similarity index 86% rename from x-pack/plugins/maps/server/data_indexing/indexing_routes.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts index e7cb10427a297..987fd23a13d4f 100644 --- a/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts +++ b/x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts @@ -46,6 +46,13 @@ export function initIndexingRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { body: schema.object({ @@ -98,6 +105,13 @@ export function initIndexingRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { body: schema.object({ @@ -134,6 +148,13 @@ export function initIndexingRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { params: schema.object({ @@ -196,6 +217,13 @@ export function initIndexingRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { query: schema.object({ @@ -223,6 +251,13 @@ export function initIndexingRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { query: schema.object({ diff --git a/x-pack/plugins/maps/server/embeddable/embeddable_migrations.test.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.test.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/embeddable_migrations.test.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.test.ts diff --git a/x-pack/plugins/maps/server/embeddable/embeddable_migrations.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/embeddable_migrations.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.ts diff --git a/x-pack/plugins/maps/server/embeddable/index.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/index.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/index.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/index.ts diff --git a/x-pack/plugins/maps/server/embeddable/setup_embeddable.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/setup_embeddable.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/setup_embeddable.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/setup_embeddable.ts diff --git a/x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/1024-1279.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/1024-1279.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/1024-1279.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/1024-1279.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/256-511.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/256-511.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/256-511.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/256-511.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/768-1023.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/768-1023.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/768-1023.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/768-1023.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/8192-8447.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/8192-8447.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/8192-8447.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/8192-8447.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/license.txt b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/license.txt similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/license.txt rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/license.txt diff --git a/x-pack/plugins/maps/server/index.ts b/x-pack/platform/plugins/shared/maps/server/index.ts similarity index 100% rename from x-pack/plugins/maps/server/index.ts rename to x-pack/platform/plugins/shared/maps/server/index.ts diff --git a/x-pack/plugins/maps/server/kibana_server_services.ts b/x-pack/platform/plugins/shared/maps/server/kibana_server_services.ts similarity index 100% rename from x-pack/plugins/maps/server/kibana_server_services.ts rename to x-pack/platform/plugins/shared/maps/server/kibana_server_services.ts diff --git a/x-pack/plugins/maps/server/lib/get_index_pattern_settings.test.js b/x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.test.js similarity index 100% rename from x-pack/plugins/maps/server/lib/get_index_pattern_settings.test.js rename to x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.test.js diff --git a/x-pack/plugins/maps/server/lib/get_index_pattern_settings.ts b/x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.ts similarity index 100% rename from x-pack/plugins/maps/server/lib/get_index_pattern_settings.ts rename to x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register_collector.test.js b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register_collector.test.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/collectors/register_collector.test.js rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register_collector.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/find_maps.test.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.test.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/find_maps.test.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.test.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/find_maps.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/find_maps.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/index.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/index.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/index.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/index.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/types.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/types.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/types.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/types.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/maps_telemetry.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/maps_telemetry.ts diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.test.ts b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.test.ts similarity index 100% rename from x-pack/plugins/maps/server/mvt/mvt_routes.test.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.test.ts diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.ts b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts similarity index 95% rename from x-pack/plugins/maps/server/mvt/mvt_routes.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts index f768eb93dd9a3..aa3f0c51f69ea 100644 --- a/x-pack/plugins/maps/server/mvt/mvt_routes.ts +++ b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts @@ -41,6 +41,13 @@ export function initMVTRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { params: schema.object({ @@ -117,6 +124,13 @@ export function initMVTRoutes({ .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { params: schema.object({ diff --git a/x-pack/plugins/maps/server/plugin.ts b/x-pack/platform/plugins/shared/maps/server/plugin.ts similarity index 100% rename from x-pack/plugins/maps/server/plugin.ts rename to x-pack/platform/plugins/shared/maps/server/plugin.ts diff --git a/x-pack/plugins/maps/server/register_integrations.ts b/x-pack/platform/plugins/shared/maps/server/register_integrations.ts similarity index 100% rename from x-pack/plugins/maps/server/register_integrations.ts rename to x-pack/platform/plugins/shared/maps/server/register_integrations.ts diff --git a/x-pack/plugins/maps/server/routes.ts b/x-pack/platform/plugins/shared/maps/server/routes.ts similarity index 89% rename from x-pack/plugins/maps/server/routes.ts rename to x-pack/platform/plugins/shared/maps/server/routes.ts index 32f7a9e6c18ea..7bfa80dfe5bd4 100644 --- a/x-pack/plugins/maps/server/routes.ts +++ b/x-pack/platform/plugins/shared/maps/server/routes.ts @@ -27,6 +27,13 @@ export function initRoutes(coreSetup: CoreSetup, logger: Logger) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it is only serving static files.', + }, + }, validate: { request: { params: schema.object({ @@ -66,6 +73,13 @@ export function initRoutes(coreSetup: CoreSetup, logger: Logger) { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because permissions will be checked by elasticsearch.', + }, + }, validate: { request: { query: schema.object({ diff --git a/x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/ecommerce_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/ecommerce_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/flights_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/flights_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/flights_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/flights_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/web_logs_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/web_logs_saved_objects.js diff --git a/x-pack/plugins/maps/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/index.ts diff --git a/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/saved_object_migrations.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/saved_object_migrations.ts diff --git a/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts diff --git a/x-pack/plugins/maps/server/test_utils/index.js b/x-pack/platform/plugins/shared/maps/server/test_utils/index.js similarity index 100% rename from x-pack/plugins/maps/server/test_utils/index.js rename to x-pack/platform/plugins/shared/maps/server/test_utils/index.js diff --git a/x-pack/plugins/maps/server/tutorials/ems/index.ts b/x-pack/platform/plugins/shared/maps/server/tutorials/ems/index.ts similarity index 100% rename from x-pack/plugins/maps/server/tutorials/ems/index.ts rename to x-pack/platform/plugins/shared/maps/server/tutorials/ems/index.ts diff --git a/x-pack/plugins/maps/server/types.ts b/x-pack/platform/plugins/shared/maps/server/types.ts similarity index 100% rename from x-pack/plugins/maps/server/types.ts rename to x-pack/platform/plugins/shared/maps/server/types.ts diff --git a/x-pack/plugins/maps/tsconfig.json b/x-pack/platform/plugins/shared/maps/tsconfig.json similarity index 96% rename from x-pack/plugins/maps/tsconfig.json rename to x-pack/platform/plugins/shared/maps/tsconfig.json index e82e35b5ccbfd..23f39932990bb 100644 --- a/x-pack/plugins/maps/tsconfig.json +++ b/x-pack/platform/plugins/shared/maps/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "allowJs": true @@ -9,7 +9,7 @@ "public/**/*", "server/**/*", "server/config.ts", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx index 44a9d4f860ecd..988e982614747 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx @@ -66,7 +66,8 @@ export const JobMessages: FC = ({ '' ), render: (message: JobMessage) => , - width: `${euiTheme.size.l}`, + width: `${euiTheme.size.xl}`, + align: 'center', }, { field: 'timestamp', @@ -74,7 +75,7 @@ export const JobMessages: FC = ({ defaultMessage: 'Time', }), render: timeFormatter, - width: '120px', + width: '25%', sortable: true, }, { @@ -82,7 +83,6 @@ export const JobMessages: FC = ({ name: i18n.translate('xpack.ml.jobMessages.messageLabel', { defaultMessage: 'Message', }), - width: '50%', }, ]; @@ -92,7 +92,7 @@ export const JobMessages: FC = ({ name: i18n.translate('xpack.ml.jobMessages.nodeLabel', { defaultMessage: 'Node', }), - width: '150px', + width: '15%', }); } @@ -101,7 +101,7 @@ export const JobMessages: FC = ({ name: i18n.translate('xpack.ml.jobMessages.actionsLabel', { defaultMessage: 'Actions', }), - width: '10%', + width: '15%', actions: [ { render: (message: JobMessage) => { @@ -131,7 +131,7 @@ export const JobMessages: FC = ({ } return cols; - }, [showNodeInfo, refreshMessage, actionHandler, euiTheme]); + }, [refreshMessage, euiTheme.size.xl, showNodeInfo, actionHandler]); const defaultSorting = { sort: { diff --git a/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts index c6142e715bad7..f24a541884555 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts +++ b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts @@ -5,9 +5,10 @@ * 2.0. */ -import { useCallback } from 'react'; +import { useCallback, useMemo } from 'react'; import { stringHash } from '@kbn/ml-string-hash'; import { AttachmentType } from '@kbn/cases-plugin/common'; +import { i18n } from '@kbn/i18n'; import { useMlKibana } from './kibana_context'; import type { MappedEmbeddableTypeOf, MlEmbeddableTypes } from '../../../embeddables'; @@ -15,13 +16,25 @@ import type { MappedEmbeddableTypeOf, MlEmbeddableTypes } from '../../../embedda * Returns a callback for opening the cases modal with provided attachment state. */ export const useCasesModal = ( - embeddableType: EmbeddableType + embeddableType: EmbeddableType, + title: string ) => { const { services: { cases }, } = useMlKibana(); - const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal(); + const successMessage = useMemo(() => { + return i18n.translate('xpack.ml.useCasesModal.successMessage', { + defaultMessage: '{title} added to case.', + values: { title }, + }); + }, [title]); + + const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal({ + successToaster: { + content: successMessage, + }, + }); return useCallback( (persistableState: Partial, 'id'>>) => { @@ -48,7 +61,7 @@ export const useCasesModal = ( ], }); }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [embeddableType] + + [embeddableType, selectCaseModal] ); }; diff --git a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx index 4b17004865502..6b7569dcddd8d 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx @@ -14,6 +14,7 @@ import { EuiFlexGroup, EuiFlexItem, EUI_MODAL_CONFIRM_BUTTON, + EuiSpacer, } from '@elastic/eui'; import type { DeleteAction } from './use_delete_action'; @@ -79,16 +80,22 @@ export const DeleteActionModal: FC = ({ {userCanDeleteIndex && dataViewExists && ( - + <> + + + )} diff --git a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx index 9fe4da68aa6f8..08360eb4f2cca 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx @@ -281,7 +281,18 @@ export function AnalyticsIdSelector({ {renderTabs()} - + + + + {i18n.translate('xpack.ml.analyticsSelector.closeFlyoutButton', { + defaultMessage: 'Close', + })} + + - - - {i18n.translate('xpack.ml.analyticsSelector.closeFlyoutButton', { - defaultMessage: 'Close', - })} - - diff --git a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx index 7904a55264d08..ccee7f8fa1be5 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx @@ -52,6 +52,7 @@ import { useMlKibana } from '../contexts/kibana'; import type { AppStateSelectedCells, ExplorerJob } from './explorer_utils'; import { getSelectionInfluencers, getSelectionTimeRange } from './explorer_utils'; import { getDefaultExplorerChartsPanelTitle } from '../../embeddables/anomaly_charts/utils'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; interface AnomalyContextMenuProps { selectedJobs: ExplorerJob[]; @@ -99,7 +100,10 @@ export const AnomalyContextMenu: FC = ({ [setIsMenuOpen] ); - const openCasesModal = useCasesModal(ANOMALY_EXPLORER_CHARTS_EMBEDDABLE_TYPE); + const openCasesModal = useCasesModal( + ANOMALY_EXPLORER_CHARTS_EMBEDDABLE_TYPE, + CASES_TOAST_MESSAGES_TITLES.ANOMALY_CHARTS(maxSeriesToPlot) + ); const canEditDashboards = capabilities.dashboard?.createNew ?? false; const casesPrivileges = cases?.helpers.canUseCases(); @@ -266,6 +270,7 @@ export const AnomalyContextMenu: FC = ({ /> ), panel: 'addToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'mlAnomalyAddChartsToDashboardButton', }); @@ -286,6 +291,7 @@ export const AnomalyContextMenu: FC = ({ name: ( ), + icon: 'casesApp', panel: 'addToCasePanel', 'data-test-subj': 'mlAnomalyAttachChartsToCasesButton', }); @@ -329,6 +335,7 @@ export const AnomalyContextMenu: FC = ({ defaultMessage: 'Actions', })} color="text" + display="base" iconType="boxesHorizontal" onClick={setIsMenuOpen.bind(null, !isMenuOpen)} data-test-subj="mlExplorerAnomalyPanelMenu" diff --git a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx index cad2ef9376890..e70ca44772ed8 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx @@ -66,6 +66,7 @@ import { useAnomalyExplorerContext } from './anomaly_explorer_context'; import { getTimeBoundsFromSelection } from './hooks/use_selected_cells'; import { SwimLaneWrapper } from './alerts'; import { Y_AXIS_LABEL_WIDTH } from './constants'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; import type { ExplorerState } from './explorer_data'; import { useJobSelection } from './hooks/use_job_selection'; @@ -187,7 +188,10 @@ export const AnomalyTimeline: FC = React.memo( [severityUpdate, swimLaneSeverity] ); - const openCasesModalCallback = useCasesModal(ANOMALY_SWIMLANE_EMBEDDABLE_TYPE); + const openCasesModalCallback = useCasesModal( + ANOMALY_SWIMLANE_EMBEDDABLE_TYPE, + CASES_TOAST_MESSAGES_TITLES.ANOMALY_TIMELINE + ); const openCasesModal = useCallback( (swimLaneType: SwimlaneType) => { @@ -235,6 +239,7 @@ export const AnomalyTimeline: FC = React.memo( /> ), panel: 'addToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'mlAnomalyTimelinePanelAddToDashboardButton', }); @@ -280,6 +285,7 @@ export const AnomalyTimeline: FC = React.memo( defaultMessage="Add to case" /> ), + icon: 'casesApp', 'data-test-subj': 'mlAnomalyTimelinePanelAttachToCaseButton', }); @@ -428,6 +434,8 @@ export const AnomalyTimeline: FC = React.memo( defaultMessage: 'Actions', })} color="text" + display="base" + isSelected={isMenuOpen} iconType="boxesHorizontal" onClick={setIsMenuOpen.bind(null, !isMenuOpen)} data-test-subj="mlAnomalyTimelinePanelMenu" diff --git a/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx index d9e4c0e25f78d..5ae83fcba9ab7 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx @@ -7,25 +7,18 @@ import type { FC } from 'react'; import React, { useEffect, useState, useCallback, useMemo } from 'react'; -import { - Chart, - Settings, - Partition, - PartitionLayout, - DARK_THEME, - LIGHT_THEME, -} from '@elastic/charts'; +import { Chart, Settings, Partition, PartitionLayout } from '@elastic/charts'; import { FIELD_FORMAT_IDS } from '@kbn/field-formats-plugin/common'; import type { EuiComboBoxOptionOption } from '@elastic/eui'; import { EuiComboBox, EuiEmptyPrompt, EuiSpacer } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import { useIsDarkTheme } from '@kbn/ml-kibana-theme'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import type { MemoryUsageInfo } from '../../../../common/types/trained_models'; import type { JobType, MlSavedObjectType } from '../../../../common/types/saved_objects'; import { useTrainedModelsApiService } from '../../services/ml_api_service/trained_models'; import { LoadingWrapper } from '../../jobs/new_job/pages/components/charts/loading_wrapper'; -import { useFieldFormatter, useMlKibana } from '../../contexts/kibana'; +import { useFieldFormatter } from '../../contexts/kibana'; import { useRefresh } from '../../routing/use_refresh'; import { getMemoryItemColor } from '../memory_item_colors'; @@ -61,12 +54,7 @@ const TYPE_LABELS_INVERTED = Object.entries(TYPE_LABELS).reduce = ({ node, type, height }) => { - const { - services: { theme: themeService }, - } = useMlKibana(); - const isDarkTheme = useIsDarkTheme(themeService); - - const baseTheme = useMemo(() => (isDarkTheme ? DARK_THEME : LIGHT_THEME), [isDarkTheme]); + const baseTheme = useElasticChartsTheme(); const { isADEnabled, isDFAEnabled, isNLPEnabled } = useEnabledFeatures(); diff --git a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx index c989bb6ebd38d..cf94ada9c35c9 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx @@ -20,6 +20,8 @@ export const ForecastButton: FC = ({ isDisabled, onClick, mode = 'full' } const Button = mode === 'full' ? EuiButton : EuiButtonEmpty; return (
diff --git a/x-pack/plugins/cases/public/components/configure_cases/translations.ts b/x-pack/plugins/cases/public/components/configure_cases/translations.ts index 4fe462655dcc1..174bb5fafecd7 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/translations.ts +++ b/x-pack/plugins/cases/public/components/configure_cases/translations.ts @@ -186,3 +186,17 @@ export const CREATE_TEMPLATE = i18n.translate('xpack.cases.configureCases.templa export const EDIT_TEMPLATE = i18n.translate('xpack.cases.configureCases.templates.editTemplate', { defaultMessage: 'Edit template', }); + +export const ADD_OBSERVABLE_TYPE = i18n.translate( + 'xpack.cases.configureCases.observableTypes.addObservableType', + { + defaultMessage: 'Add observable type', + } +); + +export const EDIT_OBSERVABLE_TYPE = i18n.translate( + 'xpack.cases.configureCases.observableTypes.editObservableType', + { + defaultMessage: 'Edit observable type', + } +); diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx b/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx index ef3f4a8584141..73ae8590f1376 100644 --- a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx +++ b/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx @@ -15,12 +15,14 @@ interface Props { icon?: boolean; size?: EuiBetaBadgeProps['size']; compact?: boolean; + 'data-test-subj'?: string; } const ExperimentalBadgeComponent: React.FC = ({ icon = false, size = 's', compact = false, + 'data-test-subj': testSubj = 'case-experimental-badge', }) => { const props: EuiBetaBadgeProps = { label: compact ? null : EXPERIMENTAL_LABEL, @@ -28,7 +30,7 @@ const ExperimentalBadgeComponent: React.FC = ({ ...((icon || compact) && { iconType: 'beaker' }), tooltipContent: EXPERIMENTAL_DESC, tooltipPosition: 'bottom' as const, - 'data-test-subj': 'case-experimental-badge', + 'data-test-subj': testSubj, }; const { euiTheme } = useEuiTheme(); diff --git a/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.test.tsx b/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.test.tsx new file mode 100644 index 0000000000000..caa622c2c32cd --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.test.tsx @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import userEvent from '@testing-library/user-event'; +import React from 'react'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { DeleteConfirmationModal } from './delete_confirmation_modal'; + +describe('DeleteConfirmationModal', () => { + let appMock: AppMockRenderer; + const props = { + label: 'Delete observable', + onCancel: jest.fn(), + onConfirm: jest.fn(), + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('confirm-delete-observable-modal')).toBeInTheDocument(); + expect(result.getByText('Delete')).toBeInTheDocument(); + expect(result.getByText('Cancel')).toBeInTheDocument(); + }); + + it('calls onConfirm', async () => { + const result = appMock.render(); + + expect(result.getByText('Delete')).toBeInTheDocument(); + await userEvent.click(result.getByText('Delete')); + + expect(props.onConfirm).toHaveBeenCalled(); + }); + + it('calls onCancel', async () => { + const result = appMock.render(); + + expect(result.getByText('Cancel')).toBeInTheDocument(); + await userEvent.click(result.getByText('Cancel')); + + expect(props.onCancel).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.tsx b/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.tsx new file mode 100644 index 0000000000000..7b3d7bd0a48b9 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.tsx @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiConfirmModal } from '@elastic/eui'; +import * as i18n from './translations'; + +interface ConfirmDeleteCaseModalProps { + label: string; + onCancel: () => void; + onConfirm: () => void; +} + +const DeleteConfirmationModalComponent: React.FC = ({ + label, + onCancel, + onConfirm, +}) => { + return ( + + {i18n.DELETE_OBSERVABLE_TYPE_DESCRIPTION} + + ); +}; +DeleteConfirmationModalComponent.displayName = 'DeleteConfirmationModal'; + +export const DeleteConfirmationModal = React.memo(DeleteConfirmationModalComponent); diff --git a/x-pack/plugins/cases/public/components/observable_types/form.test.tsx b/x-pack/plugins/cases/public/components/observable_types/form.test.tsx new file mode 100644 index 0000000000000..a4feb8fa0b467 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/form.test.tsx @@ -0,0 +1,127 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { ObservableTypesForm, type ObservableTypesFormProps } from './form'; +import { fireEvent, screen, waitFor } from '@testing-library/react'; +import type { FormState } from '../configure_cases/flyout'; +import type { ObservableTypeConfiguration } from '../../../common/types/domain/configure/v1'; +import { MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH } from '../../../common/constants'; + +describe('ObservableTypesForm ', () => { + let appMock: AppMockRenderer; + + const props: ObservableTypesFormProps = { + onChange: jest.fn(), + initialValue: null, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + appMock.render(); + expect(await screen.findByTestId('observable-types-form')).toBeInTheDocument(); + }); + + describe('when initial value is set', () => { + let formState: FormState; + const onChangeState = (state: FormState) => (formState = state); + + it('should pass initial key to onChange handler', async () => { + appMock.render( + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const labelInput = await screen.findByTestId('observable-type-label-input'); + + expect(labelInput).toBeInTheDocument(); + + fireEvent.change(labelInput, { + target: { value: 'changed label' }, + }); + + const { data, isValid } = await formState!.submit(); + + expect(isValid).toEqual(true); + expect(data.key).toEqual('initial-key'); + expect(data.label).toEqual('changed label'); + }); + + it('should not allow invalid labels', async () => { + appMock.render( + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const labelInput = await screen.findByTestId('observable-type-label-input'); + + expect(labelInput).toBeInTheDocument(); + + fireEvent.change(labelInput, { + target: { value: '' }, + }); + + const { isValid } = await formState!.submit(); + + expect(isValid).toEqual(false); + + fireEvent.change(labelInput, { + target: { value: 'a'.repeat(MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH + 1) }, + }); + + const { isValid: isValidWithTooLongLabel } = await formState!.submit(); + + expect(isValidWithTooLongLabel).toEqual(false); + }); + }); + + describe('when initial value is missing', () => { + it('should pass generated key to onChange handler', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMock.render(); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const labelInput = await screen.findByTestId('observable-type-label-input'); + + expect(labelInput).toBeInTheDocument(); + + fireEvent.change(labelInput, { + target: { value: 'changed label' }, + }); + + const { data, isValid } = await formState!.submit(); + + expect(isValid).toEqual(true); + expect(data.key).toEqual(expect.any(String)); + expect(data.label).toEqual('changed label'); + }); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observable_types/form.tsx b/x-pack/plugins/cases/public/components/observable_types/form.tsx new file mode 100644 index 0000000000000..ce51953a1cbeb --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/form.tsx @@ -0,0 +1,48 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Form, useForm } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import React, { useEffect, useMemo } from 'react'; +import { v4 as uuidv4 } from 'uuid'; + +import { schema } from './schema'; +import { FormFields } from './form_fields'; +import type { ObservableTypeConfiguration } from '../../../common/types/domain'; +import type { FormState } from '../configure_cases/flyout'; + +export interface ObservableTypesFormProps { + onChange: (state: FormState) => void; + initialValue: ObservableTypeConfiguration | null; +} + +const FormComponent: React.FC = ({ onChange, initialValue }) => { + const defaultValue = useMemo(() => ({ key: uuidv4(), label: '' }), []); + + const { form } = useForm({ + defaultValue: initialValue || defaultValue, + options: { stripEmptyFields: false }, + schema, + }); + + const { submit, isValid, isSubmitting } = form; + + useEffect(() => { + if (onChange) { + onChange({ isValid, submit }); + } + }, [onChange, isValid, submit]); + + return ( + + + + ); +}; + +FormComponent.displayName = 'ObservableTypesForm '; + +export const ObservableTypesForm = React.memo(FormComponent); diff --git a/x-pack/plugins/cases/public/components/observable_types/form_fields.test.tsx b/x-pack/plugins/cases/public/components/observable_types/form_fields.test.tsx new file mode 100644 index 0000000000000..74dd03bb0959e --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/form_fields.test.tsx @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; + +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { FormTestComponent } from '../../common/test_utils'; +import { FormFields } from './form_fields'; + +describe('FormFields ', () => { + let appMockRender: AppMockRenderer; + const onSubmit = jest.fn(); + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('renders correctly', async () => { + appMockRender.render( + + + + ); + + expect(await screen.findByTestId('observable-type-label-input')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observable_types/form_fields.tsx b/x-pack/plugins/cases/public/components/observable_types/form_fields.tsx new file mode 100644 index 0000000000000..ea4b21dbd8acb --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/form_fields.tsx @@ -0,0 +1,39 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { memo, useMemo } from 'react'; +import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { TextField, HiddenField } from '@kbn/es-ui-shared-plugin/static/forms/components'; + +interface FormFieldsProps { + isSubmitting?: boolean; +} + +const FormFieldsComponent: React.FC = ({ isSubmitting }) => { + const labelFieldProps = useMemo( + () => ({ + euiFieldProps: { + 'data-test-subj': 'observable-type-label-input', + fullWidth: true, + autoFocus: true, + isLoading: isSubmitting, + }, + }), + [isSubmitting] + ); + + return ( + <> + + + + ); +}; + +FormFieldsComponent.displayName = 'FormFields'; + +export const FormFields = memo(FormFieldsComponent); diff --git a/x-pack/plugins/cases/public/components/observable_types/index.test.tsx b/x-pack/plugins/cases/public/components/observable_types/index.test.tsx new file mode 100644 index 0000000000000..6709e6f5f811d --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/index.test.tsx @@ -0,0 +1,79 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; + +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer, noCasesPermissions } from '../../common/mock'; +import type { ObservableTypesProps } from '.'; +import { ObservableTypes } from '.'; +import { observableTypesMock } from '../../containers/mock'; +import * as i18n from './translations'; +import { MAX_CUSTOM_OBSERVABLE_TYPES } from '../../../common/constants'; + +describe('ObservableTypes', () => { + let appMock: AppMockRenderer; + + const props: ObservableTypesProps = { + disabled: false, + isLoading: false, + observableTypes: [], + handleAddObservableType: jest.fn(), + handleEditObservableType: jest.fn(), + handleDeleteObservableType: jest.fn(), + }; + + describe('with sufficient permissions', () => { + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly when there are no observable types', async () => { + appMock.render(); + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('observable-types-list')).not.toBeInTheDocument(); + }); + + it('renders correctly when there are observable types', async () => { + appMock.render(); + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(await screen.findByTestId('observable-types-list')).toBeInTheDocument(); + }); + + it('shows error when custom fields reaches the limit', async () => { + const generatedMockCustomFields = []; + + for (let i = 0; i < 11; i++) { + generatedMockCustomFields.push({ + key: `field_key_${i + 1}`, + label: `My custom label ${i + 1}`, + }); + } + + const observableTypes = [...generatedMockCustomFields]; + + appMock.render(); + + expect(await screen.findByText(i18n.MAX_OBSERVABLE_TYPES_LIMIT(MAX_CUSTOM_OBSERVABLE_TYPES))); + expect(screen.queryByTestId('add-observable-type')).not.toBeInTheDocument(); + }); + }); + + describe('with insufficient permissions', () => { + beforeEach(() => { + appMock = createAppMockRenderer({ permissions: noCasesPermissions() }); + jest.clearAllMocks(); + }); + + it('renders correctly when there are no observable types', async () => { + appMock.render(); + expect(screen.queryByTestId('observable-types-form-group')).not.toBeInTheDocument(); + }); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observable_types/index.tsx b/x-pack/plugins/cases/public/components/observable_types/index.tsx new file mode 100644 index 0000000000000..c1106ef692132 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/index.tsx @@ -0,0 +1,120 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback } from 'react'; +import { + EuiButtonEmpty, + EuiPanel, + EuiDescribedFormGroup, + EuiSpacer, + EuiFlexGroup, + EuiFlexItem, + EuiText, +} from '@elastic/eui'; + +import { MAX_CUSTOM_OBSERVABLE_TYPES } from '../../../common/constants'; +import * as i18n from './translations'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import type { ObservableTypesConfiguration } from '../../../common/types/domain'; +import { ObservableTypesList } from './observable_types_list'; + +export interface ObservableTypesProps { + observableTypes: ObservableTypesConfiguration; + disabled: boolean; + isLoading: boolean; + handleAddObservableType: () => void; + handleDeleteObservableType: (key: string) => void; + handleEditObservableType: (key: string) => void; +} +const ObservableTypesComponent: React.FC = ({ + disabled, + isLoading, + handleAddObservableType, + handleDeleteObservableType, + handleEditObservableType, + observableTypes, +}) => { + const { permissions } = useCasesContext(); + const canModifyObservableTypes = !disabled && permissions.settings; + + const onAddObservableType = useCallback(() => { + handleAddObservableType(); + }, [handleAddObservableType]); + + const onEditObservableType = useCallback( + (key: string) => { + handleEditObservableType(key); + }, + [handleEditObservableType] + ); + + if (!permissions.settings) { + return null; + } + + return ( + + {i18n.TITLE} + + } + description={

{i18n.DESCRIPTION}

} + data-test-subj="observable-types-form-group" + > + + {observableTypes.length ? ( + <> + + + ) : null} + + {!observableTypes.length ? ( + + + {i18n.NO_OBSERVABLE_TYPES} + + + + ) : null} + + + {observableTypes.length < MAX_CUSTOM_OBSERVABLE_TYPES ? ( + + {i18n.ADD_OBSERVABLE_TYPE} + + ) : ( + + + {i18n.MAX_OBSERVABLE_TYPES_LIMIT(MAX_CUSTOM_OBSERVABLE_TYPES)} + + + )} + + + + + +
+ ); +}; +ObservableTypesComponent.displayName = 'CustomFields'; + +export const ObservableTypes = React.memo(ObservableTypesComponent); diff --git a/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.test.tsx b/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.test.tsx new file mode 100644 index 0000000000000..db2d6adb3234c --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.test.tsx @@ -0,0 +1,131 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen, within, waitFor } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; + +import type { AppMockRenderer } from '../../../common/mock'; +import { createAppMockRenderer } from '../../../common/mock'; +import { ObservableTypesList, type ObservableTypesListProps } from '.'; + +const observableTypes = [ + { label: 'Test Observable Type', key: 'deb68304-da86-483c-b5ed-ff5b3420e340' }, + { label: 'Test Observable Type vol 2', key: '532433db-045f-4ccc-b73c-db9441f0eefa' }, +]; + +describe('ObservableTypesList', () => { + let appMockRender: AppMockRenderer; + + const props: ObservableTypesListProps = { + disabled: false, + observableTypes, + onDeleteObservableType: jest.fn(), + onEditObservableType: jest.fn(), + }; + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('renders correctly', () => { + appMockRender.render(); + + expect(screen.getByTestId('observable-types-list')).toBeInTheDocument(); + }); + + it('shows ObservableTypesList correctly', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('observable-types-list')).toBeInTheDocument(); + + expect( + await screen.findByTestId(`observable-type-${observableTypes[0].key}`) + ).toBeInTheDocument(); + expect(await screen.findByText('Test Observable Type')).toBeInTheDocument(); + expect( + await screen.findByTestId(`observable-type-${observableTypes[1].key}`) + ).toBeInTheDocument(); + }); + + describe('Delete', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('shows confirmation modal when deleting a field ', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + }); + + it('calls onDeleteObservableType when confirm', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(await screen.findByText('Delete')); + + await waitFor(() => { + expect(screen.queryByTestId('confirm-delete-modal')).not.toBeInTheDocument(); + expect(props.onDeleteObservableType).toHaveBeenCalledWith(observableTypes[0].key); + }); + }); + + it('does not call onDeleteObservableType when cancel', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(await screen.findByText('Cancel')); + + await waitFor(() => { + expect(screen.queryByTestId('confirm-delete-modal')).not.toBeInTheDocument(); + expect(props.onDeleteObservableType).not.toHaveBeenCalledWith(); + }); + }); + }); + + describe('Edit', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('calls onEditObservableType correctly', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-edit`) + ); + + await waitFor(() => { + expect(props.onEditObservableType).toHaveBeenCalledWith(observableTypes[0].key); + }); + }); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.tsx b/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.tsx new file mode 100644 index 0000000000000..bdb898c718e8b --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.tsx @@ -0,0 +1,116 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback, useState } from 'react'; +import { + EuiPanel, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiText, + EuiButtonIcon, +} from '@elastic/eui'; +import * as i18n from '../translations'; + +import type { ObservableTypesConfiguration } from '../../../../common/types/domain'; +import { DeleteConfirmationModal } from '../../configure_cases/delete_confirmation_modal'; + +export interface ObservableTypesListProps { + disabled: boolean; + observableTypes: ObservableTypesConfiguration; + onDeleteObservableType: (key: string) => void; + onEditObservableType: (key: string) => void; +} + +const ObservableTypesListComponent: React.FC = (props) => { + const { observableTypes, onDeleteObservableType, onEditObservableType } = props; + const [selectedItem, setSelectedItem] = useState( + null + ); + + const onConfirm = useCallback(() => { + if (selectedItem) { + onDeleteObservableType(selectedItem.key); + } + + setSelectedItem(null); + }, [onDeleteObservableType, setSelectedItem, selectedItem]); + + const onCancel = useCallback(() => { + setSelectedItem(null); + }, []); + + const showModal = Boolean(selectedItem); + + return observableTypes.length ? ( + <> + + + + {observableTypes.map((observableType) => ( + + + + + + + +

{observableType.label}

+
+
+
+
+ + + + onEditObservableType(observableType.key)} + /> + + + setSelectedItem(observableType)} + /> + + + +
+
+ +
+ ))} +
+ {showModal && selectedItem ? ( + + ) : null} +
+ + ) : null; +}; + +ObservableTypesListComponent.displayName = 'ObservableTypesListComponent'; + +export const ObservableTypesList = React.memo(ObservableTypesListComponent); diff --git a/x-pack/plugins/cases/public/components/observable_types/schema.tsx b/x-pack/plugins/cases/public/components/observable_types/schema.tsx new file mode 100644 index 0000000000000..53a54cc5bddd9 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/schema.tsx @@ -0,0 +1,39 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import * as i18n from './translations'; +import { MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH } from '../../../common/constants'; + +const { emptyField, maxLengthField } = fieldValidators; + +export const schema = { + key: { + validations: [ + { + validator: emptyField('key'), + }, + ], + }, + label: { + label: i18n.OBSERVABLE_TYPE_LABEL, + validations: [ + { + validator: emptyField(i18n.REQUIRED_FIELD(i18n.OBSERVABLE_TYPE_LABEL.toLocaleLowerCase())), + }, + { + validator: maxLengthField({ + length: MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH, + message: i18n.MAX_LENGTH_ERROR( + i18n.OBSERVABLE_TYPE_LABEL.toLocaleLowerCase(), + MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH + ), + }), + }, + ], + }, +}; diff --git a/x-pack/plugins/cases/public/components/observable_types/translations.ts b/x-pack/plugins/cases/public/components/observable_types/translations.ts new file mode 100644 index 0000000000000..61218e536ae90 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observable_types/translations.ts @@ -0,0 +1,59 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export * from '../../common/translations'; + +export const TITLE = i18n.translate('xpack.cases.observableTypes.title', { + defaultMessage: 'Observable types', +}); + +export const DESCRIPTION = i18n.translate('xpack.cases.observableTypes.description', { + defaultMessage: 'Add observable types for customized case collaboration.', +}); + +export const NO_OBSERVABLE_TYPES = i18n.translate('xpack.cases.observableTypes.noObservableTypes', { + defaultMessage: 'You do not have any observable types yet', +}); + +export const ADD_OBSERVABLE_TYPE = i18n.translate('xpack.cases.observableTypes.addObservableType', { + defaultMessage: 'Add observable type', +}); + +export const OBSERVABLE_TYPE_LABEL = i18n.translate('xpack.cases.observableTypes.fieldLabel', { + defaultMessage: 'Observable type label', +}); + +export const REQUIRED_FIELD = (fieldName: string): string => + i18n.translate('xpack.cases.observableTypes.requiredField', { + values: { fieldName }, + defaultMessage: '{fieldName} is required.', + }); + +export const DELETE_OBSERVABLE_TYPE_TITLE = (fieldName: string) => + i18n.translate('xpack.cases.observableTypes.deleteField', { + values: { fieldName }, + defaultMessage: 'Delete observable type "{fieldName}"?', + }); + +export const DELETE_OBSERVABLE_TYPE_DESCRIPTION = i18n.translate( + 'xpack.cases.observableTypes.deleteObservableTypeDescription', + { + defaultMessage: 'The observable type will be removed from all cases and data will be lost.', + } +); + +export const DELETE = i18n.translate('xpack.cases.observableTypes.options.Delete', { + defaultMessage: 'Delete', +}); + +export const MAX_OBSERVABLE_TYPES_LIMIT = (maxObservableTypesLimit: number) => + i18n.translate('xpack.cases.observableTypes.maxObservableTypesLimit', { + values: { maxObservableTypesLimit }, + defaultMessage: 'Maximum number of {maxObservableTypesLimit} observable types reached.', + }); diff --git a/x-pack/plugins/cases/public/components/observables/add_observable.test.tsx b/x-pack/plugins/cases/public/components/observables/add_observable.test.tsx new file mode 100644 index 0000000000000..7e88b78db49d3 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/add_observable.test.tsx @@ -0,0 +1,102 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { createAppMockRenderer, noCasesPermissions } from '../../common/mock'; +import type { AddObservableProps } from './add_observable'; +import { AddObservable } from './add_observable'; +import { mockCase } from '../../containers/mock'; +import { licensingMock } from '@kbn/licensing-plugin/public/mocks'; +import userEvent from '@testing-library/user-event'; +import { screen } from '@testing-library/react'; +import { OBSERVABLE_TYPE_IPV4 } from '../../../common/constants'; +import { postObservable } from '../../containers/api'; + +jest.mock('../../containers/api'); + +const platinumLicense = licensingMock.createLicense({ + license: { type: 'platinum' }, +}); + +const basicLicense = licensingMock.createLicense({ + license: { type: 'basic' }, +}); + +describe('AddObservable', () => { + const props: AddObservableProps = { + caseData: mockCase, + }; + + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('renders the button as enabled when subscribed to platinum', async () => { + const appMock = createAppMockRenderer({ license: platinumLicense }); + const result = appMock.render(); + + const addButton = result.getByTestId('cases-observables-add'); + + expect(addButton).toBeInTheDocument(); + expect(addButton).toBeEnabled(); + }); + + it('opens the modal when clicked', async () => { + const appMock = createAppMockRenderer({ license: platinumLicense }); + const result = appMock.render(); + + const addButton = result.getByTestId('cases-observables-add'); + + expect(addButton).toBeInTheDocument(); + expect(addButton).toBeEnabled(); + + await userEvent.click(addButton); + + expect(await screen.findByTestId('cases-observables-add-modal')).toBeInTheDocument(); + }); + + it('submits the data on save', async () => { + const appMock = createAppMockRenderer({ license: platinumLicense }); + const result = appMock.render(); + + await userEvent.click(result.getByTestId('cases-observables-add')); + + await userEvent.selectOptions( + result.getByTestId('observable-type-select'), + OBSERVABLE_TYPE_IPV4.key + ); + + await userEvent.click(screen.getByTestId('observable-value-field')); + await userEvent.paste('127.0.0.1'); + + await userEvent.click(result.getByTestId('save-observable')); + + expect(screen.queryByTestId('cases-observables-add-modal')).not.toBeInTheDocument(); + + expect(jest.mocked(postObservable)).toHaveBeenCalledWith( + { observable: { description: '', typeKey: 'observable-type-ipv4', value: '127.0.0.1' } }, + 'mock-id' + ); + }); + + it('renders the button as disabled when license is too low', async () => { + const appMock = createAppMockRenderer({ license: basicLicense }); + const result = appMock.render(); + + const addButton = result.getByTestId('cases-observables-add'); + + expect(addButton).toBeInTheDocument(); + expect(addButton).toBeDisabled(); + }); + + it('does not render the button with insufficient permissions', async () => { + const appMock = createAppMockRenderer({ permissions: noCasesPermissions() }); + const result = appMock.render(); + + expect(result.queryByTestId('cases-observables-add')).not.toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/add_observable.tsx b/x-pack/plugins/cases/public/components/observables/add_observable.tsx new file mode 100644 index 0000000000000..d8241b46e18f8 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/add_observable.tsx @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiButton, + EuiFlexItem, + EuiModal, + EuiModalBody, + EuiModalHeader, + EuiModalHeaderTitle, +} from '@elastic/eui'; +import React, { useState, useCallback } from 'react'; + +import type { ObservablePost } from '../../../common/types/api/observable/v1'; +import type { CaseUI } from '../../../common'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import * as i18n from './translations'; +import { usePostObservable } from '../../containers/use_post_observables'; +import { ObservableForm, type ObservableFormProps } from './observable_form'; +import { useCasesFeatures } from '../../common/use_cases_features'; + +export interface AddObservableProps { + caseData: CaseUI; +} + +const AddObservableComponent: React.FC = ({ caseData }) => { + const { permissions } = useCasesContext(); + const [isModalVisible, setIsModalVisible] = useState(false); + const { isLoading, mutateAsync: postObservables } = usePostObservable(caseData.id); + const { observablesAuthorized: isObservablesEnabled } = useCasesFeatures(); + + const closeModal = () => setIsModalVisible(false); + const showModal = () => setIsModalVisible(true); + + const handleCreateObservable = useCallback( + async (observable: ObservablePost) => { + await postObservables({ + observable, + }); + + closeModal(); + }, + [postObservables] + ); + + return permissions.create && permissions.update ? ( + + + {i18n.ADD_OBSERVABLE} + + {isModalVisible && ( + + + {i18n.ADD_OBSERVABLE} + + + + + + )} + + ) : null; +}; + +AddObservableComponent.displayName = 'AddObservable'; + +export const AddObservable = React.memo(AddObservableComponent); diff --git a/x-pack/plugins/cases/public/components/observables/builder.tsx b/x-pack/plugins/cases/public/components/observables/builder.tsx new file mode 100644 index 0000000000000..9c715f03d854f --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/builder.tsx @@ -0,0 +1,57 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/* eslint-disable react/display-name */ + +import React, { type ComponentType } from 'react'; +import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { TextField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import { + OBSERVABLE_TYPE_DOMAIN, + OBSERVABLE_TYPE_EMAIL, + OBSERVABLE_TYPE_IPV4, + OBSERVABLE_TYPE_IPV6, + OBSERVABLE_TYPE_URL, +} from '../../../common/constants'; +import { fieldsConfig } from './fields_config'; +import * as i18n from './translations'; + +const sharedProps = { + path: 'value', + componentProps: { + placeholder: i18n.VALUE_PLACEHOLDER, + euiFieldProps: { + 'data-test-subj': 'observable-value-field', + }, + }, + component: TextField, +} as const; + +const cachedComponents = Object.freeze({ + generic: () => , + [OBSERVABLE_TYPE_EMAIL.key]: () => ( + + ), + [OBSERVABLE_TYPE_URL.key]: () => ( + + ), + [OBSERVABLE_TYPE_IPV4.key]: () => ( + + ), + [OBSERVABLE_TYPE_IPV6.key]: () => ( + + ), + [OBSERVABLE_TYPE_DOMAIN.key]: () => ( + + ), +} as const) as Record; + +/* + * Returns value component with validation config matching the type (or generic value component if the specialized field is not found). + */ +export const getDynamicValueField = (observableType: string) => + cachedComponents[observableType] ?? cachedComponents.generic; diff --git a/x-pack/plugins/cases/public/components/observables/edit_observable_modal.test.tsx b/x-pack/plugins/cases/public/components/observables/edit_observable_modal.test.tsx new file mode 100644 index 0000000000000..68dc7e8a74b5d --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/edit_observable_modal.test.tsx @@ -0,0 +1,62 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import userEvent from '@testing-library/user-event'; +import React from 'react'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { EditObservableModal, type EditObservableModalProps } from './edit_observable_modal'; +import { mockCase } from '../../containers/mock'; +import { patchObservable } from '../../containers/api'; + +jest.mock('../../containers/api'); + +describe('EditObservableModal', () => { + let appMock: AppMockRenderer; + const props: EditObservableModalProps = { + onCloseModal: jest.fn(), + caseData: mockCase, + observable: { + value: 'test', + typeKey: '67ac7899-2cc0-4ce5-80d3-0f4a2d2af33e', + id: '84279197-3746-47fb-ba4d-c7946a7feb88', + createdAt: '2024-10-01', + updatedAt: '2024-10-01', + description: '', + }, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('case-observables-edit-modal')).toBeInTheDocument(); + expect(result.getByText('Save observable')).toBeInTheDocument(); + }); + + it('calls handleUpdateObservable', async () => { + const result = appMock.render(); + + expect(result.getByText('Save observable')).toBeInTheDocument(); + await userEvent.click(result.getByText('Save observable')); + + expect(patchObservable).toHaveBeenCalled(); + }); + + it('calls onCancel', async () => { + const result = appMock.render(); + + expect(result.getByText('Cancel')).toBeInTheDocument(); + await userEvent.click(result.getByText('Cancel')); + + expect(props.onCloseModal).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/edit_observable_modal.tsx b/x-pack/plugins/cases/public/components/observables/edit_observable_modal.tsx new file mode 100644 index 0000000000000..e76fe417eae00 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/edit_observable_modal.tsx @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiModal, EuiModalHeader, EuiModalHeaderTitle, EuiModalBody } from '@elastic/eui'; +import React, { type FC } from 'react'; +import type { ObservablePatch } from '../../../common/types/api/observable/v1'; +import type { Observable } from '../../../common/types/domain/observable/v1'; +import { ObservableForm } from './observable_form'; +import * as i18n from './translations'; +import { usePatchObservable } from '../../containers/use_patch_observables'; +import { type CaseUI } from '../../containers/types'; + +export interface EditObservableModalProps { + onCloseModal: VoidFunction; + observable: Observable; + caseData: CaseUI; +} + +export const EditObservableModal: FC = ({ + onCloseModal: closeModal, + observable, + caseData, +}) => { + const { isLoading, mutateAsync: patchObservable } = usePatchObservable( + caseData.id, + observable.id + ); + const handleUpdateObservable = async (updatedObservable: ObservablePatch) => { + patchObservable({ + observable: updatedObservable, + }); + closeModal(); + }; + + return ( + + + {i18n.EDIT_OBSERVABLE} + + + + + + ); +}; + +EditObservableModal.displayName = 'EditObservableModal'; diff --git a/x-pack/plugins/cases/public/components/observables/fields_config.test.ts b/x-pack/plugins/cases/public/components/observables/fields_config.test.ts new file mode 100644 index 0000000000000..348b5b1ca27b5 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/fields_config.test.ts @@ -0,0 +1,146 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { ValidationFunc } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib/types'; +import { domainValidator, emailValidator, genericValidator, ipv4Validator } from './fields_config'; + +describe('emailValidator', () => { + it('should return an error if the value is not a string', () => { + const result = emailValidator({ + value: undefined, + path: 'email', + } as Parameters[0]); + + expect(result).toEqual({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path: 'email', + }); + }); + + it('should return an error if the value is not a valid email', () => { + const result = emailValidator({ + value: 'invalid-email', + path: 'email', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_EMAIL', + message: 'Value should be a valid email', + path: 'email', + }); + }); + + it('should return undefined if the value is a valid email', () => { + const result = emailValidator({ + value: 'test@example.com', + path: 'email', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); +}); + +describe('genericValidator', () => { + it('should return an error if the value is not a string', () => { + const result = genericValidator({ + value: 123, + path: 'generic', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path: 'generic', + }); + }); + + it('should return an error if the value is not valid', () => { + const result = genericValidator({ + value: 'invalid value!', + path: 'generic', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'generic', + }); + }); + + it('should return undefined if the value is valid', () => { + const result = genericValidator({ + value: 'valid_value', + path: 'generic', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); +}); + +describe('domainValidator', () => { + it('should return undefined for a valid domain', () => { + const result = domainValidator({ + value: 'example.com', + path: 'domain', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); + + it('should return an error for an invalid domain', () => { + const result = domainValidator({ + value: '-invalid.com', + path: 'domain', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'domain', + }); + }); + + it('should return an error for hyphen-spaced strings', () => { + const result = domainValidator({ + value: 'test-test', + path: 'domain', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'domain', + }); + }); + + it('should return an error for a non-string value', () => { + const result = domainValidator({ + value: 12345, + path: 'domain', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path: 'domain', + }); + }); +}); + +describe('ipv4Validator', () => { + it('should return undefined for a valid ipv4', () => { + const result = ipv4Validator({ + value: '127.0.0.1', + path: 'ipv4', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); + + it('should return an error for invalid ipv4', () => { + const result = domainValidator({ + value: 'invalid ip', + path: 'ipv4', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'ipv4', + }); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/fields_config.ts b/x-pack/plugins/cases/public/components/observables/fields_config.ts new file mode 100644 index 0000000000000..b858bb1251bb2 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/fields_config.ts @@ -0,0 +1,209 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { type ValidationFunc } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { parseAddressList } from 'email-addresses'; +import ipaddr from 'ipaddr.js'; +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; + +import { + OBSERVABLE_TYPE_DOMAIN, + OBSERVABLE_TYPE_EMAIL, + OBSERVABLE_TYPE_IPV4, + OBSERVABLE_TYPE_IPV6, + OBSERVABLE_TYPE_URL, +} from '../../../common/constants'; +import * as i18n from './translations'; + +export const normalizeValueType = (value: string): keyof typeof fieldsConfig.value | 'generic' => { + if (value in fieldsConfig.value) { + return value as keyof typeof fieldsConfig.value; + } + + return 'generic'; +}; + +const DOMAIN_REGEX = /^(?!-)[A-Za-z0-9-]{1,63}(? ({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path, +}); + +const { emptyField } = fieldValidators; + +const validatorFactory = + ( + regex: RegExp, + message: string = i18n.INVALID_VALUE, + code: string = 'ERR_NOT_VALID' + ): ValidationFunc => + (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + if (!regex.test(value)) { + return { + code, + message, + path, + }; + } + }; + +export const genericValidator = validatorFactory(GENERIC_REGEX); +export const domainValidator = validatorFactory(DOMAIN_REGEX); + +const ipValidatorFactory = + (kind: 'ipv6' | 'ipv4') => + (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + try { + const parsed = ipaddr.parse(value); + + if (parsed.kind() !== kind) { + return { + code: 'ERR_NOT_VALID', + message: i18n.INVALID_VALUE, + path, + }; + } + } catch (error) { + return { + code: 'ERR_NOT_VALID', + message: i18n.INVALID_VALUE, + path, + }; + } + }; + +export const ipv6Validator = ipValidatorFactory('ipv6'); +export const ipv4Validator = ipValidatorFactory('ipv4'); + +export const urlValidator = (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + try { + new URL(value); + } catch (error) { + return { + code: 'ERR_NOT_VALID', + message: i18n.INVALID_VALUE, + path, + }; + } +}; + +export const emailValidator = (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + const emailAddresses = parseAddressList(value); + + if (emailAddresses == null) { + return { message: i18n.INVALID_EMAIL, code: 'ERR_NOT_EMAIL', path }; + } +}; + +export const fieldsConfig = { + value: { + generic: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: genericValidator, + }, + ], + label: i18n.FIELD_LABEL_VALUE, + }, + [OBSERVABLE_TYPE_EMAIL.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: emailValidator, + }, + ], + label: 'Email', + }, + [OBSERVABLE_TYPE_DOMAIN.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: domainValidator, + }, + ], + label: 'Domain', + }, + [OBSERVABLE_TYPE_IPV4.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: ipv4Validator, + }, + ], + label: 'IPv4', + }, + [OBSERVABLE_TYPE_IPV6.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: ipv6Validator, + }, + ], + label: 'IPv6', + }, + [OBSERVABLE_TYPE_URL.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: urlValidator, + }, + ], + label: 'URL', + }, + }, + typeKey: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + ], + label: i18n.FIELD_LABEL_TYPE, + }, + description: { + label: i18n.FIELD_LABEL_DESCRIPTION, + }, +}; diff --git a/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.test.tsx b/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.test.tsx new file mode 100644 index 0000000000000..8a3befb11e2f3 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.test.tsx @@ -0,0 +1,148 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; + +import { screen, waitFor } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; + +import type { AppMockRenderer } from '../../common/mock'; +import { buildCasesPermissions, createAppMockRenderer } from '../../common/mock'; + +import { ObservableActionsPopoverButton } from './observable_actions_popover_button'; +import type { CaseUI } from '../../../common'; +import type { Observable } from '../../../common/types/domain/observable/v1'; +import { mockCase } from '../../containers/mock'; +import { usePostObservable } from '../../containers/use_post_observables'; +import { useDeleteObservable } from '../../containers/use_delete_observables'; + +jest.mock('../../containers/use_post_observables'); +jest.mock('../../containers/use_delete_observables'); + +describe('ObservableActionsPopoverButton', () => { + let appMockRender: AppMockRenderer; + const addObservable = jest.fn().mockResolvedValue({}); + const deleteObservable = jest.fn().mockResolvedValue({}); + + const caseData: CaseUI = { ...mockCase }; + const observable = { id: '05041f40-ac9f-4192-b367-7e6a5dafcee5' } as Observable; + + beforeEach(() => { + jest + .mocked(usePostObservable) + .mockReturnValue({ mutateAsync: addObservable, isLoading: false } as unknown as ReturnType< + typeof usePostObservable + >); + jest + .mocked(useDeleteObservable) + .mockReturnValue({ mutateAsync: deleteObservable, isLoading: false } as unknown as ReturnType< + typeof useDeleteObservable + >); + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('renders observable actions popover button correctly', async () => { + appMockRender.render( + + ); + + expect( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ).toBeInTheDocument(); + }); + + it('clicking the button opens the popover', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + expect( + await screen.findByTestId(`cases-observables-popover-${observable.id}`) + ).toBeInTheDocument(); + expect(await screen.findByTestId('cases-observables-delete-button')).toBeInTheDocument(); + expect(await screen.findByTestId('cases-observables-edit-button')).toBeInTheDocument(); + }); + + describe('edit buttton', () => { + it('clicking edit button opens the edit modal', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + await userEvent.click(await screen.findByTestId('cases-observables-edit-button'), { + pointerEventsCheck: 0, + }); + + expect(await screen.findByTestId('case-observables-edit-modal')).toBeInTheDocument(); + }); + }); + + describe('delete button', () => { + it('clicking delete button opens the confirmation modal', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + await userEvent.click(await screen.findByTestId('cases-observables-delete-button'), { + pointerEventsCheck: 0, + }); + + expect(await screen.findByTestId('property-actions-confirm-modal')).toBeInTheDocument(); + }); + + it('clicking delete button in the confirmation modal calls deleteObservable with proper params', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + await userEvent.click(await screen.findByTestId('cases-observables-delete-button'), { + pointerEventsCheck: 0, + }); + + expect(await screen.findByTestId('property-actions-confirm-modal')).toBeInTheDocument(); + + await userEvent.click(await screen.findByTestId('confirmModalConfirmButton')); + + await waitFor(() => { + expect(deleteObservable).toHaveBeenCalledTimes(1); + }); + }); + + it('delete button is not rendered if user has no update permission', async () => { + appMockRender = createAppMockRenderer({ + permissions: buildCasesPermissions({ update: false }), + }); + + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + expect(screen.queryByTestId('cases-observables-delete-button')).not.toBeInTheDocument(); + }); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.tsx b/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.tsx new file mode 100644 index 0000000000000..1717abcaae469 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.tsx @@ -0,0 +1,137 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback, useMemo, useState } from 'react'; +import type { + EuiContextMenuPanelDescriptor, + EuiContextMenuPanelItemDescriptor, +} from '@elastic/eui'; +import { EuiButtonIcon, EuiPopover, EuiContextMenu, EuiIcon, EuiTextColor } from '@elastic/eui'; +import type { Observable } from '../../../common/types/domain/observable/v1'; +import * as i18n from './translations'; + +import { useCasesContext } from '../cases_context/use_cases_context'; +import { DeleteAttachmentConfirmationModal } from '../user_actions/delete_attachment_confirmation_modal'; +import { useDeletePropertyAction } from '../user_actions/property_actions/use_delete_property_action'; +import { type CaseUI } from '../../containers/types'; +import { EditObservableModal } from './edit_observable_modal'; +import { useDeleteObservable } from '../../containers/use_delete_observables'; + +export const ObservableActionsPopoverButton: React.FC<{ + caseData: CaseUI; + observable: Observable; +}> = ({ caseData, observable }) => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + const { permissions } = useCasesContext(); + const [showEditModal, setShowEditModal] = useState(false); + + const { isLoading: isDeleteLoading, mutateAsync: deleteObservable } = useDeleteObservable( + caseData.id, + observable.id + ); + + const isLoading = isDeleteLoading; + + const { + showDeletionModal, + onModalOpen: onDeletionModalOpen, + onConfirm, + onCancel, + } = useDeletePropertyAction({ + onDelete: () => { + deleteObservable(); + }, + }); + + const tooglePopover = useCallback(() => setIsPopoverOpen((prevValue) => !prevValue), []); + const closePopover = useCallback(() => setIsPopoverOpen(false), []); + + const panels = useMemo((): EuiContextMenuPanelDescriptor[] => { + const mainPanelItems: EuiContextMenuPanelItemDescriptor[] = []; + + const panelsToBuild = [ + { + id: 0, + title: i18n.OBSERVABLE_ACTIONS, + items: mainPanelItems, + }, + ]; + + if (permissions.update) { + mainPanelItems.push({ + name: {i18n.DELETE_OBSERVABLE}, + icon: , + onClick: () => { + closePopover(); + onDeletionModalOpen(); + }, + disabled: isLoading, + 'data-test-subj': 'cases-observables-delete-button', + }); + + mainPanelItems.push({ + name: {i18n.EDIT_OBSERVABLE}, + icon: , + onClick: () => { + setShowEditModal(true); + closePopover(); + }, + disabled: isLoading, + 'data-test-subj': 'cases-observables-edit-button', + }); + } + + return panelsToBuild; + }, [closePopover, isLoading, onDeletionModalOpen, permissions]); + + return ( + <> + + } + isOpen={isPopoverOpen} + closePopover={closePopover} + panelPaddingSize="none" + anchorPosition="downLeft" + > + + + {showDeletionModal && ( + + )} + {showEditModal && ( + setShowEditModal(false)} + /> + )} + + ); +}; + +ObservableActionsPopoverButton.displayName = 'FileActionsPopoverButton'; diff --git a/x-pack/plugins/cases/public/components/observables/observable_form.test.tsx b/x-pack/plugins/cases/public/components/observables/observable_form.test.tsx new file mode 100644 index 0000000000000..c2bd6b096f47e --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observable_form.test.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import { ObservableForm, type ObservableFormProps } from './observable_form'; + +describe('ObservableForm', () => { + let appMock: AppMockRenderer; + const props: ObservableFormProps = { + isLoading: false, + onSubmit: jest.fn(), + onCancel: jest.fn(), + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('save-observable')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/observable_form.tsx b/x-pack/plugins/cases/public/components/observables/observable_form.tsx new file mode 100644 index 0000000000000..5e2cb9656b14e --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observable_form.tsx @@ -0,0 +1,143 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { type FC, useCallback, useMemo, memo, useState } from 'react'; +import { + useForm, + Form, + UseField, + useFormContext, +} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { EuiButton, EuiFlexGroup, EuiSpacer } from '@elastic/eui'; + +import { TextAreaField, SelectField } from '@kbn/es-ui-shared-plugin/static/forms/components'; + +import { OBSERVABLE_TYPES_BUILTIN } from '../../../common/constants'; +import type { ObservablePatch, ObservablePost } from '../../../common/types/api'; +import type { Observable } from '../../../common/types/domain'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; +import * as i18n from './translations'; +import { fieldsConfig, normalizeValueType } from './fields_config'; +import { getDynamicValueField } from './builder'; + +export interface ObservableFormFieldsProps { + observable?: Observable; +} + +export const ObservableFormFields = memo(({ observable }: ObservableFormFieldsProps) => { + const { data, isLoading } = useGetCaseConfiguration(); + const [selectedTypeKey, setSelectedTypeKey] = useState(observable?.typeKey ?? ''); + + const { validateFields } = useFormContext(); + + const options = useMemo(() => { + return [...OBSERVABLE_TYPES_BUILTIN, ...data.observableTypes].map((observableType) => ({ + value: observableType.key, + text: observableType.label, + })); + }, [data.observableTypes]); + + const handleSelectedTypeChange = useCallback( + (selectedTypeKeyValue: string) => { + validateFields(['value']); + setSelectedTypeKey(selectedTypeKeyValue); + }, + [validateFields] + ); + + // NOTE: dynamic, because of field config changes, depending on the selectedTypeKey + const ValueComponent = useMemo( + () => getDynamicValueField(normalizeValueType(selectedTypeKey)), + [selectedTypeKey] + ); + + return ( + <> + {!observable && ( + + )} + + + + ); +}); +ObservableFormFields.displayName = 'ObservableFormFields'; + +export interface ObservableFormProps { + isLoading: boolean; + onSubmit: (observable: ObservablePatch | ObservablePost) => Promise; + observable?: Observable; + onCancel: VoidFunction; +} + +export const ObservableForm: FC = ({ + isLoading, + onSubmit, + observable, + onCancel, +}) => { + const { form } = useForm({ + defaultValue: observable ?? { + typeKey: '', + value: '', + description: '', + }, + options: { stripEmptyFields: false }, + }); + + const handleSubmitClick = useCallback( + async (e: React.MouseEvent) => { + const { isValid, data } = await form.submit(e); + + if (isValid) { + return onSubmit({ + ...data, + }); + } + }, + [form, onSubmit] + ); + + return ( +
+ + + + + {i18n.CANCEL} + + + {observable ? i18n.SAVE_OBSERVABLE : i18n.ADD_OBSERVABLE} + + + + ); +}; + +ObservableForm.displayName = 'ObservableForm'; diff --git a/x-pack/plugins/cases/public/components/observables/observables_table.test.tsx b/x-pack/plugins/cases/public/components/observables/observables_table.test.tsx new file mode 100644 index 0000000000000..bdbefc49240f8 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observables_table.test.tsx @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import { mockCase, mockObservables } from '../../containers/mock'; +import { ObservablesTable, type ObservablesTableProps } from './observables_table'; + +describe('ObservablesTable', () => { + let appMock: AppMockRenderer; + const props: ObservablesTableProps = { + caseData: { + ...mockCase, + observables: mockObservables, + }, + isLoading: false, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('cases-observables-table')).toBeInTheDocument(); + + expect(result.getByText('Showing 2 observables')).toBeInTheDocument(); + expect(result.getByText('Observable type')).toBeInTheDocument(); + expect(result.getByText('Observable value')).toBeInTheDocument(); + }); + + it('renders loading indicator when loading', async () => { + const result = appMock.render(); + expect(result.queryByTestId('cases-observables-table')).not.toBeInTheDocument(); + expect(result.getByTestId('cases-observables-table-loading')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/observables_table.tsx b/x-pack/plugins/cases/public/components/observables/observables_table.tsx new file mode 100644 index 0000000000000..423fd31a07ea6 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observables_table.tsx @@ -0,0 +1,120 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React, { useCallback, useMemo } from 'react'; + +import type { EuiBasicTableColumn } from '@elastic/eui'; + +import { EuiBasicTable, EuiSkeletonText, EuiSpacer, EuiText, EuiEmptyPrompt } from '@elastic/eui'; + +import { OBSERVABLE_TYPES_BUILTIN } from '../../../common/constants'; +import type { Observable, ObservableType } from '../../../common/types/domain'; +import type { CaseUI } from '../../../common/ui'; +import * as i18n from './translations'; +import { AddObservable } from './add_observable'; +import { ObservableActionsPopoverButton } from './observable_actions_popover_button'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; + +const getColumns = ( + caseData: CaseUI, + observableTypes: ObservableType[] +): Array> => [ + { + name: i18n.DATE_ADDED, + field: 'createdAt', + 'data-test-subj': 'cases-observables-table-date-added', + dataType: 'date', + }, + { + name: i18n.OBSERVABLE_TYPE, + field: 'typeKey', + 'data-test-subj': 'cases-observables-table-type', + render: (typeKey: string) => + observableTypes.find((observableType) => observableType.key === typeKey)?.label || '-', + }, + { + name: i18n.OBSERVABLE_VALUE, + field: 'value', + 'data-test-subj': 'cases-observables-table-value', + }, + { + name: i18n.OBSERVABLE_ACTIONS, + field: 'actions', + 'data-test-subj': 'cases-observables-table-actions', + width: '120px', + actions: [ + { + name: i18n.OBSERVABLE_ACTIONS, + render: (observable: Observable) => { + return ; + }, + }, + ], + }, +]; + +const EmptyObservablesTable = ({ caseData }: { caseData: CaseUI }) => ( + {i18n.NO_OBSERVABLES}} + data-test-subj="cases-observables-table-empty" + titleSize="xs" + actions={} + /> +); + +EmptyObservablesTable.displayName = 'EmptyObservablesTable'; + +export interface ObservablesTableProps { + caseData: CaseUI; + isLoading: boolean; +} + +export const ObservablesTable = ({ caseData, isLoading }: ObservablesTableProps) => { + const filesTableRowProps = useCallback( + (observable: Observable) => ({ + 'data-test-subj': `cases-observables-table-row-${observable.id}`, + }), + [] + ); + + const { data: currentConfiguration, isLoading: loadingCaseConfigure } = useGetCaseConfiguration(); + + const columns = useMemo( + () => + getColumns(caseData, [...OBSERVABLE_TYPES_BUILTIN, ...currentConfiguration.observableTypes]), + [caseData, currentConfiguration.observableTypes] + ); + + return isLoading || loadingCaseConfigure ? ( + <> + + + + ) : ( + <> + {caseData.observables.length > 0 && ( + <> + + + {i18n.SHOWING_OBSERVABLES(caseData.observables.length)} + + + )} + + } + rowProps={filesTableRowProps} + /> + + ); +}; + +ObservablesTable.displayName = 'ObservablesTable'; diff --git a/x-pack/plugins/cases/public/components/observables/observables_utility_bar.test.tsx b/x-pack/plugins/cases/public/components/observables/observables_utility_bar.test.tsx new file mode 100644 index 0000000000000..9c35939785a0d --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observables_utility_bar.test.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import type { AddObservableProps } from './add_observable'; +import { mockCase } from '../../containers/mock'; +import { ObservablesUtilityBar } from './observables_utility_bar'; + +describe('ObservablesUtilityBar', () => { + let appMock: AppMockRenderer; + const props: AddObservableProps = { + caseData: mockCase, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('cases-observables-add')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/observables/observables_utility_bar.tsx b/x-pack/plugins/cases/public/components/observables/observables_utility_bar.tsx new file mode 100644 index 0000000000000..3888b1d31c1a0 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/observables_utility_bar.tsx @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React from 'react'; + +import { EuiFlexGroup } from '@elastic/eui'; + +import type { CaseUI } from '../../../common'; +import { AddObservable } from './add_observable'; + +interface ObservablesUtilityBarProps { + caseData: CaseUI; +} + +export const ObservablesUtilityBar = ({ caseData }: ObservablesUtilityBarProps) => { + return ( + + + + ); +}; + +ObservablesUtilityBar.displayName = 'ObservablesUtilityBar'; diff --git a/x-pack/plugins/cases/public/components/observables/translations.tsx b/x-pack/plugins/cases/public/components/observables/translations.tsx new file mode 100644 index 0000000000000..5eb77528e52a5 --- /dev/null +++ b/x-pack/plugins/cases/public/components/observables/translations.tsx @@ -0,0 +1,124 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ADD_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.addObservable', { + defaultMessage: 'Add observable', +}); + +export const EDIT_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.edit', { + defaultMessage: 'Edit observable', +}); + +export const NO_OBSERVABLES = i18n.translate( + 'xpack.cases.caseView.observables.noObservablesAvailable', + { + defaultMessage: 'No observables available', + } +); + +export const SHOWING_OBSERVABLES = (totalObservables: number) => + i18n.translate('xpack.cases.caseView.observables.showingObservablesTitle', { + values: { totalObservables }, + defaultMessage: + 'Showing {totalObservables} {totalObservables, plural, =1 {observable} other {observables}}', + }); + +export const OBSERVABLES_TABLE = i18n.translate( + 'xpack.cases.caseView.observables.observablesTable', + { + defaultMessage: 'Observables table', + } +); + +export const SEARCH_PLACEHOLDER = i18n.translate( + 'xpack.cases.caseView.observables.searchPlaceholder', + { + defaultMessage: 'Search observables', + } +); + +export const DATE_ADDED = i18n.translate('xpack.cases.caseView.observables.dateAdded', { + defaultMessage: 'Date added', +}); + +export const OBSERVABLE_TYPE = i18n.translate('xpack.cases.caseView.observables.type', { + defaultMessage: 'Observable type', +}); + +export const OBSERVABLE_VALUE = i18n.translate('xpack.cases.caseView.observables.value', { + defaultMessage: 'Observable value', +}); + +export const OBSERVABLE_ACTIONS = i18n.translate('xpack.cases.caseView.observables.actions', { + defaultMessage: 'Actions', +}); + +export const DELETE_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.delete', { + defaultMessage: 'Delete observable', +}); + +export const CANCEL = i18n.translate('xpack.cases.caseView.observables.cancel', { + defaultMessage: 'Cancel', +}); + +export const VALUE_PLACEHOLDER = i18n.translate( + 'xpack.cases.caseView.observables.valuePlaceholder', + { + defaultMessage: 'Observable value', + } +); + +export const DELETE_OBSERVABLE_CONFIRM = i18n.translate( + 'xpack.cases.caseView.observables.deleteConfirmation', + { + defaultMessage: 'Are you sure you want to delete this observable?', + } +); + +export const SAVE_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.save', { + defaultMessage: 'Save observable', +}); + +export const ADDED = (type: string, value: string) => + i18n.translate('xpack.cases.caseView.observables.added', { + defaultMessage: 'observable value "{value}" of type {type} added', + values: { type, value }, + }); + +export const PLATINUM_NOTICE = i18n.translate('xpack.cases.caseView.observables.platinumNotice', { + defaultMessage: + 'In order to assign observables to cases, you must be subscribed to an Elastic Platinum license', +}); + +export const REQUIRED_VALUE = i18n.translate('xpack.cases.caseView.observables.requiredValue', { + defaultMessage: 'Value is required', +}); + +export const INVALID_VALUE = i18n.translate('xpack.cases.caseView.observables.invalidValue', { + defaultMessage: 'Value is invalid', +}); + +export const INVALID_EMAIL = i18n.translate('xpack.cases.caseView.observables.invalidEmail', { + defaultMessage: 'Value should be a valid email', +}); + +export const FIELD_LABEL_VALUE = i18n.translate('xpack.cases.caseView.observables.labelValue', { + defaultMessage: 'Value', +}); + +export const FIELD_LABEL_DESCRIPTION = i18n.translate( + 'xpack.cases.caseView.observables.labelDescription', + { + defaultMessage: 'Description', + } +); + +export const FIELD_LABEL_TYPE = i18n.translate('xpack.cases.caseView.observables.labelType', { + defaultMessage: 'Type', +}); diff --git a/x-pack/plugins/cases/public/components/similar_cases/table.test.tsx b/x-pack/plugins/cases/public/components/similar_cases/table.test.tsx new file mode 100644 index 0000000000000..2d3de8b54ae93 --- /dev/null +++ b/x-pack/plugins/cases/public/components/similar_cases/table.test.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import { SimilarCasesTable, type SimilarCasesTableProps } from './table'; +import { mockCase, mockObservables } from '../../containers/mock'; + +describe('SimilarCasesTable', () => { + let appMock: AppMockRenderer; + const props: SimilarCasesTableProps = { + cases: [{ ...mockCase, similarities: { observables: mockObservables } }], + isLoading: false, + onChange: jest.fn(), + pagination: { pageIndex: 0, totalItemCount: 1 }, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('similar-cases-table')).toBeInTheDocument(); + }); + + it('renders loading indicator when loading', async () => { + const result = appMock.render(); + expect(result.queryByTestId('similar-cases-table')).not.toBeInTheDocument(); + expect(result.getByTestId('similar-cases-table-loading')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/cases/public/components/similar_cases/table.tsx b/x-pack/plugins/cases/public/components/similar_cases/table.tsx new file mode 100644 index 0000000000000..6ceb299bc1501 --- /dev/null +++ b/x-pack/plugins/cases/public/components/similar_cases/table.tsx @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { FunctionComponent } from 'react'; +import React, { useCallback } from 'react'; +import { css } from '@emotion/react'; +import type { EuiBasicTableProps, Pagination } from '@elastic/eui'; +import { EuiEmptyPrompt, EuiSkeletonText, EuiBasicTable, useEuiTheme } from '@elastic/eui'; + +import type { SimilarCaseUI } from '../../../common/ui/types'; + +import * as i18n from './translations'; +import { useSimilarCasesColumns } from './use_similar_cases_columns'; + +export interface SimilarCasesTableProps { + cases: SimilarCaseUI[]; + isLoading: boolean; + onChange: EuiBasicTableProps['onChange']; + pagination: Pagination; +} + +export const SimilarCasesTable: FunctionComponent = ({ + cases, + isLoading, + onChange, + pagination, +}) => { + const { euiTheme } = useEuiTheme(); + + const { columns } = useSimilarCasesColumns(); + + const tableRowProps = useCallback( + (theCase: SimilarCaseUI) => ({ + 'data-test-subj': `similar-cases-table-row-${theCase.id}`, + }), + [] + ); + + return isLoading ? ( +
+ +
+ ) : ( + <> + {i18n.NO_CASES}} + titleSize="xs" + body={i18n.NO_CASES_BODY} + /> + } + rowProps={tableRowProps} + /> + + ); +}; +SimilarCasesTable.displayName = 'SimilarCasesTable'; diff --git a/x-pack/plugins/cases/public/components/similar_cases/translations.ts b/x-pack/plugins/cases/public/components/similar_cases/translations.ts new file mode 100644 index 0000000000000..3b0f1179d3877 --- /dev/null +++ b/x-pack/plugins/cases/public/components/similar_cases/translations.ts @@ -0,0 +1,28 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export * from '../../common/translations'; +export * from '../user_profiles/translations'; +export { + OPEN as STATUS_OPEN, + IN_PROGRESS as STATUS_IN_PROGRESS, + CLOSED as STATUS_CLOSED, +} from '@kbn/cases-components/src/status/translations'; + +export const NO_CASES = i18n.translate('xpack.cases.similarCaseTable.noCases.title', { + defaultMessage: 'No cases to display', +}); + +export const NO_CASES_BODY = i18n.translate('xpack.cases.similarCaseTable.noCases.readonly.body', { + defaultMessage: 'Edit your filter settings.', +}); + +export const SIMILARITY_REASON = i18n.translate('xpack.cases.similarCaseTable.similarities.title', { + defaultMessage: 'Similar observable values', +}); diff --git a/x-pack/plugins/cases/public/components/similar_cases/use_similar_cases_columns.tsx b/x-pack/plugins/cases/public/components/similar_cases/use_similar_cases_columns.tsx new file mode 100644 index 0000000000000..54ad38363f14e --- /dev/null +++ b/x-pack/plugins/cases/public/components/similar_cases/use_similar_cases_columns.tsx @@ -0,0 +1,191 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useMemo } from 'react'; +import { css } from '@emotion/react'; +import type { + EuiTableActionsColumnType, + EuiTableComputedColumnType, + EuiTableFieldDataColumnType, +} from '@elastic/eui'; +import { EuiBadgeGroup, EuiBadge, EuiHealth, EuiToolTip } from '@elastic/eui'; +import { Status } from '@kbn/cases-components/src/status/status'; + +import { CaseSeverity } from '../../../common/types/domain'; +import type { CaseUI, SimilarCaseUI } from '../../../common/ui/types'; +import { getEmptyCellValue } from '../empty_value'; +import { CaseDetailsLink } from '../links'; +import { TruncatedText } from '../truncated_text'; +import { severities } from '../severity/config'; +import { useCasesColumnsConfiguration } from '../all_cases/use_cases_columns_configuration'; +import * as i18n from './translations'; + +type SimilarCasesColumns = + | EuiTableActionsColumnType + | EuiTableComputedColumnType + | EuiTableFieldDataColumnType; + +const LINE_CLAMP = 3; +const getLineClampedCss = css` + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: ${LINE_CLAMP}; + -webkit-box-orient: vertical; + overflow: hidden; + word-break: normal; +`; + +const SIMILARITIES_FIELD = 'similarities' as const; + +export interface UseSimilarCasesColumnsReturnValue { + columns: SimilarCasesColumns[]; + rowHeader: string; +} + +export const useSimilarCasesColumns = (): UseSimilarCasesColumnsReturnValue => { + const casesColumnsConfig = useCasesColumnsConfiguration(false); + const columns: SimilarCasesColumns[] = useMemo( + () => [ + { + field: casesColumnsConfig.title.field, + name: casesColumnsConfig.title.name, + sortable: false, + render: (title: string, theCase: SimilarCaseUI) => { + if (theCase.id != null && theCase.title != null) { + const caseDetailsLinkComponent = ( + + + + ); + + return caseDetailsLinkComponent; + } + return getEmptyCellValue(); + }, + width: '20%', + }, + { + field: casesColumnsConfig.tags.field, + name: casesColumnsConfig.tags.name, + render: (tags: CaseUI['tags']) => { + if (tags != null && tags.length > 0) { + const clampedBadges = ( + + {tags.map((tag: string, i: number) => ( + + {tag} + + ))} + + ); + + const unclampedBadges = ( + + {tags.map((tag: string, i: number) => ( + + {tag} + + ))} + + ); + + return ( + + {clampedBadges} + + ); + } + return getEmptyCellValue(); + }, + width: '12%', + }, + { + field: casesColumnsConfig.category.field, + name: casesColumnsConfig.category.name, + sortable: false, + render: (category: CaseUI['category']) => { + if (category != null) { + return ( + + {category} + + ); + } + return getEmptyCellValue(); + }, + width: '120px', + }, + { + field: casesColumnsConfig.status.field, + name: casesColumnsConfig.status.name, + sortable: false, + render: (status: CaseUI['status']) => { + if (status != null) { + return ; + } + + return getEmptyCellValue(); + }, + width: '110px', + }, + { + field: casesColumnsConfig.severity.field, + name: casesColumnsConfig.severity.name, + sortable: false, + render: (severity: CaseUI['severity']) => { + if (severity != null) { + const severityData = severities[severity ?? CaseSeverity.LOW]; + return ( + + {severityData.label} + + ); + } + return getEmptyCellValue(); + }, + width: '90px', + }, + { + field: SIMILARITIES_FIELD, + name: i18n.SIMILARITY_REASON, + sortable: false, + render: (similarities: SimilarCaseUI['similarities'], theCase: SimilarCaseUI) => { + if (theCase.id != null && theCase.title != null) { + return similarities.observables.map((similarity) => similarity.value).join(', '); + } + return getEmptyCellValue(); + }, + width: '20%', + }, + ], + [casesColumnsConfig] + ); + + return { columns, rowHeader: casesColumnsConfig.title.field }; +}; diff --git a/x-pack/plugins/cases/public/components/templates/form.test.tsx b/x-pack/plugins/cases/public/components/templates/form.test.tsx index 349457c2be98f..60fb63c64e8b3 100644 --- a/x-pack/plugins/cases/public/components/templates/form.test.tsx +++ b/x-pack/plugins/cases/public/components/templates/form.test.tsx @@ -57,6 +57,7 @@ describe('TemplateForm', () => { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }, onChange: jest.fn(), initialValue: null, @@ -343,6 +344,7 @@ describe('TemplateForm', () => { description: undefined, name: 'Template 1', tags: [], + observables: [], }, isValid: true, }) diff --git a/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx b/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx index 48c6f956ccc7c..b1f08415acdec 100644 --- a/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx +++ b/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx @@ -43,6 +43,7 @@ describe('form fields', () => { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }, }; diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx b/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx index 36dd0c5325e48..48d00f075c81f 100644 --- a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx +++ b/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx @@ -10,7 +10,7 @@ import type { EuiCommentProps } from '@elastic/eui'; import type { SnakeToCamelCase } from '../../../../common/types'; import type { CommentUserAction } from '../../../../common/types/domain'; import { UserActionActions, AttachmentType } from '../../../../common/types/domain'; -import type { AttachmentTypeRegistry } from '../../../../common/registry'; +import { type AttachmentTypeRegistry } from '../../../../common/registry'; import type { UserActionBuilder, UserActionBuilderArgs } from '../types'; import { createCommonUpdateUserActionBuilder } from '../common'; import type { AttachmentUI } from '../../../containers/types'; @@ -242,6 +242,7 @@ const getCreateCommentUserAction = ({ }); return persistableBuilder.build(); + default: return []; } diff --git a/x-pack/plugins/cases/public/containers/__mocks__/api.ts b/x-pack/plugins/cases/public/containers/__mocks__/api.ts index 2e792fbd134cc..ab12561e2c733 100644 --- a/x-pack/plugins/cases/public/containers/__mocks__/api.ts +++ b/x-pack/plugins/cases/public/containers/__mocks__/api.ts @@ -30,6 +30,7 @@ import { getCaseUserActionsStatsResponse, getCaseUsersMockResponse, customFieldsMock, + allCasesSnake, } from '../mock'; import type { CaseConnectors, @@ -187,3 +188,9 @@ export const replaceCustomField = async ({ customFieldValue: string | boolean | null; caseVersion: string; }): Promise => Promise.resolve(customFieldsMock[0]); + +export const getSimilarCases = async () => allCasesSnake; + +export const postObservable = jest.fn(); +export const patchObservable = jest.fn(); +export const deleteObservable = jest.fn(); diff --git a/x-pack/plugins/cases/public/containers/api.test.tsx b/x-pack/plugins/cases/public/containers/api.test.tsx index d72eece49e1e3..2934c4d1f3432 100644 --- a/x-pack/plugins/cases/public/containers/api.test.tsx +++ b/x-pack/plugins/cases/public/containers/api.test.tsx @@ -40,6 +40,10 @@ import { deleteFileAttachments, getCategories, replaceCustomField, + postObservable, + getSimilarCases, + patchObservable, + deleteObservable, } from './api'; import { @@ -63,6 +67,9 @@ import { getCaseUserActionsStatsResponse, basicFileMock, customFieldsMock, + mockCase, + similarCases, + similarCasesSnake, } from './mock'; import { DEFAULT_FILTER_OPTIONS, DEFAULT_QUERY_PARAMS } from './constants'; @@ -1154,4 +1161,164 @@ describe('Cases API', () => { expect(resp).toEqual(customFieldsMock[0]); }); }); + + describe('getSimilarCases', () => { + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(similarCasesSnake); + }); + + it('should be called with correct url, method, signal', async () => { + await getSimilarCases({ + caseId: mockCase.id, + signal: abortCtrl.signal, + page: 0, + perPage: 10, + }); + expect(fetchMock).toHaveBeenCalledWith(`${CASES_INTERNAL_URL}/${mockCase.id}/_similar`, { + method: 'POST', + body: JSON.stringify({ + page: 0, + perPage: 10, + }), + signal: abortCtrl.signal, + }); + }); + + it('should return correct response', async () => { + const resp = await getSimilarCases({ + caseId: mockCase.id, + signal: abortCtrl.signal, + page: 1, + perPage: 10, + }); + expect(resp).toEqual(similarCases); + }); + }); + + describe('postObservable', () => { + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(basicCaseSnake); + }); + + it('should be called with correct check url, method, signal', async () => { + await postObservable( + { + observable: { + typeKey: '18b62f19-8c60-415e-8a08-706d1078c556', + value: 'test value', + description: '', + }, + }, + mockCase.id, + abortCtrl.signal + ); + + expect(fetchMock).toHaveBeenCalledWith(`${CASES_INTERNAL_URL}/${mockCase.id}/observables`, { + method: 'POST', + body: JSON.stringify({ + observable: { + typeKey: '18b62f19-8c60-415e-8a08-706d1078c556', + value: 'test value', + description: '', + }, + }), + signal: abortCtrl.signal, + }); + }); + + it('should return correct response', async () => { + const resp = await postObservable( + { + observable: { + typeKey: '18b62f19-8c60-415e-8a08-706d1078c556', + value: 'test value', + description: '', + }, + }, + mockCase.id, + abortCtrl.signal + ); + expect(resp).toEqual(basicCase); + }); + }); + + describe('patchObservable', () => { + const observableId = 'afa44220-862c-4a21-b574-351ab4d0a732'; + + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(basicCaseSnake); + }); + + it('should be called with correct check url, method, signal', async () => { + await patchObservable( + { + observable: { + value: 'test value', + description: '', + }, + }, + mockCase.id, + observableId, + abortCtrl.signal + ); + + expect(fetchMock).toHaveBeenCalledWith( + `${CASES_INTERNAL_URL}/${mockCase.id}/observables/${observableId}`, + { + method: 'PATCH', + body: JSON.stringify({ + observable: { + value: 'test value', + description: '', + }, + }), + signal: abortCtrl.signal, + } + ); + }); + + it('should return correct response', async () => { + const resp = await patchObservable( + { + observable: { + value: 'test value', + description: '', + }, + }, + mockCase.id, + observableId, + abortCtrl.signal + ); + expect(resp).toEqual(basicCase); + }); + }); + + describe('deleteObservable', () => { + const observableId = 'afa44220-862c-4a21-b574-351ab4d0a732'; + + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(basicCaseSnake); + }); + + it('should be called with correct check url, method, signal', async () => { + await deleteObservable(mockCase.id, observableId, abortCtrl.signal); + + expect(fetchMock).toHaveBeenCalledWith( + `${CASES_INTERNAL_URL}/${mockCase.id}/observables/${observableId}`, + { + method: 'DELETE', + signal: abortCtrl.signal, + } + ); + }); + + it('should return correct response', async () => { + const resp = await deleteObservable(mockCase.id, observableId, abortCtrl.signal); + expect(resp).toEqual(undefined); + }); + }); }); diff --git a/x-pack/plugins/cases/public/containers/api.ts b/x-pack/plugins/cases/public/containers/api.ts index 020a4629552f4..4216421892b8c 100644 --- a/x-pack/plugins/cases/public/containers/api.ts +++ b/x-pack/plugins/cases/public/containers/api.ts @@ -22,6 +22,9 @@ import type { UserActionFindResponse, SingleCaseMetricsResponse, CustomFieldPutRequest, + CasesSimilarResponse, + AddObservableRequest, + UpdateObservableRequest, } from '../../common/types/api'; import type { CaseConnectors, @@ -36,6 +39,8 @@ import type { CasesUI, FilterOptions, CaseUICustomField, + SimilarCasesProps, + CasesSimilarResponseUI, } from '../../common/ui/types'; import { SortFieldCase } from '../../common/ui/types'; import { @@ -50,6 +55,10 @@ import { getCaseUsersUrl, getCaseUserActionStatsUrl, getCustomFieldReplaceUrl, + getCaseCreateObservableUrl, + getCaseUpdateObservableUrl, + getCaseDeleteObservableUrl, + getCaseSimilarCasesUrl, } from '../../common/api'; import { CASE_REPORTERS_URL, @@ -71,6 +80,7 @@ import { convertCaseToCamelCase, convertCasesToCamelCase, convertCaseResolveToCamelCase, + convertSimilarCasesToCamel, } from '../api/utils'; import type { @@ -93,7 +103,7 @@ import { decodeCaseUserActionStatsResponse, constructCustomFieldsFilter, } from './utils'; -import { decodeCasesFindResponse } from '../api/decoders'; +import { decodeCasesFindResponse, decodeCasesSimilarResponse } from '../api/decoders'; export const getCase = async ( caseId: string, @@ -608,3 +618,62 @@ export const getCaseUsers = async ({ signal, }); }; + +export const postObservable = async ( + request: AddObservableRequest, + caseId: string, + signal?: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch(getCaseCreateObservableUrl(caseId), { + method: 'POST', + body: JSON.stringify({ observable: request.observable }), + signal, + }); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const patchObservable = async ( + request: UpdateObservableRequest, + caseId: string, + observableId: string, + signal?: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseUpdateObservableUrl(caseId, observableId), + { + method: 'PATCH', + body: JSON.stringify({ observable: request.observable }), + signal, + } + ); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const deleteObservable = async ( + caseId: string, + observableId: string, + signal?: AbortSignal +): Promise => { + await KibanaServices.get().http.fetch(getCaseDeleteObservableUrl(caseId, observableId), { + method: 'DELETE', + signal, + }); +}; + +export const getSimilarCases = async ({ + caseId, + signal, + perPage, + page, +}: SimilarCasesProps): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseSimilarCasesUrl(caseId), + { + method: 'POST', + body: JSON.stringify({ page, perPage }), + signal, + } + ); + + return convertSimilarCasesToCamel(decodeCasesSimilarResponse(response)); +}; diff --git a/x-pack/plugins/cases/public/containers/configure/api.ts b/x-pack/plugins/cases/public/containers/configure/api.ts index b67e8f53f2268..4fb6149e3cb2b 100644 --- a/x-pack/plugins/cases/public/containers/configure/api.ts +++ b/x-pack/plugins/cases/public/containers/configure/api.ts @@ -115,8 +115,27 @@ export const fetchActionTypes = async ({ signal }: ApiProps): Promise ): CasesConfigurationUI => { - const { id, version, mappings, customFields, templates, closureType, connector, owner } = - configuration; - - return { id, version, mappings, customFields, templates, closureType, connector, owner }; + const { + id, + version, + mappings, + customFields, + templates, + closureType, + connector, + owner, + observableTypes, + } = configuration; + + return { + id, + version, + mappings, + customFields, + templates, + closureType, + connector, + owner, + observableTypes, + }; }; diff --git a/x-pack/plugins/cases/public/containers/configure/mock.ts b/x-pack/plugins/cases/public/containers/configure/mock.ts index 1124283e5aa94..b699fe753656e 100644 --- a/x-pack/plugins/cases/public/containers/configure/mock.ts +++ b/x-pack/plugins/cases/public/containers/configure/mock.ts @@ -11,7 +11,11 @@ import { ConnectorTypes } from '../../../common/types/domain'; import { SECURITY_SOLUTION_OWNER } from '../../../common/constants'; import type { CaseConnectorMapping } from './types'; import type { CasesConfigurationUI } from '../types'; -import { customFieldsConfigurationMock, templatesConfigurationMock } from '../mock'; +import { + customFieldsConfigurationMock, + observableTypesMock, + templatesConfigurationMock, +} from '../mock'; export const mappings: CaseConnectorMapping[] = [ { @@ -50,6 +54,7 @@ export const caseConfigurationResponseMock: Configuration = { version: 'WzHJ12', customFields: customFieldsConfigurationMock, templates: templatesConfigurationMock, + observableTypes: observableTypesMock, }; export const caseConfigurationRequest: ConfigurationRequest = { @@ -77,4 +82,5 @@ export const casesConfigurationsMock: CasesConfigurationUI = { customFields: customFieldsConfigurationMock, templates: templatesConfigurationMock, owner: 'securitySolution', + observableTypes: observableTypesMock, }; diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts b/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts index 52d4df20e5401..395675d37cb87 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts +++ b/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts @@ -46,6 +46,7 @@ describe('Use get all case configurations hook', () => { mappings: [], version: '', owner: '', + observableTypes: [], }, ]); @@ -77,6 +78,7 @@ describe('Use get all case configurations hook', () => { mappings: [], version: '', owner: '', + observableTypes: [], }, ]) ); diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx b/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx index 04b266478f667..a8929a32212f5 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx +++ b/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx @@ -14,7 +14,11 @@ import type { AppMockRenderer } from '../../common/mock'; import { createAppMockRenderer } from '../../common/mock'; import { ConnectorTypes } from '../../../common'; import { casesQueriesKeys } from '../constants'; -import { customFieldsConfigurationMock, templatesConfigurationMock } from '../mock'; +import { + customFieldsConfigurationMock, + observableTypesMock, + templatesConfigurationMock, +} from '../mock'; jest.mock('./api'); jest.mock('../../common/lib/kibana'); @@ -42,6 +46,7 @@ describe('usePersistConfiguration', () => { templates: [], version: '', id: '', + observableTypes: observableTypesMock, }; let appMockRender: AppMockRenderer; @@ -70,6 +75,7 @@ describe('usePersistConfiguration', () => { customFields: [], owner: 'securitySolution', templates: [], + observableTypes: observableTypesMock, }); }); @@ -95,6 +101,7 @@ describe('usePersistConfiguration', () => { customFields: [], templates: [], owner: 'securitySolution', + observableTypes: observableTypesMock, }); }); @@ -125,6 +132,7 @@ describe('usePersistConfiguration', () => { customFields: customFieldsConfigurationMock, templates: templatesConfigurationMock, owner: 'securitySolution', + observableTypes: observableTypesMock, }); }); }); @@ -148,6 +156,7 @@ describe('usePersistConfiguration', () => { customFields: [], templates: [], version: 'test-version', + observableTypes: observableTypesMock, }); }); @@ -171,6 +180,37 @@ describe('usePersistConfiguration', () => { result.current.mutate({ ...newRequest, id: 'test-id', version: 'test-version' }); }); + await waitFor(() => { + expect(spyPatch).toHaveBeenCalledWith('test-id', { + closure_type: 'close-by-user', + connector: { fields: null, id: 'none', name: 'none', type: '.none' }, + customFields: customFieldsConfigurationMock, + templates: templatesConfigurationMock, + version: 'test-version', + observableTypes: observableTypesMock, + }); + }); + }); + + it('calls patchCaseConfigure without observableTypes if it is not specified', async () => { + const spyPatch = jest.spyOn(api, 'patchCaseConfigure'); + + const { result } = renderHook(() => usePersistConfiguration(), { + wrapper: appMockRender.AppWrapper, + }); + + const { observableTypes, ...rest } = request; + + const newRequest = { + ...rest, + customFields: customFieldsConfigurationMock, + templates: templatesConfigurationMock, + }; + + act(() => { + result.current.mutate({ ...newRequest, id: 'test-id', version: 'test-version' }); + }); + await waitFor(() => { expect(spyPatch).toHaveBeenCalledWith('test-id', { closure_type: 'close-by-user', diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx b/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx index dc9bed95d1df8..b2943c9f0b128 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx +++ b/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx @@ -27,7 +27,15 @@ export const usePersistConfiguration = () => { const { showErrorToast, showSuccessToast } = useCasesToast(); return useMutation( - ({ id, version, closureType, customFields, templates, connector }: Request) => { + ({ + id, + version, + closureType, + customFields, + templates, + connector, + observableTypes, + }: Request) => { if (isEmpty(id) || isEmpty(version)) { return postCaseConfigure({ closure_type: closureType, @@ -35,6 +43,7 @@ export const usePersistConfiguration = () => { customFields: customFields ?? [], templates: templates ?? [], owner: owner[0], + observableTypes, }); } @@ -44,6 +53,7 @@ export const usePersistConfiguration = () => { connector, customFields: customFields ?? [], templates: templates ?? [], + observableTypes, }); }, { diff --git a/x-pack/plugins/cases/public/containers/configure/utils.ts b/x-pack/plugins/cases/public/containers/configure/utils.ts index e4416beb5ce57..91d06721f65af 100644 --- a/x-pack/plugins/cases/public/containers/configure/utils.ts +++ b/x-pack/plugins/cases/public/containers/configure/utils.ts @@ -21,6 +21,7 @@ export const initialConfiguration: CasesConfigurationUI = { version: '', id: '', owner: '', + observableTypes: [], }; export const getConfigurationByOwner = ({ diff --git a/x-pack/plugins/cases/public/containers/constants.ts b/x-pack/plugins/cases/public/containers/constants.ts index 0f57a729bc58b..b89f261fdd46c 100644 --- a/x-pack/plugins/cases/public/containers/constants.ts +++ b/x-pack/plugins/cases/public/containers/constants.ts @@ -23,6 +23,8 @@ export const casesQueriesKeys = { casesMetrics: () => [...casesQueriesKeys.casesList(), 'metrics'] as const, casesStatuses: () => [...casesQueriesKeys.casesList(), 'statuses'] as const, cases: (params: unknown) => [...casesQueriesKeys.casesList(), 'all-cases', params] as const, + similarCases: (id: string, params: unknown) => + [...casesQueriesKeys.caseView(), id, 'similar', params] as const, caseView: () => [...casesQueriesKeys.all, 'case'] as const, case: (id: string) => [...casesQueriesKeys.caseView(), id] as const, caseFiles: (id: string, params: unknown) => @@ -64,6 +66,9 @@ export const casesMutationsKeys = { bulkCreateAttachments: ['bulk-create-attachments'] as const, persistCaseConfiguration: ['persist-case-configuration'] as const, replaceCustomField: ['replace-custom-field'] as const, + postObservable: ['post-observable'] as const, + patchObservable: ['patch-observable'] as const, + deleteObservable: ['delete-observable'] as const, }; const DEFAULT_SEARCH_FIELDS = ['title', 'description']; diff --git a/x-pack/plugins/cases/public/containers/mock.ts b/x-pack/plugins/cases/public/containers/mock.ts index 1ed160cf1847b..e45fd7c10bd43 100644 --- a/x-pack/plugins/cases/public/containers/mock.ts +++ b/x-pack/plugins/cases/public/containers/mock.ts @@ -16,6 +16,7 @@ import type { Cases, CaseConnector, Attachment, + ObservableType, } from '../../common/types/domain'; import { CaseSeverity, @@ -46,9 +47,11 @@ import type { CaseUICustomField, CasesConfigurationUICustomField, CasesConfigurationUITemplate, + CasesSimilarResponseUI, + ObservableUI, } from '../../common/ui/types'; import { CaseMetricsFeature } from '../../common/types/api'; -import { SECURITY_SOLUTION_OWNER } from '../../common/constants'; +import { OBSERVABLE_TYPE_IPV4, SECURITY_SOLUTION_OWNER } from '../../common/constants'; import type { SnakeToCamelCase } from '../../common/types'; import { covertToSnakeCase } from './utils'; import type { @@ -56,7 +59,11 @@ import type { AttachmentViewObject, PersistableStateAttachmentType, } from '../client/attachment_framework/types'; -import type { CasesFindResponse, UserActionWithResponse } from '../../common/types/api'; +import type { + CasesFindResponse, + CasesSimilarResponse, + UserActionWithResponse, +} from '../../common/types/api'; export { connectorsMock } from '../common/mock/connectors'; export const basicCaseId = 'basic-case-id'; @@ -248,6 +255,7 @@ export const basicCase: CaseUI = { assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], category: null, customFields: [], + observables: [], }; export const basicFileMock: FileJSON = { @@ -371,6 +379,7 @@ export const mockCase: CaseUI = { assignees: [], category: null, customFields: [], + observables: [], }; export const basicCasePost: CaseUI = { @@ -461,6 +470,16 @@ export const allCases: CasesFindResponseUI = { countClosedCases: 130, }; +export const similarCases: CasesSimilarResponseUI = { + cases: cases.map(({ comments, ...theCase }) => ({ + ...theCase, + similarities: { observables: [] }, + })), + page: 1, + perPage: 5, + total: 10, +}; + export const actionLicenses: ActionLicense[] = [ { id: '.servicenow', @@ -622,6 +641,13 @@ export const allCasesSnake: CasesFindResponse = { count_open_cases: 20, }; +export const similarCasesSnake: CasesSimilarResponse = { + cases: casesSnake.map(({ ...theCase }) => ({ ...theCase, similarities: { observables: [] } })), + page: 1, + per_page: 5, + total: 10, +}; + export const getUserAction = ( type: UserActionType, action: UserActionAction, @@ -1267,3 +1293,33 @@ export const templatesConfigurationMock: CasesConfigurationUITemplate[] = [ }, }, ]; + +export const observableTypesMock: ObservableType[] = [ + { + label: 'test_observable_type_1', + key: '26f3f226-6611-4371-9242-c959b37c7af6', + }, + { + label: 'test_observable_type_2', + key: '67ec9e77-f64c-47d9-900c-1142239e0d25', + }, +]; + +export const mockObservables: ObservableUI[] = [ + { + id: 'fa6dfb79-7fd5-44d0-a582-ca196e3a5e69', + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: null, + createdAt: '2024-12-11', + updatedAt: '2024-12-11', + }, + { + id: '096ca782-bd39-4dbf-8cf1-253d18277fdc', + value: '10.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: null, + createdAt: '2024-12-11', + updatedAt: '2024-12-11', + }, +]; diff --git a/x-pack/plugins/cases/public/containers/translations.ts b/x-pack/plugins/cases/public/containers/translations.ts index 5e78e1a71e2b2..4c1e332f7b67a 100644 --- a/x-pack/plugins/cases/public/containers/translations.ts +++ b/x-pack/plugins/cases/public/containers/translations.ts @@ -68,3 +68,15 @@ export const CATEGORIES_ERROR_TITLE = i18n.translate( defaultMessage: 'Error fetching categories', } ); + +export const OBSERVABLE_CREATED = i18n.translate('xpack.cases.caseView.observables.created', { + defaultMessage: 'Observable created', +}); + +export const OBSERVABLE_REMOVED = i18n.translate('xpack.cases.caseView.observables.removed', { + defaultMessage: 'Observable removed', +}); + +export const OBSERVABLE_UPDATED = i18n.translate('xpack.cases.caseView.observables.updated', { + defaultMessage: 'Observable updated', +}); diff --git a/x-pack/plugins/cases/public/containers/use_delete_observables.test.tsx b/x-pack/plugins/cases/public/containers/use_delete_observables.test.tsx new file mode 100644 index 0000000000000..adf0921820e72 --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_delete_observables.test.tsx @@ -0,0 +1,67 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook, act } from '@testing-library/react-hooks'; +import { useDeleteObservable } from './use_delete_observables'; +import { deleteObservable } from './api'; +import { useCasesToast } from '../common/use_cases_toast'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; + +jest.mock('./api'); +jest.mock('../common/use_cases_toast'); +jest.mock('../components/case_view/use_on_refresh_case_view_page'); + +describe('useDeleteObservable', () => { + const caseId = 'test-case-id'; + const observableId = 'test-observable-id'; + const showErrorToast = jest.fn(); + const showSuccessToast = jest.fn(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + (useCasesToast as jest.Mock).mockReturnValue({ showErrorToast, showSuccessToast }); + }); + + it('should call deleteObservable and show success toast on success', async () => { + (deleteObservable as jest.Mock).mockResolvedValue({}); + + const { result, waitFor } = renderHook(() => useDeleteObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(); + }); + + await waitFor(() => expect(deleteObservable).toHaveBeenCalledWith(caseId, observableId)); + expect(showSuccessToast).toHaveBeenCalledWith(expect.any(String)); + expect(refreshCaseViewPage).toHaveBeenCalled(); + }); + + it('should show error toast on failure', async () => { + const error = new Error('Failed to delete observable'); + (deleteObservable as jest.Mock).mockRejectedValue(error); + + const { result, waitFor } = renderHook(() => useDeleteObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(); + }); + + await waitFor(() => + expect(showErrorToast).toHaveBeenCalledWith(error, { title: expect.any(String) }) + ); + }); +}); diff --git a/x-pack/plugins/cases/public/containers/use_delete_observables.tsx b/x-pack/plugins/cases/public/containers/use_delete_observables.tsx new file mode 100644 index 0000000000000..76ce836094faa --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_delete_observables.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMutation } from '@tanstack/react-query'; +import { deleteObservable } from './api'; +import * as i18n from './translations'; +import type { ServerError } from '../types'; +import { useCasesToast } from '../common/use_cases_toast'; +import { casesMutationsKeys } from './constants'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; + +export const useDeleteObservable = (caseId: string, observableId: string) => { + const { showErrorToast } = useCasesToast(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + const { showSuccessToast } = useCasesToast(); + + return useMutation( + () => { + return deleteObservable(caseId, observableId); + }, + { + mutationKey: casesMutationsKeys.deleteObservable, + onError: (error: ServerError) => { + showErrorToast(error, { title: i18n.ERROR_TITLE }); + }, + onSuccess: () => { + showSuccessToast(i18n.OBSERVABLE_REMOVED); + refreshCaseViewPage(); + }, + } + ); +}; + +export type UseDeleteObservables = ReturnType; diff --git a/x-pack/plugins/cases/public/containers/use_get_similar_cases.test.tsx b/x-pack/plugins/cases/public/containers/use_get_similar_cases.test.tsx new file mode 100644 index 0000000000000..25bcadec2e7af --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_get_similar_cases.test.tsx @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook } from '@testing-library/react-hooks'; +import * as api from './api'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; +import { useToasts } from '../common/lib/kibana/hooks'; +import { useGetSimilarCases } from './use_get_similar_cases'; +import { mockCase } from './mock'; + +jest.mock('./api'); +jest.mock('../common/lib/kibana/hooks'); + +describe('useGetSimilarCases', () => { + const abortCtrl = new AbortController(); + const addSuccess = jest.fn(); + (useToasts as jest.Mock).mockReturnValue({ addSuccess, addError: jest.fn() }); + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('calls getSimilarCases with correct arguments', async () => { + const spyOnGetCases = jest.spyOn(api, 'getSimilarCases'); + const { waitFor } = renderHook( + () => useGetSimilarCases({ caseId: mockCase.id, perPage: 10, page: 0 }), + { + wrapper: appMockRender.AppWrapper, + } + ); + + await waitFor(() => { + expect(spyOnGetCases).toBeCalled(); + }); + + expect(spyOnGetCases).toBeCalledWith({ + caseId: mockCase.id, + signal: abortCtrl.signal, + page: 0, + perPage: 10, + }); + }); + + it('shows a toast error message when an error occurs in the response', async () => { + const spyOnGetCases = jest.spyOn(api, 'getSimilarCases'); + spyOnGetCases.mockImplementation(() => { + throw new Error('Something went wrong'); + }); + + const addError = jest.fn(); + (useToasts as jest.Mock).mockReturnValue({ addSuccess, addError }); + + const { waitFor } = renderHook( + () => useGetSimilarCases({ caseId: mockCase.id, perPage: 10, page: 0 }), + { + wrapper: appMockRender.AppWrapper, + } + ); + + await waitFor(() => { + expect(addError).toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/plugins/cases/public/containers/use_get_similar_cases.tsx b/x-pack/plugins/cases/public/containers/use_get_similar_cases.tsx new file mode 100644 index 0000000000000..e5df1b6a6fac0 --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_get_similar_cases.tsx @@ -0,0 +1,53 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { UseQueryResult } from '@tanstack/react-query'; +import { useQuery } from '@tanstack/react-query'; +import { casesQueriesKeys } from './constants'; +import type { CasesSimilarResponseUI } from './types'; +import { useToasts } from '../common/lib/kibana'; +import * as i18n from './translations'; +import { getSimilarCases } from './api'; +import type { ServerError } from '../types'; + +export const initialData: CasesSimilarResponseUI = { + cases: [], + page: 0, + perPage: 0, + total: 0, +}; + +export const useGetSimilarCases = (params: { + caseId: string; + perPage: number; + page: number; +}): UseQueryResult => { + const toasts = useToasts(); + + return useQuery( + casesQueriesKeys.similarCases(params.caseId, params), + ({ signal }) => { + return getSimilarCases({ + caseId: params.caseId, + perPage: params.perPage, + page: params.page, + signal, + }); + }, + { + keepPreviousData: true, + onError: (error: ServerError) => { + if (error.name !== 'AbortError') { + toasts.addError( + error.body && error.body.message ? new Error(error.body.message) : error, + { title: i18n.ERROR_TITLE } + ); + } + }, + } + ); +}; diff --git a/x-pack/plugins/cases/public/containers/use_patch_observables.test.tsx b/x-pack/plugins/cases/public/containers/use_patch_observables.test.tsx new file mode 100644 index 0000000000000..98f1d50e77658 --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_patch_observables.test.tsx @@ -0,0 +1,75 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook, act } from '@testing-library/react-hooks'; +import { usePatchObservable } from './use_patch_observables'; +import { patchObservable } from './api'; +import { useCasesToast } from '../common/use_cases_toast'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; +import * as i18n from './translations'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; + +jest.mock('../common/use_cases_toast'); +jest.mock('../components/case_view/use_on_refresh_case_view_page'); + +jest.mock('./api'); +jest.mock('../common/lib/kibana'); + +describe('usePatchObservable', () => { + const caseId = 'test-case-id'; + const observableId = 'test-observable-id'; + const showErrorToast = jest.fn(); + const showSuccessToast = jest.fn(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + const mockRequest = { observable: { value: 'value', typeKey: 'test', description: null } }; + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + jest.clearAllMocks(); + (useCasesToast as jest.Mock).mockReturnValue({ showErrorToast, showSuccessToast }); + + appMockRender = createAppMockRenderer(); + }); + + it('should call patchObservable and show success toast on success', async () => { + (patchObservable as jest.Mock).mockResolvedValue({}); + + const { result, waitFor } = renderHook(() => usePatchObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(mockRequest); + }); + + await waitFor(() => + expect(patchObservable).toHaveBeenCalledWith(mockRequest, caseId, observableId) + ); + expect(showSuccessToast).toHaveBeenCalledWith(i18n.OBSERVABLE_UPDATED); + expect(refreshCaseViewPage).toHaveBeenCalled(); + }); + + it('should show error toast on failure', async () => { + const error = new Error('Failed to patch observable'); + (patchObservable as jest.Mock).mockRejectedValue(error); + + const { result, waitFor } = renderHook(() => usePatchObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(mockRequest); + }); + + await waitFor(() => + expect(showErrorToast).toHaveBeenCalledWith(error, { title: i18n.ERROR_TITLE }) + ); + }); +}); diff --git a/x-pack/plugins/cases/public/containers/use_patch_observables.tsx b/x-pack/plugins/cases/public/containers/use_patch_observables.tsx new file mode 100644 index 0000000000000..772997435436a --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_patch_observables.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMutation } from '@tanstack/react-query'; +import type { UpdateObservableRequest } from '../../common/types/api'; +import { patchObservable } from './api'; +import * as i18n from './translations'; +import type { ServerError } from '../types'; +import { useCasesToast } from '../common/use_cases_toast'; +import { casesMutationsKeys } from './constants'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; + +export const usePatchObservable = (caseId: string, observableId: string) => { + const { showErrorToast, showSuccessToast } = useCasesToast(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + return useMutation( + (request: UpdateObservableRequest) => { + return patchObservable(request, caseId, observableId); + }, + { + mutationKey: casesMutationsKeys.patchObservable, + onError: (error: ServerError) => { + showErrorToast(error, { title: i18n.ERROR_TITLE }); + }, + onSuccess: () => { + showSuccessToast(i18n.OBSERVABLE_UPDATED); + refreshCaseViewPage(); + }, + } + ); +}; + +export type UsePatchObservables = ReturnType; diff --git a/x-pack/plugins/cases/public/containers/use_post_observables.test.tsx b/x-pack/plugins/cases/public/containers/use_post_observables.test.tsx new file mode 100644 index 0000000000000..177b18d6b36de --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_post_observables.test.tsx @@ -0,0 +1,103 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook, act } from '@testing-library/react-hooks'; +import * as api from './api'; +import { useToasts } from '../common/lib/kibana'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; +import { usePostObservable } from './use_post_observables'; +import { casesQueriesKeys } from './constants'; +import { mockCase } from './mock'; +import type { AddObservableRequest } from '../../common/types/api'; + +jest.mock('./api'); +jest.mock('../common/lib/kibana'); + +const observableMock: AddObservableRequest = { + observable: { + typeKey: '80a3cc9b-500a-45fa-909a-b4f78751726c', + value: 'test_value', + description: '', + }, +}; + +describe('usePostObservables', () => { + const addSuccess = jest.fn(); + const addError = jest.fn(); + + (useToasts as jest.Mock).mockReturnValue({ addSuccess, addError }); + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('calls the api when invoked with the correct parameters', async () => { + const spy = jest.spyOn(api, 'postObservable'); + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(spy).toHaveBeenCalledWith({ observable: observableMock.observable }, mockCase.id); + }); + + it('invalidates the queries correctly', async () => { + const queryClientSpy = jest.spyOn(appMockRender.queryClient, 'invalidateQueries'); + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(queryClientSpy).toHaveBeenCalledWith(casesQueriesKeys.caseView()); + }); + + it('does shows a success toaster', async () => { + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(addSuccess).toHaveBeenCalled(); + }); + + it('shows a toast error when the api return an error', async () => { + jest + .spyOn(api, 'postObservable') + .mockRejectedValue(new Error('usePostObservables: Test error')); + + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(addError).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/cases/public/containers/use_post_observables.tsx b/x-pack/plugins/cases/public/containers/use_post_observables.tsx new file mode 100644 index 0000000000000..401b0c0e33da4 --- /dev/null +++ b/x-pack/plugins/cases/public/containers/use_post_observables.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMutation } from '@tanstack/react-query'; +import type { AddObservableRequest } from '../../common/types/api'; +import { postObservable } from './api'; +import * as i18n from './translations'; +import type { ServerError } from '../types'; +import { useCasesToast } from '../common/use_cases_toast'; +import { casesMutationsKeys } from './constants'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; + +export const usePostObservable = (caseId: string) => { + const { showErrorToast, showSuccessToast } = useCasesToast(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + return useMutation( + (request: AddObservableRequest) => { + return postObservable(request, caseId); + }, + { + mutationKey: casesMutationsKeys.postObservable, + onError: (error: ServerError) => { + showErrorToast(error, { title: i18n.ERROR_TITLE }); + }, + onSuccess: () => { + refreshCaseViewPage(); + showSuccessToast(i18n.OBSERVABLE_CREATED); + }, + } + ); +}; + +export type UsePostObservables = ReturnType; diff --git a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts b/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts index c7f047aa6b385..ace3c39d31e0a 100644 --- a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts +++ b/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts @@ -121,6 +121,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -164,6 +165,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -243,6 +245,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-saved-object-id", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -281,6 +284,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-saved-object-id", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts b/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts index 5cdd4c943b944..bfde249171009 100644 --- a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts +++ b/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts @@ -794,6 +794,7 @@ describe('update', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -837,6 +838,7 @@ describe('update', () => { "duration": null, "external_service": null, "id": "mock-id-2", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/client/cases/client.ts b/x-pack/plugins/cases/server/client/cases/client.ts index 68ee6f003f8b2..c615cb4ac6508 100644 --- a/x-pack/plugins/cases/server/client/cases/client.ts +++ b/x-pack/plugins/cases/server/client/cases/client.ts @@ -20,6 +20,10 @@ import type { BulkCreateCasesRequest, BulkCreateCasesResponse, CasesSearchRequest, + SimilarCasesSearchRequest, + CasesSimilarResponse, + AddObservableRequest, + UpdateObservableRequest, } from '../../../common/types/api'; import type { CasesClient } from '../client'; import type { CasesClientInternal } from '../client_internal'; @@ -36,6 +40,8 @@ import { bulkUpdate } from './bulk_update'; import { bulkCreate } from './bulk_create'; import type { ReplaceCustomFieldArgs } from './replace_custom_field'; import { replaceCustomField } from './replace_custom_field'; +import { similar } from './similar'; +import { addObservable, deleteObservable, updateObservable } from './observables'; /** * API for interacting with the cases entities. @@ -102,6 +108,26 @@ export interface CasesSubClient { * Replace custom field with specific customFieldId and CaseId */ replaceCustomField(params: ReplaceCustomFieldArgs): Promise; + /** + * Returns cases that are similar to given case (by observables) + */ + similar(caseId: string, params: SimilarCasesSearchRequest): Promise; + /** + * Adds observable to the case + */ + addObservable(caseId: string, params: AddObservableRequest): Promise; + /** + * Updates observable + */ + updateObservable( + caseId: string, + observableId: string, + params: UpdateObservableRequest + ): Promise; + /** + * Removes observable + */ + deleteObservable(caseId: string, observableId: string): Promise; } /** @@ -130,6 +156,14 @@ export const createCasesSubClient = ( getCasesByAlertID: (params: CasesByAlertIDParams) => getCasesByAlertID(params, clientArgs), replaceCustomField: (params: ReplaceCustomFieldArgs) => replaceCustomField(params, clientArgs, casesClient), + similar: (caseId: string, params: SimilarCasesSearchRequest) => + similar(caseId, params, clientArgs, casesClient), + addObservable: (caseId: string, params: AddObservableRequest) => + addObservable(caseId, params, clientArgs, casesClient), + updateObservable: (caseId: string, observableId: string, params: UpdateObservableRequest) => + updateObservable(caseId, observableId, params, clientArgs, casesClient), + deleteObservable: (caseId: string, observableId: string) => + deleteObservable(caseId, observableId, clientArgs, casesClient), }; return Object.freeze(casesSubClient); diff --git a/x-pack/plugins/cases/server/client/cases/create.test.ts b/x-pack/plugins/cases/server/client/cases/create.test.ts index 8b24c79c530b0..5a3eb7bd4f54f 100644 --- a/x-pack/plugins/cases/server/client/cases/create.test.ts +++ b/x-pack/plugins/cases/server/client/cases/create.test.ts @@ -197,6 +197,7 @@ describe('create', () => { status: CaseStatuses.open, category: null, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -274,6 +275,7 @@ describe('create', () => { status: CaseStatuses.open, category: null, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -353,6 +355,7 @@ describe('create', () => { status: CaseStatuses.open, category: null, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -419,6 +422,7 @@ describe('create', () => { duration: null, status: CaseStatuses.open, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -498,6 +502,7 @@ describe('create', () => { duration: null, status: CaseStatuses.open, customFields: theCustomFields, + observables: [], }, id: expect.any(String), refresh: false, @@ -526,6 +531,7 @@ describe('create', () => { { key: 'first_key', type: 'text', value: 'default value' }, { key: 'second_key', type: 'toggle', value: null }, ], + observables: [], }, id: expect.any(String), refresh: false, diff --git a/x-pack/plugins/cases/server/client/cases/observables.test.ts b/x-pack/plugins/cases/server/client/cases/observables.test.ts new file mode 100644 index 0000000000000..1d211615cab7a --- /dev/null +++ b/x-pack/plugins/cases/server/client/cases/observables.test.ts @@ -0,0 +1,228 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { addObservable, deleteObservable, updateObservable } from './observables'; +import Boom from '@hapi/boom'; +import { LICENSING_CASE_OBSERVABLES_FEATURE } from '../../common/constants'; +import { createCasesClientMock, createCasesClientMockArgs } from '../mocks'; +import { mockCases } from '../../mocks'; +import { OBSERVABLE_TYPE_IPV4 } from '../../../common/constants'; + +const caseSO = mockCases[0]; + +const mockCasesClient = createCasesClientMock(); +const mockClientArgs = createCasesClientMockArgs(); + +const mockLicensingService = mockClientArgs.services.licensingService; +const mockCaseService = mockClientArgs.services.caseService; + +const mockObservable = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + id: '5c431380-c6ef-459f-b0fe-1699e978517b', + description: null, + createdAt: '2024-12-05', + updatedAt: '2024-12-05', +}; +const caseSOWithObservables = { + ...caseSO, + attributes: { + ...caseSO.attributes, + observables: [mockObservable], + }, +}; +describe('addObservable', () => { + beforeEach(() => { + mockCaseService.patchCase.mockResolvedValue(caseSO); + mockCaseService.getCase.mockResolvedValue(caseSO); + jest.clearAllMocks(); + }); + + it('should add an observable successfully', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + const result = await addObservable( + 'case-id', + { observable: { typeKey: OBSERVABLE_TYPE_IPV4.key, value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ); + + expect(mockLicensingService.notifyUsage).toHaveBeenCalledWith( + LICENSING_CASE_OBSERVABLES_FEATURE + ); + expect(result).toBeDefined(); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: OBSERVABLE_TYPE_IPV4.key, value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.forbidden( + 'In order to assign observables to cases, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should throw an error if observable type is invalid', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: 'invalid type', value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.badRequest( + 'Failed to add observable: Error: Invalid observable type, key does not exist: invalid type' + ) + ); + }); + + it('should throw an error if duplicate observable is posted', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + + mockCaseService.getCase.mockResolvedValue(caseSOWithObservables); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: OBSERVABLE_TYPE_IPV4.key, value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.badRequest('Failed to add observable: Error: Invalid duplicated observables in request.') + ); + }); + + it('should handle errors and throw boom', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + mockCaseService.getCase.mockRejectedValue(new Error('Case not found')); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: 'typeKey', value: 'test', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow(); + }); +}); + +describe('updateObservable', () => { + beforeEach(() => { + mockCaseService.patchCase.mockResolvedValue(caseSOWithObservables); + mockCaseService.getCase.mockResolvedValue(caseSOWithObservables); + jest.clearAllMocks(); + }); + + it('should update an observable successfully', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + const result = await updateObservable( + 'case-id', + mockObservable.id, + { + observable: { + value: '192.168.0.1', + description: 'Updated description', + }, + }, + mockClientArgs, + mockCasesClient + ); + + expect(mockLicensingService.notifyUsage).toHaveBeenCalledWith( + LICENSING_CASE_OBSERVABLES_FEATURE + ); + expect(result).toBeDefined(); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + updateObservable( + 'case-id', + 'observable-id', + { + observable: { + value: '192.168.0.1', + description: 'Updated description', + }, + }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.forbidden( + 'In order to update observables in cases, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should handle errors and throw boom', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + mockCaseService.getCase.mockRejectedValue(new Error('Case not found')); + + await expect( + updateObservable( + 'case-id', + 'observable-id', + { observable: { value: 'test', description: 'Updated description' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow(); + }); +}); + +describe('deleteObservable', () => { + beforeEach(() => { + mockCaseService.patchCase.mockResolvedValue(caseSOWithObservables); + mockCaseService.getCase.mockResolvedValue(caseSOWithObservables); + jest.clearAllMocks(); + }); + + it('should delete an observable successfully', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + await deleteObservable('case-id', mockObservable.id, mockClientArgs, mockCasesClient); + + expect(mockLicensingService.notifyUsage).toHaveBeenCalledWith( + LICENSING_CASE_OBSERVABLES_FEATURE + ); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + deleteObservable('case-id', 'observable-id', mockClientArgs, mockCasesClient) + ).rejects.toThrow( + Boom.forbidden( + 'In order to delete observables from cases, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should handle errors and throw boom', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + mockCaseService.getCase.mockRejectedValue(new Error('Case not found')); + + await expect( + deleteObservable('case-id', 'observable-id', mockClientArgs, mockCasesClient) + ).rejects.toThrow(); + }); +}); diff --git a/x-pack/plugins/cases/server/client/cases/observables.ts b/x-pack/plugins/cases/server/client/cases/observables.ts new file mode 100644 index 0000000000000..732dbd73e4a39 --- /dev/null +++ b/x-pack/plugins/cases/server/client/cases/observables.ts @@ -0,0 +1,235 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { PublicMethodsOf } from '@kbn/utility-types'; +import { v4 } from 'uuid'; +import Boom from '@hapi/boom'; + +import { MAX_OBSERVABLES_PER_CASE } from '../../../common/constants'; +import { CaseRt } from '../../../common/types/domain'; +import { + AddObservableRequestRt, + type AddObservableRequest, + type UpdateObservableRequest, + UpdateObservableRequestRt, +} from '../../../common/types/api'; +import type { CasesClient } from '../client'; +import type { CasesClientArgs } from '../types'; +import { decodeOrThrow, decodeWithExcessOrThrow } from '../../common/runtime_types'; +import type { Authorization } from '../../authorization'; +import { Operations } from '../../authorization'; +import type { CaseSavedObjectTransformed } from '../../common/types/case'; +import { flattenCaseSavedObject } from '../../common/utils'; +import { LICENSING_CASE_OBSERVABLES_FEATURE } from '../../common/constants'; +import { + validateDuplicatedObservablesInRequest, + validateObservableTypeKeyExists, +} from '../validators'; + +const ensureUpdateAuthorized = async ( + authorization: PublicMethodsOf, + theCase: CaseSavedObjectTransformed +) => { + return authorization.ensureAuthorized({ + operation: Operations.updateCase, + entities: [ + { + id: theCase.id, + owner: theCase.attributes.owner, + }, + ], + }); +}; + +export const addObservable = async ( + caseId: string, + params: AddObservableRequest, + clientArgs: CasesClientArgs, + casesClient: CasesClient +) => { + const { + services: { caseService, licensingService }, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to assign observables to cases, you must be subscribed to an Elastic Platinum license' + ); + } + + licensingService.notifyUsage(LICENSING_CASE_OBSERVABLES_FEATURE); + + try { + const paramArgs = decodeWithExcessOrThrow(AddObservableRequestRt)(params); + const retrievedCase = await caseService.getCase({ id: caseId }); + await ensureUpdateAuthorized(authorization, retrievedCase); + + await validateObservableTypeKeyExists(casesClient, { + caseOwner: retrievedCase.attributes.owner, + observableTypeKey: params.observable.typeKey, + }); + + const currentObservables = retrievedCase.attributes.observables ?? []; + + if (currentObservables.length === MAX_OBSERVABLES_PER_CASE) { + throw Boom.forbidden(`Max ${MAX_OBSERVABLES_PER_CASE} observables per case is allowed.`); + } + + const updatedObservables = [ + ...currentObservables, + { + ...paramArgs.observable, + id: v4(), + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), + }, + ]; + + validateDuplicatedObservablesInRequest({ + requestFields: updatedObservables, + }); + + const updatedCase = await caseService.patchCase({ + caseId: retrievedCase.id, + originalCase: retrievedCase, + updatedAttributes: { + observables: updatedObservables, + }, + }); + + const res = flattenCaseSavedObject({ + savedObject: { + ...retrievedCase, + ...updatedCase, + attributes: { ...retrievedCase.attributes, ...updatedCase?.attributes }, + references: retrievedCase.references, + }, + }); + + return decodeOrThrow(CaseRt)(res); + } catch (error) { + throw Boom.badRequest(`Failed to add observable: ${error}`); + } +}; + +export const updateObservable = async ( + caseId: string, + observableId: string, + params: UpdateObservableRequest, + clientArgs: CasesClientArgs, + casesClient: CasesClient +) => { + const { + services: { caseService, licensingService }, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to update observables in cases, you must be subscribed to an Elastic Platinum license' + ); + } + + licensingService.notifyUsage(LICENSING_CASE_OBSERVABLES_FEATURE); + + try { + const paramArgs = decodeWithExcessOrThrow(UpdateObservableRequestRt)(params); + const retrievedCase = await caseService.getCase({ id: caseId }); + await ensureUpdateAuthorized(authorization, retrievedCase); + + const currentObservables = retrievedCase.attributes.observables ?? []; + + const observableIndex = currentObservables.findIndex( + (observable) => observable.id === observableId + ); + + if (observableIndex === -1) { + throw Boom.notFound(`Failed to update observable: observable id ${observableId} not found`); + } + + const updatedObservables = [...currentObservables]; + updatedObservables[observableIndex] = { + ...updatedObservables[observableIndex], + ...paramArgs.observable, + updatedAt: new Date().toISOString(), + }; + + validateDuplicatedObservablesInRequest({ + requestFields: updatedObservables, + }); + + const updatedCase = await caseService.patchCase({ + caseId: retrievedCase.id, + originalCase: retrievedCase, + updatedAttributes: { + observables: updatedObservables, + }, + }); + + const res = flattenCaseSavedObject({ + savedObject: { + ...retrievedCase, + ...updatedCase, + attributes: { ...retrievedCase.attributes, ...updatedCase?.attributes }, + references: retrievedCase.references, + }, + }); + + return decodeOrThrow(CaseRt)(res); + } catch (error) { + throw Boom.badRequest(`Failed to update observable: ${error}`); + } +}; + +export const deleteObservable = async ( + caseId: string, + observableId: string, + clientArgs: CasesClientArgs, + casesClient: CasesClient +) => { + const { + services: { caseService, licensingService }, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to delete observables from cases, you must be subscribed to an Elastic Platinum license' + ); + } + + licensingService.notifyUsage(LICENSING_CASE_OBSERVABLES_FEATURE); + + try { + const retrievedCase = await caseService.getCase({ id: caseId }); + await ensureUpdateAuthorized(authorization, retrievedCase); + + const updatedObservables = retrievedCase.attributes.observables.filter( + (observable) => observable.id !== observableId + ); + + // NOTE: same length of observables pre and post filter means that the observable id has not been found + if (updatedObservables.length === retrievedCase.attributes.observables.length) { + throw Boom.notFound(`Failed to delete observable: observable id ${observableId} not found`); + } + + await caseService.patchCase({ + caseId: retrievedCase.id, + originalCase: retrievedCase, + updatedAttributes: { observables: updatedObservables }, + }); + } catch (error) { + throw Boom.badRequest(`Failed to delete observable id: ${observableId}: ${error}`); + } +}; diff --git a/x-pack/plugins/cases/server/client/cases/similar.test.ts b/x-pack/plugins/cases/server/client/cases/similar.test.ts new file mode 100644 index 0000000000000..9ded5b9c4f987 --- /dev/null +++ b/x-pack/plugins/cases/server/client/cases/similar.test.ts @@ -0,0 +1,236 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { mockCases } from '../../mocks'; +import { createCasesClientMock, createCasesClientMockArgs } from '../mocks'; +import { similar } from './similar'; +import { mockCase } from '../../../public/containers/mock'; +import { OBSERVABLE_TYPE_IPV4 } from '../../../common/constants'; +import Boom from '@hapi/boom'; + +const mockClientArgs = createCasesClientMockArgs(); +const mockCasesClient = createCasesClientMock(); + +const mockLicensingService = mockClientArgs.services.licensingService; + +describe('similar', () => { + beforeEach(() => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + + jest.mocked(mockClientArgs.services.caseService.getCase).mockResolvedValue({ + ...mockCases[0], + attributes: { + ...mockCases[0].attributes, + observables: [ + { + id: 'ddfb207d-4b46-4545-bae8-5193c1551e50', + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + createdAt: '2024-11-07', + updatedAt: '2024-11-07', + description: '', + }, + ], + }, + }); + + mockClientArgs.services.caseService.findCases.mockResolvedValue({ + page: 1, + per_page: 10, + total: mockCases.length, + saved_objects: [], + }); + + mockClientArgs.services.caseConfigureService.find.mockResolvedValue({ + saved_objects: [], + page: 1, + per_page: 10, + total: 0, + }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('should execute query with observable type key and value and proper filters', async () => { + await similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ); + expect(mockClientArgs.services.caseService.findCases).toHaveBeenCalled(); + + const call = mockClientArgs.services.caseService.findCases.mock.calls[0][0]; + + expect(call).toMatchInlineSnapshot(` + Object { + "filter": Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.observables", + }, + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "value", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "127.0.0.1", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "typeKey", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "observable-type-ipv4", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "and", + "type": "function", + }, + ], + "function": "nested", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.owner", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "securitySolution", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "and", + "type": "function", + }, + "page": 1, + "perPage": 10, + "rootSearchFields": Array [ + "_id", + ], + "search": "-\\"cases:mock-id\\"", + "sortField": "created_at", + } + `); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.forbidden( + 'In order to use the similar cases feature, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should not call findCases when the case has no observables', async () => { + jest.mocked(mockClientArgs.services.caseService.getCase).mockResolvedValue({ + ...mockCases[0], + attributes: { + ...mockCases[0].attributes, + observables: [], + }, + }); + + await similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ); + expect(mockClientArgs.services.caseService.findCases).not.toHaveBeenCalled(); + }); + + it('should not call findCases when unknown typeKey is specified for an observable', async () => { + jest.mocked(mockClientArgs.services.caseService.getCase).mockResolvedValue({ + ...mockCases[0], + attributes: { + ...mockCases[0].attributes, + observables: [ + { + id: '4491eedc-2336-41e3-bf98-29147c133b95', + typeKey: 'unknown', + value: 'some value', + createdAt: '2024-12-16', + updatedAt: '2024-12-16', + description: null, + }, + { + id: 'e7d3f99d-c8be-41df-ada0-640021571bd4', + typeKey: 'unknown', + value: 'some value', + createdAt: '2024-12-16', + updatedAt: '2024-12-16', + description: null, + }, + ], + }, + }); + + await similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ); + expect(mockClientArgs.services.caseService.findCases).not.toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/cases/server/client/cases/similar.ts b/x-pack/plugins/cases/server/client/cases/similar.ts new file mode 100644 index 0000000000000..daca8d1e6b573 --- /dev/null +++ b/x-pack/plugins/cases/server/client/cases/similar.ts @@ -0,0 +1,163 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { intersection } from 'lodash'; +import Boom from '@hapi/boom'; +import { OWNER_FIELD } from '../../../common/constants'; +import type { CasesSimilarResponse, SimilarCasesSearchRequest } from '../../../common/types/api'; +import { SimilarCasesSearchRequestRt, CasesSimilarResponseRt } from '../../../common/types/api'; +import { decodeWithExcessOrThrow, decodeOrThrow } from '../../common/runtime_types'; + +import { createCaseError } from '../../common/error'; +import type { CasesClient, CasesClientArgs } from '..'; +import { defaultSortField, flattenCaseSavedObject } from '../../common/utils'; +import { Operations } from '../../authorization'; +import { buildFilter, buildObservablesFieldsFilter, combineFilters } from '../utils'; +import { combineFilterWithAuthorizationFilter } from '../../authorization/utils'; +import type { CaseSavedObjectTransformed } from '../../common/types/case'; +import { getAvailableObservableTypesSet } from '../observable_types'; + +interface Similarity { + typeKey: string; + value: string; +} + +const getSimilarities = ( + a: CaseSavedObjectTransformed, + b: CaseSavedObjectTransformed, + availableObservableTypes: Set +): Similarity[] => { + const stringify = (observable: { typeKey: string; value: string }) => + [observable.typeKey, observable.value].join(','); + + const setA = new Set(a.attributes.observables.map(stringify)); + const setB = new Set(b.attributes.observables.map(stringify)); + + const intersectingObservables: string[] = intersection([...setA], [...setB]); + + return intersectingObservables + .map((item) => { + const [typeKey, value] = item.split(','); + + return { + typeKey, + value, + }; + }) + .filter((observable) => availableObservableTypes.has(observable.typeKey)); +}; + +/** + * Retrieves cases similar to a given Case + */ +export const similar = async ( + caseId: string, + params: SimilarCasesSearchRequest, + clientArgs: CasesClientArgs, + casesClient: CasesClient +): Promise => { + const { + services: { caseService, licensingService }, + logger, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to use the similar cases feature, you must be subscribed to an Elastic Platinum license' + ); + } + + try { + const paramArgs = decodeWithExcessOrThrow(SimilarCasesSearchRequestRt)(params); + const retrievedCase = await caseService.getCase({ id: caseId }); + + const availableObservableTypesSet = await getAvailableObservableTypesSet( + casesClient, + retrievedCase.attributes.owner + ); + + const ownerFilter = buildFilter({ + filters: retrievedCase.attributes.owner, + field: OWNER_FIELD, + operator: 'or', + }); + + const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = + await authorization.getAuthorizationFilter(Operations.findCases); + + const similarCasesFilter = buildObservablesFieldsFilter( + retrievedCase.attributes.observables.reduce((observableMap, observable) => { + // NOTE: skip non-existent observable types + if (!availableObservableTypesSet.has(observable.typeKey)) { + return observableMap; + } + + if (!observableMap[observable.typeKey]) { + observableMap[observable.typeKey] = []; + } + + observableMap[observable.typeKey].push(observable.value); + + return observableMap; + }, {} as Record) + ); + + // NOTE: empty similar cases filter means that we are unable to show similar cases + // and should not combine it with general filters below. + if (!similarCasesFilter) { + return { + cases: [], + page: 1, + per_page: paramArgs.perPage ?? 0, + total: 0, + }; + } + + const filters = combineFilters([similarCasesFilter, ownerFilter]); + + const finalCasesFilter = combineFilterWithAuthorizationFilter(filters, authorizationFilter); + + const cases = await caseService.findCases({ + filter: finalCasesFilter, + sortField: defaultSortField, + search: `-"cases:${caseId}"`, + rootSearchFields: ['_id'], + page: paramArgs.page, + perPage: paramArgs.perPage, + }); + + ensureSavedObjectsAreAuthorized( + cases.saved_objects.map((caseSavedObject) => ({ + id: caseSavedObject.id, + owner: caseSavedObject.attributes.owner, + })) + ); + + const res = { + cases: cases.saved_objects.map((so) => ({ + ...flattenCaseSavedObject({ savedObject: so }), + similarities: { + observables: getSimilarities(retrievedCase, so, availableObservableTypesSet), + }, + })), + page: cases.page, + per_page: cases.per_page, + total: cases.total, + }; + + return decodeOrThrow(CasesSimilarResponseRt)(res); + } catch (error) { + throw createCaseError({ + message: `Failed to find cases: ${JSON.stringify(params)}: ${error}`, + error, + logger, + }); + } +}; diff --git a/x-pack/plugins/cases/server/client/configure/client.test.ts b/x-pack/plugins/cases/server/client/configure/client.test.ts index aab8937591f9e..323d872d4b10e 100644 --- a/x-pack/plugins/cases/server/client/configure/client.test.ts +++ b/x-pack/plugins/cases/server/client/configure/client.test.ts @@ -16,6 +16,7 @@ import { MAX_CUSTOM_FIELDS_PER_CASE, MAX_SUPPORTED_CONNECTORS_RETURNED, MAX_TEMPLATES_LENGTH, + OBSERVABLE_TYPE_IPV4, } from '../../../common/constants'; import { ConnectorTypes } from '../../../common'; import type { TemplatesConfiguration } from '../../../common/types/domain'; @@ -403,6 +404,7 @@ describe('client', () => { email: 'testemail@elastic.co', username: 'elastic', }, + observableTypes: [], }, }); @@ -463,6 +465,7 @@ describe('client', () => { }, }, ], + observableTypes: [], }, version: 'test-version', }); @@ -474,6 +477,7 @@ describe('client', () => { namespaces: ['default'], references: [], attributes: { + observableTypes: [], templates: [], created_at: '2019-11-25T21:54:48.952Z', created_by: { @@ -1063,6 +1067,7 @@ describe('client', () => { ], closure_type: 'close-by-user', owner: 'cases', + observableTypes: [], }, id: 'test-id', version: 'test-version', @@ -1130,6 +1135,7 @@ describe('client', () => { name: 'template 1', }, ], + observableTypes: [], }, id: 'test-id', version: 'test-version', @@ -1197,6 +1203,31 @@ describe('client', () => { ); }); }); + + describe('observableTypes', () => { + it('throws when trying to set duplicate observableTypes', async () => { + clientArgs.services.licensingService.isAtLeastPlatinum.mockResolvedValue(true); + + await expect( + update( + 'test-id', + { + version: 'test-version', + observableTypes: [ + { + key: 'e638af17-ebb6-4678-a937-b734bffee36a', + label: OBSERVABLE_TYPE_IPV4.label, + }, + ], + }, + clientArgs, + casesClientInternal + ) + ).rejects.toThrow( + 'Failed to get patch configure in route: Error: Invalid duplicated observable types in request: ipv4' + ); + }); + }); }); }); @@ -1363,6 +1394,7 @@ describe('client', () => { }, updated_at: null, updated_by: null, + observableTypes: [], }, score: 0, }, @@ -1388,6 +1420,7 @@ describe('client', () => { }, updated_at: null, updated_by: null, + observableTypes: [], }, }); @@ -1576,6 +1609,30 @@ describe('client', () => { ); }); }); + + describe('observableTypes', () => { + it('throws when trying to set duplicate observableTypes', async () => { + clientArgs.services.licensingService.isAtLeastPlatinum.mockResolvedValue(true); + + await expect( + create( + { + ...baseRequest, + observableTypes: [ + { + key: 'e638af17-ebb6-4678-a937-b734bffee36a', + label: OBSERVABLE_TYPE_IPV4.label, + }, + ], + }, + clientArgs, + casesClientInternal + ) + ).rejects.toThrow( + 'Failed to create case configuration: Error: Invalid duplicated observable types in request: ipv4' + ); + }); + }); }); }); }); diff --git a/x-pack/plugins/cases/server/client/configure/client.ts b/x-pack/plugins/cases/server/client/configure/client.ts index 00810cb742323..4b4800f3c8657 100644 --- a/x-pack/plugins/cases/server/client/configure/client.ts +++ b/x-pack/plugins/cases/server/client/configure/client.ts @@ -49,7 +49,10 @@ import type { MappingsArgs, CreateMappingsArgs, UpdateMappingsArgs } from './typ import { createMappings } from './create_mappings'; import { updateMappings } from './update_mappings'; import { ConfigurationRt, ConfigurationsRt } from '../../../common/types/domain'; -import { validateDuplicatedKeysInRequest } from '../validators'; +import { + validateDuplicatedKeysInRequest, + validateDuplicatedObservableTypesInRequest, +} from '../validators'; import { validateCustomFieldTypesInRequest, validateTemplatesCustomFieldsInRequest, @@ -308,6 +311,10 @@ export async function update( fieldName: 'customFields', }); + validateDuplicatedObservableTypesInRequest({ + requestFields: request.observableTypes, + }); + const { version, templates, ...queryWithoutVersion } = request; const configuration = await caseConfigureService.get({ @@ -442,6 +449,10 @@ export async function create( customFields: validatedConfigurationRequest.customFields, }); + validateDuplicatedObservableTypesInRequest({ + requestFields: validatedConfigurationRequest.observableTypes, + }); + let error = null; const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = @@ -521,6 +532,7 @@ export async function create( created_by: user, updated_at: null, updated_by: null, + observableTypes: validatedConfigurationRequest.observableTypes ?? [], }, id: savedObjectID, }); diff --git a/x-pack/plugins/cases/server/client/mocks.ts b/x-pack/plugins/cases/server/client/mocks.ts index 50dca1920b625..f305fbec6d536 100644 --- a/x-pack/plugins/cases/server/client/mocks.ts +++ b/x-pack/plugins/cases/server/client/mocks.ts @@ -72,6 +72,10 @@ const createCasesSubClientMock = (): CasesSubClientMock => { getCasesByAlertID: jest.fn(), getCategories: jest.fn(), replaceCustomField: jest.fn(), + similar: jest.fn(), + addObservable: jest.fn(), + updateObservable: jest.fn(), + deleteObservable: jest.fn(), }; }; diff --git a/x-pack/plugins/cases/server/client/observable_types.test.ts b/x-pack/plugins/cases/server/client/observable_types.test.ts new file mode 100644 index 0000000000000..d5ba5d21cbe29 --- /dev/null +++ b/x-pack/plugins/cases/server/client/observable_types.test.ts @@ -0,0 +1,58 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Configurations } from '../../common/types/domain/configure/v1'; +import { OBSERVABLE_TYPES_BUILTIN_KEYS } from '../../common/constants'; +import { createCasesClientMock } from './mocks'; +import { getAvailableObservableTypesSet } from './observable_types'; + +const mockCasesClient = createCasesClientMock(); + +describe('getAvailableObservableTypesSet', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should return a set of available observable types', async () => { + const mockObservableTypes = [ + { key: 'type1', label: 'test 1' }, + { key: 'type2', label: 'test 2' }, + ]; + + jest.mocked(mockCasesClient.configure.get).mockResolvedValue([ + { + observableTypes: mockObservableTypes, + }, + ] as unknown as Configurations); + + const result = await getAvailableObservableTypesSet(mockCasesClient, 'mock-owner'); + + expect(result).toEqual(new Set(['type1', 'type2', ...OBSERVABLE_TYPES_BUILTIN_KEYS])); + }); + + it('should return only built-in observable types if no types are configured', async () => { + jest.mocked(mockCasesClient.configure.get).mockResolvedValue([ + { + observableTypes: [], + }, + ] as unknown as Configurations); + + const result = await getAvailableObservableTypesSet(mockCasesClient, 'mock-owner'); + + expect(result).toEqual(new Set(OBSERVABLE_TYPES_BUILTIN_KEYS)); + }); + + it('should handle errors and return an empty set', async () => { + jest + .mocked(mockCasesClient.configure.get) + .mockRejectedValue(new Error('Failed to fetch configuration')); + + const result = await getAvailableObservableTypesSet(mockCasesClient, 'mock-owner'); + + expect(result).toEqual(new Set()); + }); +}); diff --git a/x-pack/plugins/cases/server/client/observable_types.ts b/x-pack/plugins/cases/server/client/observable_types.ts new file mode 100644 index 0000000000000..a6183fc6833b5 --- /dev/null +++ b/x-pack/plugins/cases/server/client/observable_types.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { OBSERVABLE_TYPES_BUILTIN } from '../../common/constants'; +import type { CasesClient } from './client'; + +export const getAvailableObservableTypesSet = async (casesClient: CasesClient, owner: string) => { + try { + const configurations = await casesClient.configure.get({ + owner, + }); + const observableTypes = configurations?.[0]?.observableTypes ?? []; + + const availableObservableTypesSet = new Set( + [...observableTypes, ...OBSERVABLE_TYPES_BUILTIN].map(({ key }) => key) + ); + + return availableObservableTypesSet; + } catch (error) { + return new Set(); + } +}; diff --git a/x-pack/plugins/cases/server/client/utils.test.ts b/x-pack/plugins/cases/server/client/utils.test.ts index 7b5d692f6aa79..fbb269e20db70 100644 --- a/x-pack/plugins/cases/server/client/utils.test.ts +++ b/x-pack/plugins/cases/server/client/utils.test.ts @@ -5,8 +5,6 @@ * 2.0. */ -import { v1 as uuidv1 } from 'uuid'; - import { DEFAULT_NAMESPACE_STRING } from '@kbn/core-saved-objects-utils-server'; import type { KueryNode } from '@kbn/es-query'; import { toElasticsearchQuery, toKqlExpression } from '@kbn/es-query'; @@ -16,6 +14,7 @@ import { arraysDifference, buildAttachmentRequestFromFileJSON, buildFilter, + buildObservablesFieldsFilter, buildRangeFilter, constructQueryOptions, constructSearch, @@ -497,24 +496,14 @@ describe('utils', () => { [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], [CaseStatuses.closed, CasePersistedStatus.CLOSED], ])('creates a filter for status "%s"', (status, expectedStatus) => { - expect(constructQueryOptions({ status }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.status", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "${expectedStatus}", - }, - ], - "function": "is", - "type": "function", - } - `); + expect(constructQueryOptions({ status }).filter).toMatchObject({ + arguments: [ + { isQuoted: false, type: 'literal', value: 'cases.attributes.status' }, + { isQuoted: false, type: 'literal', value: `${expectedStatus}` }, + ], + function: 'is', + type: 'function', + }); }); it('should create a filter for multiple status values', () => { @@ -567,24 +556,14 @@ describe('utils', () => { [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], ])('creates a filter for severity "%s"', (severity, expectedSeverity) => { - expect(constructQueryOptions({ severity }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.severity", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "${expectedSeverity}", - }, - ], - "function": "is", - "type": "function", - } - `); + expect(constructQueryOptions({ severity }).filter).toMatchObject({ + arguments: [ + { isQuoted: false, type: 'literal', value: 'cases.attributes.severity' }, + { isQuoted: false, type: 'literal', value: `${expectedSeverity}` }, + ], + function: 'is', + type: 'function', + }); }); it('should create a filter for multiple severity values', () => { @@ -1106,7 +1085,7 @@ describe('utils', () => { const savedObjectsSerializer = createSavedObjectsSerializerMock(); it('returns the rootSearchFields and search with correct values when given a uuid', () => { - const uuid = uuidv1(); // the specific version is irrelevant + const uuid = 'b52e293e-4a37-4e67-9aa6-716bb6e69b42'; // the specific version is irrelevant expect(constructSearch(uuid, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer)) .toMatchInlineSnapshot(` @@ -1114,7 +1093,7 @@ describe('utils', () => { "rootSearchFields": Array [ "_id", ], - "search": "\\"${uuid}\\" \\"cases:${uuid}\\"", + "search": "\\"b52e293e-4a37-4e67-9aa6-716bb6e69b42\\" \\"cases:b52e293e-4a37-4e67-9aa6-716bb6e69b42\\"", } `); }); @@ -1579,6 +1558,62 @@ describe('utils', () => { }); }); + describe('buildObservablesFieldsFilter', () => { + it('builds the filter escaping quotes in the value', () => { + expect(buildObservablesFieldsFilter({ type: ['{"json":"value"}'] })).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.observables", + }, + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "value", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "{\\"json\\":\\"value\\"}", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "typeKey", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "type", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "and", + "type": "function", + }, + ], + "function": "nested", + "type": "function", + } + `); + }); + }); + describe('buildAttachmentRequestFromFileJSON', () => { it('builds attachment request correctly', () => { expect( diff --git a/x-pack/plugins/cases/server/client/utils.ts b/x-pack/plugins/cases/server/client/utils.ts index 6447b53abd00a..80c2339551b1e 100644 --- a/x-pack/plugins/cases/server/client/utils.ts +++ b/x-pack/plugins/cases/server/client/utils.ts @@ -16,8 +16,10 @@ import type { KueryNode } from '@kbn/es-query'; import { nodeBuilder, fromKueryExpression, escapeKuery } from '@kbn/es-query'; import { spaceIdToNamespace } from '@kbn/spaces-plugin/server/lib/utils/namespace'; +import { escapeQuotes } from '@kbn/es-query/src/kuery/utils/escape_kuery'; import type { FileJSON } from '@kbn/shared-ux-file-types'; import { FILE_SO_TYPE } from '@kbn/files-plugin/common/constants'; + import type { CaseCustomField, CaseSeverity, @@ -665,6 +667,26 @@ export const transformTemplateCustomFields = ({ }); }; +export const buildObservablesFieldsFilter = (observables: Record) => { + // NOTE: empty observables mean that we should not construct the filter and it should lead + // to early return in the calling context (it is required). + if (!Object.keys(observables).length) { + return; + } + + const filterExpressions = Object.keys(observables).flatMap((typeKey) => { + return Object.values(observables[typeKey]).map((observableValue) => { + return fromKueryExpression( + `cases.attributes.observables:{value: "${escapeQuotes( + observableValue + )}" AND typeKey: "${typeKey}"}` + ); + }); + }); + + return nodeBuilder.or(filterExpressions); +}; + export const buildAttachmentRequestFromFileJSON = ({ owner, fileMetadata, diff --git a/x-pack/plugins/cases/server/client/validators.test.ts b/x-pack/plugins/cases/server/client/validators.test.ts index 77867aedbcb4a..869c32cae06e8 100644 --- a/x-pack/plugins/cases/server/client/validators.test.ts +++ b/x-pack/plugins/cases/server/client/validators.test.ts @@ -5,7 +5,14 @@ * 2.0. */ -import { validateDuplicatedKeysInRequest } from './validators'; +import { OBSERVABLE_TYPE_IPV4 } from '../../common/constants'; +import { createCasesClientMock } from './mocks'; +import { + validateDuplicatedKeysInRequest, + validateDuplicatedObservableTypesInRequest, + validateDuplicatedObservablesInRequest, + validateObservableTypeKeyExists, +} from './validators'; describe('validators', () => { describe('validateDuplicatedKeysInRequest', () => { @@ -53,4 +60,164 @@ describe('validators', () => { ).not.toThrow(); }); }); + + describe('validateDuplicatedObservableTypesInRequest', () => { + it('returns fields in request that have duplicated observable types (by labels)', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: 'triplicated_label', + key: '3aa53239-a608-4ccd-a69f-cb7d08d0b5cb', + }, + { + label: 'triplicated_label', + key: 'a71629ae-05eb-48d5-a669-bb9f3eec81b6', + }, + { + label: 'triplicated_label', + key: 'd5ff16a2-ead3-4f1d-b888-39376bfad8f2', + }, + { + label: 'duplicated_label', + key: '9774be21-abc7-4aa4-9443-86636fea40bc', + }, + { + label: 'duplicated_label', + key: 'fb638551-3b76-4bd9-8b45-7a86ddcb3b80', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated observable types in request: triplicated_label,duplicated_label"` + ); + }); + + it('returns fields in request that have duplicated observable types (by keys)', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: 'a', + key: 'triplicated_key', + }, + { + label: 'b', + key: 'triplicated_key', + }, + { + label: 'c', + key: 'triplicated_key', + }, + { + label: 'd', + key: 'duplicated_key', + }, + { + label: 'e', + key: 'duplicated_key', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated observable types in request: b,c,e"` + ); + }); + + it('does not throw if no fields in request have duplicated observable types', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: '1', + key: '1', + }, + { + label: '2', + key: '2', + }, + ], + }) + ).not.toThrow(); + }); + + it('does throw if the provided label duplicates builtin type', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: 'email', + key: 'email', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated observable types in request: email"` + ); + }); + }); + + describe('validateDuplicatedObservablesInRequest', () => { + it('returns observables in request that have duplicated labels', () => { + expect(() => + validateDuplicatedObservablesInRequest({ + requestFields: [ + { + value: 'value', + typeKey: 'typeKey', + }, + { + value: 'value', + typeKey: 'typeKey', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot(`"Invalid duplicated observables in request."`); + }); + + it('does not throw if no fields in request have duplicated observables', () => { + expect(() => + validateDuplicatedObservablesInRequest({ + requestFields: [ + { + value: 'value', + typeKey: 'typeKey', + }, + { + value: 'value 1', + typeKey: 'typeKey', + }, + { + value: 'value', + typeKey: 'typeKey 2', + }, + ], + }) + ).not.toThrow(); + }); + }); + + describe('validateObservableTypeKeyExists', () => { + const mockCasesClient = createCasesClientMock(); + + it('does not throw if all observable type keys exist', async () => { + await expect( + validateObservableTypeKeyExists(mockCasesClient, { + caseOwner: 'securityFixture', + observableTypeKey: OBSERVABLE_TYPE_IPV4.key, + }) + ).resolves.not.toThrow(); + }); + + it('throws an error if any observable type key does not exist', async () => { + await expect(() => + validateObservableTypeKeyExists(mockCasesClient, { + caseOwner: 'securityFixture', + observableTypeKey: 'random key', + }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Invalid observable type, key does not exist: random key"` + ); + }); + }); }); diff --git a/x-pack/plugins/cases/server/client/validators.ts b/x-pack/plugins/cases/server/client/validators.ts index 24527ac81155b..23f26d2321e78 100644 --- a/x-pack/plugins/cases/server/client/validators.ts +++ b/x-pack/plugins/cases/server/client/validators.ts @@ -6,6 +6,9 @@ */ import Boom from '@hapi/boom'; +import { OBSERVABLE_TYPES_BUILTIN } from '../../common/constants'; +import { type CasesClient } from './client'; +import { getAvailableObservableTypesSet } from './observable_types'; /** * Throws an error if the request has custom fields with duplicated keys. @@ -34,3 +37,93 @@ export const validateDuplicatedKeysInRequest = ({ ); } }; + +/** + * Throws an error if the request has observable types with duplicated labels. + */ +export const validateDuplicatedObservableTypesInRequest = ({ + requestFields = [], +}: { + requestFields?: Array<{ label: string; key: string }>; +}) => { + const extractLabelFromItem = (item: { label: string }) => item.label.toLowerCase(); + const extractKeyFromItem = (item: { key: string }) => item.key.toLowerCase(); + + // NOTE: this prevents adding duplicates for the builtin types + const builtinLabels = OBSERVABLE_TYPES_BUILTIN.map(extractLabelFromItem); + const builtinKeys = OBSERVABLE_TYPES_BUILTIN.map(extractKeyFromItem); + + const uniqueLabels = new Set(builtinLabels); + const uniqueKeys = new Set(builtinKeys); + + const duplicatedLabels = new Set(); + + requestFields.forEach((item) => { + const observableTypeLabel = extractLabelFromItem(item); + const observableTypeKey = extractKeyFromItem(item); + + if (uniqueKeys.has(observableTypeKey)) { + duplicatedLabels.add(observableTypeLabel); + } else { + uniqueKeys.add(observableTypeKey); + } + + if (uniqueLabels.has(observableTypeLabel)) { + duplicatedLabels.add(observableTypeLabel); + } else { + uniqueLabels.add(observableTypeLabel); + } + }); + + if (duplicatedLabels.size > 0) { + throw Boom.badRequest( + `Invalid duplicated observable types in request: ${Array.from(duplicatedLabels.values())}` + ); + } +}; + +/** + * Throws an error if the request has observable types with duplicated labels. + */ +export const validateDuplicatedObservablesInRequest = ({ + requestFields = [], +}: { + requestFields?: Array<{ typeKey: string; value: string }>; +}) => { + const stringifyItem = (item: { value: string; typeKey: string }) => + [item.typeKey, item.value].join(); + + const uniqueObservables = new Set(); + const duplicatedObservables = new Set(); + + requestFields.forEach((item) => { + if (uniqueObservables.has(stringifyItem(item))) { + duplicatedObservables.add(stringifyItem(item)); + } else { + uniqueObservables.add(stringifyItem(item)); + } + }); + + if (duplicatedObservables.size > 0) { + throw Boom.badRequest(`Invalid duplicated observables in request.`); + } +}; + +/** + * Throws an error if observable type key is not valid + */ +export const validateObservableTypeKeyExists = async ( + casesClient: CasesClient, + { + caseOwner, + observableTypeKey, + }: { + caseOwner: string; + observableTypeKey: string; + } +) => { + const observableTypesSet = await getAvailableObservableTypesSet(casesClient, caseOwner); + if (!observableTypesSet.has(observableTypeKey)) { + throw Boom.badRequest(`Invalid observable type, key does not exist: ${observableTypeKey}`); + } +}; diff --git a/x-pack/plugins/cases/server/common/constants.ts b/x-pack/plugins/cases/server/common/constants.ts index e7f2ba1e3ff5b..a57f15e346a78 100644 --- a/x-pack/plugins/cases/server/common/constants.ts +++ b/x-pack/plugins/cases/server/common/constants.ts @@ -38,7 +38,12 @@ export const EXTERNAL_REFERENCE_REF_NAME = 'externalReferenceId'; /** * The name of the licensing feature to notify for feature usage with the licensing plugin */ -export const LICENSING_CASE_ASSIGNMENT_FEATURE = 'Cases user assignment'; +export const LICENSING_CASE_ASSIGNMENT_FEATURE = 'Cases user usage'; + +/** + * The name of the licensing feature to notify for cases feature usage with the licensing plugin + */ +export const LICENSING_CASE_OBSERVABLES_FEATURE = 'Cases observable assignment'; export const SEVERITY_EXTERNAL_TO_ESMODEL: Record = { [CaseSeverity.LOW]: CasePersistedSeverity.LOW, diff --git a/x-pack/plugins/cases/server/common/types/case.test.ts b/x-pack/plugins/cases/server/common/types/case.test.ts index ed7356546e56d..cec16b9293be7 100644 --- a/x-pack/plugins/cases/server/common/types/case.test.ts +++ b/x-pack/plugins/cases/server/common/types/case.test.ts @@ -50,6 +50,7 @@ describe('case types', () => { }, owner: SECURITY_SOLUTION_OWNER, assignees: [], + observables: [], }; const caseTransformedAttributesProps = CaseTransformedAttributesRt.types.reduce( (acc, type) => ({ ...acc, ...type.type.props }), diff --git a/x-pack/plugins/cases/server/common/types/case.ts b/x-pack/plugins/cases/server/common/types/case.ts index 9a9a0e79104e7..b0d82af762438 100644 --- a/x-pack/plugins/cases/server/common/types/case.ts +++ b/x-pack/plugins/cases/server/common/types/case.ts @@ -8,7 +8,7 @@ import type { SavedObject } from '@kbn/core-saved-objects-server'; import type { Type } from 'io-ts'; import { exact, partial, strict, string } from 'io-ts'; -import type { CaseAttributes } from '../../../common/types/domain'; +import type { CaseAttributes, Observable } from '../../../common/types/domain'; import { CaseAttributesRt } from '../../../common/types/domain'; import type { ConnectorPersisted } from './connectors'; import type { ExternalServicePersisted } from './external_service'; @@ -49,6 +49,7 @@ export interface CasePersistedAttributes { updated_by: User | null; category?: string | null; customFields?: CasePersistedCustomFields; + observables?: Observable[]; } type CasePersistedCustomFields = Array<{ diff --git a/x-pack/plugins/cases/server/common/types/configure.ts b/x-pack/plugins/cases/server/common/types/configure.ts index 27e66ba76eb02..630b4020634f5 100644 --- a/x-pack/plugins/cases/server/common/types/configure.ts +++ b/x-pack/plugins/cases/server/common/types/configure.ts @@ -32,8 +32,14 @@ export interface ConfigurationPersistedAttributes { updated_by: User | null; customFields?: PersistedCustomFieldsConfiguration; templates?: PersistedTemplatesConfiguration; + observableTypes?: PersistedObservableTypesConfiguration; } +type PersistedObservableTypesConfiguration = Array<{ + key: string; + label: string; +}>; + type PersistedCustomFieldsConfiguration = Array<{ key: string; type: string; diff --git a/x-pack/plugins/cases/server/common/utils.test.ts b/x-pack/plugins/cases/server/common/utils.test.ts index a12146b30b193..15bcceafc256e 100644 --- a/x-pack/plugins/cases/server/common/utils.test.ts +++ b/x-pack/plugins/cases/server/common/utils.test.ts @@ -150,6 +150,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -205,6 +206,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -264,6 +266,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -329,6 +332,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -389,6 +393,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -432,6 +437,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-2", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -479,6 +485,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -530,6 +537,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-4", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -610,6 +618,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -678,6 +687,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -737,6 +747,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -819,6 +830,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -876,6 +888,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -938,6 +951,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/common/utils.ts b/x-pack/plugins/cases/server/common/utils.ts index aad86d988705d..0b9852e61cad1 100644 --- a/x-pack/plugins/cases/server/common/utils.ts +++ b/x-pack/plugins/cases/server/common/utils.ts @@ -88,6 +88,7 @@ export const transformNewCase = ({ assignees: dedupAssignees(newCase.assignees) ?? [], category: newCase.category ?? null, customFields: newCase.customFields ?? [], + observables: [], }); export const transformCases = ({ diff --git a/x-pack/plugins/cases/server/mocks.ts b/x-pack/plugins/cases/server/mocks.ts index 637cee85ed84b..d05d949142e6a 100644 --- a/x-pack/plugins/cases/server/mocks.ts +++ b/x-pack/plugins/cases/server/mocks.ts @@ -150,6 +150,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ title: 'Super Bad Security Issue', status: CaseStatuses.open, tags: ['defacement'], + observables: [], updated_at: '2019-11-25T21:54:48.952Z', updated_by: { full_name: 'elastic', @@ -202,6 +203,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ settings: { syncAlerts: true, }, + observables: [], owner: SECURITY_SOLUTION_OWNER, assignees: [], category: null, @@ -245,6 +247,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ settings: { syncAlerts: true, }, + observables: [], owner: SECURITY_SOLUTION_OWNER, assignees: [], category: null, @@ -292,6 +295,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ settings: { syncAlerts: true, }, + observables: [], owner: SECURITY_SOLUTION_OWNER, assignees: [], category: null, diff --git a/x-pack/plugins/cases/server/plugin.ts b/x-pack/plugins/cases/server/plugin.ts index 5a4bd7b20b9db..d62aa5582ec32 100644 --- a/x-pack/plugins/cases/server/plugin.ts +++ b/x-pack/plugins/cases/server/plugin.ts @@ -38,7 +38,10 @@ import { getInternalRoutes } from './routes/api/get_internal_routes'; import { PersistableStateAttachmentTypeRegistry } from './attachment_framework/persistable_state_registry'; import { ExternalReferenceAttachmentTypeRegistry } from './attachment_framework/external_reference_registry'; import { UserProfileService } from './services'; -import { LICENSING_CASE_ASSIGNMENT_FEATURE } from './common/constants'; +import { + LICENSING_CASE_ASSIGNMENT_FEATURE, + LICENSING_CASE_OBSERVABLES_FEATURE, +} from './common/constants'; import { registerInternalAttachments } from './internal_attachments'; import { registerCaseFileKinds } from './files'; import type { ConfigType } from './config'; @@ -140,6 +143,7 @@ export class CasePlugin }); plugins.licensing.featureUsage.register(LICENSING_CASE_ASSIGNMENT_FEATURE, 'platinum'); + plugins.licensing.featureUsage.register(LICENSING_CASE_OBSERVABLES_FEATURE, 'platinum'); const getCasesClient = async (request: KibanaRequest): Promise => { const [coreStart] = await core.getStartServices(); diff --git a/x-pack/plugins/cases/server/routes/api/cases/similar.ts b/x-pack/plugins/cases/server/routes/api/cases/similar.ts new file mode 100644 index 0000000000000..c1516d7648082 --- /dev/null +++ b/x-pack/plugins/cases/server/routes/api/cases/similar.ts @@ -0,0 +1,48 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_SIMILAR_CASES_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; +import type { caseApiV1 } from '../../../../common/types/api'; + +export const similarCaseRoute = createCasesRoute({ + method: 'post', + path: INTERNAL_CASE_SIMILAR_CASES_URL, + params: { + params: schema.object({ + case_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Similar cases`, + }, + handler: async ({ context, request, response }) => { + const options = request.body as caseApiV1.SimilarCasesSearchRequest; + const caseId = request.params.case_id; + + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + + const res: caseApiV1.CasesSimilarResponse = await casesClient.cases.similar(caseId, { + ...options, + }); + + return response.ok({ + body: res, + }); + } catch (error) { + throw createCaseError({ + message: `Failed to find similar cases in route for case with ID ${caseId}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts b/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts index 79e5189c02f57..63c5953b3ea32 100644 --- a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts +++ b/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts @@ -20,6 +20,10 @@ import { getCaseMetricRoute } from './internal/get_case_metrics'; import { getCasesMetricRoute } from './internal/get_cases_metrics'; import { searchCasesRoute } from './internal/search_cases'; import { replaceCustomFieldRoute } from './internal/replace_custom_field'; +import { postObservableRoute } from './observables/post_observable'; +import { similarCaseRoute } from './cases/similar'; +import { patchObservableRoute } from './observables/patch_observable'; +import { deleteObservableRoute } from './observables/delete_observable'; export const getInternalRoutes = (userProfileService: UserProfileService) => [ @@ -36,4 +40,8 @@ export const getInternalRoutes = (userProfileService: UserProfileService) => getCasesMetricRoute, searchCasesRoute, replaceCustomFieldRoute, + postObservableRoute, + patchObservableRoute, + deleteObservableRoute, + similarCaseRoute, ] as CaseRoute[]; diff --git a/x-pack/plugins/cases/server/routes/api/observables/delete_observable.ts b/x-pack/plugins/cases/server/routes/api/observables/delete_observable.ts new file mode 100644 index 0000000000000..49f2b27fc0064 --- /dev/null +++ b/x-pack/plugins/cases/server/routes/api/observables/delete_observable.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_OBSERVABLES_DELETE_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; + +export const deleteObservableRoute = createCasesRoute({ + method: 'delete', + path: INTERNAL_CASE_OBSERVABLES_DELETE_URL, + params: { + params: schema.object({ + case_id: schema.string(), + observable_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Delete a case observable`, + }, + handler: async ({ context, request, response }) => { + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + const caseId = request.params.case_id; + const observableId = request.params.observable_id; + + await casesClient.cases.deleteObservable(caseId, observableId); + + return response.noContent(); + } catch (error) { + throw createCaseError({ + message: `Failed to delete observable in route case id: ${request.params.case_id}, observable id: ${request.params.observable_id}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/plugins/cases/server/routes/api/observables/patch_observable.ts b/x-pack/plugins/cases/server/routes/api/observables/patch_observable.ts new file mode 100644 index 0000000000000..49630bb12ded6 --- /dev/null +++ b/x-pack/plugins/cases/server/routes/api/observables/patch_observable.ts @@ -0,0 +1,50 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_OBSERVABLES_PATCH_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; +import type { observableApiV1 } from '../../../../common/types/api'; + +export const patchObservableRoute = createCasesRoute({ + method: 'patch', + path: INTERNAL_CASE_OBSERVABLES_PATCH_URL, + params: { + params: schema.object({ + case_id: schema.string(), + observable_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Update a case observable`, + }, + handler: async ({ context, request, response }) => { + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + const caseId = request.params.case_id; + const observableId = request.params.observable_id; + + const { observable } = request.body as observableApiV1.UpdateObservableRequest; + + const theCase = await casesClient.cases.updateObservable(caseId, observableId, { + observable, + }); + + return response.ok({ + body: theCase, + }); + } catch (error) { + throw createCaseError({ + message: `Failed to patch observable in route case id: ${request.params.case_id}, observable id: ${request.params.observable_id}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/plugins/cases/server/routes/api/observables/post_observable.ts b/x-pack/plugins/cases/server/routes/api/observables/post_observable.ts new file mode 100644 index 0000000000000..6cffa0861bab4 --- /dev/null +++ b/x-pack/plugins/cases/server/routes/api/observables/post_observable.ts @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_OBSERVABLES_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; +import type { observableApiV1 } from '../../../../common/types/api'; + +export const postObservableRoute = createCasesRoute({ + method: 'post', + path: INTERNAL_CASE_OBSERVABLES_URL, + params: { + params: schema.object({ + case_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Add a case observable`, + description: 'Each case can have a maximum of 10 observables.', + // You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating. + }, + handler: async ({ context, request, response }) => { + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + const caseId = request.params.case_id; + const { observable } = request.body as observableApiV1.AddObservableRequest; + const theCase = await casesClient.cases.addObservable(caseId, { observable }); + + return response.ok({ + body: theCase, + }); + } catch (error) { + throw createCaseError({ + message: `Failed to post observable in route case id: ${request.params.case_id}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts b/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts index 8e9160604a69d..0cf1905ca0cf4 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts +++ b/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts @@ -17,7 +17,7 @@ import { CASE_SAVED_OBJECT } from '../../../common/constants'; import type { CasePersistedAttributes } from '../../common/types/case'; import { handleExport } from '../import_export/export'; import { caseMigrations } from '../migrations'; -import { modelVersion1 } from './model_versions'; +import { modelVersion1, modelVersion2 } from './model_versions'; export const createCaseSavedObjectType = ( coreSetup: CoreSetup, @@ -229,11 +229,23 @@ export const createCaseSavedObjectType = ( }, }, }, + observables: { + type: 'nested', + properties: { + typeKey: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, }, }, migrations: caseMigrations, modelVersions: { 1: modelVersion1, + 2: modelVersion2, }, management: { importableAndExportable: true, diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts b/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts index 2c301709ca5c9..67e89cd9b18b6 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts +++ b/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { modelVersion1 } from './model_versions'; +import { modelVersion1, modelVersion2 } from './model_versions'; describe('Model versions', () => { describe('1', () => { @@ -56,4 +56,27 @@ describe('Model versions', () => { `); }); }); + + describe('2', () => { + expect(modelVersion2.changes).toMatchInlineSnapshot(` + Array [ + Object { + "addedMappings": Object { + "observables": Object { + "properties": Object { + "typeKey": Object { + "type": "keyword", + }, + "value": Object { + "type": "keyword", + }, + }, + "type": "nested", + }, + }, + "type": "mappings_addition", + }, + ] + `); + }); }); diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts b/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts index 7d46789a3b79f..522c51eb8e30f 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts +++ b/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts @@ -6,7 +6,7 @@ */ import type { SavedObjectsModelVersion } from '@kbn/core-saved-objects-server'; -import { casesSchemaV1 } from './schemas'; +import { casesSchemaV1, casesSchemaV2 } from './schemas'; /** * Adds custom fields to the cases SO. @@ -59,3 +59,30 @@ export const modelVersion1: SavedObjectsModelVersion = { forwardCompatibility: casesSchemaV1.extends({}, { unknowns: 'ignore' }), }, }; + +/** + * Adds case observables to the cases SO. + */ +export const modelVersion2: SavedObjectsModelVersion = { + changes: [ + { + type: 'mappings_addition', + addedMappings: { + observables: { + type: 'nested', + properties: { + typeKey: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, + }, + }, + ], + schemas: { + forwardCompatibility: casesSchemaV2.extends({}, { unknowns: 'ignore' }), + }, +}; diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts b/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts index 85d9239f72dba..a38b3a1134911 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts +++ b/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts @@ -8,3 +8,4 @@ export * from './latest'; export { casesSchema as casesSchemaV1 } from './v1'; +export { casesSchema as casesSchemaV2 } from './v2'; diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts b/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts index 25300c97a6d2e..a0841d392cbc1 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts +++ b/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts @@ -5,4 +5,4 @@ * 2.0. */ -export * from './v1'; +export * from './v2'; diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v2.ts b/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v2.ts new file mode 100644 index 0000000000000..6368e08a621a7 --- /dev/null +++ b/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v2.ts @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; + +import { casesSchema as casesSchemaV1 } from './v1'; + +export const casesSchema = casesSchemaV1.extends({ + observables: schema.maybe( + schema.nullable( + schema.arrayOf( + schema.object({ + id: schema.string(), + createdAt: schema.string(), + updatedAt: schema.nullable(schema.string()), + description: schema.nullable(schema.string()), + typeKey: schema.string(), + value: schema.any(), + }) + ) + ) + ), +}); diff --git a/x-pack/plugins/cases/server/services/cases/index.test.ts b/x-pack/plugins/cases/server/services/cases/index.test.ts index 045701ce77aad..7fea2c6b27548 100644 --- a/x-pack/plugins/cases/server/services/cases/index.test.ts +++ b/x-pack/plugins/cases/server/services/cases/index.test.ts @@ -238,6 +238,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -314,6 +315,7 @@ describe('CasesService', () => { "customFields": Array [], "description": "This is a brand new case of a bad meanie defacing data", "duration": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -838,6 +840,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -1058,6 +1061,7 @@ describe('CasesService', () => { "description": "This is a brand new case of a bad meanie defacing data", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -1690,6 +1694,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2202,7 +2207,8 @@ describe('CasesService', () => { 'connector', 'external_service', 'category', - 'customFields' + 'customFields', + 'observables' ); describe('getCaseIdsByAlertId', () => { @@ -2302,6 +2308,7 @@ describe('CasesService', () => { "description": "This is a brand new case of a bad meanie defacing data", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2404,6 +2411,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2497,6 +2505,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2590,6 +2599,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2696,6 +2706,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2752,6 +2763,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2854,6 +2866,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2972,6 +2985,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/services/cases/transform.test.ts b/x-pack/plugins/cases/server/services/cases/transform.test.ts index e6dc9dfb48768..e267263ccb880 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.test.ts +++ b/x-pack/plugins/cases/server/services/cases/transform.test.ts @@ -582,5 +582,49 @@ describe('case transforms', () => { transformSavedObjectToExternalModel(CaseSOResponseWithoutCategory).attributes.category ).toBe('foobar'); }); + + it('returns observables array when it is defined', () => { + const CaseSOResponseWithObservables = createCaseSavedObjectResponse({ + overrides: { + observables: [ + { + id: '27318f00-334b-44b1-b29c-0cfaefbeeb8a', + value: 'test', + typeKey: 'c661b01e-24f5-44aa-a172-d5d219cd1bd4', + createdAt: '2024-11-07', + updatedAt: '2024-11-07', + description: '', + }, + ], + }, + }); + + expect( + transformSavedObjectToExternalModel(CaseSOResponseWithObservables).attributes.observables + ).toMatchInlineSnapshot(` + Array [ + Object { + "createdAt": "2024-11-07", + "description": "", + "id": "27318f00-334b-44b1-b29c-0cfaefbeeb8a", + "typeKey": "c661b01e-24f5-44aa-a172-d5d219cd1bd4", + "updatedAt": "2024-11-07", + "value": "test", + }, + ] + `); + }); + + it('returns observables array when it is not defined', () => { + const CaseSOResponseWithObservables = createCaseSavedObjectResponse({ + overrides: { + observables: undefined, + }, + }); + + expect( + transformSavedObjectToExternalModel(CaseSOResponseWithObservables).attributes.observables + ).toMatchInlineSnapshot(`Array []`); + }); }); }); diff --git a/x-pack/plugins/cases/server/services/cases/transform.ts b/x-pack/plugins/cases/server/services/cases/transform.ts index 10eb6fc292323..beba8be79902f 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.ts +++ b/x-pack/plugins/cases/server/services/cases/transform.ts @@ -181,6 +181,7 @@ export function transformSavedObjectToExternalModel( const customFields = !caseSavedObjectAttributes.customFields ? [] : (caseSavedObjectAttributes.customFields as CaseCustomFields); + const observables = caseSavedObjectAttributes.observables ?? []; return { ...caseSavedObject, @@ -192,6 +193,7 @@ export function transformSavedObjectToExternalModel( external_service: externalService, category, customFields, + observables, }, }; } diff --git a/x-pack/plugins/cases/server/services/configure/index.test.ts b/x-pack/plugins/cases/server/services/configure/index.test.ts index 627263de50849..751a6f4c9a25b 100644 --- a/x-pack/plugins/cases/server/services/configure/index.test.ts +++ b/x-pack/plugins/cases/server/services/configure/index.test.ts @@ -97,6 +97,12 @@ const basicConfigFields = { }, }, ], + observableTypes: [ + { + key: '011c2c4e-794f-4837-8d94-22b07722ab14', + label: 'test observable type', + }, + ], }; const createConfigUpdateParams = (connector?: CaseConnector): Partial => ({ @@ -241,6 +247,12 @@ describe('CaseConfigureService', () => { "type": "text", }, ], + "observableTypes": Array [ + Object { + "key": "011c2c4e-794f-4837-8d94-22b07722ab14", + "label": "test observable type", + }, + ], "owner": "securitySolution", "templates": Array [ Object { @@ -567,6 +579,12 @@ describe('CaseConfigureService', () => { "type": "text", }, ], + "observableTypes": Array [ + Object { + "key": "011c2c4e-794f-4837-8d94-22b07722ab14", + "label": "test observable type", + }, + ], "owner": "securitySolution", "templates": Array [ Object { diff --git a/x-pack/plugins/cases/server/services/configure/index.ts b/x-pack/plugins/cases/server/services/configure/index.ts index f50ac271bc4ff..1eadc2a258d28 100644 --- a/x-pack/plugins/cases/server/services/configure/index.ts +++ b/x-pack/plugins/cases/server/services/configure/index.ts @@ -232,6 +232,11 @@ function transformToExternalModel( ? [] : (configuration.attributes.templates as ConfigurationTransformedAttributes['templates']); + const observableTypes = !configuration.attributes.observableTypes + ? [] + : (configuration.attributes + .observableTypes as ConfigurationTransformedAttributes['observableTypes']); + return { ...configuration, attributes: { @@ -239,6 +244,7 @@ function transformToExternalModel( connector, customFields, templates, + observableTypes, }, }; } diff --git a/x-pack/plugins/cases/server/services/test_utils.ts b/x-pack/plugins/cases/server/services/test_utils.ts index cd0f16d66e4cb..c37fe87ee7088 100644 --- a/x-pack/plugins/cases/server/services/test_utils.ts +++ b/x-pack/plugins/cases/server/services/test_utils.ts @@ -165,6 +165,7 @@ export const basicCaseFields: CaseAttributes = { assignees: [], category: null, customFields: [], + observables: [], }; export const createCaseSavedObjectResponse = ({ diff --git a/x-pack/plugins/embeddable_enhanced/jest.config.js b/x-pack/plugins/embeddable_enhanced/jest.config.js deleted file mode 100644 index fc9eaec5c972c..0000000000000 --- a/x-pack/plugins/embeddable_enhanced/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/embeddable_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/embeddable_enhanced', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/embeddable_enhanced/public/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/enterprise_search/server/plugin.ts b/x-pack/plugins/enterprise_search/server/plugin.ts index 1d4ba5e6dfd1f..3cd0cb9d060b0 100644 --- a/x-pack/plugins/enterprise_search/server/plugin.ts +++ b/x-pack/plugins/enterprise_search/server/plugin.ts @@ -338,7 +338,7 @@ export class EnterpriseSearchPlugin implements Plugin { /* * Register logs source configuration, used by LogStream components - * @see https://github.com/elastic/kibana/blob/main/x-pack/plugins/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx#with-a-source-configuration + * @see https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/logs_shared/public/components/log_stream/log_stream.stories.mdx#with-a-source-configuration */ logsShared.logViews.defineInternalLogView(ENTERPRISE_SEARCH_RELEVANCE_LOGS_SOURCE_ID, { logIndices: { diff --git a/x-pack/plugins/event_log/generated/mappings.json b/x-pack/plugins/event_log/generated/mappings.json index 5fc8128baa7ae..110cc3b6665f9 100644 --- a/x-pack/plugins/event_log/generated/mappings.json +++ b/x-pack/plugins/event_log/generated/mappings.json @@ -523,6 +523,16 @@ } } } + }, + "user_api_key": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + } + } } } } diff --git a/x-pack/plugins/event_log/generated/schemas.ts b/x-pack/plugins/event_log/generated/schemas.ts index 7542d6db5213a..ef3e9c7facbf9 100644 --- a/x-pack/plugins/event_log/generated/schemas.ts +++ b/x-pack/plugins/event_log/generated/schemas.ts @@ -237,6 +237,12 @@ export const EventSchema = schema.maybe( ), }) ), + user_api_key: schema.maybe( + schema.object({ + id: ecsString(), + name: ecsString(), + }) + ), }) ), }) diff --git a/x-pack/plugins/event_log/scripts/mappings.js b/x-pack/plugins/event_log/scripts/mappings.js index 770f9e6d45f9a..349ed4903ae29 100644 --- a/x-pack/plugins/event_log/scripts/mappings.js +++ b/x-pack/plugins/event_log/scripts/mappings.js @@ -299,6 +299,16 @@ exports.EcsCustomPropertyMappings = { }, }, }, + user_api_key: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, }, }, }; diff --git a/x-pack/plugins/fields_metadata/jest.config.js b/x-pack/plugins/fields_metadata/jest.config.js deleted file mode 100644 index 3c1d51b335696..0000000000000 --- a/x-pack/plugins/fields_metadata/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/fields_metadata'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/fields_metadata', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/fields_metadata/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/file_upload/jest.config.js b/x-pack/plugins/file_upload/jest.config.js deleted file mode 100644 index 92b3c27c74f11..0000000000000 --- a/x-pack/plugins/file_upload/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/file_upload'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/file_upload', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/file_upload/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/fleet/common/types/models/agent_policy.ts b/x-pack/plugins/fleet/common/types/models/agent_policy.ts index 0d180a0f4935a..b3b5611116837 100644 --- a/x-pack/plugins/fleet/common/types/models/agent_policy.ts +++ b/x-pack/plugins/fleet/common/types/models/agent_policy.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SecurityRoleDescriptor } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { SecurityRoleDescriptor } from '@elastic/elasticsearch/lib/api/types'; import type { agentPolicyStatuses } from '../../constants'; import type { MonitoringType, PolicySecretReference, ValueOf } from '..'; diff --git a/x-pack/plugins/fleet/common/types/models/epm.ts b/x-pack/plugins/fleet/common/types/models/epm.ts index bcae5230aab52..af8a0acf9b2d4 100644 --- a/x-pack/plugins/fleet/common/types/models/epm.ts +++ b/x-pack/plugins/fleet/common/types/models/epm.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { ASSETS_SAVED_OBJECT_TYPE, diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx index b65b90e8062bd..da7c2d2af9aba 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx @@ -230,7 +230,6 @@ export const AgentUpgradeAgentModal: React.FunctionComponent { const newValue = e.target.value; - setSelectedVersionStr(newValue); + setSelectedVersion([{ label: newValue, value: newValue }]); }} isInvalid={!!semverErrors} diff --git a/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts b/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts index 2a4ab12ad0055..a53bae87325ea 100644 --- a/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts +++ b/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts @@ -8,7 +8,7 @@ import type { Dictionary } from 'lodash'; import { keyBy, keys, merge } from 'lodash'; import type { RequestHandler } from '@kbn/core/server'; import pMap from 'p-map'; -import type { IndicesDataStreamsStatsDataStreamsStatsItem } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { IndicesDataStreamsStatsDataStreamsStatsItem } from '@elastic/elasticsearch/lib/api/types'; import { ByteSizeValue } from '@kbn/config-schema'; import type { DataStream } from '../../types'; diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts b/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts index 0ea580f44bb4d..914cde14e1797 100644 --- a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts +++ b/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts @@ -8,7 +8,7 @@ import type { SecurityIndicesPrivileges, SecurityRoleDescriptor, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import { FLEET_APM_PACKAGE, diff --git a/x-pack/plugins/fleet/server/services/agent_policy.ts b/x-pack/plugins/fleet/server/services/agent_policy.ts index eed9b058ad03f..3a3273383ad38 100644 --- a/x-pack/plugins/fleet/server/services/agent_policy.ts +++ b/x-pack/plugins/fleet/server/services/agent_policy.ts @@ -22,7 +22,7 @@ import type { } from '@kbn/core/server'; import { SavedObjectsUtils } from '@kbn/core/server'; -import type { BulkResponseItem } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { BulkResponseItem } from '@elastic/elasticsearch/lib/api/types'; import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common/constants'; diff --git a/x-pack/plugins/fleet/server/services/agents/action.mock.ts b/x-pack/plugins/fleet/server/services/agents/action.mock.ts index 77dc46b972532..50c2f0d6b0fbf 100644 --- a/x-pack/plugins/fleet/server/services/agents/action.mock.ts +++ b/x-pack/plugins/fleet/server/services/agents/action.mock.ts @@ -152,7 +152,7 @@ export function createClientMock() { esClientMock.mget.mockResponseImplementation((params) => { // @ts-expect-error - const docs = params?.body.docs.map(({ _id }) => { + const docs = params?.docs.map(({ _id }) => { let result; switch (_id) { case agentInHostedDoc._id: diff --git a/x-pack/plugins/fleet/server/services/agents/actions.test.ts b/x-pack/plugins/fleet/server/services/agents/actions.test.ts index b8cb2ce8c8d6a..594d553bff941 100644 --- a/x-pack/plugins/fleet/server/services/agents/actions.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/actions.test.ts @@ -135,7 +135,7 @@ describe('Agent actions', () => { expect(esClient.create).toBeCalledWith( expect.objectContaining({ - body: expect.objectContaining({ + document: expect.objectContaining({ signed: { data: expect.any(String), signature: expect.any(String), @@ -180,7 +180,7 @@ describe('Agent actions', () => { expect(esClient.create).toBeCalledWith( expect.objectContaining({ - body: expect.not.objectContaining({ + document: expect.not.objectContaining({ signed: expect.any(Object), }), }) @@ -235,7 +235,7 @@ describe('Agent actions', () => { await bulkCreateAgentActions(esClient, newActions); expect(esClient.bulk).toHaveBeenCalledWith( expect.objectContaining({ - body: expect.arrayContaining([ + operations: expect.arrayContaining([ expect.arrayContaining([ expect.objectContaining({ signed: { @@ -274,7 +274,7 @@ describe('Agent actions', () => { await bulkCreateAgentActions(esClient, newActions); expect(esClient.bulk).toHaveBeenCalledWith( expect.objectContaining({ - body: expect.arrayContaining([ + operations: expect.arrayContaining([ expect.arrayContaining([ expect.not.objectContaining({ signed: { @@ -350,7 +350,7 @@ describe('Agent actions', () => { expect(esClient.create).toBeCalledTimes(2); expect(esClient.create).toBeCalledWith( expect.objectContaining({ - body: expect.objectContaining({ + document: expect.objectContaining({ type: 'CANCEL', data: { target_id: 'action1' }, agents: ['agent1', 'agent2'], @@ -359,7 +359,7 @@ describe('Agent actions', () => { ); expect(esClient.create).toBeCalledWith( expect.objectContaining({ - body: expect.objectContaining({ + document: expect.objectContaining({ type: 'CANCEL', data: { target_id: 'action1' }, agents: ['agent3', 'agent4'], diff --git a/x-pack/plugins/fleet/server/services/agents/actions.ts b/x-pack/plugins/fleet/server/services/agents/actions.ts index f2faf26fd96af..e3e291eb1ae18 100644 --- a/x-pack/plugins/fleet/server/services/agents/actions.ts +++ b/x-pack/plugins/fleet/server/services/agents/actions.ts @@ -81,7 +81,7 @@ export async function createAgentAction( await esClient.create({ index: AGENT_ACTIONS_INDEX, id: uuidv4(), - body, + document: body, refresh: 'wait_for', }); @@ -153,7 +153,7 @@ export async function bulkCreateAgentActions( await esClient.bulk({ index: AGENT_ACTIONS_INDEX, - body: fleetServerAgentActions, + operations: fleetServerAgentActions, }); for (const action of actions) { @@ -231,7 +231,7 @@ export async function bulkCreateAgentActionResults( await esClient.bulk({ index: AGENT_ACTIONS_RESULTS_INDEX, - body: bulkBody, + operations: bulkBody, refresh: 'wait_for', }); } diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.ts b/x-pack/plugins/fleet/server/services/agents/agent_service.ts index 94583284d87f8..b18394b0aea08 100644 --- a/x-pack/plugins/fleet/server/services/agents/agent_service.ts +++ b/x-pack/plugins/fleet/server/services/agents/agent_service.ts @@ -13,9 +13,9 @@ import type { SavedObjectsClientContract, } from '@kbn/core/server'; -import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/types'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { SortResults } from '@elastic/elasticsearch/lib/api/types'; diff --git a/x-pack/plugins/fleet/server/services/agents/crud.test.ts b/x-pack/plugins/fleet/server/services/agents/crud.test.ts index 00119e5bc44fb..6ccf5653bfc8f 100644 --- a/x-pack/plugins/fleet/server/services/agents/crud.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/crud.test.ts @@ -107,9 +107,7 @@ describe('Agents CRUD test', () => { expect(searchMock).toHaveBeenCalledWith( expect.objectContaining({ aggs: { tags: { terms: { field: 'tags', size: 10000 } } }, - body: { - query: expect.any(Object), - }, + query: expect.any(Object), index: '.fleet-agents', size: 0, fields: ['status'], @@ -164,7 +162,7 @@ describe('Agents CRUD test', () => { }) ); - expect(searchMock.mock.calls.at(-1)[0].body.query).toEqual( + expect(searchMock.mock.calls.at(-1)[0].query).toEqual( toElasticsearchQuery( _joinFilters(['fleet-agents.policy_id: 123', 'NOT status:unenrolled'])! ) diff --git a/x-pack/plugins/fleet/server/services/agents/crud.ts b/x-pack/plugins/fleet/server/services/agents/crud.ts index e6a264c394397..bc3a9cb6028ff 100644 --- a/x-pack/plugins/fleet/server/services/agents/crud.ts +++ b/x-pack/plugins/fleet/server/services/agents/crud.ts @@ -6,13 +6,13 @@ */ import { groupBy } from 'lodash'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { SortResults } from '@elastic/elasticsearch/lib/api/types'; import type { SavedObjectsClientContract, ElasticsearchClient } from '@kbn/core/server'; import type { KueryNode } from '@kbn/es-query'; import { fromKueryExpression, toElasticsearchQuery } from '@kbn/es-query'; import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common'; -import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { AggregationsAggregationContainer } from '@elastic/elasticsearch/lib/api/types'; import type { AgentSOAttributes, Agent, ListWithKuery } from '../../types'; import { appContextService, agentPolicyService } from '..'; @@ -169,13 +169,13 @@ export async function getAgentTags( } const kueryNode = _joinFilters(filters); - const body = kueryNode ? { query: toElasticsearchQuery(kueryNode) } : {}; + const query = kueryNode ? { query: toElasticsearchQuery(kueryNode) } : {}; const runtimeFields = await buildAgentStatusRuntimeField(soClient); try { const result = await esClient.search<{}, { tags: { buckets: Array<{ key: string }> } }>({ index: AGENTS_INDEX, size: 0, - body, + ...query, fields: Object.keys(runtimeFields), runtime_mappings: runtimeFields, aggs: { @@ -546,17 +546,15 @@ export async function getAgentVersionsForAgentPolicyIds( FleetServerAgent, Record<'agent_versions', { buckets: Array<{ key: string; doc_count: number }> }> >({ - body: { - query: { - bool: { - filter: [ - { - terms: { - policy_id: agentPolicyIds, - }, + query: { + bool: { + filter: [ + { + terms: { + policy_id: agentPolicyIds, }, - ], - }, + }, + ], }, }, index: AGENTS_INDEX, @@ -628,7 +626,7 @@ export async function updateAgent( await esClient.update({ id: agentId, index: AGENTS_INDEX, - body: { doc: agentSOAttributesToFleetServerAgentDoc(data) }, + doc: agentSOAttributesToFleetServerAgentDoc(data), refresh: 'wait_for', }); } @@ -645,7 +643,7 @@ export async function bulkUpdateAgents( return; } - const body = updateData.flatMap(({ agentId, data }) => [ + const operations = updateData.flatMap(({ agentId, data }) => [ { update: { _id: agentId, @@ -658,7 +656,7 @@ export async function bulkUpdateAgents( ]); const res = await esClient.bulk({ - body, + operations, index: AGENTS_INDEX, refresh: 'wait_for', }); @@ -676,9 +674,7 @@ export async function deleteAgent(esClient: ElasticsearchClient, agentId: string await esClient.update({ id: agentId, index: AGENTS_INDEX, - body: { - doc: { active: false }, - }, + doc: { active: false }, }); } catch (err) { if (isESClientError(err) && err.meta.statusCode === 404) { diff --git a/x-pack/plugins/fleet/server/services/agents/helpers.ts b/x-pack/plugins/fleet/server/services/agents/helpers.ts index 4258e883b2351..d6af80c747789 100644 --- a/x-pack/plugins/fleet/server/services/agents/helpers.ts +++ b/x-pack/plugins/fleet/server/services/agents/helpers.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { SortResults } from '@elastic/elasticsearch/lib/api/types'; import type { SearchHit } from '@kbn/es-types'; diff --git a/x-pack/plugins/fleet/server/services/agents/reassign.test.ts b/x-pack/plugins/fleet/server/services/agents/reassign.test.ts index 5d55fdd5da31e..cf48ee20159f7 100644 --- a/x-pack/plugins/fleet/server/services/agents/reassign.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/reassign.test.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { HostedAgentPolicyRestrictionRelatedError } from '../../errors'; @@ -40,7 +40,7 @@ describe('reassignAgent', () => { expect(esClient.update).toBeCalledTimes(1); const calledWith = esClient.update.mock.calls[0]; expect(calledWith[0]?.id).toBe(agentInRegularDoc._id); - expect((calledWith[0] as estypes.UpdateRequest)?.body?.doc).toHaveProperty( + expect((calledWith[0] as estypes.UpdateRequest)?.doc).toHaveProperty( 'policy_id', regularAgentPolicySO.id ); @@ -101,14 +101,14 @@ describe('reassignAgent', () => { // calls ES update with correct values const calledWith = esClient.bulk.mock.calls[0][0]; // only 1 are regular and bulk write two line per update - expect((calledWith as estypes.BulkRequest).body?.length).toBe(2); + expect((calledWith as estypes.BulkRequest).operations?.length).toBe(2); // @ts-expect-error - expect(calledWith.body[0].update._id).toEqual(agentInRegularDoc._id); + expect(calledWith.operations[0].update._id).toEqual(agentInRegularDoc._id); // hosted policy is updated in action results with error const calledWithActionResults = esClient.bulk.mock.calls[1][0] as estypes.BulkRequest; // bulk write two line per create - expect(calledWithActionResults.body?.length).toBe(4); + expect(calledWithActionResults.operations?.length).toBe(4); const expectedObject = expect.objectContaining({ '@timestamp': expect.anything(), action_id: expect.anything(), @@ -116,7 +116,7 @@ describe('reassignAgent', () => { error: 'Cannot reassign an agent from hosted agent policy hosted-agent-policy in Fleet because the agent policy is managed by an external orchestration solution, such as Elastic Cloud, Kubernetes, etc. Please make changes using your orchestration solution.', }); - expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject); + expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject); }); it('should report errors from ES agent update call', async () => { @@ -147,7 +147,7 @@ describe('reassignAgent', () => { agent_id: agentInRegularDoc._id, error: 'version conflict', }); - expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject); + expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject); }); }); }); diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts b/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts index 7f6af525695cd..c6c3fc1622f20 100644 --- a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { appContextService } from '../app_context'; import { createAppContextStartContractMock } from '../../mocks'; @@ -33,7 +33,7 @@ describe('requestDiagnostics', () => { expect(esClient.create).toHaveBeenCalledWith( expect.objectContaining({ - body: expect.objectContaining({ + document: expect.objectContaining({ agents: ['agent-in-regular-policy'], type: 'REQUEST_DIAGNOSTICS', expiration: expect.anything(), @@ -53,7 +53,7 @@ describe('requestDiagnostics', () => { expect(esClient.create).toHaveBeenCalledWith( expect.objectContaining({ - body: expect.objectContaining({ + document: expect.objectContaining({ agents: ['agent-in-regular-policy-newer', 'agent-in-regular-policy-newer2'], type: 'REQUEST_DIAGNOSTICS', expiration: expect.anything(), @@ -70,7 +70,7 @@ describe('requestDiagnostics', () => { expect(esClient.create).toHaveBeenCalledWith( expect.objectContaining({ - body: expect.objectContaining({ + document: expect.objectContaining({ agents: ['agent-in-regular-policy-newer', 'agent-in-regular-policy'], type: 'REQUEST_DIAGNOSTICS', expiration: expect.anything(), @@ -80,14 +80,14 @@ describe('requestDiagnostics', () => { ); const calledWithActionResults = esClient.bulk.mock.calls[0][0] as estypes.BulkRequest; // bulk write two line per create - expect(calledWithActionResults.body?.length).toBe(2); + expect(calledWithActionResults.operations?.length).toBe(2); const expectedObject = expect.objectContaining({ '@timestamp': expect.anything(), action_id: expect.anything(), agent_id: 'agent-in-regular-policy', error: 'Agent agent-in-regular-policy does not support request diagnostics action.', }); - expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject); + expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject); }); }); }); diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts b/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts index b43c600a09a5d..222d49ae44eed 100644 --- a/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { AGENT_ACTIONS_INDEX, AGENT_ACTIONS_RESULTS_INDEX } from '../../../common'; @@ -48,9 +48,7 @@ describe('unenroll', () => { expect(esClient.update).toBeCalledTimes(1); const calledWith = esClient.update.mock.calls[0]; expect(calledWith[0]?.id).toBe(agentInRegularDoc._id); - expect((calledWith[0] as estypes.UpdateRequest)?.body).toHaveProperty( - 'doc.unenrollment_started_at' - ); + expect(calledWith[0] as estypes.UpdateRequest).toHaveProperty('doc.unenrollment_started_at'); }); it('cannot unenroll from hosted agent policy by default', async () => { @@ -78,9 +76,7 @@ describe('unenroll', () => { expect(esClient.update).toBeCalledTimes(1); const calledWith = esClient.update.mock.calls[0]; expect(calledWith[0]?.id).toBe(agentInHostedDoc._id); - expect((calledWith[0] as estypes.UpdateRequest)?.body).toHaveProperty( - 'doc.unenrollment_started_at' - ); + expect(calledWith[0] as estypes.UpdateRequest).toHaveProperty('doc.unenrollment_started_at'); }); it('can unenroll from hosted agent policy with force=true and revoke=true', async () => { @@ -90,7 +86,7 @@ describe('unenroll', () => { expect(esClient.update).toBeCalledTimes(1); const calledWith = esClient.update.mock.calls[0]; expect(calledWith[0]?.id).toBe(agentInHostedDoc._id); - expect((calledWith[0] as estypes.UpdateRequest)?.body).toHaveProperty('doc.unenrolled_at'); + expect(calledWith[0] as estypes.UpdateRequest).toHaveProperty('doc.unenrolled_at'); }); }); @@ -102,10 +98,10 @@ describe('unenroll', () => { // calls ES update with correct values const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(idsToUnenroll); @@ -123,10 +119,10 @@ describe('unenroll', () => { // calls ES update with correct values const onlyRegular = [agentInRegularDoc._id, agentInRegularDoc2._id]; const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(onlyRegular); @@ -137,7 +133,7 @@ describe('unenroll', () => { // hosted policy is updated in action results with error const calledWithActionResults = esClient.bulk.mock.calls[1][0] as estypes.BulkRequest; // bulk write two line per create - expect(calledWithActionResults.body?.length).toBe(2); + expect(calledWithActionResults.operations?.length).toBe(2); const expectedObject = expect.objectContaining({ '@timestamp': expect.anything(), action_id: expect.anything(), @@ -145,7 +141,7 @@ describe('unenroll', () => { error: 'Cannot unenroll agent-in-hosted-policy from a hosted agent policy hosted-agent-policy in Fleet because the agent policy is managed by an external orchestration solution, such as Elastic Cloud, Kubernetes, etc. Please make changes using your orchestration solution.', }); - expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject); + expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject); }); it('force unenroll updates in progress unenroll actions', async () => { @@ -186,7 +182,8 @@ describe('unenroll', () => { }); expect(esClient.bulk.mock.calls.length).toEqual(3); - const bulkBody = (esClient.bulk.mock.calls[2][0] as estypes.BulkRequest)?.body?.[1] as any; + const bulkBody = (esClient.bulk.mock.calls[2][0] as estypes.BulkRequest) + ?.operations?.[1] as any; expect(bulkBody.agent_id).toEqual(agentInRegularDoc._id); expect(bulkBody.action_id).toEqual('other-action'); }); @@ -248,10 +245,10 @@ describe('unenroll', () => { // calls ES update with correct values const onlyRegular = [agentInRegularDoc._id, agentInRegularDoc2._id]; const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(onlyRegular); @@ -260,19 +257,19 @@ describe('unenroll', () => { } const errorResults = esClient.bulk.mock.calls[2][0]; - const errorIds = (errorResults as estypes.BulkRequest)?.body + const errorIds = (errorResults as estypes.BulkRequest)?.operations ?.filter((i: any) => i.agent_id) .map((i: any) => i.agent_id); expect(errorIds).toEqual([agentInHostedDoc._id]); const actionResults = esClient.bulk.mock.calls[1][0]; - const resultIds = (actionResults as estypes.BulkRequest)?.body + const resultIds = (actionResults as estypes.BulkRequest)?.operations ?.filter((i: any) => i.agent_id) .map((i: any) => i.agent_id); expect(resultIds).toEqual(onlyRegular); const action = esClient.create.mock.calls[0][0] as any; - expect(action.body.type).toEqual('FORCE_UNENROLL'); + expect(action.document.type).toEqual('FORCE_UNENROLL'); }); it('can unenroll from hosted agent policy with force=true', async () => { @@ -283,10 +280,10 @@ describe('unenroll', () => { // calls ES update with correct values const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(idsToUnenroll); @@ -311,10 +308,10 @@ describe('unenroll', () => { // calls ES update with correct values const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(idsToUnenroll); @@ -323,13 +320,13 @@ describe('unenroll', () => { } const actionResults = esClient.bulk.mock.calls[1][0]; - const resultIds = (actionResults as estypes.BulkRequest)?.body + const resultIds = (actionResults as estypes.BulkRequest)?.operations ?.filter((i: any) => i.agent_id) .map((i: any) => i.agent_id); expect(resultIds).toEqual(idsToUnenroll); const action = esClient.create.mock.calls[0][0] as any; - expect(action.body.type).toEqual('FORCE_UNENROLL'); + expect(action.document.type).toEqual('FORCE_UNENROLL'); }); }); diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts b/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts index cd408d953e31a..6a2410dfa3c16 100644 --- a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts @@ -112,7 +112,7 @@ describe('update_agent_tags', () => { await updateAgentTags(soClient, esClient, { agentIds: ['agent1'] }, ['one'], []); const agentAction = esClient.create.mock.calls[0][0] as any; - expect(agentAction?.body).toEqual( + expect(agentAction?.document).toEqual( expect.objectContaining({ action_id: expect.anything(), agents: [expect.any(String)], @@ -122,11 +122,11 @@ describe('update_agent_tags', () => { ); const actionResults = esClient.bulk.mock.calls[0][0] as any; - const agentIds = actionResults?.body + const agentIds = actionResults?.operations ?.filter((i: any) => i.agent_id) .map((i: any) => i.agent_id); expect(agentIds.length).toEqual(1); - expect(actionResults.body[1].error).not.toBeDefined(); + expect(actionResults.operations[1].error).not.toBeDefined(); }); it('should skip hosted agent from total when agentIds are passed', async () => { @@ -144,7 +144,7 @@ describe('update_agent_tags', () => { ); const agentAction = esClientMock.create.mock.calls[0][0] as any; - expect(agentAction?.body).toEqual( + expect(agentAction?.document).toEqual( expect.objectContaining({ action_id: expect.anything(), agents: [expect.any(String)], @@ -165,7 +165,7 @@ describe('update_agent_tags', () => { await updateAgentTags(soClient, esClient, { agentIds: ['agent1'] }, ['one'], []); const agentAction = esClient.create.mock.calls[0][0] as any; - expect(agentAction?.body).toEqual( + expect(agentAction?.document).toEqual( expect.objectContaining({ action_id: expect.anything(), agents: ['failure1'], @@ -175,7 +175,7 @@ describe('update_agent_tags', () => { ); const errorResults = esClient.bulk.mock.calls[0][0] as any; - expect(errorResults.body[1].error).toEqual('error reason'); + expect(errorResults.operations[1].error).toEqual('error reason'); }); it('should throw error on version conflicts', async () => { @@ -217,10 +217,10 @@ describe('update_agent_tags', () => { ).rejects.toThrowError('Version conflict of 100 agents'); const agentAction = esClient.create.mock.calls[0][0] as any; - expect(agentAction?.body.agents.length).toEqual(100); + expect(agentAction?.document.agents.length).toEqual(100); const errorResults = esClient.bulk.mock.calls[0][0] as any; - expect(errorResults.body[1].error).toEqual('version conflict on last retry'); + expect(errorResults.operations[1].error).toEqual('version conflict on last retry'); }); it('should combine action agents from updated, failures and version conflicts on last retry', async () => { @@ -249,7 +249,7 @@ describe('update_agent_tags', () => { ).rejects.toThrowError('Version conflict of 1 agents'); const agentAction = esClient.create.mock.calls[0][0] as any; - expect(agentAction?.body.agents.length).toEqual(3); + expect(agentAction?.document.agents.length).toEqual(3); }); it('should run add tags async when actioning more agents than batch size', async () => { @@ -367,7 +367,7 @@ describe('update_agent_tags', () => { ); const agentAction = esClient.create.mock.calls[0][0] as any; - expect(agentAction?.body).toEqual( + expect(agentAction?.document).toEqual( expect.objectContaining({ action_id: expect.anything(), agents: [expect.any(String)], diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts b/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts index 7dbfaf86bd272..f39f557076283 100644 --- a/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { appContextService } from '../app_context'; import type { Agent } from '../../types'; @@ -58,10 +58,10 @@ describe('sendUpgradeAgentsActions (plural)', () => { // calls ES update with correct values const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); @@ -80,10 +80,10 @@ describe('sendUpgradeAgentsActions (plural)', () => { // calls ES update with correct values const onlyRegular = [agentInRegularDoc._id, agentInRegularDoc2._id]; const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(onlyRegular); @@ -95,7 +95,7 @@ describe('sendUpgradeAgentsActions (plural)', () => { // hosted policy is updated in action results with error const calledWithActionResults = esClient.bulk.mock.calls[1][0] as estypes.BulkRequest; // bulk write two line per create - expect(calledWithActionResults.body?.length).toBe(2); + expect(calledWithActionResults.operations?.length).toBe(2); const expectedObject = expect.objectContaining({ '@timestamp': expect.anything(), action_id: expect.anything(), @@ -103,7 +103,7 @@ describe('sendUpgradeAgentsActions (plural)', () => { error: 'Cannot upgrade agent in hosted agent policy hosted-agent-policy in Fleet because the agent policy is managed by an external orchestration solution, such as Elastic Cloud, Kubernetes, etc. Please make changes using your orchestration solution.', }); - expect(calledWithActionResults.body?.[1] as any).toEqual(expectedObject); + expect(calledWithActionResults.operations?.[1]).toEqual(expectedObject); }); it('can upgrade from hosted agent policy with force=true', async () => { @@ -118,10 +118,10 @@ describe('sendUpgradeAgentsActions (plural)', () => { // calls ES update with correct values const calledWith = esClient.bulk.mock.calls[0][0]; - const ids = (calledWith as estypes.BulkRequest)?.body + const ids = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.update !== undefined) .map((i: any) => i.update._id); - const docs = (calledWith as estypes.BulkRequest)?.body + const docs = (calledWith as estypes.BulkRequest)?.operations ?.filter((i: any) => i.doc) .map((i: any) => i.doc); expect(ids).toEqual(idsToAction); diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts index 766d03f6a776c..512a6661d80d5 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts @@ -7,7 +7,7 @@ import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; -import type { IndicesIndexSettings } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { IndicesIndexSettings } from '@elastic/elasticsearch/lib/api/types'; import { appContextService } from '../../..'; diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts index 93695c68add0a..68da3857a5cff 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts @@ -10,7 +10,7 @@ import type { IndicesIndexSettings, MappingDynamicTemplate, MappingTypeMapping, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import pMap from 'p-map'; import { isResponseError } from '@kbn/es-errors'; diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts index 6a34beb371082..2b5102eb2f481 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type { MappingTypeMapping } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { MappingTypeMapping } from '@elastic/elasticsearch/lib/api/types'; import { USER_SETTINGS_TEMPLATE_SUFFIX } from '../../../../constants'; diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts index 8d53a952608fa..03975fbb13aa4 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts @@ -12,7 +12,7 @@ import type { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-ser import { sortBy, uniqBy } from 'lodash'; import pMap from 'p-map'; import { isPopulatedObject } from '@kbn/ml-is-populated-object'; -import type { ErrorResponseBase } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { ErrorResponseBase } from '@elastic/elasticsearch/lib/api/types'; import type { SecondaryAuthorizationHeader } from '../../../../../common/types/models/transform_api_key'; import { updateEsAssetReferences } from '../../packages/es_assets_reference'; diff --git a/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts b/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts index a33f936a613f4..0f766062ab20e 100644 --- a/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts +++ b/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts @@ -5,10 +5,7 @@ * 2.0. */ -import type { - MappingProperty, - PropertyName, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { MappingProperty, PropertyName } from '@elastic/elasticsearch/lib/api/types'; import type { ExperimentalDataStreamFeature } from '../../common/types'; diff --git a/x-pack/plugins/fleet/server/services/files/client_from_host.ts b/x-pack/plugins/fleet/server/services/files/client_from_host.ts index 814d342ddd993..4781f9467fb77 100644 --- a/x-pack/plugins/fleet/server/services/files/client_from_host.ts +++ b/x-pack/plugins/fleet/server/services/files/client_from_host.ts @@ -9,7 +9,7 @@ import type { Readable } from 'stream'; import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; import type { Logger } from '@kbn/core/server'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { FileClient } from '@kbn/files-plugin/server'; import { createEsFileClient } from '@kbn/files-plugin/server'; diff --git a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts b/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts index 1f58fcafd396b..275dcfc3a281d 100644 --- a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts +++ b/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts @@ -28,7 +28,7 @@ import { asyncForEach, asyncMap } from '@kbn/std'; import type { AggregationsTermsInclude, AggregationsTermsExclude, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import { isResponseError } from '@kbn/es-errors'; import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common'; import { DEFAULT_NAMESPACE_STRING } from '@kbn/core-saved-objects-utils-server'; diff --git a/x-pack/plugins/index_management/jest.config.js b/x-pack/plugins/index_management/jest.config.js deleted file mode 100644 index 8cd0af1f81147..0000000000000 --- a/x-pack/plugins/index_management/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/index_management'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/index_management', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/index_management/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/lens/public/data_views_service/loader.ts b/x-pack/plugins/lens/public/data_views_service/loader.ts index 37c768de6ef8f..16468ff01a22d 100644 --- a/x-pack/plugins/lens/public/data_views_service/loader.ts +++ b/x-pack/plugins/lens/public/data_views_service/loader.ts @@ -72,6 +72,12 @@ export function convertDataViewIntoLensIndexPattern( ]) ), fields: newFields, + getFormatterForField(sourceField: string): unknown { + const dvField = dataView.getFieldByName(sourceField); + if (dvField) { + return dataView.getFormatterForField(dvField); + } + }, getFieldByName: getFieldByNameFactory(newFields), hasRestrictions: !!typeMeta?.aggs, spec: dataView.toSpec(false), diff --git a/x-pack/plugins/lens/public/data_views_service/mocks.ts b/x-pack/plugins/lens/public/data_views_service/mocks.ts index b4acacbe98b73..b5db98c16ec18 100644 --- a/x-pack/plugins/lens/public/data_views_service/mocks.ts +++ b/x-pack/plugins/lens/public/data_views_service/mocks.ts @@ -48,6 +48,7 @@ const indexPattern1 = { hasRestrictions: false, isPersisted: () => true, toSpec: () => ({}), + getFormatterForField: () => ({ convert: (v: unknown) => v }), fields: [ { name: 'timestamp', diff --git a/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx index c8fec4184190d..9208b0f4f7f25 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx @@ -165,6 +165,7 @@ const indexPatterns = { hasRestrictions: false, fields: fieldsOne, getFieldByName: getFieldByNameFactory(fieldsOne), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -175,6 +176,7 @@ const indexPatterns = { hasRestrictions: true, fields: fieldsTwo, getFieldByName: getFieldByNameFactory(fieldsTwo), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx index aa6837a7e3393..ff08447f2a247 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx @@ -150,6 +150,7 @@ const expectedIndexPatterns = { hasRestrictions: false, fields, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -2377,6 +2378,7 @@ describe('FormBasedDimensionEditor', () => { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts index ceb16345f475c..4cf0171de9e0f 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts @@ -77,6 +77,7 @@ export const mockDataViews = (): IndexPatternMap => { hasRestrictions: false, fields, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -87,6 +88,7 @@ export const mockDataViews = (): IndexPatternMap => { timeFieldName: 'timestamp', fields: [fields[0]], getFieldByName: getFieldByNameFactory([fields[0]]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts b/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts index cd26abe0fdd86..77063a2e1a739 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts @@ -171,6 +171,7 @@ const expectedIndexPatterns = { hasRestrictions: false, fields: fieldsOne, getFieldByName: getFieldByNameFactory(fieldsOne), + getFormatterForField: () => ({ convert: (v: unknown) => v }), spec: {}, isPersisted: true, }, @@ -181,6 +182,7 @@ const expectedIndexPatterns = { hasRestrictions: true, fields: fieldsTwo, getFieldByName: getFieldByNameFactory(fieldsTwo), + getFormatterForField: () => ({ convert: (v: unknown) => v }), spec: {}, isPersisted: true, }, @@ -3032,6 +3034,7 @@ describe('IndexPattern Data Source', () => { hasRestrictions: false, fields: fieldsOne, getFieldByName: getFieldByNameFactory(fieldsOne), + getFormatterForField: () => ({ convert: (v: unknown) => v }), spec: {}, isPersisted: true, }; diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx b/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx index ebe98c56adebf..54908ba2af31e 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx @@ -450,7 +450,15 @@ export function getFormBasedDatasource({ ); }, - toExpression: (state, layerId, indexPatterns, dateRange, nowInstant, searchSessionId) => + toExpression: ( + state, + layerId, + indexPatterns, + dateRange, + nowInstant, + searchSessionId, + forceDSL + ) => toExpression( state, layerId, @@ -458,7 +466,8 @@ export function getFormBasedDatasource({ uiSettings, dateRange, nowInstant, - searchSessionId + searchSessionId, + forceDSL ), LayerSettingsComponent(props) { diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx index 0a0c0dcc05eeb..923c0c814c326 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx @@ -156,6 +156,7 @@ const expectedIndexPatterns = { hasRestrictions: false, fields: fieldsOne, getFieldByName: getFieldByNameFactory(fieldsOne), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -166,6 +167,7 @@ const expectedIndexPatterns = { timeFieldName: 'timestamp', fields: fieldsTwo, getFieldByName: getFieldByNameFactory(fieldsTwo), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -420,6 +422,7 @@ describe('IndexPattern Data Source suggestions', () => { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -664,6 +667,7 @@ describe('IndexPattern Data Source suggestions', () => { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -2899,6 +2903,7 @@ describe('IndexPattern Data Source suggestions', () => { hasRestrictions: false, fields, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -2996,6 +3001,7 @@ describe('IndexPattern Data Source suggestions', () => { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -3078,6 +3084,7 @@ describe('IndexPattern Data Source suggestions', () => { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx index bbcecf15d2bd1..93902547dd603 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx @@ -194,6 +194,7 @@ describe('Layer Data Panel', () => { hasRestrictions: false, fields: fieldsOne, getFieldByName: getFieldByNameFactory(fieldsOne), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -204,6 +205,7 @@ describe('Layer Data Panel', () => { timeFieldName: 'timestamp', fields: fieldsTwo, getFieldByName: getFieldByNameFactory(fieldsTwo), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, @@ -214,6 +216,7 @@ describe('Layer Data Panel', () => { hasRestrictions: false, fields: fieldsThree, getFieldByName: getFieldByNameFactory(fieldsThree), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/mocks.ts b/x-pack/plugins/lens/public/datasources/form_based/mocks.ts index f98107eebbcca..f625c8b192d66 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/mocks.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/mocks.ts @@ -94,6 +94,7 @@ export const createMockedIndexPattern = ( hasRestrictions: false, fields, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, ...someProps, @@ -128,6 +129,7 @@ export const createMockedRestrictedIndexPattern = () => { fieldFormatMap: { bytes: { id: 'bytes', params: { pattern: '0.0' } } }, fields, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, typeMeta: { @@ -188,6 +190,7 @@ export const createMockedIndexPatternWithoutType = ( ...otherIndexPatternProps, fields: filteredFields, getFieldByName: getFieldByNameFactory(filteredFields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), }; }; @@ -200,5 +203,6 @@ export const createMockedIndexPatternWithAdditionalFields = ( ...otherIndexPatternProps, fields: completeFields, getFieldByName: getFieldByNameFactory(completeFields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), }; }; diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts index 3dc58b7f1ef6c..94b406039284c 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts @@ -76,6 +76,7 @@ const indexPattern = { hasRestrictions: false, fields: indexPatternFields, getFieldByName: getFieldByNameFactory([...indexPatternFields]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }; diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx index fb1c95f57a8f3..0a49a10ada25f 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx @@ -60,6 +60,7 @@ const indexPattern1: IndexPattern = { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }; @@ -88,6 +89,7 @@ const indexPattern2: IndexPattern = { searchable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }; @@ -248,6 +250,7 @@ describe('date_histogram', () => { }, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), }, layer, uiSettingsMock, @@ -709,6 +712,7 @@ describe('date_histogram', () => { }, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), }; const instance = shallow( diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx index 8bf71089b21e0..a7c6e436dcfab 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx @@ -116,6 +116,7 @@ const defaultOptions = { aggregatable: true, }, ]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts b/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts index 11ea2a7b18414..a7aafc0c272d7 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts @@ -111,6 +111,7 @@ const indexPattern = { hasRestrictions: false, fields: indexPatternFields, getFieldByName: getFieldByNameFactory([...indexPatternFields, documentField]), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }; @@ -2902,6 +2903,7 @@ describe('state_helpers', () => { title: '', hasRestrictions: true, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), fields, isPersisted: true, spec: {}, diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts b/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts index 1f6f041b4eee2..fa9063183eb9d 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts @@ -42,6 +42,7 @@ const expectedIndexPatterns = { hasRestrictions: false, fields, getFieldByName: getFieldByNameFactory(fields), + getFormatterForField: () => ({ convert: (v: unknown) => v }), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts b/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts index 743efc9cb8db7..31478cab6bfc8 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts +++ b/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts @@ -71,7 +71,8 @@ function getExpressionForLayer( uiSettings: IUiSettingsClient, dateRange: DateRange, nowInstant: Date, - searchSessionId?: string + searchSessionId?: string, + forceDSL?: boolean ): ExpressionAstExpression | null { const { columnOrder } = layer; if (columnOrder.length === 0 || !indexPattern) { @@ -523,7 +524,8 @@ export function toExpression( uiSettings: IUiSettingsClient, dateRange: DateRange, nowInstant: Date, - searchSessionId?: string + searchSessionId?: string, + forceDSL?: boolean ) { if (state.layers[layerId]) { return getExpressionForLayer( @@ -532,7 +534,8 @@ export function toExpression( uiSettings, dateRange, nowInstant, - searchSessionId + searchSessionId, + forceDSL ); } diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx b/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx index 878abc2e7f66a..f66ef72296b13 100644 --- a/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx +++ b/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx @@ -144,6 +144,7 @@ describe('TextBased Query Languages Data Panel', () => { hasRestrictions: false, fields: fieldsOne, getFieldByName: jest.fn(), + getFormatterForField: jest.fn(), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts index ab96f6d802a97..7c2d546587c3e 100644 --- a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts +++ b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts @@ -69,6 +69,7 @@ const expectedIndexPatterns = { hasRestrictions: false, fields: fieldsOne, getFieldByName: jest.fn(), + getFormatterForField: jest.fn(), spec: {}, isPersisted: true, }, diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts index 424e91d1a007d..012fc5c208fe4 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts @@ -15,7 +15,8 @@ export function getDatasourceExpressionsByLayers( indexPatterns: IndexPatternMap, dateRange: DateRange, nowInstant: Date, - searchSessionId?: string + searchSessionId?: string, + forceDSL?: boolean ): null | Record { const datasourceExpressions: Array<[string, Ast | string]> = []; @@ -34,7 +35,8 @@ export function getDatasourceExpressionsByLayers( indexPatterns, dateRange, nowInstant, - searchSessionId + searchSessionId, + forceDSL ); if (result) { datasourceExpressions.push([layerId, result]); @@ -67,6 +69,7 @@ export function buildExpression({ dateRange, nowInstant, searchSessionId, + forceDSL, }: { title?: string; description?: string; @@ -79,6 +82,7 @@ export function buildExpression({ searchSessionId?: string; dateRange: DateRange; nowInstant: Date; + forceDSL?: boolean; }): Ast | null { // if an unregistered visualization is passed in the SO // then this will be set as "undefined". Relax the check to catch both @@ -92,7 +96,8 @@ export function buildExpression({ indexPatterns, dateRange, nowInstant, - searchSessionId + searchSessionId, + forceDSL ); const visualizationExpression = visualization.toExpression( diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts index efe3ccc84f560..c70d43d4d843b 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts @@ -367,6 +367,7 @@ export async function persistedStateToExpression( timefilter: TimefilterContract; nowProvider: DataPublicPluginStart['nowProvider']; eventAnnotationService: EventAnnotationServiceType; + forceDSL?: boolean; } ): Promise { const { @@ -459,6 +460,7 @@ export async function persistedStateToExpression( datasourceLayers, indexPatterns, dateRange: { fromDate: currentTimeRange.from, toDate: currentTimeRange.to }, + forceDSL: services.forceDSL, nowInstant: services.nowProvider.get(), }), activeVisualizationState, diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx index 5775748da8cee..31228d8bb1da8 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx @@ -328,6 +328,7 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({ dateRange: framePublicAPI.dateRange, nowInstant: plugins.data.nowProvider.get(), searchSessionId, + forceDSL: framePublicAPI.forceDSL, }); if (ast) { @@ -373,6 +374,7 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({ datasourceLayers, dataViews.indexPatterns, framePublicAPI.dateRange, + framePublicAPI.forceDSL, plugins.data.nowProvider, searchSessionId, addUserMessages, diff --git a/x-pack/plugins/lens/public/editor_frame_service/service.tsx b/x-pack/plugins/lens/public/editor_frame_service/service.tsx index a677e0c6105b8..30a3a3be805f1 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/service.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/service.tsx @@ -93,7 +93,10 @@ export class EditorFrameService { * This is an asynchronous process. * @param doc parsed Lens saved object */ - public documentToExpression = async (doc: LensDocument, services: EditorFramePlugins) => { + public documentToExpression = async ( + doc: LensDocument, + services: EditorFramePlugins & { forceDSL?: boolean } + ) => { const [resolvedDatasources, resolvedVisualizations] = await Promise.all([ this.loadDatasources(), this.loadVisualizations(), diff --git a/x-pack/plugins/lens/public/plugin.ts b/x-pack/plugins/lens/public/plugin.ts index 538e14518bf6e..d02f0a0685cff 100644 --- a/x-pack/plugins/lens/public/plugin.ts +++ b/x-pack/plugins/lens/public/plugin.ts @@ -367,13 +367,14 @@ export class LensPlugin { coreStart, timefilter: plugins.data.query.timefilter.timefilter, expressionRenderer: plugins.expressions.ReactExpressionRenderer, - documentToExpression: (doc: LensDocument) => + documentToExpression: (doc: LensDocument, forceDSL?: boolean) => this.editorFrameService!.documentToExpression(doc, { dataViews: plugins.dataViews, storage: new Storage(localStorage), uiSettings: core.uiSettings, timefilter: plugins.data.query.timefilter.timefilter, nowProvider: plugins.data.nowProvider, + forceDSL, eventAnnotationService, }), injectFilterReferences: data.query.filterManager.inject.bind(data.query.filterManager), diff --git a/x-pack/plugins/lens/public/react_embeddable/data_loader.ts b/x-pack/plugins/lens/public/react_embeddable/data_loader.ts index a1d2e713d3f81..fe11a7fe66a16 100644 --- a/x-pack/plugins/lens/public/react_embeddable/data_loader.ts +++ b/x-pack/plugins/lens/public/react_embeddable/data_loader.ts @@ -224,6 +224,7 @@ export function loadEmbeddableData( handleEvent, disableTriggers, updateBlockingErrors, + forceDSL: (parentApi as { forceDSL?: boolean }).forceDSL, getDisplayOptions: internalApi.getDisplayOptions, }), getUsedDataViews( diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts b/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts index ff6206f3f70e4..f3d4a359ca949 100644 --- a/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts +++ b/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts @@ -62,15 +62,20 @@ interface GetExpressionRendererPropsParams { api: LensApi; addUserMessages: (messages: UserMessage[]) => void; updateBlockingErrors: (error: Error) => void; + forceDSL?: boolean; getDisplayOptions: () => VisualizationDisplayOptions; } async function getExpressionFromDocument( document: LensDocument, - documentToExpression: (doc: LensDocument) => Promise + documentToExpression: ( + doc: LensDocument, + forceDSL?: boolean + ) => Promise, + forceDSL?: boolean ) { const { ast, indexPatterns, indexPatternRefs, activeVisualizationState, activeDatasourceState } = - await documentToExpression(document); + await documentToExpression(document, forceDSL); return { expression: ast ? toExpression(ast) : null, indexPatterns, @@ -147,6 +152,7 @@ export async function getExpressionRendererParams( addUserMessages, updateBlockingErrors, searchContext, + forceDSL, getDisplayOptions, }: GetExpressionRendererPropsParams ): Promise<{ @@ -165,7 +171,7 @@ export async function getExpressionRendererParams( indexPatternRefs, activeVisualizationState, activeDatasourceState, - } = await getExpressionFromDocument(state.attributes, documentToExpression); + } = await getExpressionFromDocument(state.attributes, documentToExpression, forceDSL); // Apparently this change produces had lots of issues with solutions not using // the Embeddable incorrectly. Will comment for now and later on will restore it when diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts index d7a073f10e024..ae2e170e5422f 100644 --- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts +++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts @@ -109,6 +109,7 @@ describe('Dashboard actions', () => { }, ], getFieldByName: jest.fn(), + getFormatterForField: jest.fn(), isPersisted: true, spec: {}, }, diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts index 67a5d3a89a1c2..06e72def12c62 100644 --- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts +++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts @@ -182,6 +182,7 @@ export function initializeDashboardServices( className: getUnchangingComparator(), overrides: overridesComparator, disableTriggers: disabledTriggersComparator, + forceDSL: getUnchangingComparator(), isNewPanel: getUnchangingComparator<{ isNewPanel?: boolean }, 'isNewPanel'>(), parentApi: getUnchangingComparator, 'parentApi'>(), }, diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx index 81372dad339f7..4674fb84c2635 100644 --- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx +++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx @@ -37,6 +37,7 @@ import { setupPanelManagement } from '../inline_editing/panel_management'; import { mountInlineEditPanel } from '../inline_editing/mount'; import { StateManagementConfig } from './initialize_state_management'; import { apiPublishesInlineEditingCapabilities } from '../type_guards'; +import { SearchContextConfig } from './initialize_search_context'; function getSupportedTriggers( getState: GetStateType, @@ -61,6 +62,7 @@ export function initializeEditApi( internalApi: LensInternalApi, stateApi: StateManagementConfig['api'], inspectorApi: LensInspectorAdapters, + searchContextApi: SearchContextConfig['api'], isTextBasedLanguage: (currentState: LensRuntimeState) => boolean, startDependencies: LensEmbeddableStartServices, parentApi?: unknown @@ -126,9 +128,34 @@ export function initializeEditApi( stateApi.updateSavedObjectId(newState.savedObjectId); }; + // Wrap the getState() when inline editing and make sure that the filters in the attributes + // are properly injected with the correct references to avoid issues when saving/navigating to the full editor + const getStateWithInjectedFilters = () => { + const currentState = getState(); + // use the search context api here for filters for 2 reasons: + // * the filters here have the correct references already injected + // * the edit filters flow may change in the future and this is the right place to get the filters + const currentFilters = searchContextApi.filters$.getValue() ?? []; + // if there are no filters, avoid to copy the attributes + if (!currentFilters.length) { + return currentState; + } + // otherwise make sure to inject the references into filters + return { + ...currentState, + attributes: { + ...currentState.attributes, + state: { + ...currentState.attributes.state, + filters: currentFilters, + }, + }, + }; + }; + const openInlineEditor = prepareInlineEditPanel( initialState, - getState, + getStateWithInjectedFilters, updateState, internalApi, panelManagementApi, @@ -205,6 +232,9 @@ export function initializeEditApi( const rootEmbeddable = parentApi; const overlayTracker = tracksOverlays(rootEmbeddable) ? rootEmbeddable : undefined; const ConfigPanel = await openInlineEditor({ + // the getState() here contains the wrong filters references + // but the input attributes are correct as openInlineEditor() handler is using + // the getStateWithInjectedFilters() function onApply: (attributes: LensRuntimeState['attributes']) => updateState({ ...getState(), attributes }), // restore the first state found when the panel opened diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts index 1a608de11e230..1d95fd49b3f55 100644 --- a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts +++ b/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts @@ -18,18 +18,26 @@ import { apiPublishesSearchSession, } from '@kbn/presentation-publishing/interfaces/fetch/publishes_search_session'; import { buildObservableVariable } from '../helper'; -import { LensInternalApi, LensRuntimeState, LensUnifiedSearchContext } from '../types'; +import { + LensEmbeddableStartServices, + LensInternalApi, + LensRuntimeState, + LensUnifiedSearchContext, +} from '../types'; -export function initializeSearchContext( - initialState: LensRuntimeState, - internalApi: LensInternalApi, - parentApi: unknown -): { +export interface SearchContextConfig { api: PublishesUnifiedSearch & PublishesSearchSession; comparators: StateComparators; serialize: () => LensUnifiedSearchContext; cleanup: () => void; -} { +} + +export function initializeSearchContext( + initialState: LensRuntimeState, + internalApi: LensInternalApi, + parentApi: unknown, + { injectFilterReferences }: LensEmbeddableStartServices +): SearchContextConfig { const [searchSessionId$] = buildObservableVariable( apiPublishesSearchSession(parentApi) ? parentApi.searchSessionId$ : undefined ); @@ -38,7 +46,10 @@ export function initializeSearchContext( const [lastReloadRequestTime] = buildObservableVariable(undefined); - const [filters$] = buildObservableVariable(attributes.state.filters); + // Make sure the panel access the filters with the correct references + const [filters$] = buildObservableVariable( + injectFilterReferences(attributes.state.filters, attributes.references) + ); const [query$] = buildObservableVariable( attributes.state.query diff --git a/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx b/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx index 2fc1928dc40c8..c193e02c06f0e 100644 --- a/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx +++ b/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx @@ -84,6 +84,13 @@ export const createLensEmbeddableFactory = ( const inspectorConfig = initializeInspector(services); + const searchContextConfig = initializeSearchContext( + initialState, + internalApi, + parentApi, + services + ); + const editConfig = initializeEditApi( uuid, initialState, @@ -91,12 +98,12 @@ export const createLensEmbeddableFactory = ( internalApi, stateConfig.api, inspectorConfig.api, + searchContextConfig.api, isTextBasedLanguage, services, parentApi ); - const searchContextConfig = initializeSearchContext(initialState, internalApi, parentApi); const integrationsConfig = initializeIntegrations(getState, services); const actionsConfig = initializeActionApi( uuid, diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx b/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx index 70d59fc7486b2..1f60c93679952 100644 --- a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx +++ b/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx @@ -60,7 +60,9 @@ export function LensRenderer({ timeRange, disabledActions, searchSessionId, + forceDSL, hidePanelTitles, + lastReloadRequestTime, ...props }: LensRendererProps) { // Use the settings interface to store panel settings @@ -86,6 +88,11 @@ export function LensRenderer({ const showPanelChrome = Boolean(withDefaultActions) || (extraActions?.length || 0) > 0; + const reload$ = useMemo(() => new BehaviorSubject(undefined), []); + useEffect(() => { + reload$.next(); + }, [reload$, lastReloadRequestTime]); + // Re-render on changes // internally the embeddable will evaluate whether it is worth to actual render or not useEffect(() => { @@ -151,7 +158,9 @@ export function LensRenderer({ ...initialStateRef.current, attributes: props.attributes, }), + forceDSL, hidePanelTitle: hidePanelTitles$, + reload$, // trigger a reload (replacement for deprepcated searchSessionId) })} onApiAvailable={setLensApi} hidePanelChrome={!showPanelChrome} diff --git a/x-pack/plugins/lens/public/react_embeddable/types.ts b/x-pack/plugins/lens/public/react_embeddable/types.ts index 98b85860f414f..32cdb6728f041 100644 --- a/x-pack/plugins/lens/public/react_embeddable/types.ts +++ b/x-pack/plugins/lens/public/react_embeddable/types.ts @@ -135,7 +135,10 @@ export type LensEmbeddableStartServices = Simplify< coreStart: CoreStart; capabilities: RecursiveReadonly; expressionRenderer: ReactExpressionRendererType; - documentToExpression: (doc: LensDocument) => Promise; + documentToExpression: ( + doc: LensDocument, + forceDSL?: boolean + ) => Promise; injectFilterReferences: FilterManager['inject']; visualizationMap: VisualizationMap; datasourceMap: DatasourceMap; @@ -261,6 +264,7 @@ export interface LensSharedProps { className?: string; noPadding?: boolean; viewMode?: ViewMode; + forceDSL?: boolean; } interface LensRequestHandlersProps { @@ -323,7 +327,13 @@ export type LensComponentProps = Simplify< */ export type LensComponentForwardedProps = Pick< LensComponentProps, - 'style' | 'className' | 'noPadding' | 'abortController' | 'executionContext' | 'viewMode' + | 'style' + | 'className' + | 'noPadding' + | 'abortController' + | 'executionContext' + | 'viewMode' + | 'forceDSL' >; /** @@ -347,7 +357,10 @@ export type LensRendererProps = Simplify; export type LensRuntimeState = Simplify< Omit & { attributes: NonNullable; - } & Pick & + } & Pick< + LensComponentForwardedProps, + 'viewMode' | 'abortController' | 'executionContext' | 'forceDSL' + > & ContentManagementProps >; diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts index f6d4edc02e16d..4aff41450df4c 100644 --- a/x-pack/plugins/lens/public/types.ts +++ b/x-pack/plugins/lens/public/types.ts @@ -83,6 +83,9 @@ export interface IndexPatternRef { } export interface IndexPattern { + getFormatterForField( // used extensively in lens + sourceField: string + ): unknown; id: string; fields: IndexPatternField[]; getFieldByName(name: string): IndexPatternField | undefined; @@ -432,7 +435,8 @@ export interface Datasource ExpressionAstExpression | string | null; getDatasourceSuggestionsForField: ( @@ -962,6 +966,7 @@ export interface FramePublicAPI { */ activeData?: Record; dataViews: DataViewsState; + forceDSL?: boolean; } /** diff --git a/x-pack/plugins/logstash/jest.config.js b/x-pack/plugins/logstash/jest.config.js deleted file mode 100644 index 7296aa46adbb0..0000000000000 --- a/x-pack/plugins/logstash/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/logstash'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/logstash', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/logstash/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/maps/jest.config.js b/x-pack/plugins/maps/jest.config.js deleted file mode 100644 index c9bd7bf4cd0d4..0000000000000 --- a/x-pack/plugins/maps/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/maps'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/maps', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/maps/{common,public,server}/**/*.{js,ts,tsx}'], -}; diff --git a/x-pack/plugins/monitoring/jest.config.js b/x-pack/plugins/monitoring/jest.config.js deleted file mode 100644 index 772b1ff1e5810..0000000000000 --- a/x-pack/plugins/monitoring/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/monitoring'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/monitoring', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/monitoring/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/monitoring_collection/jest.config.js b/x-pack/plugins/monitoring_collection/jest.config.js deleted file mode 100644 index d2bb0617857d2..0000000000000 --- a/x-pack/plugins/monitoring_collection/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/monitoring_collection'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/monitoring_collection', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/monitoring_collection/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx index 0136fcfb88f39..c895be7294a2c 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx +++ b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx @@ -10,8 +10,6 @@ import { Axis, BarSeries, Chart, - LIGHT_THEME, - DARK_THEME, LineAnnotation, Position, RectAnnotation, @@ -22,13 +20,14 @@ import { Tooltip, niceTimeFormatter, } from '@elastic/charts'; -import { COLOR_MODES_STANDARD, EuiSpacer, useEuiTheme } from '@elastic/eui'; +import { EuiSpacer, useEuiTheme } from '@elastic/eui'; import React, { useMemo } from 'react'; import { IUiSettingsClient } from '@kbn/core/public'; import { TimeUnitChar } from '@kbn/observability-plugin/common'; import { UI_SETTINGS } from '@kbn/data-plugin/public'; import moment from 'moment'; import { i18n } from '@kbn/i18n'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { Coordinate } from '../../../../../typings/timeseries'; import { getTimeZone } from '../../../shared/charts/helper/timezone'; import { TimeLabelForData, TIME_LABELS, getDomain } from './chart_preview_helper'; @@ -54,6 +53,7 @@ export function ChartPreview({ totalGroups, }: ChartPreviewProps) { const theme = useEuiTheme(); + const baseTheme = useElasticChartsTheme(); const thresholdOpacity = 0.3; const DEFAULT_DATE_FORMAT = 'Y-MM-DD HH:mm:ss'; @@ -122,7 +122,7 @@ export function ChartPreview({ legendPosition={'bottom'} legendSize={legendSize} locale={i18n.getLocale()} - theme={theme.colorMode === COLOR_MODES_STANDARD.dark ? DARK_THEME : LIGHT_THEME} + baseTheme={baseTheme} /> /x-pack/plugins/observability_solution/observability_logs_explorer'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/observability_logs_explorer', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/observability_logs_explorer/{common,public}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx index 9839d1d5d58e9..01e86b87e6d6c 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx +++ b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx @@ -8,8 +8,7 @@ import React from 'react'; import { mount, render } from 'enzyme'; import { FieldValueSelection } from './field_value_selection'; -import { EuiSelectableList } from '@elastic/eui'; -import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; +import { EuiSelectableList, EuiThemeProvider } from '@elastic/eui'; const values = [ { label: 'elastic co frontend', count: 1 }, @@ -56,23 +55,23 @@ describe('FieldValueSelection', () => { expect((list.props() as any).visibleOptions).toMatchInlineSnapshot(` Array [ Object { - "append": + "append": 1 - , + , "label": "elastic co frontend", }, Object { - "append": + "append": 2 - , + , "label": "apm server", }, ] diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx index aebb3a145371e..e74173e90cfff 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx +++ b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx @@ -21,15 +21,13 @@ import { useEuiTheme, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import styled from 'styled-components'; import { isEqual, map } from 'lodash'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { FieldValueSelectionProps, ListItem } from './types'; - -const Counter = euiStyled.div` - border-radius: ${({ theme }) => theme.eui.euiBorderRadius}; - background: ${({ theme }) => theme.eui.euiColorLightShade}; - padding: 0 ${({ theme }) => theme.eui.euiSizeXS}; +const Counter = styled.div` + border-radius: ${({ theme }) => theme.euiTheme.border.radius.medium}; + background: ${({ theme }) => theme.euiTheme.colors.lightShade}; + padding: 0 ${({ theme }) => theme.euiTheme.size.xs}; `; const formatOptions = ( @@ -221,7 +219,7 @@ export function FieldValueSelection({ css={{ flexDirection: 'row-reverse', gap: euiTheme.size.s, - color: euiTheme.colors.subduedText, + color: euiTheme.colors.textSubdued, }} label={i18n.translate( 'xpack.observabilityShared.fieldValueSelection.logicalAnd', diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx index 4cc1375b22db2..de01857f15a7a 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx +++ b/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { FieldValueSuggestions } from '.'; import { render, screen, fireEvent, waitForElementToBeRemoved } from '@testing-library/react'; -import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; +import { EuiThemeProvider } from '@elastic/eui'; import * as obsHooks from '../../hooks/use_es_search'; jest.setTimeout(30000); @@ -45,7 +45,7 @@ describe('FieldValueSuggestions', () => { ]); render( - + { const onChange = jest.fn(); const { rerender } = render( - + { await waitForElementToBeRemoved(() => screen.queryByText('Apply')); rerender( - + ({ - embeddableFactoryId, - height, - ...props -}: T & { embeddableFactoryId: string; height?: string }) { - const { embeddable: embeddablePlugin } = useKibana().services; - const [embeddable, setEmbeddable] = useState(); - const embeddableRoot: React.RefObject = useRef(null); - - useEffect(() => { - async function createEmbeddable() { - const factory = embeddablePlugin?.getEmbeddableFactory(embeddableFactoryId); - const input = { ...props, id: 'embeddable_profiling' }; - const embeddableObject = await factory?.create(input); - setEmbeddable(embeddableObject); - } - createEmbeddable(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - - useEffect(() => { - if (embeddableRoot.current && embeddable) { - embeddable.render(embeddableRoot.current); - } - }, [embeddable, embeddableRoot]); - - useEffect(() => { - if (embeddable) { - embeddable.updateInput(props); - embeddable.reload(); - } - }, [embeddable, props]); - - return ( -
- ); -} diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx b/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx index 3c06cfa9c7128..6257d8b9d13f9 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx +++ b/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx @@ -5,13 +5,12 @@ * 2.0. */ -import { LIGHT_THEME, DARK_THEME, PartialTheme } from '@elastic/charts'; -import { useEuiTheme, COLOR_MODES_STANDARD } from '@elastic/eui'; +import { PartialTheme, Theme } from '@elastic/charts'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { useMemo } from 'react'; -export function useChartThemes() { - const theme = useEuiTheme(); - const baseTheme = theme.colorMode === COLOR_MODES_STANDARD.dark ? DARK_THEME : LIGHT_THEME; +export function useChartThemes(): { baseTheme: Theme; theme: PartialTheme[] } { + const baseTheme = useElasticChartsTheme(); return useMemo(() => { const themeOverrides: PartialTheme = { diff --git a/x-pack/plugins/observability_solution/observability_shared/tsconfig.json b/x-pack/plugins/observability_solution/observability_shared/tsconfig.json index 15ae8d34c7f55..84c98161d5d46 100644 --- a/x-pack/plugins/observability_solution/observability_shared/tsconfig.json +++ b/x-pack/plugins/observability_solution/observability_shared/tsconfig.json @@ -46,6 +46,7 @@ "@kbn/es-query", "@kbn/serverless", "@kbn/data-views-plugin", + "@kbn/charts-theme", "@kbn/deeplinks-observability", ], "exclude": ["target/**/*", ".storybook/**/*.js"] diff --git a/x-pack/plugins/reporting/server/config/ui_settings.ts b/x-pack/plugins/reporting/server/config/ui_settings.ts index 3a7898e861a12..a70e717820795 100644 --- a/x-pack/plugins/reporting/server/config/ui_settings.ts +++ b/x-pack/plugins/reporting/server/config/ui_settings.ts @@ -14,7 +14,7 @@ import { PLUGIN_ID } from '@kbn/reporting-server'; const kbToBase64Length = (kb: number) => Math.floor((kb * 1024 * 8) / 6); const maxLogoSizeInBase64 = kbToBase64Length(200); -// inspired by x-pack/plugins/canvas/common/lib/dataurl.ts +// inspired by x-pack/platform/plugins/private/canvas/common/lib/dataurl.ts const dataurlRegex = /^data:([a-z]+\/[a-z0-9-+.]+)(;[a-z-]+=[a-z0-9-]+)?(;([a-z0-9]+))?,/; const imageTypes = ['image/svg+xml', 'image/jpeg', 'image/png', 'image/gif']; diff --git a/x-pack/plugins/reporting/server/lib/store/store.test.ts b/x-pack/plugins/reporting/server/lib/store/store.test.ts index 5920e6a05eb29..3d5b5169d9c14 100644 --- a/x-pack/plugins/reporting/server/lib/store/store.test.ts +++ b/x-pack/plugins/reporting/server/lib/store/store.test.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import * as estypes from '@elastic/elasticsearch/lib/api/types'; import { elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mocks'; import { JOB_STATUS } from '@kbn/reporting-common'; import { ReportDocument } from '@kbn/reporting-common/types'; @@ -212,7 +212,7 @@ describe('ReportingStore', () => { const [[updateCall]] = mockEsClient.update.mock.calls; - const response = (updateCall as estypes.UpdateRequest).body?.doc as Report; + const response = (updateCall as estypes.UpdateRequest)?.doc as Report; expect(response.migration_version).toBe(`7.14.0`); expect(response.status).toBe(`processing`); expect(updateCall.if_seq_no).toBe(42); @@ -242,7 +242,7 @@ describe('ReportingStore', () => { await store.setReportFailed(report, { errors: 'yes' } as any); const [[updateCall]] = mockEsClient.update.mock.calls; - const response = (updateCall as estypes.UpdateRequest).body?.doc as Report; + const response = (updateCall as estypes.UpdateRequest)?.doc as Report; expect(response.migration_version).toBe(`7.14.0`); expect(response.status).toBe(`failed`); expect(updateCall.if_seq_no).toBe(43); @@ -272,7 +272,7 @@ describe('ReportingStore', () => { await store.setReportError(report, { errors: 'yes' } as any); const [[updateCall]] = mockEsClient.update.mock.calls; - const response = (updateCall as estypes.UpdateRequest).body?.doc as Report; + const response = (updateCall as estypes.UpdateRequest)?.doc as Report; expect(response.migration_version).toBe(`7.14.0`); expect(updateCall.if_seq_no).toBe(43); expect(updateCall.if_primary_term).toBe(10002); @@ -301,7 +301,7 @@ describe('ReportingStore', () => { await store.setReportCompleted(report, { certainly_completed: 'yes' } as any); const [[updateCall]] = mockEsClient.update.mock.calls; - const response = (updateCall as estypes.UpdateRequest).body?.doc as Report; + const response = (updateCall as estypes.UpdateRequest)?.doc as Report; expect(response.migration_version).toBe(`7.14.0`); expect(response.status).toBe(`completed`); expect(updateCall.if_seq_no).toBe(44); @@ -336,7 +336,7 @@ describe('ReportingStore', () => { } as any); const [[updateCall]] = mockEsClient.update.mock.calls; - const response = (updateCall as estypes.UpdateRequest).body?.doc as Report; + const response = (updateCall as estypes.UpdateRequest)?.doc as Report; expect(response.migration_version).toBe(`7.14.0`); expect(response.status).toBe(`completed_with_warnings`); diff --git a/x-pack/plugins/reporting/server/lib/store/store.ts b/x-pack/plugins/reporting/server/lib/store/store.ts index 05b34f2c04533..85da045996279 100644 --- a/x-pack/plugins/reporting/server/lib/store/store.ts +++ b/x-pack/plugins/reporting/server/lib/store/store.ts @@ -86,7 +86,7 @@ const esDocForUpdate = ( if_seq_no: report._seq_no, if_primary_term: report._primary_term, refresh: 'wait_for' as estypes.Refresh, - body: { doc }, + doc, }; }; diff --git a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts b/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts index 4ca908310c78c..80cbb1e71a5d3 100644 --- a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts +++ b/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts @@ -12,7 +12,7 @@ import { Writable } from 'stream'; import { finished } from 'stream/promises'; import { setTimeout } from 'timers/promises'; -import { UpdateResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { UpdateResponse } from '@elastic/elasticsearch/lib/api/types'; import type { Logger } from '@kbn/core/server'; import { CancellationToken, diff --git a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap index db2f55f0de222..447fe4b5c92a1 100644 --- a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap +++ b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; +exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; -exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; +exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; diff --git a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap index ab94f2c2efc8d..8ca838fa1ce60 100644 --- a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap +++ b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; +exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; -exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; +exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; diff --git a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap index fcab54e925cfb..18a3568c092c4 100644 --- a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap +++ b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; +exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; -exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; +exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; diff --git a/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.test.ts b/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.test.ts index 211598e706554..d3a37ed879320 100644 --- a/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.test.ts +++ b/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.test.ts @@ -6,7 +6,7 @@ */ import { errors } from '@elastic/elasticsearch'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { RequestHandler, RouteConfig } from '@kbn/core/server'; import { kibanaResponseFactory } from '@kbn/core/server'; diff --git a/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.ts b/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.ts index e465369ff0911..b7c9c5729392d 100644 --- a/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.ts +++ b/x-pack/plugins/security/server/routes/deprecations/kibana_user_role.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { RouteDefinitionParams } from '..'; import { KIBANA_ADMIN_ROLE_NAME, KIBANA_USER_ROLE_NAME } from '../../deprecations'; diff --git a/x-pack/plugins/security/server/session_management/session_index.ts b/x-pack/plugins/security/server/session_management/session_index.ts index b4bea1900c577..1dc4ecc1ec4a9 100644 --- a/x-pack/plugins/security/server/session_management/session_index.ts +++ b/x-pack/plugins/security/server/session_management/session_index.ts @@ -8,15 +8,13 @@ import type { AggregateName, AggregationsMultiTermsAggregate, + BulkOperationContainer, CreateRequest, IndicesCreateRequest, MsearchRequestItem, SearchHit, -} from '@elastic/elasticsearch/lib/api/types'; -import type { - BulkOperationContainer, SortResults, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import semver from 'semver'; import type { ElasticsearchClient, Logger } from '@kbn/core/server'; diff --git a/x-pack/plugins/security/server/user_profile/user_profile_service.ts b/x-pack/plugins/security/server/user_profile/user_profile_service.ts index b6e0912b804dc..e7eaafb960ad9 100644 --- a/x-pack/plugins/security/server/user_profile/user_profile_service.ts +++ b/x-pack/plugins/security/server/user_profile/user_profile_service.ts @@ -5,8 +5,10 @@ * 2.0. */ -import type { SecurityActivateUserProfileRequest } from '@elastic/elasticsearch/lib/api/types'; -import type { SecurityUserProfile } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { + SecurityActivateUserProfileRequest, + SecurityUserProfile, +} from '@elastic/elasticsearch/lib/api/types'; import type { IClusterClient, Logger } from '@kbn/core/server'; import type { diff --git a/x-pack/plugins/serverless_search/common/i18n_string.ts b/x-pack/plugins/serverless_search/common/i18n_string.ts index a6597ca915b60..43ae938b2b4de 100644 --- a/x-pack/plugins/serverless_search/common/i18n_string.ts +++ b/x-pack/plugins/serverless_search/common/i18n_string.ts @@ -59,6 +59,10 @@ export const TECH_PREVIEW_LABEL: string = i18n.translate('xpack.serverlessSearch defaultMessage: 'Tech preview', }); +export const COMING_SOON_LABEL: string = i18n.translate('xpack.serverlessSearch.comingSoon', { + defaultMessage: 'Coming soon', +}); + export const INVALID_JSON_ERROR: string = i18n.translate( 'xpack.serverlessSearch.invalidJsonError', { diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connector_coming_soon.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connector_coming_soon.tsx deleted file mode 100644 index 3057c6806fd73..0000000000000 --- a/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connector_coming_soon.tsx +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { - EuiFlexGroup, - EuiFlexItem, - EuiPanel, - EuiIcon, - EuiTitle, - EuiText, - EuiBadge, - EuiButtonEmpty, -} from '@elastic/eui'; - -import { i18n } from '@kbn/i18n'; - -// import { generatePath } from 'react-router-dom'; -import { SERVERLESS_ES_CONNECTORS_ID } from '@kbn/deeplinks-search/constants'; -import { useKibanaServices } from '../../hooks/use_kibana'; -import { useConnectorTypes } from '../../hooks/api/use_connector_types'; -import { useAssetBasePath } from '../../hooks/use_asset_base_path'; - -import { BACK_LABEL } from '../../../../common/i18n_string'; -// import { BASE_CONNECTORS_PATH } from '../../constants'; -import { ConnectorIcon } from './connector_icon'; -import { DecorativeHorizontalStepper } from '../common/decorative_horizontal_stepper'; - -export const ElasticManagedConnectorComingSoon: React.FC = () => { - const connectorTypes = useConnectorTypes(); - - const connectorExamples = connectorTypes.filter((connector) => - ['Gmail', 'Sharepoint Online', 'Jira Cloud', 'Dropbox'].includes(connector.name) - ); - - const { - application: { navigateToApp }, - } = useKibanaServices(); - - const assetBasePath = useAssetBasePath(); - const connectorsIcon = assetBasePath + '/connectors.svg'; - return ( - - - - - - navigateToApp(SERVERLESS_ES_CONNECTORS_ID)} - > - {BACK_LABEL} - - - - - - - -

- {i18n.translate('xpack.serverlessSearch.elasticManagedConnectorEmpty.title', { - defaultMessage: 'Elastic managed connectors', - })} -

-
-
- - Coming soon - - - -

- {i18n.translate( - 'xpack.serverlessSearch.elasticManagedConnectorEmpty.description', - { - defaultMessage: - "We're actively developing Elastic managed connectors, that won't require any self-managed infrastructure. You'll be able to handle all configuration in the UI. This will simplify syncing your data into a serverless Elasticsearch project. This new workflow will have two steps:", - } - )} -

-
-
- - - - - - - - - - - - {connectorExamples.map((connector, index) => ( - - {index === Math.floor(connectorExamples.length / 2) && ( - - - - )} - - - - - ))} - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.elasticManagedConnectorEmpty.guideOneDescription', - { - defaultMessage: - "Choose from over 30 third-party data sources you'd like to sync", - } - )} -

-
-
-
-
- - - - - - - - - - - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.elasticManagedConnectorEmpty.guideThreeDescription', - { - defaultMessage: - 'Enter access and connection details for your data source and run your first sync using the Kibana UI', - } - )} -

-
-
-
-
-
-
-
-
-
-
-
-
- ); -}; diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx new file mode 100644 index 0000000000000..a1e82319eab89 --- /dev/null +++ b/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx @@ -0,0 +1,144 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiIcon, EuiText } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { ConnectorIcon } from '@kbn/search-shared-ui'; +import { SearchEmptyPrompt, DecorativeHorizontalStepper } from '@kbn/search-shared-ui'; +import { SERVERLESS_ES_CONNECTORS_ID } from '@kbn/deeplinks-search/constants'; +import { BACK_LABEL } from '../../../../common/i18n_string'; +import { useKibanaServices } from '../../hooks/use_kibana'; +import { useConnectorTypes } from '../../hooks/api/use_connector_types'; +import { useAssetBasePath } from '../../hooks/use_asset_base_path'; + +export const ElasticManagedConnectorsEmptyPrompt: React.FC = () => { + const connectorTypes = useConnectorTypes(); + const connectorExamples = connectorTypes.filter((connector) => + ['Gmail', 'Sharepoint Online', 'Jira Cloud', 'Dropbox'].includes(connector.name) + ); + + const assetBasePath = useAssetBasePath(); + const connectorsIcon = assetBasePath + '/connectors.svg'; + const { + application: { navigateToApp }, + } = useKibanaServices(); + + return ( + navigateToApp(SERVERLESS_ES_CONNECTORS_ID), + }} + icon={connectorsIcon} + title={i18n.translate('xpack.serverlessSearch.elasticManagedConnectorEmpty.title', { + defaultMessage: 'Elastic managed connectors', + })} + description={i18n.translate( + 'xpack.serverlessSearch.elasticManagedConnectorEmpty.description', + { + defaultMessage: + "We're actively developing Elastic managed connectors, that won't require any self-managed infrastructure. You'll be able to handle all configuration in the UI. This will simplify syncing your data into a serverless Elasticsearch project. This new workflow will have two steps:", + } + )} + isComingSoon + body={ + + + + + + + + + + + + {connectorExamples.map((connector, index) => ( + + {index === Math.floor(connectorExamples.length / 2) && ( + + + + )} + + + + + ))} + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.elasticManagedConnectorEmpty.guideOneDescription', + { + defaultMessage: + "Choose from over 30 third-party data sources you'd like to sync", + } + )} +

+
+
+
+
+ + + + + + + + + + + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.elasticManagedConnectorEmpty.guideThreeDescription', + { + defaultMessage: + 'Enter access and connection details for your data source and run your first sync using the Kibana UI', + } + )} +

+
+
+
+
+
+
+
+
+ } + /> + ); +}; diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/empty_connectors_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/empty_connectors_prompt.tsx deleted file mode 100644 index 0767f8cfaf276..0000000000000 --- a/x-pack/plugins/serverless_search/public/application/components/connectors/empty_connectors_prompt.tsx +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - EuiFlexGroup, - EuiFlexItem, - EuiPanel, - EuiIcon, - EuiTitle, - EuiText, - EuiLink, - EuiButton, - EuiBadge, -} from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import React from 'react'; -import { FormattedMessage } from '@kbn/i18n-react'; - -import { docLinks } from '../../../../common/doc_links'; -import { useKibanaServices } from '../../hooks/use_kibana'; -import { useConnectorTypes } from '../../hooks/api/use_connector_types'; -import { useCreateConnector } from '../../hooks/api/use_create_connector'; -import { useAssetBasePath } from '../../hooks/use_asset_base_path'; -import { useConnectors } from '../../hooks/api/use_connectors'; -import { DecorativeHorizontalStepper } from '../common/decorative_horizontal_stepper'; -import { ConnectorIcon } from './connector_icon'; - -import { ELASTIC_MANAGED_CONNECTOR_PATH, BASE_CONNECTORS_PATH } from '../../constants'; - -export const EmptyConnectorsPrompt: React.FC = () => { - const connectorTypes = useConnectorTypes(); - - const connectorExamples = connectorTypes.filter((connector) => - ['Gmail', 'Sharepoint Online', 'Jira Cloud', 'Dropbox'].includes(connector.name) - ); - const { createConnector, isLoading } = useCreateConnector(); - const { data } = useConnectors(); - - const assetBasePath = useAssetBasePath(); - const connectorsPath = assetBasePath + '/connectors.svg'; - - const { - application: { navigateToUrl }, - } = useKibanaServices(); - - return ( - - - - - - - - - -

- {i18n.translate('xpack.serverlessSearch.connectorsEmpty.title', { - defaultMessage: 'Set up a new connector', - })} -

-
-
- - -

- {i18n.translate('xpack.serverlessSearch.connectorsEmpty.description', { - defaultMessage: - "To set up and deploy a connector you'll be working between the third-party data source, your terminal, and the Elasticsearch serverless UI. The high level process looks like this:", - })} -

-
-
- - - - - - - - - - - - {connectorExamples.map((connector, index) => ( - - {index === Math.floor(connectorExamples.length / 2) && ( - - - - )} - - - - - ))} - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.connectorsEmpty.guideOneDescription', - { - defaultMessage: - "Choose from over 30 third-party data sources you'd like to sync", - } - )} -

-
-
-
-
- - - - - - - - - - - - - - - -

- - {i18n.translate( - 'xpack.serverlessSearch.connectorsEmpty.sourceLabel', - { defaultMessage: 'source' } - )} - - ), - docker: ( - - {i18n.translate( - 'xpack.serverlessSearch.connectorsEmpty.dockerLabel', - { defaultMessage: 'Docker' } - )} - - ), - }} - /> -

-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.connectorsEmpty.guideThreeDescription', - { - defaultMessage: - 'Enter access and connection details for your data source and run your first sync', - } - )} -

-
-
-
-
-
-
-
-
- - - createConnector()} - isLoading={isLoading} - > - {i18n.translate('xpack.serverlessSearch.connectorsEmpty.selfManagedButton', { - defaultMessage: 'Self-managed connector', - })} - - - - - - - navigateToUrl(`${BASE_CONNECTORS_PATH}/${ELASTIC_MANAGED_CONNECTOR_PATH}`) - } - > - {i18n.translate( - 'xpack.serverlessSearch.connectorsEmpty.elasticManagedButton', - { - defaultMessage: 'Elastic managed connector', - } - )} - - - - Coming soon - - - - -
-
-
-
- ); -}; diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx new file mode 100644 index 0000000000000..d8805ceb63408 --- /dev/null +++ b/x-pack/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx @@ -0,0 +1,256 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiFlexGroup, + EuiFlexItem, + EuiPanel, + EuiIcon, + EuiLink, + EuiButton, + EuiBadge, + EuiText, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { ConnectorIcon } from '@kbn/search-shared-ui'; +import { SearchEmptyPrompt, DecorativeHorizontalStepper } from '@kbn/search-shared-ui'; +import { docLinks } from '../../../../common/doc_links'; +import { useKibanaServices } from '../../hooks/use_kibana'; +import { useConnectorTypes } from '../../hooks/api/use_connector_types'; +import { useCreateConnector } from '../../hooks/api/use_create_connector'; +import { useAssetBasePath } from '../../hooks/use_asset_base_path'; +import { useConnectors } from '../../hooks/api/use_connectors'; +import { ELASTIC_MANAGED_CONNECTOR_PATH, BASE_CONNECTORS_PATH } from '../../constants'; +import { BACK_LABEL } from '../../../../common/i18n_string'; + +export const SelfManagedConnectorsEmptyPrompt: React.FC = () => { + const connectorTypes = useConnectorTypes(); + const connectorExamples = connectorTypes.filter((connector) => + ['Gmail', 'Sharepoint Online', 'Jira Cloud', 'Dropbox'].includes(connector.name) + ); + const { createConnector, isLoading } = useCreateConnector(); + const { data } = useConnectors(); + const assetBasePath = useAssetBasePath(); + const connectorsIcon = assetBasePath + '/connectors.svg'; + const { + application: { navigateToUrl }, + } = useKibanaServices(); + + return ( + + + + + + + + + + + + {connectorExamples.map((connector, index) => ( + + {index === Math.floor(connectorExamples.length / 2) && ( + + + + )} + + + + + ))} + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.connectorsEmpty.guideOneDescription', + { + defaultMessage: + "Choose from over 30 third-party data sources you'd like to sync", + } + )} +

+
+
+
+
+ + + + + + + + + + + + + + + +

+ + {i18n.translate( + 'xpack.serverlessSearch.connectorsEmpty.sourceLabel', + { defaultMessage: 'source' } + )} + + ), + docker: ( + + {i18n.translate( + 'xpack.serverlessSearch.connectorsEmpty.dockerLabel', + { defaultMessage: 'Docker' } + )} + + ), + }} + /> +

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.connectorsEmpty.guideThreeDescription', + { + defaultMessage: + 'Enter access and connection details for your data source and run your first sync', + } + )} +

+
+
+
+
+
+
+
+ + } + actions={ + + + createConnector()} + isLoading={isLoading} + > + {i18n.translate('xpack.serverlessSearch.connectorsEmpty.selfManagedButton', { + defaultMessage: 'Self-managed connector', + })} + + + + + + + navigateToUrl(`${BASE_CONNECTORS_PATH}/${ELASTIC_MANAGED_CONNECTOR_PATH}`) + } + > + {i18n.translate('xpack.serverlessSearch.connectorsEmpty.elasticManagedButton', { + defaultMessage: 'Elastic managed connector', + })} + + + + {BACK_LABEL} + + + + + } + /> + ); +}; diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx index e645ede3d67e8..63ab217b0c0fd 100644 --- a/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx @@ -5,16 +5,13 @@ * 2.0. */ +import React, { useMemo } from 'react'; import { EuiLink, EuiPageTemplate, EuiText } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import React, { useMemo } from 'react'; - import { LEARN_MORE_LABEL } from '../../../common/i18n_string'; - +import { ElasticManagedConnectorsEmptyPrompt } from './connectors/elastic_managed_connectors_empty_prompt'; import { useKibanaServices } from '../hooks/use_kibana'; -import { ElasticManagedConnectorComingSoon } from './connectors/elastic_managed_connector_coming_soon'; - import { docLinks } from '../../../common/doc_links'; export const ConnectorsElasticManaged = () => { @@ -55,7 +52,7 @@ export const ConnectorsElasticManaged = () => { - + {embeddableConsole} diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx index 775cec8db1551..42430df155e3d 100644 --- a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx @@ -20,16 +20,15 @@ import { FormattedMessage } from '@kbn/i18n-react'; import React, { useMemo, useState } from 'react'; import { GithubLink } from '@kbn/search-api-panels'; +import { SelfManagedConnectorsEmptyPrompt } from './connectors/self_managed_connectors_empty_prompt'; import { docLinks } from '../../../common/doc_links'; import { LEARN_MORE_LABEL } from '../../../common/i18n_string'; import { useConnectors } from '../hooks/api/use_connectors'; import { useCreateConnector } from '../hooks/api/use_create_connector'; import { useKibanaServices } from '../hooks/use_kibana'; -import { EmptyConnectorsPrompt } from './connectors/empty_connectors_prompt'; import { ConnectorsTable } from './connectors/connectors_table'; import { ConnectorPrivilegesCallout } from './connectors/connector_config/connector_privileges_callout'; import { useAssetBasePath } from '../hooks/use_asset_base_path'; - import { BASE_CONNECTORS_PATH, ELASTIC_MANAGED_CONNECTOR_PATH } from '../constants'; const CALLOUT_KEY = 'search.connectors.ElasticManaged.ComingSoon.feedbackCallout'; @@ -42,15 +41,11 @@ export const ConnectorsOverview = () => { () => (consolePlugin?.EmbeddableConsole ? : null), [consolePlugin] ); - const canManageConnectors = !data || data.canManageConnectors; - const { application: { navigateToUrl }, } = useKibanaServices(); - const [showCallOut, setShowCallOut] = useState(sessionStorage.getItem(CALLOUT_KEY) !== 'hidden'); - const onDismiss = () => { setShowCallOut(false); sessionStorage.setItem(CALLOUT_KEY, 'hidden'); @@ -155,7 +150,7 @@ export const ConnectorsOverview = () => { ) : ( - + )} {embeddableConsole} diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx index 487c80ce48b6f..91d8ad707d423 100644 --- a/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { EuiButtonEmpty, EuiPanel } from '@elastic/eui'; import { BACK_LABEL } from '../../../../common/i18n_string'; -import { EmptyConnectorsPrompt } from '../connectors/empty_connectors_prompt'; +import { SelfManagedConnectorsEmptyPrompt } from '../connectors/self_managed_connectors_empty_prompt'; interface ConnectorIndexEmptyPromptProps { indexName: string; @@ -27,7 +27,7 @@ export const ConnectorIndexEmptyPrompt = ({ onBackClick }: ConnectorIndexEmptyPr > {BACK_LABEL} - + ); }; diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawler_coming_soon.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawler_coming_soon.tsx deleted file mode 100644 index ba146ed847990..0000000000000 --- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawler_coming_soon.tsx +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { - EuiFlexGroup, - EuiFlexItem, - EuiPanel, - EuiIcon, - EuiTitle, - EuiText, - EuiBadge, - EuiButtonEmpty, -} from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; - -import { useKibanaServices } from '../../hooks/use_kibana'; -import { useAssetBasePath } from '../../hooks/use_asset_base_path'; - -import { BACK_LABEL } from '../../../../common/i18n_string'; -import { DecorativeHorizontalStepper } from '../common/decorative_horizontal_stepper'; - -export const ElasticManagedWebCrawlersCommingSoon: React.FC = () => { - const { - application: { navigateToUrl }, - } = useKibanaServices(); - - const assetBasePath = useAssetBasePath(); - const webCrawlerIcon = assetBasePath + '/web_crawlers.svg'; - - return ( - - - - - - navigateToUrl(`./`)} - > - {BACK_LABEL} - - - - - - - -

- {i18n.translate('xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.title', { - defaultMessage: 'Elastic managed web crawlers', - })} -

-
-
- - Coming soon - - - -

- {i18n.translate( - 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.description', - { - defaultMessage: - "We're actively developing Elastic managed web crawlers, that won't require any self-managed infrastructure. You'll be able to handle all configuration in the UI. This will simplify syncing your data into a serverless Elasticsearch project. This new workflow will have two steps:", - } - )} -

-
-
- - - - - - - - - - - - - - - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideOneDescription', - { - defaultMessage: 'Set one or more domain URLs you want to crawl', - } - )} -

-
-
-
-
- - - - - - - - - - - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideThreeDescription', - { - defaultMessage: - 'Configure all the web crawler process using Kibana', - } - )} -

-
-
-
-
-
-
-
-
-
-
-
-
- ); -}; diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx new file mode 100644 index 0000000000000..15160fc1b6a1d --- /dev/null +++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx @@ -0,0 +1,121 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React from 'react'; +import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiPanel, EuiText } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { SearchEmptyPrompt, DecorativeHorizontalStepper } from '@kbn/search-shared-ui'; +import { SERVERLESS_ES_WEB_CRAWLERS_ID } from '@kbn/deeplinks-search/constants'; +import { BACK_LABEL, COMING_SOON_LABEL } from '../../../../common/i18n_string'; +import { useAssetBasePath } from '../../hooks/use_asset_base_path'; +import { useKibanaServices } from '../../hooks/use_kibana'; + +export const ElasticManagedWebCrawlersEmptyPrompt = () => { + const { + application: { navigateToApp }, + } = useKibanaServices(); + const assetBasePath = useAssetBasePath(); + const webCrawlersIcon = assetBasePath + '/web_crawlers.svg'; + + return ( + navigateToApp(SERVERLESS_ES_WEB_CRAWLERS_ID), + }} + icon={webCrawlersIcon} + title={i18n.translate('xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.title', { + defaultMessage: 'Elastic managed web crawlers', + })} + isComingSoon + comingSoonLabel={COMING_SOON_LABEL} + description={i18n.translate( + 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.description', + { + defaultMessage: + "We're actively developing Elastic managed web crawlers, that won't require any self-managed infrastructure. You'll be able to handle all configuration in the UI. This will simplify syncing your data into a serverless Elasticsearch project. This new workflow will have two steps:", + } + )} + body={ + + + + + + + + + + + + + + + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideOneDescription', + { + defaultMessage: 'Set one or more domain URLs you want to crawl', + } + )} +

+
+
+
+
+ + + + + + + + + + + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.elasticManagedWebCrawlerEmpty.guideThreeDescription', + { + defaultMessage: 'Configure all the web crawler process using Kibana', + } + )} +

+
+
+
+
+
+
+
+
+ } + /> + ); +}; diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/empty_web_crawlers_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/empty_web_crawlers_prompt.tsx deleted file mode 100644 index 20c05f86747a8..0000000000000 --- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/empty_web_crawlers_prompt.tsx +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { - EuiFlexGroup, - EuiFlexItem, - EuiPanel, - EuiIcon, - EuiTitle, - EuiText, - EuiLink, - EuiButton, - EuiBadge, -} from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import { FormattedMessage } from '@kbn/i18n-react'; - -import { useKibanaServices } from '../../hooks/use_kibana'; -import { useAssetBasePath } from '../../hooks/use_asset_base_path'; - -import { ELASTIC_MANAGED_WEB_CRAWLERS_PATH, BASE_WEB_CRAWLERS_PATH } from '../../constants'; -import { DecorativeHorizontalStepper } from '../common/decorative_horizontal_stepper'; - -export const EmptyWebCrawlersPrompt: React.FC = () => { - const { - application: { navigateToUrl }, - } = useKibanaServices(); - - const assetBasePath = useAssetBasePath(); - const webCrawlersIcon = assetBasePath + '/web_crawlers.svg'; - const githubIcon = assetBasePath + '/github_white.svg'; - - return ( - - - - - - - - - -

- {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.title', { - defaultMessage: 'Set up a web crawler', - })} -

-
-
- - -

- {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.description', { - defaultMessage: - "To set up and deploy a web crawler you'll be working between data source, your terminal, and the Kibana UI. The high level process looks like this:", - })} -

-
-
- - - - - - - - - - - - - - - - - - - - - - -

- - {i18n.translate( - 'xpack.serverlessSearch.webCrawlersEmpty.sourceLabel', - { defaultMessage: 'source' } - )} - - ), - docker: ( - - {i18n.translate( - 'xpack.serverlessSearch.webCrawlersEmpty.dockerLabel', - { defaultMessage: 'Docker' } - )} - - ), - }} - /> -

-
-
-
-
- - - - - - - - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.webCrawlersEmpty.guideOneDescription', - { - defaultMessage: 'Set one or more domain URLs you want to crawl', - } - )} -

-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -

- {i18n.translate( - 'xpack.serverlessSearch.webCrawlersEmpty.guideThreeDescription', - { - defaultMessage: - 'Configure your web crawler and connect it to Elasticsearch', - } - )} -

-
-
-
-
-
-
-
-
- - - - {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.selfManagedButton', { - defaultMessage: 'Self-managed web crawler', - })} - - - - - - - navigateToUrl( - `${BASE_WEB_CRAWLERS_PATH}/${ELASTIC_MANAGED_WEB_CRAWLERS_PATH}` - ) - } - > - {i18n.translate( - 'xpack.serverlessSearch.webCrawlersEmpty.elasticManagedButton', - { - defaultMessage: 'Elastic managed web crawler', - } - )} - - - - Coming soon - - - - -
-
-
-
- ); -}; diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx new file mode 100644 index 0000000000000..b820e7704c856 --- /dev/null +++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx @@ -0,0 +1,229 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React from 'react'; +import { + EuiBadge, + EuiButton, + EuiFlexGroup, + EuiFlexItem, + EuiIcon, + EuiLink, + EuiPanel, + EuiText, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { SearchEmptyPrompt, DecorativeHorizontalStepper } from '@kbn/search-shared-ui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { ELASTIC_MANAGED_WEB_CRAWLERS_PATH, BASE_WEB_CRAWLERS_PATH } from '../../constants'; +import { COMING_SOON_LABEL } from '../../../../common/i18n_string'; +import { useKibanaServices } from '../../hooks/use_kibana'; +import { useAssetBasePath } from '../../hooks/use_asset_base_path'; + +export const SelfManagedWebCrawlersEmptyPrompt = () => { + const { + application: { navigateToUrl }, + } = useKibanaServices(); + + const assetBasePath = useAssetBasePath(); + const webCrawlersIcon = assetBasePath + '/web_crawlers.svg'; + const githubIcon = assetBasePath + '/github_white.svg'; + + return ( + + + + + + + + + + + + + + + + + + + + + + +

+ + {i18n.translate( + 'xpack.serverlessSearch.webCrawlersEmpty.sourceLabel', + { defaultMessage: 'source' } + )} + + ), + docker: ( + + {i18n.translate( + 'xpack.serverlessSearch.webCrawlersEmpty.dockerLabel', + { defaultMessage: 'Docker' } + )} + + ), + }} + /> +

+
+
+
+
+ + + + + + + + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.webCrawlersEmpty.guideOneDescription', + { + defaultMessage: 'Set one or more domain URLs you want to crawl', + } + )} +

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+ {i18n.translate( + 'xpack.serverlessSearch.webCrawlersEmpty.guideThreeDescription', + { + defaultMessage: + 'Configure your web crawler and connect it to Elasticsearch', + } + )} +

+
+
+
+
+
+
+
+ + } + actions={ + <> + + + {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.selfManagedButton', { + defaultMessage: 'Self-managed web crawler', + })} + + + + + + + navigateToUrl(`${BASE_WEB_CRAWLERS_PATH}/${ELASTIC_MANAGED_WEB_CRAWLERS_PATH}`) + } + > + {i18n.translate('xpack.serverlessSearch.webCrawlersEmpty.elasticManagedButton', { + defaultMessage: 'Elastic managed web crawler', + })} + + + + {COMING_SOON_LABEL} + + + + + } + /> + ); +}; diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx index 0cf3445f0a5b8..e2594cc621f42 100644 --- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx @@ -9,11 +9,9 @@ import { EuiLink, EuiPageTemplate, EuiText } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import React, { useMemo } from 'react'; - import { LEARN_MORE_LABEL } from '../../../common/i18n_string'; - import { useKibanaServices } from '../hooks/use_kibana'; -import { ElasticManagedWebCrawlersCommingSoon } from './web_crawlers/elastic_managed_web_crawler_coming_soon'; +import { ElasticManagedWebCrawlersEmptyPrompt } from './web_crawlers/elastic_managed_web_crawlers_empty_prompt'; export const WebCrawlersElasticManaged = () => { const { console: consolePlugin } = useKibanaServices(); @@ -54,7 +52,7 @@ export const WebCrawlersElasticManaged = () => { - + {embeddableConsole} diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx index 1a112304df69b..e9e31f6c074c1 100644 --- a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx @@ -5,15 +5,13 @@ * 2.0. */ +import React, { useMemo } from 'react'; import { EuiLink, EuiPageTemplate, EuiText } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import React, { useMemo } from 'react'; - import { LEARN_MORE_LABEL } from '../../../common/i18n_string'; - import { useKibanaServices } from '../hooks/use_kibana'; -import { EmptyWebCrawlersPrompt } from './web_crawlers/empty_web_crawlers_prompt'; +import { SelfManagedWebCrawlersEmptyPrompt } from './web_crawlers/self_managed_web_crawlers_empty_prompt'; export const WebCrawlersOverview = () => { const { console: consolePlugin } = useKibanaServices(); @@ -54,7 +52,7 @@ export const WebCrawlersOverview = () => { - + {embeddableConsole} diff --git a/x-pack/plugins/serverless_search/tsconfig.json b/x-pack/plugins/serverless_search/tsconfig.json index 854a90fdb5fb5..1af7677bc4983 100644 --- a/x-pack/plugins/serverless_search/tsconfig.json +++ b/x-pack/plugins/serverless_search/tsconfig.json @@ -56,5 +56,6 @@ "@kbn/security-plugin-types-public", "@kbn/deeplinks-search", "@kbn/core-application-browser", + "@kbn/search-shared-ui", ] } diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts b/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts index 4927f52da78dd..a456782ea37b1 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts +++ b/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts @@ -7,7 +7,7 @@ import { i18n } from '@kbn/i18n'; import { ElasticsearchClient } from '@kbn/core/server'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { OTHER_CATEGORY } from '../constants'; import { getQueryDsl } from './get_query_dsl'; import type { GeoContainmentRuleParams } from '../types'; diff --git a/x-pack/plugins/stack_connectors/common/inference/schema.ts b/x-pack/plugins/stack_connectors/common/inference/schema.ts index c62e9782bb517..2213efef1d6e8 100644 --- a/x-pack/plugins/stack_connectors/common/inference/schema.ts +++ b/x-pack/plugins/stack_connectors/common/inference/schema.ts @@ -26,7 +26,7 @@ export const ChatCompleteParamsSchema = schema.object({ // subset of OpenAI.ChatCompletionMessageParam https://github.com/openai/openai-node/blob/master/src/resources/chat/completions.ts const AIMessage = schema.object({ role: schema.string(), - content: schema.maybe(schema.string()), + content: schema.maybe(schema.nullable(schema.string())), name: schema.maybe(schema.string()), tool_calls: schema.maybe( schema.arrayOf( diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts b/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts index 4aa28d2952dba..febec4d27ff5e 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts +++ b/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts @@ -60,11 +60,13 @@ describe('InferenceConnector', () => { }); it('uses the completion task_type is supplied', async () => { - const stream = Readable.from([ - `data: {"id":"chatcmpl-AbLKRuRMZCAcMMQdl96KMTUgAfZNg","choices":[{"delta":{"content":" you"},"index":0}],"model":"gpt-4o-2024-08-06","object":"chat.completion.chunk"}\n\n`, - `data: [DONE]\n\n`, - ]); - mockEsClient.transport.request.mockResolvedValue(stream); + mockEsClient.transport.request.mockResolvedValue({ + body: Readable.from([ + `data: {"id":"chatcmpl-AbLKRuRMZCAcMMQdl96KMTUgAfZNg","choices":[{"delta":{"content":" you"},"index":0}],"model":"gpt-4o-2024-08-06","object":"chat.completion.chunk"}\n\n`, + `data: [DONE]\n\n`, + ]), + statusCode: 200, + }); const response = await connector.performApiUnifiedCompletion({ body: { messages: [{ content: 'What is Elastic?', role: 'user' }] }, @@ -84,7 +86,7 @@ describe('InferenceConnector', () => { method: 'POST', path: '_inference/completion/test/_unified', }, - { asStream: true } + { asStream: true, meta: true } ); expect(response.choices[0].message.content).toEqual(' you'); }); @@ -264,6 +266,11 @@ describe('InferenceConnector', () => { }); it('the API call is successful with correct request parameters', async () => { + mockEsClient.transport.request.mockResolvedValue({ + body: Readable.from([`data: [DONE]\n\n`]), + statusCode: 200, + }); + await connector.performApiUnifiedCompletionStream({ body: { messages: [{ content: 'Hello world', role: 'user' }] }, }); @@ -282,11 +289,16 @@ describe('InferenceConnector', () => { method: 'POST', path: '_inference/completion/test/_unified', }, - { asStream: true } + { asStream: true, meta: true } ); }); it('signal is properly passed to streamApi', async () => { + mockEsClient.transport.request.mockResolvedValue({ + body: Readable.from([`data: [DONE]\n\n`]), + statusCode: 200, + }); + const signal = jest.fn() as unknown as AbortSignal; await connector.performApiUnifiedCompletionStream({ body: { messages: [{ content: 'Hello world', role: 'user' }] }, @@ -299,7 +311,7 @@ describe('InferenceConnector', () => { method: 'POST', path: '_inference/completion/test/_unified', }, - { asStream: true } + { asStream: true, meta: true, signal } ); }); @@ -319,7 +331,10 @@ describe('InferenceConnector', () => { `data: {"id":"chatcmpl-AbLKRuRMZCAcMMQdl96KMTUgAfZNg","choices":[{"delta":{"content":" you"},"index":0}],"model":"gpt-4o-2024-08-06","object":"chat.completion.chunk"}\n\n`, `data: [DONE]\n\n`, ]); - mockEsClient.transport.request.mockResolvedValue(stream); + mockEsClient.transport.request.mockResolvedValue({ + body: stream, + statusCode: 200, + }); const response = await connector.performApiUnifiedCompletionStream({ body: { messages: [{ content: 'What is Elastic?', role: 'user' }] }, }); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts b/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts index d6c9af0e1365e..63d8904a6af8a 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts +++ b/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { text as streamToString } from 'node:stream/consumers'; import { ServiceParams, SubActionConnector } from '@kbn/actions-plugin/server'; import { Stream } from 'openai/streaming'; import { Readable } from 'stream'; @@ -181,7 +182,7 @@ export class InferenceConnector extends SubActionConnector { * @signal abort signal */ public async performApiUnifiedCompletionStream(params: UnifiedChatCompleteParams) { - return await this.esClient.transport.request( + const response = await this.esClient.transport.request( { method: 'POST', path: `_inference/completion/${this.inferenceId}/_unified`, @@ -189,8 +190,18 @@ export class InferenceConnector extends SubActionConnector { }, { asStream: true, + meta: true, + signal: params.signal, } ); + + // errors should be thrown as it will not be a stream response + if (response.statusCode >= 400) { + const error = await streamToString(response.body as unknown as Readable); + throw new Error(error); + } + + return response.body; } /** diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts index 33722314f5422..1cdcd40b11a30 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts +++ b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts @@ -112,5 +112,42 @@ describe('Other (OpenAI Compatible Service) Utils', () => { const sanitizedBodyString = getRequestWithStreamOption(bodyString, false); expect(sanitizedBodyString).toEqual(bodyString); }); + + it('sets model parameter if specified and not present in the body', () => { + const body = { + messages: [ + { + role: 'user', + content: 'This is a test', + }, + ], + }; + + const sanitizedBodyString = getRequestWithStreamOption(JSON.stringify(body), true, 'llama-3'); + expect(JSON.parse(sanitizedBodyString)).toEqual({ + messages: [{ content: 'This is a test', role: 'user' }], + model: 'llama-3', + stream: true, + }); + }); + + it('does not overrides model parameter if present in the body', () => { + const body = { + model: 'mistral', + messages: [ + { + role: 'user', + content: 'This is a test', + }, + ], + }; + + const sanitizedBodyString = getRequestWithStreamOption(JSON.stringify(body), true, 'llama-3'); + expect(JSON.parse(sanitizedBodyString)).toEqual({ + messages: [{ content: 'This is a test', role: 'user' }], + model: 'mistral', + stream: true, + }); + }); }); }); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts index 8288e0dba9ad1..0d3fb88ccc739 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts +++ b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts @@ -23,13 +23,19 @@ export const sanitizeRequest = (body: string): string => { * The stream parameter is accepted in the ChatCompletion * API and the Completion API only */ -export const getRequestWithStreamOption = (body: string, stream: boolean): string => { +export const getRequestWithStreamOption = ( + body: string, + stream: boolean, + defaultModel?: string +): string => { try { const jsonBody = JSON.parse(body); if (jsonBody) { jsonBody.stream = stream; } - + if (defaultModel && !jsonBody.model) { + jsonBody.model = defaultModel; + } return JSON.stringify(jsonBody); } catch (err) { // swallow the error diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts index 142f3a319eeb6..08389a1195706 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts +++ b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts @@ -111,9 +111,19 @@ describe('Utils', () => { }); it('calls other_openai_utils getRequestWithStreamOption when provider is Other OpenAi', () => { - getRequestWithStreamOption(OpenAiProviderType.Other, OPENAI_CHAT_URL, bodyString, true); + getRequestWithStreamOption( + OpenAiProviderType.Other, + OPENAI_CHAT_URL, + bodyString, + true, + 'default-model' + ); - expect(mockOtherOpenAiGetRequestWithStreamOption).toHaveBeenCalledWith(bodyString, true); + expect(mockOtherOpenAiGetRequestWithStreamOption).toHaveBeenCalledWith( + bodyString, + true, + 'default-model' + ); expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); }); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts index 3028433656503..ebe1d3bac578e 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts +++ b/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts @@ -75,7 +75,7 @@ export function getRequestWithStreamOption( case OpenAiProviderType.AzureAi: return azureAiGetRequestWithStreamOption(url, body, stream); case OpenAiProviderType.Other: - return otherOpenAiGetRequestWithStreamOption(body, stream); + return otherOpenAiGetRequestWithStreamOption(body, stream, defaultModel); default: return body; } diff --git a/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts b/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts index 43cc2a69fe11c..58c89a5bc8740 100644 --- a/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts +++ b/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts @@ -111,6 +111,13 @@ export function backgroundTaskUtilizationRoute( router.get( { path: `/${routeOption.basePath}/task_manager/_background_task_utilization`, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization. It can be accessed with JWT credentials.', + }, + }, // Uncomment when we determine that we can restrict API usage to Global admins based on telemetry // options: { tags: ['access:taskManager'] }, validate: false, diff --git a/x-pack/plugins/task_manager/server/routes/health.ts b/x-pack/plugins/task_manager/server/routes/health.ts index 7bcebfabdca60..694bcef1dc053 100644 --- a/x-pack/plugins/task_manager/server/routes/health.ts +++ b/x-pack/plugins/task_manager/server/routes/health.ts @@ -139,6 +139,14 @@ export function healthRoute(params: HealthRouteParams): { router.get( { path: '/api/task_manager/_health', + security: { + authz: { + enabled: false, + // https://github.com/elastic/kibana/issues/136157 + reason: + 'This route is opted out from authorization. Authorization is planned but not implemented yet(breaking change).', + }, + }, // Uncomment when we determine that we can restrict API usage to Global admins based on telemetry // options: { tags: ['access:taskManager'] }, validate: false, diff --git a/x-pack/plugins/task_manager/server/routes/metrics.ts b/x-pack/plugins/task_manager/server/routes/metrics.ts index 808675f25818b..bd2b912fe9469 100644 --- a/x-pack/plugins/task_manager/server/routes/metrics.ts +++ b/x-pack/plugins/task_manager/server/routes/metrics.ts @@ -48,6 +48,13 @@ export function metricsRoute(params: MetricsRouteParams) { router.get( { path: `/api/task_manager/metrics`, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization. It can be accessed with JWT credentials.', + }, + }, options: { access: 'public', // The `security:acceptJWT` tag allows route to be accessed with JWT credentials. It points to diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json index 4b60ca1da8d6b..ad6d7bf795baa 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json @@ -1,5 +1,29 @@ { "properties": { + "infraops": { + "properties": { + "last_24_hours": { + "properties": { + "hits": { + "properties": { + "infraops_hosts": { + "type": "long" + }, + "infraops_docker": { + "type": "long" + }, + "infraops_kubernetes": { + "type": "long" + }, + "logs": { + "type": "long" + } + } + } + } + } + } + }, "investigation": { "properties": { "investigation": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index c5371a8815aef..976f56962405f 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,5 +1,1326 @@ { "properties": { + "canvas": { + "properties": { + "workpads": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of Canvas Workpads in the cluster" + } + } + } + }, + "pages": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of pages across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of pages across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of pages found in a Canvas Workpad" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of pages found in a Canvas Workpad" + } + } + } + } + } + }, + "elements": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of elements across all Canvas Workpads" + } + }, + "per_page": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements per page across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements on a page across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements on a page across all Canvas Workpads" + } + } + } + } + } + }, + "functions": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of functions in use across all Canvas Workpads" + } + }, + "in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in any Canvas Workpad" + } + } + }, + "in_use_30d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" + } + } + }, + "in_use_90d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" + } + } + }, + "per_element": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "Average number of functions used per element across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of functions used in an element across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of functions used in an element across all Canvas Workpads" + } + } + } + } + } + }, + "variables": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of variables defined across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of variables set per Canvas Workpad" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number variables set across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of variables set across all Canvas Workpads" + } + } + } + } + } + }, + "custom_elements": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "The total number of custom Canvas elements" + } + }, + "elements": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements used across all Canvas Custom Elements" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements used across all Canvas Custom Elements" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements used in Canvas Custom Element" + } + } + } + }, + "functions_in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The functions in use by Canvas Custom Elements" + } + } + } + } + } + } + }, + "fileUpload": { + "properties": { + "file_upload": { + "properties": { + "index_creation_count": { + "type": "long" + } + } + } + } + }, + "kibana_settings": { + "properties": { + "xpack": { + "properties": { + "default_admin_email": { + "type": "text" + } + } + } + } + }, + "logs_data": { + "properties": { + "data": { + "type": "array", + "items": { + "properties": { + "pattern_name": { + "type": "keyword", + "_meta": { + "description": "Logs pattern name representing the stream of logs" + } + }, + "shipper": { + "type": "keyword", + "_meta": { + "description": "Shipper if present, sending the logs" + } + }, + "doc_count": { + "type": "long", + "_meta": { + "description": "Total number of documents in the steam of logs" + } + }, + "structure_level": { + "properties": { + "0": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 0" + } + }, + "1": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 1" + } + }, + "2": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 2" + } + }, + "3": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 3" + } + }, + "4": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 4" + } + }, + "5": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 5" + } + }, + "6": { + "type": "long", + "_meta": { + "description": "Total docs at structure level 6" + } + } + } + }, + "failure_store_doc_count": { + "type": "long", + "_meta": { + "description": "Total number of documents in the failure store in the stream of logs" + } + }, + "index_count": { + "type": "long", + "_meta": { + "description": "Total number of indices in the stream of logs" + } + }, + "namespace_count": { + "type": "long", + "_meta": { + "description": "Total number of namespaces in the stream of logs" + } + }, + "field_count": { + "type": "long", + "_meta": { + "description": "Total number of fields in mappings of indices of the stream of logs" + } + }, + "field_existence": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Count of documents having the field represented by the key" + } + } + } + }, + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Total size in bytes of the stream of logs" + } + }, + "managed_by": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Value captured in _meta.managed_by" + } + } + }, + "package_name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Value captured in _meta.package.name" + } + } + }, + "beat": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Value captured in _meta.beat.name" + } + } + } + } + } + } + } + }, + "maps": { + "properties": { + "mapsTotalCount": { + "type": "long" + }, + "timeCaptured": { + "type": "date" + }, + "layerTypes": { + "properties": { + "ems_basemap": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers in cluster" + } + } + } + }, + "ems_region": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems file layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems file layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems file layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of file layers in cluster" + } + } + } + }, + "es_agg_clusters": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es cluster layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es cluster layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es cluster layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es cluster layers in cluster" + } + } + } + }, + "es_agg_grids": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es grid layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es grid layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es grid layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es grid layers in cluster" + } + } + } + }, + "es_agg_hexagons": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es hexagon layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es hexagon layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es hexagon layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es hexagon layers in cluster" + } + } + } + }, + "es_agg_heatmap": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es heatmap layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es heatmap layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es heatmap layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es heatmap layers in cluster" + } + } + } + }, + "es_top_hits": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es top hits layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es top hits layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es top hits layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es top hits layers in cluster" + } + } + } + }, + "es_docs": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es document layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es document layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es document layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es document layers in cluster" + } + } + } + }, + "es_ml_anomalies": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es machine learning anomaly layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es machine learning anomaly layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es machine learning anomaly layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es machine learning anomaly layers in cluster" + } + } + } + }, + "esql": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ES|QL layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ES|QL layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ES|QL layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ES|QL layers in cluster" + } + } + } + }, + "es_point_to_point": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es point-to-point layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es point-to-point layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es point-to-point layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es point-to-point layers in cluster" + } + } + } + }, + "es_tracks": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es track layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es track layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es track layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es track layers in cluster" + } + } + } + }, + "kbn_tms_raster": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of kbn tms layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of kbn tms layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of kbn tms layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of kbn tms layers in cluster" + } + } + } + }, + "layer_group": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of layer groups per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of layer groups per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of layer groups per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of layer groups in cluster" + } + } + } + }, + "ux_tms_mvt": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ux tms-mvt layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ux tms-mvt layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ux tms-mvt layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ux tms-mvt layers in cluster" + } + } + } + }, + "ux_tms_raster": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ux tms-raster layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ux tms-raster layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ux tms-raster layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ux-tms raster layers in cluster" + } + } + } + }, + "ux_wms": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ux wms layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ux wms layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ux wms layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ux wms layers in cluster" + } + } + } + } + } + }, + "scalingOptions": { + "properties": { + "limit": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es doc layers with limit scaling option per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es doc layers with limit scaling option per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es doc layers with limit scaling option per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es doc layers with limit scaling option in cluster" + } + } + } + }, + "clusters": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es doc layers with blended scaling option per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es doc layers with blended scaling option per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es doc layers with blended scaling option per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es doc layers with blended scaling option in cluster" + } + } + } + }, + "mvt": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es doc layers with mvt scaling option per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es doc layers with mvt scaling option per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es doc layers with mvt scaling option per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es doc layers with mvt scaling option in cluster" + } + } + } + } + } + }, + "resolutions": { + "properties": { + "coarse": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with coarse resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with coarse resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with coarse resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with coarse resolution" + } + } + } + }, + "fine": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with fine resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with fine resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with fine resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with fine resolution" + } + } + } + }, + "most_fine": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with most_fine resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with most_fine resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with most_fine resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with most_fine resolution" + } + } + } + }, + "super_fine": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with super_fine resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with super_fine resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with super_fine resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with super_fine resolution" + } + } + } + } + } + }, + "joins": { + "properties": { + "distance": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of distance joins per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of distance joins per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of distance joins per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of distance joins in cluster" + } + } + } + }, + "term": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of layers with term joins per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of layers with term joins per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of layers with term joins per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of layers with term joins in cluster" + } + } + } + } + } + }, + "basemaps": { + "properties": { + "auto": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with auto-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with auto-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with auto-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with auto-style in cluster" + } + } + } + }, + "dark": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with dark-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with dark-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with dark-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with dark-style in cluster" + } + } + } + }, + "roadmap": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with roadmap-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with roadmap-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with roadmap-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with roadmap-style in cluster" + } + } + } + }, + "roadmap_desaturated": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with desaturated-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with desaturated-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with desaturated-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with desaturated-style in cluster" + } + } + } + } + } + }, + "attributesPerMap": { + "properties": { + "dataSourcesCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "layersCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "layerTypesCount": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + }, + "emsVectorLayersCount": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + }, + "customIconsCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + } + } + }, "ml": { "properties": { "alertRules": { @@ -66,6 +1387,343 @@ } } }, + "monitoring": { + "properties": { + "hasMonitoringData": { + "type": "boolean" + }, + "clusters": { + "type": "array", + "items": { + "properties": { + "license": { + "type": "keyword" + }, + "clusterUuid": { + "type": "keyword" + }, + "metricbeatUsed": { + "type": "boolean" + }, + "elasticsearch": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "kibana": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "logstash": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "beats": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "apm": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "monitoringTelemetry": { + "properties": { + "stats": { + "type": "array", + "items": { + "properties": { + "timestamp": { + "type": "date" + }, + "cluster_uuid": { + "type": "keyword" + }, + "cluster_name": { + "type": "keyword" + }, + "version": { + "type": "keyword" + }, + "cluster_stats": { + "properties": {} + }, + "stack_stats": { + "properties": { + "logstash": { + "properties": { + "versions": { + "type": "array", + "items": { + "properties": { + "version": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + }, + "count": { + "type": "long" + }, + "cluster_stats": { + "properties": { + "monitoringClusterUuid": { + "type": "keyword" + }, + "collection_types": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "queues": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "plugins": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + }, + "pipelines": { + "properties": { + "count": { + "type": "long" + }, + "batch_size_max": { + "type": "long" + }, + "batch_size_avg": { + "type": "long" + }, + "batch_size_min": { + "type": "long" + }, + "batch_size_total": { + "type": "long" + }, + "workers_max": { + "type": "long" + }, + "workers_avg": { + "type": "long" + }, + "workers_min": { + "type": "long" + }, + "workers_total": { + "type": "long" + }, + "sources": { + "properties": { + "DYNAMIC_KEY": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "beats": { + "properties": { + "versions": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "types": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "outputs": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "count": { + "type": "long" + }, + "eventsPublished": { + "type": "long" + }, + "hosts": { + "type": "long" + }, + "input": { + "properties": { + "count": { + "type": "long" + }, + "names": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "module": { + "properties": { + "count": { + "type": "long" + }, + "names": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "architecture": { + "properties": { + "count": { + "type": "long" + }, + "architectures": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword" + }, + "architecture": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + } + } + }, + "heartbeat": { + "properties": { + "monitors": { + "type": "long" + }, + "endpoints": { + "type": "long" + }, + "DYNAMIC_KEY": { + "properties": { + "monitors": { + "type": "long" + }, + "endpoints": { + "type": "long" + } + } + } + } + }, + "functionbeat": { + "properties": { + "functions": { + "properties": { + "count": { + "type": "long" + } + } + } + } + } + } + } + } + }, + "collection": { + "type": "keyword" + }, + "collectionSource": { + "type": "keyword" + } + } + } + } + } + }, "rollups": { "properties": { "index_patterns": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index b2870f3ef4809..d11422251e6ab 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -9963,216 +9963,6 @@ } } }, - "canvas": { - "properties": { - "workpads": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of Canvas Workpads in the cluster" - } - } - } - }, - "pages": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of pages across all Canvas Workpads" - } - }, - "per_workpad": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of pages across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of pages found in a Canvas Workpad" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of pages found in a Canvas Workpad" - } - } - } - } - } - }, - "elements": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of elements across all Canvas Workpads" - } - }, - "per_page": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements per page across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements on a page across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements on a page across all Canvas Workpads" - } - } - } - } - } - }, - "functions": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of functions in use across all Canvas Workpads" - } - }, - "in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in any Canvas Workpad" - } - } - }, - "in_use_30d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" - } - } - }, - "in_use_90d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" - } - } - }, - "per_element": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "Average number of functions used per element across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of functions used in an element across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of functions used in an element across all Canvas Workpads" - } - } - } - } - } - }, - "variables": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of variables defined across all Canvas Workpads" - } - }, - "per_workpad": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of variables set per Canvas Workpad" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number variables set across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of variables set across all Canvas Workpads" - } - } - } - } - } - }, - "custom_elements": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "The total number of custom Canvas elements" - } - }, - "elements": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements used across all Canvas Custom Elements" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements used across all Canvas Custom Elements" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements used in Canvas Custom Element" - } - } - } - }, - "functions_in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The functions in use by Canvas Custom Elements" - } - } - } - } - } - } - }, "cases": { "properties": { "cases": { @@ -12763,17 +12553,6 @@ } } }, - "fileUpload": { - "properties": { - "file_upload": { - "properties": { - "index_creation_count": { - "type": "long" - } - } - } - } - }, "fleet": { "properties": { "agents_enabled": { @@ -12907,1218 +12686,6 @@ } } }, - "infraops": { - "properties": { - "last_24_hours": { - "properties": { - "hits": { - "properties": { - "infraops_hosts": { - "type": "long" - }, - "infraops_docker": { - "type": "long" - }, - "infraops_kubernetes": { - "type": "long" - }, - "logs": { - "type": "long" - } - } - } - } - } - } - }, - "kibana_settings": { - "properties": { - "xpack": { - "properties": { - "default_admin_email": { - "type": "text" - } - } - } - } - }, - "logs_data": { - "properties": { - "data": { - "type": "array", - "items": { - "properties": { - "pattern_name": { - "type": "keyword", - "_meta": { - "description": "Logs pattern name representing the stream of logs" - } - }, - "shipper": { - "type": "keyword", - "_meta": { - "description": "Shipper if present, sending the logs" - } - }, - "doc_count": { - "type": "long", - "_meta": { - "description": "Total number of documents in the steam of logs" - } - }, - "structure_level": { - "properties": { - "0": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 0" - } - }, - "1": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 1" - } - }, - "2": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 2" - } - }, - "3": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 3" - } - }, - "4": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 4" - } - }, - "5": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 5" - } - }, - "6": { - "type": "long", - "_meta": { - "description": "Total docs at structure level 6" - } - } - } - }, - "failure_store_doc_count": { - "type": "long", - "_meta": { - "description": "Total number of documents in the failure store in the stream of logs" - } - }, - "index_count": { - "type": "long", - "_meta": { - "description": "Total number of indices in the stream of logs" - } - }, - "namespace_count": { - "type": "long", - "_meta": { - "description": "Total number of namespaces in the stream of logs" - } - }, - "field_count": { - "type": "long", - "_meta": { - "description": "Total number of fields in mappings of indices of the stream of logs" - } - }, - "field_existence": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Count of documents having the field represented by the key" - } - } - } - }, - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Total size in bytes of the stream of logs" - } - }, - "managed_by": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Value captured in _meta.managed_by" - } - } - }, - "package_name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Value captured in _meta.package.name" - } - } - }, - "beat": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Value captured in _meta.beat.name" - } - } - } - } - } - } - } - }, - "maps": { - "properties": { - "mapsTotalCount": { - "type": "long" - }, - "timeCaptured": { - "type": "date" - }, - "layerTypes": { - "properties": { - "ems_basemap": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers in cluster" - } - } - } - }, - "ems_region": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems file layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems file layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems file layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of file layers in cluster" - } - } - } - }, - "es_agg_clusters": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es cluster layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es cluster layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es cluster layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es cluster layers in cluster" - } - } - } - }, - "es_agg_grids": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es grid layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es grid layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es grid layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es grid layers in cluster" - } - } - } - }, - "es_agg_hexagons": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es hexagon layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es hexagon layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es hexagon layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es hexagon layers in cluster" - } - } - } - }, - "es_agg_heatmap": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es heatmap layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es heatmap layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es heatmap layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es heatmap layers in cluster" - } - } - } - }, - "es_top_hits": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es top hits layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es top hits layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es top hits layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es top hits layers in cluster" - } - } - } - }, - "es_docs": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es document layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es document layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es document layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es document layers in cluster" - } - } - } - }, - "es_ml_anomalies": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es machine learning anomaly layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es machine learning anomaly layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es machine learning anomaly layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es machine learning anomaly layers in cluster" - } - } - } - }, - "esql": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ES|QL layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ES|QL layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ES|QL layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ES|QL layers in cluster" - } - } - } - }, - "es_point_to_point": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es point-to-point layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es point-to-point layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es point-to-point layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es point-to-point layers in cluster" - } - } - } - }, - "es_tracks": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es track layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es track layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es track layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es track layers in cluster" - } - } - } - }, - "kbn_tms_raster": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of kbn tms layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of kbn tms layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of kbn tms layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of kbn tms layers in cluster" - } - } - } - }, - "layer_group": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of layer groups per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of layer groups per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of layer groups per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of layer groups in cluster" - } - } - } - }, - "ux_tms_mvt": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ux tms-mvt layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ux tms-mvt layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ux tms-mvt layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ux tms-mvt layers in cluster" - } - } - } - }, - "ux_tms_raster": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ux tms-raster layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ux tms-raster layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ux tms-raster layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ux-tms raster layers in cluster" - } - } - } - }, - "ux_wms": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ux wms layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ux wms layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ux wms layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ux wms layers in cluster" - } - } - } - } - } - }, - "scalingOptions": { - "properties": { - "limit": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es doc layers with limit scaling option per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es doc layers with limit scaling option per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es doc layers with limit scaling option per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es doc layers with limit scaling option in cluster" - } - } - } - }, - "clusters": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es doc layers with blended scaling option per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es doc layers with blended scaling option per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es doc layers with blended scaling option per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es doc layers with blended scaling option in cluster" - } - } - } - }, - "mvt": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es doc layers with mvt scaling option per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es doc layers with mvt scaling option per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es doc layers with mvt scaling option per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es doc layers with mvt scaling option in cluster" - } - } - } - } - } - }, - "resolutions": { - "properties": { - "coarse": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with coarse resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with coarse resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with coarse resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with coarse resolution" - } - } - } - }, - "fine": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with fine resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with fine resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with fine resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with fine resolution" - } - } - } - }, - "most_fine": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with most_fine resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with most_fine resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with most_fine resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with most_fine resolution" - } - } - } - }, - "super_fine": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with super_fine resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with super_fine resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with super_fine resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with super_fine resolution" - } - } - } - } - } - }, - "joins": { - "properties": { - "distance": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of distance joins per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of distance joins per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of distance joins per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of distance joins in cluster" - } - } - } - }, - "term": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of layers with term joins per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of layers with term joins per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of layers with term joins per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of layers with term joins in cluster" - } - } - } - } - } - }, - "basemaps": { - "properties": { - "auto": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with auto-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with auto-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with auto-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with auto-style in cluster" - } - } - } - }, - "dark": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with dark-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with dark-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with dark-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with dark-style in cluster" - } - } - } - }, - "roadmap": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with roadmap-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with roadmap-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with roadmap-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with roadmap-style in cluster" - } - } - } - }, - "roadmap_desaturated": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with desaturated-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with desaturated-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with desaturated-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with desaturated-style in cluster" - } - } - } - } - } - }, - "attributesPerMap": { - "properties": { - "dataSourcesCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "layersCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "layerTypesCount": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - }, - "emsVectorLayersCount": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - }, - "customIconsCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - } - } - }, - "monitoring": { - "properties": { - "hasMonitoringData": { - "type": "boolean" - }, - "clusters": { - "type": "array", - "items": { - "properties": { - "license": { - "type": "keyword" - }, - "clusterUuid": { - "type": "keyword" - }, - "metricbeatUsed": { - "type": "boolean" - }, - "elasticsearch": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "kibana": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "logstash": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "beats": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "apm": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - } - } - } - } - } - }, "reporting": { "properties": { "available": { diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx b/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx index 8947cf9f6bbe8..fcaf0ce7597ce 100644 --- a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx +++ b/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx @@ -15,7 +15,7 @@ import { KibanaThemeProvider, KibanaServices } from '@kbn/kibana-react-plugin/pu import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; import type { NotificationsStart, ApplicationStart } from '@kbn/core/public'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { DARK_THEME, LIGHT_THEME } from '@elastic/charts'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { KibanaContextProvider } from '../public/common/lib/kibana'; import { ExperimentalFeaturesService } from '../public/common/experimental_features_service'; import { getHttp } from './context/http'; @@ -74,6 +74,9 @@ export const StorybookContextDecorator: FC @@ -99,7 +102,7 @@ export const StorybookContextDecorator: FC (darkMode ? DARK_THEME : LIGHT_THEME), + useChartsBaseTheme: () => baseTheme, useSparklineOverrides: () => ({ lineSeriesStyle: { point: { diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts b/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts index 677d90066f182..a5bd9931aae12 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts +++ b/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts @@ -29,6 +29,13 @@ export function createFieldsRoute(logger: Logger, router: IRouter, baseRoute: st router.post( { path, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out of authorization as it relies on ES authorization instead.', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts b/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts index ddca5d8f1dd6b..2e42016659d88 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts +++ b/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts @@ -33,6 +33,13 @@ export function createIndicesRoute(logger: Logger, router: IRouter, baseRoute: s router.post( { path, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out of authorization as it relies on ES authorization instead.', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts b/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts index f549e46576939..956631a1d2726 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts +++ b/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts @@ -28,6 +28,13 @@ export function createTimeSeriesQueryRoute( router.post( { path, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out of authorization as it relies on ES authorization instead.', + }, + }, validate: { body: TimeSeriesQuerySchema, }, diff --git a/x-pack/plugins/triggers_actions_ui/tsconfig.json b/x-pack/plugins/triggers_actions_ui/tsconfig.json index 7004ad1b1b08c..2fd21149f4e8f 100644 --- a/x-pack/plugins/triggers_actions_ui/tsconfig.json +++ b/x-pack/plugins/triggers_actions_ui/tsconfig.json @@ -74,7 +74,8 @@ "@kbn/core-application-browser", "@kbn/cloud-plugin", "@kbn/response-ops-rule-form", - "@kbn/core-user-profile-browser-mocks" + "@kbn/core-user-profile-browser-mocks", + "@kbn/charts-theme" ], "exclude": ["target/**/*"] } diff --git a/packages/kbn-custom-integrations/README.md b/x-pack/solutions/observability/packages/kbn-custom-integrations/README.md similarity index 100% rename from packages/kbn-custom-integrations/README.md rename to x-pack/solutions/observability/packages/kbn-custom-integrations/README.md diff --git a/packages/kbn-custom-integrations/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts similarity index 58% rename from packages/kbn-custom-integrations/index.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts index 60024b00053bb..722045741e0ba 100644 --- a/packages/kbn-custom-integrations/index.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export { diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js b/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js new file mode 100644 index 0000000000000..c36c2422869b8 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/packages/kbn-custom-integrations'], +}; diff --git a/packages/kbn-custom-integrations/kibana.jsonc b/x-pack/solutions/observability/packages/kbn-custom-integrations/kibana.jsonc similarity index 100% rename from packages/kbn-custom-integrations/kibana.jsonc rename to x-pack/solutions/observability/packages/kbn-custom-integrations/kibana.jsonc diff --git a/packages/kbn-custom-integrations/package.json b/x-pack/solutions/observability/packages/kbn-custom-integrations/package.json similarity index 61% rename from packages/kbn-custom-integrations/package.json rename to x-pack/solutions/observability/packages/kbn-custom-integrations/package.json index 5850873bb1bfe..d6fff9238f5f8 100644 --- a/packages/kbn-custom-integrations/package.json +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/package.json @@ -2,6 +2,6 @@ "name": "@kbn/custom-integrations", "private": true, "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0", + "license": "Elastic License 2.0", "sideEffects": false } \ No newline at end of file diff --git a/packages/kbn-custom-integrations/src/components/create/button.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx similarity index 86% rename from packages/kbn-custom-integrations/src/components/create/button.tsx rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx index ab2023e4ed5e2..cbf480f50ff5d 100644 --- a/packages/kbn-custom-integrations/src/components/create/button.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { EuiButton } from '@elastic/eui'; diff --git a/packages/kbn-custom-integrations/src/components/create/error_callout.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx similarity index 85% rename from packages/kbn-custom-integrations/src/components/create/error_callout.tsx rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx index 1d8c830cbe4c3..9de070425cabe 100644 --- a/packages/kbn-custom-integrations/src/components/create/error_callout.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/kbn-custom-integrations/src/components/create/form.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx similarity index 95% rename from packages/kbn-custom-integrations/src/components/create/form.tsx rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx index 2ebe95d5cfb97..1a54df5e6e707 100644 --- a/packages/kbn-custom-integrations/src/components/create/form.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { useCallback } from 'react'; diff --git a/packages/kbn-custom-integrations/src/components/create/utils.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts similarity index 51% rename from packages/kbn-custom-integrations/src/components/create/utils.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts index 98d3441d694f3..5e7376b8c8efa 100644 --- a/packages/kbn-custom-integrations/src/components/create/utils.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export const replaceSpecialChars = (value: string) => { diff --git a/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx similarity index 76% rename from packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx index a26763485d67a..0410171789f38 100644 --- a/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx similarity index 73% rename from packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx index 7e01bd63f8774..53ffb664051cc 100644 --- a/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts new file mode 100644 index 0000000000000..a8c866eefbb2b --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts @@ -0,0 +1,11 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { ConnectedCreateCustomIntegrationForm } from './create/form'; +export * from './create/error_callout'; +export * from './custom_integrations_button'; +export * from './custom_integrations_form'; diff --git a/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts similarity index 76% rename from packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts index 35dcea4bce27c..d7b3cce01034a 100644 --- a/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { useActor, useSelector } from '@xstate/react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts new file mode 100644 index 0000000000000..3bbee5aa6dedb --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { useConsumerCustomIntegrations } from './use_consumer_custom_integrations'; +export { useCustomIntegrations } from './use_custom_integrations'; +export type { DispatchableEvents } from './use_consumer_custom_integrations'; diff --git a/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts similarity index 64% rename from packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts index e8202b3699a70..5a694c104f9b7 100644 --- a/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { diff --git a/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts similarity index 60% rename from packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts index e02a1a636c83d..469f9cffc5a63 100644 --- a/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { useActor } from '@xstate/react'; diff --git a/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts similarity index 57% rename from packages/kbn-custom-integrations/src/state_machines/create/defaults.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts index dbfd375b1d665..a806314448ea7 100644 --- a/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export const DEFAULT_CONTEXT = { diff --git a/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts similarity index 83% rename from packages/kbn-custom-integrations/src/state_machines/create/notifications.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts index 415b204571980..56d44652ec5f7 100644 --- a/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { CustomIntegrationOptions, IntegrationError } from '../../types'; diff --git a/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts similarity index 91% rename from packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts index 28ff0660816ba..f59c21dc499eb 100644 --- a/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { pipe } from 'fp-ts/lib/pipeable'; diff --git a/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts similarity index 61% rename from packages/kbn-custom-integrations/src/state_machines/create/selectors.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts index 9b5ef7d05cfcc..58eefa2fbd16b 100644 --- a/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { CreateCustomIntegrationState } from './state_machine'; diff --git a/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts similarity index 97% rename from packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts index 6f53563ab0555..b7abc58433601 100644 --- a/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { i18n } from '@kbn/i18n'; diff --git a/packages/kbn-custom-integrations/src/state_machines/create/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts similarity index 90% rename from packages/kbn-custom-integrations/src/state_machines/create/types.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts index 5effeced918f0..2e4a776910ad9 100644 --- a/packages/kbn-custom-integrations/src/state_machines/create/types.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { CustomIntegrationOptions, IntegrationError } from '../../types'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts new file mode 100644 index 0000000000000..68617dded95ac --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { DefaultCustomIntegrationsContext } from './types'; + +export const DEFAULT_CONTEXT: DefaultCustomIntegrationsContext = { + mode: 'create' as const, +}; diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts similarity index 69% rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts index dd9ca6a51dd9b..66d743c7fb1c5 100644 --- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { createNotificationChannel, NotificationChannel } from '@kbn/xstate-utils'; diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx similarity index 88% rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx index 3ff74972cc8eb..4cf87470380ed 100644 --- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { useInterpret } from '@xstate/react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts new file mode 100644 index 0000000000000..5ef42df0747d8 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts @@ -0,0 +1,11 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { CustomIntegrationsState } from './state_machine'; + +export const createIsInitializedSelector = (state: CustomIntegrationsState) => + state && state.matches({ create: 'initialized' }); diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts similarity index 94% rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts index 2ea9bc73c383b..546f0198698a4 100644 --- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { ActorRefFrom, createMachine, EmittedFrom } from 'xstate'; diff --git a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts similarity index 70% rename from packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts index 8c34ca3293e22..3308705d7afb9 100644 --- a/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { CreateCustomIntegrationNotificationEvent } from '../create/notifications'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts new file mode 100644 index 0000000000000..9d5fca22f8293 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { CustomIntegrationsProvider } from './custom_integrations/provider'; +export type { Callbacks } from './custom_integrations/provider'; +export type { InitialState } from './custom_integrations/types'; diff --git a/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts similarity index 91% rename from packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts index 4b6fb1e721870..e7c096d3444f8 100644 --- a/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { HttpSetup } from '@kbn/core/public'; diff --git a/packages/kbn-custom-integrations/src/state_machines/services/validation.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts similarity index 89% rename from packages/kbn-custom-integrations/src/state_machines/services/validation.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts index b5554f79c5675..b2b24a8a9c4e4 100644 --- a/packages/kbn-custom-integrations/src/state_machines/services/validation.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { isEmpty } from 'lodash'; diff --git a/packages/kbn-custom-integrations/src/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts similarity index 82% rename from packages/kbn-custom-integrations/src/types.ts rename to x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts index d3ee039f89121..803bb341f5904 100644 --- a/packages/kbn-custom-integrations/src/types.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ /* eslint-disable max-classes-per-file */ diff --git a/packages/kbn-custom-integrations/tsconfig.json b/x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json similarity index 87% rename from packages/kbn-custom-integrations/tsconfig.json rename to x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json index cb57aee9dbeaa..361844028545f 100644 --- a/packages/kbn-custom-integrations/tsconfig.json +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/plugins/observability_solution/infra/.storybook/main.js b/x-pack/solutions/observability/plugins/infra/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/infra/.storybook/main.js rename to x-pack/solutions/observability/plugins/infra/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/infra/.storybook/preview.js b/x-pack/solutions/observability/plugins/infra/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_solution/infra/.storybook/preview.js rename to x-pack/solutions/observability/plugins/infra/.storybook/preview.js diff --git a/x-pack/plugins/observability_solution/infra/README.md b/x-pack/solutions/observability/plugins/infra/README.md similarity index 97% rename from x-pack/plugins/observability_solution/infra/README.md rename to x-pack/solutions/observability/plugins/infra/README.md index 9097faa0aa2b5..b2e994a6cb6b4 100644 --- a/x-pack/plugins/observability_solution/infra/README.md +++ b/x-pack/solutions/observability/plugins/infra/README.md @@ -26,7 +26,7 @@ team as well. ## Contributing Since the `infra` plugin lives within the Kibana repository, [Kibana's -contribution procedures](../../../CONTRIBUTING.md) apply. In addition to that, +contribution procedures](../../../../CONTRIBUTING.md) apply. In addition to that, this section details a few plugin-specific aspects. ### Ingesting metrics for development @@ -118,7 +118,7 @@ life-cycle of a PR looks like the following: There are always exceptions to the rule, so seeking guidance about any of the steps is highly recommended. -[Kibana's contribution procedures]: ../../../../CONTRIBUTING.md +[Kibana's contribution procedures]: ../../../../../CONTRIBUTING.md [Infrastructure forum]: https://discuss.elastic.co/c/infrastructure [Logs forum]: https://discuss.elastic.co/c/logs [ECS]: https://github.com/elastic/ecs/ diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/index.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/index.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/query_helpers.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/query_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/query_helpers.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/query_helpers.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.test.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.test.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.test.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/alert_link.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/index.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/index.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.test.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.test.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.test.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/metric_value_formatter.ts diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/types.ts b/x-pack/solutions/observability/plugins/infra/common/alerting/metrics/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/alerting/metrics/types.ts rename to x-pack/solutions/observability/plugins/infra/common/alerting/metrics/types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/color_palette.test.ts b/x-pack/solutions/observability/plugins/infra/common/color_palette.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/color_palette.test.ts rename to x-pack/solutions/observability/plugins/infra/common/color_palette.test.ts diff --git a/x-pack/plugins/observability_solution/infra/common/color_palette.ts b/x-pack/solutions/observability/plugins/infra/common/color_palette.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/color_palette.ts rename to x-pack/solutions/observability/plugins/infra/common/color_palette.ts diff --git a/x-pack/plugins/observability_solution/infra/common/constants.ts b/x-pack/solutions/observability/plugins/infra/common/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/constants.ts rename to x-pack/solutions/observability/plugins/infra/common/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/common/custom_dashboards.ts b/x-pack/solutions/observability/plugins/infra/common/custom_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/custom_dashboards.ts rename to x-pack/solutions/observability/plugins/infra/common/custom_dashboards.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/alert_link.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/alert_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/alert_link.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/alert_link.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/bytes.test.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/bytes.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/bytes.test.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/bytes.test.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/bytes.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/formatters/datetime.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/formatters/datetime.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/datetime.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/get_custom_metric_label.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/get_custom_metric_label.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/get_custom_metric_label.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/get_custom_metric_label.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/high_precision.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/high_precision.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/index.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/index.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/number.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/number.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/number.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/number.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/percent.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/percent.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/percent.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/percent.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/snapshot_metric_formats.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/snapshot_metric_formats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/snapshot_metric_formats.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/snapshot_metric_formats.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/telemetry_time_range.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/telemetry_time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/telemetry_time_range.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/telemetry_time_range.ts diff --git a/x-pack/plugins/observability_solution/infra/common/formatters/types.ts b/x-pack/solutions/observability/plugins/infra/common/formatters/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/formatters/types.ts rename to x-pack/solutions/observability/plugins/infra/common/formatters/types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/asset_count_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/asset_count_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/asset_count_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/asset_count_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/custom_dashboards_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/custom_dashboards_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/custom_dashboards_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/custom_dashboards_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/host_details/get_infra_services.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/host_details/get_infra_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/host_details/get_infra_services.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/host_details/get_infra_services.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/host_details/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/host_details/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/host_details/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/host_details/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/host_details/process_list.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/host_details/process_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/host_details/process_list.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/host_details/process_list.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra/get_infra_metrics.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra/get_infra_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra/get_infra_metrics.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra/get_infra_metrics.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/common.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/common.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/common.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_meta_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_meta_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_meta_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_meta_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/common.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/common.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/common.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/create_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/create_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/create_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/create_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/find_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/find_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/find_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/find_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/get_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/get_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/get_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/get_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/update_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/update_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/update_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/inventory_views/v1/update_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/ip_to_hostname/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/ip_to_hostname/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/ip_to_hostname/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/ip_to_hostname/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/latest.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/latest.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/latest.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/latest.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts similarity index 91% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts index 190c43a98e623..2f46e210f07e0 100644 --- a/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts +++ b/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts @@ -52,9 +52,9 @@ export type GetLogAlertsChartPreviewDataSuccessResponsePayload = rt.TypeOf< // // If it's removed before then you get: // -// x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/chart_preview_data.ts:44:14 - error TS4023: +// x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/chart_preview_data.ts:44:14 - error TS4023: // Exported variable 'getLogAlertsChartPreviewDataAlertParamsSubsetRT' has or is using name 'Comparator' -// from external module "/Users/smith/Code/kibana/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types" +// from external module "/Users/smith/Code/kibana/x-pack/solutions/observability/plugins/infra/common/alerting/logs/log_threshold/types" // but cannot be named. // export const getLogAlertsChartPreviewDataAlertParamsSubsetRT: any = rt.intersection([ diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/datasets.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/datasets.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/datasets.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metadata_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metadata_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metadata_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metadata_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/common.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/common.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/common.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/node_details_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/node_details_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/node_details_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/node_details_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/overview_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/overview_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/overview_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/overview_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/profiling_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/profiling_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/profiling_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/profiling_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/asset_type.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/asset_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/asset_type.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/asset_type.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/errors.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/errors.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/es_request.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/es_request.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/es_request.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/es_request.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/index.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/index.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/metric_statistics.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/metric_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/metric_statistics.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/metric_statistics.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/time_range.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/time_range.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/time_range.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/shared/timing.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/shared/timing.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/shared/timing.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/shared/timing.ts diff --git a/x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts b/x-pack/solutions/observability/plugins/infra/common/http_api/snapshot_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts rename to x-pack/solutions/observability/plugins/infra/common/http_api/snapshot_api.ts diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/anomaly_results.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/anomaly_results.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/infra_ml/anomaly_results.ts rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/anomaly_results.ts diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/infra_ml/index.ts rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/infra_ml.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/infra_ml.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/infra_ml/infra_ml.ts rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/infra_ml.ts diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/job_parameters.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/job_parameters.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/infra_ml/job_parameters.ts rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/job_parameters.ts diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_hosts_ml.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_hosts_ml.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_hosts_ml.ts rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_hosts_ml.ts diff --git a/x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_k8s_ml.ts b/x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_k8s_ml.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_k8s_ml.ts rename to x-pack/solutions/observability/plugins/infra/common/infra_ml/metrics_k8s_ml.ts diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_models/intl_strings.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_models/intl_strings.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/inventory_models/intl_strings.ts rename to x-pack/solutions/observability/plugins/infra/common/inventory_models/intl_strings.ts diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/defaults.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/inventory_views/defaults.ts rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/defaults.ts diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/errors.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/inventory_views/errors.ts rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/inventory_views/index.ts rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/inventory_view.mock.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/inventory_view.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/inventory_views/inventory_view.mock.ts rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/inventory_view.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/common/inventory_views/types.ts b/x-pack/solutions/observability/plugins/infra/common/inventory_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/inventory_views/types.ts rename to x-pack/solutions/observability/plugins/infra/common/inventory_views/types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/index.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/job_parameters.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/job_parameters.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/job_parameters.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/job_parameters.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_quality.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_quality.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_quality.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_quality.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_results.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_results.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_results.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_analysis_results.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_categories_analysis.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_categories_analysis.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_categories_analysis.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_categories_analysis.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_examples.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_rate_analysis.ts b/x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_rate_analysis.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_rate_analysis.ts rename to x-pack/solutions/observability/plugins/infra/common/log_analysis/log_entry_rate_analysis.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_result/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_result/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_search_result/index.ts rename to x-pack/solutions/observability/plugins/infra/common/log_search_result/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_result/log_search_result.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_result/log_search_result.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_search_result/log_search_result.ts rename to x-pack/solutions/observability/plugins/infra/common/log_search_result/log_search_result.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_summary/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_summary/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_search_summary/index.ts rename to x-pack/solutions/observability/plugins/infra/common/log_search_summary/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/log_search_summary/log_search_summary.ts b/x-pack/solutions/observability/plugins/infra/common/log_search_summary/log_search_summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/log_search_summary/log_search_summary.ts rename to x-pack/solutions/observability/plugins/infra/common/log_search_summary/log_search_summary.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/index.ts b/x-pack/solutions/observability/plugins/infra/common/log_text_scale/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/index.ts rename to x-pack/solutions/observability/plugins/infra/common/log_text_scale/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/log_text_scale.ts b/x-pack/solutions/observability/plugins/infra/common/log_text_scale/log_text_scale.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/log_text_scale/log_text_scale.ts rename to x-pack/solutions/observability/plugins/infra/common/log_text_scale/log_text_scale.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/defaults.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/defaults.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/defaults.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/errors.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/errors.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/index.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/types.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_sources/get_has_data.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_sources/get_has_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_sources/get_has_data.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_sources/get_has_data.ts diff --git a/x-pack/plugins/observability_solution/infra/common/metrics_sources/index.ts b/x-pack/solutions/observability/plugins/infra/common/metrics_sources/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/metrics_sources/index.ts rename to x-pack/solutions/observability/plugins/infra/common/metrics_sources/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/performance_tracing.ts b/x-pack/solutions/observability/plugins/infra/common/performance_tracing.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/performance_tracing.ts rename to x-pack/solutions/observability/plugins/infra/common/performance_tracing.ts diff --git a/x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts b/x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts rename to x-pack/solutions/observability/plugins/infra/common/plugin_config_types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/saved_views/index.ts b/x-pack/solutions/observability/plugins/infra/common/saved_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/saved_views/index.ts rename to x-pack/solutions/observability/plugins/infra/common/saved_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/saved_views/types.ts b/x-pack/solutions/observability/plugins/infra/common/saved_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/saved_views/types.ts rename to x-pack/solutions/observability/plugins/infra/common/saved_views/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/search_strategies/common/errors.ts b/x-pack/solutions/observability/plugins/infra/common/search_strategies/common/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/search_strategies/common/errors.ts rename to x-pack/solutions/observability/plugins/infra/common/search_strategies/common/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entries.ts b/x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entries.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entries.ts rename to x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entries.ts diff --git a/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entry.ts b/x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entry.ts rename to x-pack/solutions/observability/plugins/infra/common/search_strategies/log_entries/log_entry.ts diff --git a/x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts b/x-pack/solutions/observability/plugins/infra/common/snapshot_metric_i18n.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts rename to x-pack/solutions/observability/plugins/infra/common/snapshot_metric_i18n.ts diff --git a/x-pack/plugins/observability_solution/infra/common/source_configuration/defaults.ts b/x-pack/solutions/observability/plugins/infra/common/source_configuration/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/source_configuration/defaults.ts rename to x-pack/solutions/observability/plugins/infra/common/source_configuration/defaults.ts diff --git a/x-pack/plugins/observability_solution/infra/common/source_configuration/source_configuration.ts b/x-pack/solutions/observability/plugins/infra/common/source_configuration/source_configuration.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/source_configuration/source_configuration.ts rename to x-pack/solutions/observability/plugins/infra/common/source_configuration/source_configuration.ts diff --git a/x-pack/plugins/observability_solution/infra/common/time/index.ts b/x-pack/solutions/observability/plugins/infra/common/time/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/time/index.ts rename to x-pack/solutions/observability/plugins/infra/common/time/index.ts diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_key.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/time/time_key.ts rename to x-pack/solutions/observability/plugins/infra/common/time/time_key.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/locators/time_range.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/locators/time_range.ts rename to x-pack/solutions/observability/plugins/infra/common/time/time_range.ts diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_scale.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_scale.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/time/time_scale.ts rename to x-pack/solutions/observability/plugins/infra/common/time/time_scale.ts diff --git a/x-pack/plugins/observability_solution/infra/common/time/time_unit.ts b/x-pack/solutions/observability/plugins/infra/common/time/time_unit.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/time/time_unit.ts rename to x-pack/solutions/observability/plugins/infra/common/time/time_unit.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/common/typed_json.ts b/x-pack/solutions/observability/plugins/infra/common/typed_json.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/common/typed_json.ts rename to x-pack/solutions/observability/plugins/infra/common/typed_json.ts diff --git a/x-pack/plugins/observability_solution/infra/common/url_state_storage_service.ts b/x-pack/solutions/observability/plugins/infra/common/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/url_state_storage_service.ts rename to x-pack/solutions/observability/plugins/infra/common/url_state_storage_service.ts diff --git a/x-pack/plugins/observability_solution/infra/common/utility_types.ts b/x-pack/solutions/observability/plugins/infra/common/utility_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/utility_types.ts rename to x-pack/solutions/observability/plugins/infra/common/utility_types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.test.ts b/x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.test.ts rename to x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.test.ts diff --git a/x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.ts b/x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.ts rename to x-pack/solutions/observability/plugins/infra/common/utils/corrected_percent_convert.ts diff --git a/x-pack/plugins/observability_solution/infra/common/utils/elasticsearch_runtime_types.ts b/x-pack/solutions/observability/plugins/infra/common/utils/elasticsearch_runtime_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/utils/elasticsearch_runtime_types.ts rename to x-pack/solutions/observability/plugins/infra/common/utils/elasticsearch_runtime_types.ts diff --git a/x-pack/plugins/observability_solution/infra/common/utils/get_chart_group_names.ts b/x-pack/solutions/observability/plugins/infra/common/utils/get_chart_group_names.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/utils/get_chart_group_names.ts rename to x-pack/solutions/observability/plugins/infra/common/utils/get_chart_group_names.ts diff --git a/x-pack/plugins/observability_solution/infra/common/utils/get_interval_in_seconds.ts b/x-pack/solutions/observability/plugins/infra/common/utils/get_interval_in_seconds.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/common/utils/get_interval_in_seconds.ts rename to x-pack/solutions/observability/plugins/infra/common/utils/get_interval_in_seconds.ts diff --git a/x-pack/plugins/observability_solution/infra/docs/assets/infra_metricbeat_aws.jpg b/x-pack/solutions/observability/plugins/infra/docs/assets/infra_metricbeat_aws.jpg similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/assets/infra_metricbeat_aws.jpg rename to x-pack/solutions/observability/plugins/infra/docs/assets/infra_metricbeat_aws.jpg diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/README.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/README.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/state_machines/README.md rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/README.md diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_machine_patterns.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_machine_patterns.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_machine_patterns.md rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_machine_patterns.md diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_react_patterns.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_react_patterns.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_react_patterns.md rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_react_patterns.md diff --git a/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_url_patterns_and_precedence.md b/x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_url_patterns_and_precedence.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_url_patterns_and_precedence.md rename to x-pack/solutions/observability/plugins/infra/docs/state_machines/xstate_url_patterns_and_precedence.md diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/README.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md similarity index 76% rename from x-pack/plugins/observability_solution/infra/docs/telemetry/README.md rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md index ed0ed7e2464e7..55c8c5aeecee6 100644 --- a/x-pack/plugins/observability_solution/infra/docs/telemetry/README.md +++ b/x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md @@ -2,7 +2,7 @@ Welcome to the documentation on implementing custom Telemetry events using the TelemetryService. Tracking Telemetry events is part of our workflow for better understanding what users like the most and constantly improving the Observability Metrics and Logs. -Custom events provide a flexible way to track specific user behaviors and application events. By using the [`TelemetryService`](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/services/telemetry), you can easily create and track custom events, allowing you to gain valuable insights into how your application is being used. +Custom events provide a flexible way to track specific user behaviors and application events. By using the [`TelemetryService`](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/infra/public/services/telemetry), you can easily create and track custom events, allowing you to gain valuable insights into how your application is being used. In this documentation, we will see how to implement custom events and how to trigger them while working with React. diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md similarity index 97% rename from x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md index e27ef04617059..cef0c77efb9a3 100644 --- a/x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md +++ b/x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md @@ -15,7 +15,7 @@ export enum InfraTelemetryEventTypes { In this example, we're adding a new event type called `SEARCH_SUBMITTED` with a value `Search Submitted` that will be used for tracking the event. -N.B. Each custom event should also be added to the whitelist defined in the [core analytics package](../../../cloud_integrations/cloud_full_story/server/config.ts) to be tracked correctly. +N.B. Each custom event should also be added to the whitelist defined in the [core analytics package](../../../../cloud_integrations/cloud_full_story/server/config.ts) to be tracked correctly. ## Step 2: Update types and define the event schema diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/telemetry_service_overview.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/telemetry_service_overview.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/telemetry/telemetry_service_overview.md rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/telemetry_service_overview.md diff --git a/x-pack/plugins/observability_solution/infra/docs/telemetry/trigger_custom_events_examples.md b/x-pack/solutions/observability/plugins/infra/docs/telemetry/trigger_custom_events_examples.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/telemetry/trigger_custom_events_examples.md rename to x-pack/solutions/observability/plugins/infra/docs/telemetry/trigger_custom_events_examples.md diff --git a/x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_aws.md b/x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_aws.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_aws.md rename to x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_aws.md diff --git a/x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_docker_nginx.md b/x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_docker_nginx.md rename to x-pack/solutions/observability/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md diff --git a/x-pack/solutions/observability/plugins/infra/jest.config.js b/x-pack/solutions/observability/plugins/infra/jest.config.js new file mode 100644 index 0000000000000..6940a611ef766 --- /dev/null +++ b/x-pack/solutions/observability/plugins/infra/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/plugins/infra'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/infra', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/infra/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/infra/kibana.jsonc b/x-pack/solutions/observability/plugins/infra/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/infra/kibana.jsonc rename to x-pack/solutions/observability/plugins/infra/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap b/x-pack/solutions/observability/plugins/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap rename to x-pack/solutions/observability/plugins/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/metrics_alert_dropdown.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/metrics_alert_dropdown.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/metrics_alert_dropdown.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/metrics_alert_dropdown.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.stories.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.stories.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.stories.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/components/threshold.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/group_by_expression.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/group_by_expression.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/selector.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/selector.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/common/group_by_expression/selector.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/components/alert_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/components/alert_flyout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/index.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/index.ts rename to x-pack/solutions/observability/plugins/infra/public/alerting/custom_threshold/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/alert_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/alert_flyout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.test.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/expression_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/metric.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/metric.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/node_type.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/node_type.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/node_type.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/node_type.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/validation.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/validation.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/validation.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/components/validation.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/index.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/index.ts rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/rule_data_formatters.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/inventory/rule_data_formatters.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/inventory/rule_data_formatters.ts rename to x-pack/solutions/observability/plugins/infra/public/alerting/inventory/rule_data_formatters.ts diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx similarity index 97% rename from x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx index 14a98d7ddc4ad..92a4e61554e29 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx @@ -6,7 +6,6 @@ */ import React from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui'; -import { LIGHT_THEME } from '@elastic/charts'; import { EuiPanel } from '@elastic/eui'; import { ALERT_CONTEXT, @@ -20,6 +19,7 @@ import { EuiTitle } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { getPaddedAlertTimeRange } from '@kbn/observability-get-padded-alert-time-range-util'; import { get, identity } from 'lodash'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { useLogView } from '@kbn/logs-shared-plugin/public'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; import { @@ -40,6 +40,7 @@ const formatThreshold = (threshold: number) => String(threshold); const AlertDetailsAppSection = ({ rule, alert }: AlertDetailsAppSectionProps) => { const { logsShared } = useKibanaContextForPlugin().services; const theme = useTheme(); + const baseTheme = useElasticChartsTheme(); const timeRange = getPaddedAlertTimeRange(alert.fields[ALERT_START]!, alert.fields[ALERT_END]); const alertEnd = alert.fields[ALERT_END] ? moment(alert.fields[ALERT_END]).valueOf() : undefined; const interval = `${rule.params.timeSize}${rule.params.timeUnit}`; @@ -93,7 +94,7 @@ const AlertDetailsAppSection = ({ rule, alert }: AlertDetailsAppSectionProps) => timestamp, }} /> diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_form_state.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_form_state.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_panel.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/name_configuration_panel.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_errors.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_errors.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_errors.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_errors.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_state.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_form_state.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_settings.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_settings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_settings.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/source_configuration_settings.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/validation_errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/validation_errors.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_log_view_error.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_log_view_error.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_template.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_template.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/page_template.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_live_button.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_live_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_live_button.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_live_button.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_page_template.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_page_template.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/components/stream_page_template.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/index.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_logs_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_logs_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_missing_indices_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_missing_indices_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_missing_indices_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_missing_indices_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_providers.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_providers.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_providers.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_providers.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_toolbar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_toolbar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_toolbar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_view_log_in_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/logs/stream/page_view_log_in_context.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/common/popover.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/common/popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/common/popover.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/common/popover.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_container.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_container.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_container.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_container.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_table.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_table.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/hosts_table.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_charts.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/control_panels_config.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/add_data_troubleshooting_popover.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/column_header.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/column_header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/column_header.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/column_header.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/entry_title.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/entry_title.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/entry_title.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/entry_title.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/filter_action.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/filter_action.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/filter_action.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/table/filter_action.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/constants.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/constants.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_charts.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/translations.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/translations.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/translations.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/types.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/hosts/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout_view.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout_view.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/saved_views.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/saved_views.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/saved_views.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/saved_views.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/search_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/search_bar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/search_bar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_section.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/survey_section.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/table_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/table_view.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx similarity index 98% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx index 219200f85ded3..ef6747b059b84 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx @@ -199,7 +199,7 @@ export const NodeSquare = ({ ) : ( ellipsisMode && ( - {/* eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n */} + {} ) diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_legend.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/create_legend.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/type_guards.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/lib/type_guards.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/error_message.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/error_message.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/error_message.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/error_message.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/helpers.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/helpers.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/helpers.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_body.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_body.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_body.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_body.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/page_error.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/series_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/series_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/series_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/series_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/side_nav.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/side_nav.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/side_nav.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/side_nav.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metric_detail/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/charts.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/charts.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/charts.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/charts.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/index.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/index.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/features_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/features_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/features_configuration_panel.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/features_configuration_panel.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_form_state.ts b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_form_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_form_state.ts rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_form_state.ts diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_panel.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/indices_configuration_panel.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/input_fields.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/input_fields.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/input_fields.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/input_fields.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/ml_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/ml_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/ml_configuration_panel.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/ml_configuration_panel.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/name_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/name_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/name_configuration_panel.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/name_configuration_panel.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_form_state.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_form_state.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_form_state.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_settings.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_settings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_settings.tsx rename to x-pack/solutions/observability/plugins/infra/public/pages/metrics/settings/source_configuration_settings.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/plugin.ts b/x-pack/solutions/observability/plugins/infra/public/plugin.ts similarity index 98% rename from x-pack/plugins/observability_solution/infra/public/plugin.ts rename to x-pack/solutions/observability/plugins/infra/public/plugin.ts index 70a07b13b7c81..a9e5f2326fe73 100644 --- a/x-pack/plugins/observability_solution/infra/public/plugin.ts +++ b/x-pack/solutions/observability/plugins/infra/public/plugin.ts @@ -135,7 +135,7 @@ export class Plugin implements InfraClientPluginClass { const logRoutes = getLogsAppRoutes(); - /** !! Need to be kept in sync with the deepLinks in x-pack/plugins/observability_solution/infra/public/plugin.ts */ + /** !! Need to be kept in sync with the deepLinks in x-pack/solutions/observability/plugins/infra/public/plugin.ts */ pluginsSetup.observabilityShared.navigation.registerSections( startDep$AndAccessibleFlag$.pipe( map(([application, isLogsExplorerAccessible]) => { @@ -229,7 +229,7 @@ export class Plugin implements InfraClientPluginClass { }); } - // !! Need to be kept in sync with the routes in x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx + // !! Need to be kept in sync with the routes in x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx const getInfraDeepLinks = ({ metricsExplorerEnabled, }: { diff --git a/x-pack/plugins/observability_solution/infra/public/register_feature.ts b/x-pack/solutions/observability/plugins/infra/public/register_feature.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/register_feature.ts rename to x-pack/solutions/observability/plugins/infra/public/register_feature.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/index.ts rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.mock.ts rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_client.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.mock.ts rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.ts rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/inventory_views_service.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/types.ts b/x-pack/solutions/observability/plugins/infra/public/services/inventory_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/inventory_views/types.ts rename to x-pack/solutions/observability/plugins/infra/public/services/inventory_views/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/index.ts rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/types.ts rename to x-pack/solutions/observability/plugins/infra/public/services/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/index.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/index.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/index.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.mock.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_events.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_events.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.mock.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.mock.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.ts diff --git a/x-pack/plugins/observability_solution/infra/public/services/telemetry/types.ts b/x-pack/solutions/observability/plugins/infra/public/services/telemetry/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/services/telemetry/types.ts rename to x-pack/solutions/observability/plugins/infra/public/services/telemetry/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/test_utils/entries.ts b/x-pack/solutions/observability/plugins/infra/public/test_utils/entries.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/test_utils/entries.ts rename to x-pack/solutions/observability/plugins/infra/public/test_utils/entries.ts diff --git a/x-pack/plugins/observability_solution/infra/public/test_utils/index.ts b/x-pack/solutions/observability/plugins/infra/public/test_utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/test_utils/index.ts rename to x-pack/solutions/observability/plugins/infra/public/test_utils/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/test_utils/use_global_storybook_theme.tsx b/x-pack/solutions/observability/plugins/infra/public/test_utils/use_global_storybook_theme.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/test_utils/use_global_storybook_theme.tsx rename to x-pack/solutions/observability/plugins/infra/public/test_utils/use_global_storybook_theme.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/translations.ts b/x-pack/solutions/observability/plugins/infra/public/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/translations.ts rename to x-pack/solutions/observability/plugins/infra/public/translations.ts diff --git a/x-pack/plugins/observability_solution/infra/public/types.ts b/x-pack/solutions/observability/plugins/infra/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/types.ts rename to x-pack/solutions/observability/plugins/infra/public/types.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/convert_interval_to_string.ts b/x-pack/solutions/observability/plugins/infra/public/utils/convert_interval_to_string.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/convert_interval_to_string.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/convert_interval_to_string.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/data_search.stories.mdx b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/data_search.stories.mdx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/data_search.stories.mdx rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/data_search.stories.mdx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/flatten_data_search_response.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/flatten_data_search_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/flatten_data_search_response.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/flatten_data_search_response.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/index.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/index.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/index.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/normalize_data_search_responses.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/normalize_data_search_responses.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/normalize_data_search_responses.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/normalize_data_search_responses.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/types.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/types.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.test.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_data_search_request.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_request.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_response_state.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_response_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_response_state.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_data_search_response_state.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/utils/data_search/use_latest_partial_data_search_response.test.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/data_view.ts b/x-pack/solutions/observability/plugins/infra/public/utils/data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/data_view.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/data_view.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/datemath.test.ts b/x-pack/solutions/observability/plugins/infra/public/utils/datemath.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/datemath.test.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/datemath.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/datemath.ts b/x-pack/solutions/observability/plugins/infra/public/utils/datemath.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/datemath.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/datemath.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts b/x-pack/solutions/observability/plugins/infra/public/utils/dev_mode.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/dev_mode.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/filters/build.test.ts b/x-pack/solutions/observability/plugins/infra/public/utils/filters/build.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/filters/build.test.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/filters/build.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/filters/build.ts b/x-pack/solutions/observability/plugins/infra/public/utils/filters/build.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/filters/build.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/filters/build.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/filters/create_alerts_es_query.ts b/x-pack/solutions/observability/plugins/infra/public/utils/filters/create_alerts_es_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/filters/create_alerts_es_query.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/filters/create_alerts_es_query.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/fixtures/metrics_explorer.ts b/x-pack/solutions/observability/plugins/infra/public/utils/fixtures/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/fixtures/metrics_explorer.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/fixtures/metrics_explorer.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/kuery.ts b/x-pack/solutions/observability/plugins/infra/public/utils/kuery.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/kuery.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/kuery.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/log_column_render_configuration.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/log_column_render_configuration.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/log_column_render_configuration.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/log_column_render_configuration.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetchers.ts b/x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetchers.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetchers.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetches.test.ts b/x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetches.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetches.test.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/logs_overview_fetches.test.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts b/x-pack/solutions/observability/plugins/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/redirect_with_query_params.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/redirect_with_query_params.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/redirect_with_query_params.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/redirect_with_query_params.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/source_configuration.ts b/x-pack/solutions/observability/plugins/infra/public/utils/source_configuration.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/source_configuration.ts rename to x-pack/solutions/observability/plugins/infra/public/utils/source_configuration.ts diff --git a/x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/theme_utils/with_attrs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/theme_utils/with_attrs.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/typed_react.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/typed_react.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/url_state.tsx b/x-pack/solutions/observability/plugins/infra/public/utils/url_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/url_state.tsx rename to x-pack/solutions/observability/plugins/infra/public/utils/url_state.tsx diff --git a/x-pack/plugins/observability_solution/infra/server/config.ts b/x-pack/solutions/observability/plugins/infra/server/config.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/config.ts rename to x-pack/solutions/observability/plugins/infra/server/config.ts diff --git a/x-pack/plugins/observability_solution/infra/server/features.ts b/x-pack/solutions/observability/plugins/infra/server/features.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/features.ts rename to x-pack/solutions/observability/plugins/infra/server/features.ts diff --git a/x-pack/plugins/observability_solution/infra/server/index.ts b/x-pack/solutions/observability/plugins/infra/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/index.ts rename to x-pack/solutions/observability/plugins/infra/server/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/infra_server.ts b/x-pack/solutions/observability/plugins/infra/server/infra_server.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/infra_server.ts rename to x-pack/solutions/observability/plugins/infra/server/infra_server.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/adapter_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/adapter_types.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/adapter_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/adapter_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/adapter_types.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/adapter_types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/lib/adapters/framework/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/lib/check_valid_node.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/lib/check_valid_node.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/adapters/source_status/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/get_values.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/get_values.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/messages.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/messages.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/messages.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/messages.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/common/utils.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/mocks/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/mocks/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/mocks/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/mocks/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/reason_formatters.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/reason_formatters.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/reason_formatters.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/reason_formatters.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/get_data.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/get_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/get_data.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/get_data.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/test_mocks.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/test_mocks.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/test_mocks.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/metric_threshold/test_mocks.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/register_rule_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/alerting/register_rule_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/alerting/register_rule_types.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/alerting/register_rule_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/cancel_request_on_abort.ts b/x-pack/solutions/observability/plugins/infra/server/lib/cancel_request_on_abort.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/cancel_request_on_abort.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/cancel_request_on_abort.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/constants.ts b/x-pack/solutions/observability/plugins/infra/server/lib/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/constants.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/create_custom_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/create_custom_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/create_custom_metrics_aggregations.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/create_custom_metrics_aggregations.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/create_search_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/create_search_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/create_search_client.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/create_search_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/domains/metrics_domain.ts b/x-pack/solutions/observability/plugins/infra/server/lib/domains/metrics_domain.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/domains/metrics_domain.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/domains/metrics_domain.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_apm_data_access_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_apm_data_access_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_apm_data_access_client.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_apm_data_access_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_alerts_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_alerts_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_alerts_client.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_alerts_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.ts b/x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/helpers/get_infra_metrics_client.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/helpers/get_infra_metrics_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts b/x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts b/x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/host_details/process_list_chart.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/common.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/errors.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/errors.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/common.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/common.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/ml_jobs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/ml_jobs.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/ml_jobs.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_ml/queries/ml_jobs.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/infra_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/infra_types.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/infra_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/common.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/errors.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/errors.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_analysis.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_analysis.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_rate_analysis.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/log_entry_rate_analysis.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/common.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/common.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/common.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_categories.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_categories.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_categories.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_examples.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_rate.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_rate.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/log_entry_rate.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/ml_jobs.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/ml_jobs.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/ml_jobs.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/ml_jobs.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/resolve_id_formats.ts b/x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/resolve_id_formats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/log_analysis/resolve_id_formats.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/log_analysis/resolve_id_formats.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/constants.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/constants.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_interval.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_interval.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_interval.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/calculate_interval.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_aggregations.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/metrics/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/metrics/types.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/metrics/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/source_status.ts b/x-pack/solutions/observability/plugins/infra/server/lib/source_status.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/source_status.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/source_status.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/defaults.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/defaults.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/defaults.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/errors.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/errors.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/errors.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/has_data.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/has_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/has_data.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/has_data.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/index.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/index.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/compose_migrations.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/create_test_source_configuration.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/create_test_source_configuration.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/create_test_source_configuration.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/migrations/create_test_source_configuration.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/mocks.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/mocks.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/mocks.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/mocks.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_references.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/saved_object_type.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/sources.test.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/sources.test.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/sources.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/sources.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/sources.ts diff --git a/x-pack/plugins/observability_solution/infra/server/lib/sources/types.ts b/x-pack/solutions/observability/plugins/infra/server/lib/sources/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/lib/sources/types.ts rename to x-pack/solutions/observability/plugins/infra/server/lib/sources/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/mocks.ts b/x-pack/solutions/observability/plugins/infra/server/mocks.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/mocks.ts rename to x-pack/solutions/observability/plugins/infra/server/mocks.ts diff --git a/x-pack/plugins/observability_solution/infra/server/plugin.ts b/x-pack/solutions/observability/plugins/infra/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/plugin.ts rename to x-pack/solutions/observability/plugins/infra/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/custom_dashboards.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/custom_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/custom_dashboards.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/custom_dashboards.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/delete_custom_dashboard.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/get_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/get_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/get_custom_dashboard.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/get_custom_dashboard.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/delete_custom_dashboard.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/save_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/save_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/save_custom_dashboard.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/save_custom_dashboard.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/update_custom_dashboard.ts b/x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/update_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/update_custom_dashboard.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/custom_dashboards/update_custom_dashboard.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.test.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_data_stream_types.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_data_stream_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_has_metrics_data.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_has_metrics_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_has_metrics_data.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_has_metrics_data.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/get_latest_entity.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/get_latest_entity.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/entities/get_latest_entity.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/get_latest_entity.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/entities/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/entities/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/entities/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/entities/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/README.md b/x-pack/solutions/observability/plugins/infra/server/routes/infra/README.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/README.md rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/README.md diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/constants.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/constants.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/query.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/helpers/query.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/query.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/helpers/query.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_all_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_all_hosts.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_all_hosts.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_all_hosts.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_apm_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_apm_hosts.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_apm_hosts.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_apm_hosts.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_filtered_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_filtered_hosts.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_filtered_hosts.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_filtered_hosts.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_count.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_count.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/host/get_hosts_count.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/types.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/types.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.test.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra/lib/utils.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/README.md b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/README.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/README.md rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/README.md diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/create_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/create_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/delete_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/delete_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/find_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/find_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/get_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/get_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/update_inventory_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/inventory_views/update_inventory_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/ip_to_hostname.ts b/x-pack/solutions/observability/plugins/infra/server/routes/ip_to_hostname.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/ip_to_hostname.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/ip_to_hostname.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/chart_preview_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/chart_preview_data.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_alerts/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_alerts/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/id_formats.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/id_formats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/id_formats.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/id_formats.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_categories.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_categories.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_category_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/results/log_entry_examples.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/datasets.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts b/x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/log_analysis/validation/indices.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_metric_metadata.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_metric_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_metric_metadata.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_metric_metadata.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_node_info.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_node_info.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_node_info.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_node_info.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_pod_node_name.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_pod_node_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_pod_node_name.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/get_pod_node_name.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/pick_feature_name.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/pick_feature_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/pick_feature_name.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metadata/lib/pick_feature_name.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/README.md b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/README.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/README.md rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/README.md diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/metrics_sources/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/metrics_sources/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/node_details/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/node_details/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/create_top_nodes_query.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/create_top_nodes_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/create_top_nodes_query.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/create_top_nodes_query.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_top_nodes.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_top_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_top_nodes.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/get_top_nodes.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/types.ts b/x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/overview/lib/types.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/overview/lib/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/process_list/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/process_list/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_functions.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_functions.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_functions.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_functions.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_status.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_status.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_status.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/fetch_profiling_status.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/get_profiling_data_access.ts b/x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/get_profiling_data_access.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/get_profiling_data_access.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/profiling/lib/get_profiling_data_access.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/services/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/services/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/services/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/services/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/services/lib/utils.ts b/x-pack/solutions/observability/plugins/infra/server/routes/services/lib/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/services/lib/utils.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/services/lib/utils.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/index.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/index.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/constants.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/constants.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/constants.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/copy_missing_metrics.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/copy_missing_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/copy_missing_metrics.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/copy_missing_metrics.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_dataset_for_field.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_dataset_for_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_dataset_for_field.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_dataset_for_field.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_nodes.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_nodes.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/get_nodes.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/query_all_data.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/query_all_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/query_all_data.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/query_all_data.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts b/x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts rename to x-pack/solutions/observability/plugins/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/index.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/index.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/index.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/index.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/types.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/types.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/inventory_view/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/index.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/index.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts diff --git a/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/types.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/types.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/metrics_explorer_view/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.test.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/references.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.test.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/references.test.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.ts b/x-pack/solutions/observability/plugins/infra/server/saved_objects/references.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/saved_objects/references.ts rename to x-pack/solutions/observability/plugins/infra/server/saved_objects/references.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/index.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.mock.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.test.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.test.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.mock.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/inventory_views_service.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/types.ts b/x-pack/solutions/observability/plugins/infra/server/services/inventory_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/inventory_views/types.ts rename to x-pack/solutions/observability/plugins/infra/server/services/inventory_views/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/index.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/index.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/types.ts rename to x-pack/solutions/observability/plugins/infra/server/services/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/index.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/rules/index.ts rename to x-pack/solutions/observability/plugins/infra/server/services/rules/index.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/rule_data_client.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/rule_data_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/rules/rule_data_client.ts rename to x-pack/solutions/observability/plugins/infra/server/services/rules/rule_data_client.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/rules_service.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/rules_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/rules/rules_service.ts rename to x-pack/solutions/observability/plugins/infra/server/services/rules/rules_service.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/rules/types.ts b/x-pack/solutions/observability/plugins/infra/server/services/rules/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/services/rules/types.ts rename to x-pack/solutions/observability/plugins/infra/server/services/rules/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/types.ts b/x-pack/solutions/observability/plugins/infra/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/types.ts rename to x-pack/solutions/observability/plugins/infra/server/types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/usage/usage_collector.ts b/x-pack/solutions/observability/plugins/infra/server/usage/usage_collector.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/usage/usage_collector.ts rename to x-pack/solutions/observability/plugins/infra/server/usage/usage_collector.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/README.md b/x-pack/solutions/observability/plugins/infra/server/utils/README.md similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/README.md rename to x-pack/solutions/observability/plugins/infra/server/utils/README.md diff --git a/x-pack/plugins/observability_solution/infra/server/utils/calculate_metric_interval.ts b/x-pack/solutions/observability/plugins/infra/server/utils/calculate_metric_interval.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/calculate_metric_interval.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/calculate_metric_interval.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/elasticsearch_runtime_types.ts b/x-pack/solutions/observability/plugins/infra/server/utils/elasticsearch_runtime_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/elasticsearch_runtime_types.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/elasticsearch_runtime_types.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/get_original_action_group.ts b/x-pack/solutions/observability/plugins/infra/server/utils/get_original_action_group.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/get_original_action_group.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/get_original_action_group.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/handle_route_errors.ts b/x-pack/solutions/observability/plugins/infra/server/utils/handle_route_errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/handle_route_errors.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/handle_route_errors.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.test.ts b/x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.test.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.ts b/x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/map_source_to_log_view.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/request_context.ts b/x-pack/solutions/observability/plugins/infra/server/utils/request_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/request_context.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/request_context.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/route_validation.test.ts b/x-pack/solutions/observability/plugins/infra/server/utils/route_validation.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/route_validation.test.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/route_validation.test.ts diff --git a/x-pack/plugins/observability_solution/infra/server/utils/route_validation.ts b/x-pack/solutions/observability/plugins/infra/server/utils/route_validation.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/utils/route_validation.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/route_validation.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/server/utils/serialized_query.ts b/x-pack/solutions/observability/plugins/infra/server/utils/serialized_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/server/utils/serialized_query.ts rename to x-pack/solutions/observability/plugins/infra/server/utils/serialized_query.ts diff --git a/x-pack/plugins/observability_solution/infra/tsconfig.json b/x-pack/solutions/observability/plugins/infra/tsconfig.json similarity index 95% rename from x-pack/plugins/observability_solution/infra/tsconfig.json rename to x-pack/solutions/observability/plugins/infra/tsconfig.json index 6ec9100ce7661..3a8b68772fed1 100644 --- a/x-pack/plugins/observability_solution/infra/tsconfig.json +++ b/x-pack/solutions/observability/plugins/infra/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", @@ -115,7 +115,8 @@ "@kbn/observability-utils-server", "@kbn/core-plugins-server", "@kbn/config", - "@kbn/observability-utils-common" + "@kbn/observability-utils-common", + "@kbn/charts-theme" ], "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/observability_solution/logs_explorer/.storybook/__mocks__/package_icon.tsx b/x-pack/solutions/observability/plugins/logs_explorer/.storybook/__mocks__/package_icon.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/.storybook/__mocks__/package_icon.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/.storybook/__mocks__/package_icon.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/.storybook/main.js b/x-pack/solutions/observability/plugins/logs_explorer/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/.storybook/main.js rename to x-pack/solutions/observability/plugins/logs_explorer/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/logs_explorer/.storybook/preview.js b/x-pack/solutions/observability/plugins/logs_explorer/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/.storybook/preview.js rename to x-pack/solutions/observability/plugins/logs_explorer/.storybook/preview.js diff --git a/x-pack/plugins/observability_solution/logs_explorer/README.md b/x-pack/solutions/observability/plugins/logs_explorer/README.md similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/README.md rename to x-pack/solutions/observability/plugins/logs_explorer/README.md diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/constants.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/constants.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/constants.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/control_panels/available_control_panels.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/available_control_panels.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/control_panels/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/control_panels/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/control_panels/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/all_dataset_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/data_view_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/single_dataset_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/single_dataset_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.test.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.test.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.test.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_views/models/data_view_descriptor.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/data_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/data_views/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/data_views/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/errors.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/errors.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/errors.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/dataset.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/dataset.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/integration.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/models/integration.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/common.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/common.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/common.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_datasets.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_datasets.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_datasets.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_integrations.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_integrations.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/find_integrations.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/find_integrations.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/datasets/v1/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/datasets/v1/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/display_options/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/display_options/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/display_options/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/display_options/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/display_options/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/display_options/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/hashed_cache.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/hashed_cache.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/latest.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/latest.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/latest.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/latest.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.test.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/logs_explorer_locator.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/locators/logs_explorer/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/locators/logs_explorer/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/plugin_config.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/plugin_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/plugin_config.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/plugin_config.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/ui_settings.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/ui_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/common/ui_settings.ts rename to x-pack/solutions/observability/plugins/logs_explorer/common/ui_settings.ts diff --git a/x-pack/solutions/observability/plugins/logs_explorer/jest.config.js b/x-pack/solutions/observability/plugins/logs_explorer/jest.config.js new file mode 100644 index 0000000000000..4309e5ecd3d90 --- /dev/null +++ b/x-pack/solutions/observability/plugins/logs_explorer/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/plugins/logs_explorer'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/logs_explorer', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/logs_explorer/{common,public}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc b/x-pack/solutions/observability/plugins/logs_explorer/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc rename to x-pack/solutions/observability/plugins/logs_explorer/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx similarity index 94% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx index 2ba31b3e94d86..471cad98fb132 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/common/translations.tsx +++ b/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx @@ -75,9 +75,8 @@ export const contentHeaderTooltipParagraph1 = ( id="xpack.logsExplorer.dataTable.header.content.tooltip.paragraph1" defaultMessage="Displays the document's {logLevel} and {message} fields." values={{ - // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n logLevel: log.level, - // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n + message: message, }} /> diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/constants.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/constants.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/data_source_selector.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/add_data_button.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_filter.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/utils.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/data_source_selector/utils.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/logs_explorer.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/logs_explorer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/logs_explorer/logs_explorer.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/logs_explorer/logs_explorer.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/field_with_token.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/components/virtual_columns/column_tooltips/tooltip_button.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/create_controller.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/create_controller.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_data_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_data_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_data_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_data_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_ui_settings_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_ui_settings_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_ui_settings_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_ui_settings_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_url_state_storage.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_url_state_storage.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/custom_url_state_storage.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/custom_url_state_storage.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/lazy_create_controller.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/lazy_create_controller.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/lazy_create_controller.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/lazy_create_controller.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/provider.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/provider.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/provider.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/provider.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/public_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/public_state.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/controller/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_control_column.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_control_column.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_control_column.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_control_column.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_filters.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_filters.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_selector.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_selector.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_data_source_selector.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_search_bar.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_search_bar.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_unified_histogram.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_unified_histogram.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_unified_histogram.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/custom_unified_histogram.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/logs_explorer_profile.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/logs_explorer_profile.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/customizations/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_control_panels.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_control_panels.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_control_panels.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_control_panels.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_source_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_source_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_views.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_views.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_views.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_data_views.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_datasets.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_datasets.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_datasets.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_datasets.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_esql.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_esql.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_integrations.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_integrations.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_integrations.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_integrations.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_intersection_ref.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_intersection_ref.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_intersection_ref.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/hooks/use_intersection_ref.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/plugin.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/plugin.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.mock.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.mock.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_client.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_client.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.mock.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.mock.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.mock.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/datasets_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/datasets_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/services/datasets/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/services/datasets/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/defaults.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/services/data_views_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/state_machine.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/data_views/src/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/data_views/src/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/defaults.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/state_machine.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/datasets/src/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/datasets/src/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/log_view_state/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/defaults.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/state_machine.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/integrations/src/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/integrations/src/types.ts diff --git a/x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_shared/public/observability_logs/xstate_helpers/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/default_all_selection.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/public_events.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/control_panels.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/services/timefilter_service.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/comparator_by_field.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/comparator_by_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/comparator_by_field.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/comparator_by_field.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/convert_discover_app_state.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/convert_discover_app_state.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/get_data_view_test_subj.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/get_data_view_test_subj.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/get_data_view_test_subj.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/get_data_view_test_subj.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/proxies.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/proxies.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/use_kibana.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/utils/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/utils/use_kibana.tsx rename to x-pack/solutions/observability/plugins/logs_explorer/public/utils/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/server/index.ts b/x-pack/solutions/observability/plugins/logs_explorer/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/server/index.ts rename to x-pack/solutions/observability/plugins/logs_explorer/server/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/server/plugin.ts b/x-pack/solutions/observability/plugins/logs_explorer/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/server/plugin.ts rename to x-pack/solutions/observability/plugins/logs_explorer/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/server/types.ts b/x-pack/solutions/observability/plugins/logs_explorer/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/server/types.ts rename to x-pack/solutions/observability/plugins/logs_explorer/server/types.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json b/x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json similarity index 93% rename from x-pack/plugins/observability_solution/logs_explorer/tsconfig.json rename to x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json index b4376d2463c5c..a4ddeaf6e4b91 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json +++ b/x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts b/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts index 2df754edbe7cb..81677c70e0a18 100644 --- a/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts +++ b/x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts @@ -10,7 +10,7 @@ import { chain } from 'fp-ts/Either'; import { pipe } from 'fp-ts/pipeable'; import * as r from 'io-ts'; -// Copied from x-pack/plugins/observability_solution/infra/public/utils/datemath.ts +// Copied from x-pack/solutions/observability/plugins/infra/public/utils/datemath.ts export function isValidDatemath(value: string): boolean { const parsedValue = dateMath.parse(value); return !!(parsedValue && parsedValue.isValid()); diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx index 2ad1225a10f71..173bf8a2c96a0 100644 --- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx +++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/components/rca/rca_panel/index.tsx @@ -21,7 +21,11 @@ export function RootCauseAnalysisPanel({ const theme = useTheme(); const panelClassName = - color && color !== 'transparent' && color !== 'plain' && color !== 'subdued' + color && + color !== 'transparent' && + color !== 'plain' && + color !== 'subdued' && + color !== 'highlighted' ? css` border: 1px solid; border-color: ${rgba(theme.colors[color], 0.25)}; diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts index 65873a13de506..063d4c4eef5f4 100644 --- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts +++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/hooks/use_chart_theme.ts @@ -5,14 +5,12 @@ * 2.0. */ -import { DARK_THEME, LIGHT_THEME, PartialTheme } from '@elastic/charts'; -import { useEuiTheme } from '@elastic/eui'; +import { PartialTheme } from '@elastic/charts'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { useMemo } from 'react'; export function useChartTheme() { - const theme = useEuiTheme(); - - const baseTheme = theme.colorMode === 'DARK' ? DARK_THEME : LIGHT_THEME; + const baseTheme = useElasticChartsTheme(); return useMemo(() => { const themeOverrides: PartialTheme = { diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/kibana_client.ts b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/kibana_client.ts index f3b5ca357231b..69f6715da2dbe 100644 --- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/kibana_client.ts +++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/kibana_client.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { isSupportedConnectorType } from '@kbn/inference-common'; import { BufferFlushEvent, ChatCompletionChunkEvent, @@ -21,11 +22,7 @@ import { import type { ObservabilityAIAssistantScreenContext } from '@kbn/observability-ai-assistant-plugin/common/types'; import type { AssistantScope } from '@kbn/ai-assistant-common'; import { throwSerializedChatCompletionErrors } from '@kbn/observability-ai-assistant-plugin/common/utils/throw_serialized_chat_completion_errors'; -import { - isSupportedConnectorType, - Message, - MessageRole, -} from '@kbn/observability-ai-assistant-plugin/common'; +import { Message, MessageRole } from '@kbn/observability-ai-assistant-plugin/common'; import { streamIntoObservable } from '@kbn/observability-ai-assistant-plugin/server'; import { ToolingLog } from '@kbn/tooling-log'; import axios, { AxiosInstance, AxiosResponse, isAxiosError } from 'axios'; diff --git a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json index af075027d9cd4..212a36a502441 100644 --- a/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json +++ b/x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json @@ -80,6 +80,7 @@ "@kbn/observability-ai-common", "@kbn/llm-tasks-plugin", "@kbn/product-doc-common", + "@kbn/charts-theme", "@kbn/ai-assistant-icon", ], "exclude": [ diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/__mocks__/package_icon.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/main.js b/x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/main.js rename to x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/preview.js b/x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/.storybook/preview.js rename to x-pack/solutions/observability/plugins/observability_logs_explorer/.storybook/preview.js diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/README.md b/x-pack/solutions/observability/plugins/observability_logs_explorer/README.md similarity index 92% rename from x-pack/plugins/observability_solution/observability_logs_explorer/README.md rename to x-pack/solutions/observability/plugins/observability_logs_explorer/README.md index 8f060d48b04f5..ea66ef1f9a100 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/README.md +++ b/x-pack/solutions/observability/plugins/observability_logs_explorer/README.md @@ -57,11 +57,11 @@ unset FLEET_PACKAGE_REGISTRY_PORT #### Logs Explorer ``` -node scripts/type_check.js --project x-pack/plugins/observability_solution/logs_explorer/tsconfig.json +node scripts/type_check.js --project x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json ``` #### Observability Logs Explorer ``` -node scripts/type_check.js --project x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json +node scripts/type_check.js --project x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json ``` ### Generating Data using Synthtrace diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/all_datasets_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/data_view_locator.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/data_view_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/data_view_locator.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/data_view_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/locators.test.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/locators.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/locators.test.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/locators.test.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/single_dataset_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/types.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/types.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/construct_locator_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/construct_locator_path.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/locators/utils/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/plugin_config.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/plugin_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/plugin_config.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/plugin_config.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/telemetry_events.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/telemetry_events.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/translations.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/translations.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/common.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/common.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/common.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/common/utils/deep_compact_object.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/utils/deep_compact_object.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/common/utils/deep_compact_object.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/emotion.d.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/emotion.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/emotion.d.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/emotion.d.ts diff --git a/x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js b/x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js new file mode 100644 index 0000000000000..0477c875d19d4 --- /dev/null +++ b/x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/plugins/observability_logs_explorer'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_logs_explorer', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/observability_logs_explorer/{common,public}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_logs_explorer/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_logs_explorer/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/last_used_logs_viewer.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/observability_logs_explorer.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/observability_logs_explorer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/observability_logs_explorer.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/observability_logs_explorer.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/applications/redirect_to_observability_logs_explorer.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/alerts_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/alerts_popover.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/dataset_quality_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/dataset_quality_link.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/discover_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/discover_link.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/feedback_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/feedback_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/feedback_link.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/feedback_link.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/logs_explorer_top_nav_menu.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/onboarding_link.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/onboarding_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/onboarding_link.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/onboarding_link.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/page_template.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/components/page_template.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/components/page_template.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/logs_explorer_customizations/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/plugin.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/plugin.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/index.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/index.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/main_route.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/main/main_route.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/main/main_route.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/not_found.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/not_found.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/routes/not_found.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/routes/not_found.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/all_selection_service.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/controller_service.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/provider.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/time_filter_service.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/types.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/component.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/constants.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/defaults.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/lazy_component.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/location_state_service.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/notifications.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/state_machine.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/state_machines/origin_interpreter/src/types.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/types.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/types.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/breadcrumbs.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/breadcrumbs.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/breadcrumbs.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/kbn_url_state_context.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/kbn_url_state_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/kbn_url_state_context.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/kbn_url_state_context.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/use_kibana.tsx b/x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/public/utils/use_kibana.tsx rename to x-pack/solutions/observability/plugins/observability_logs_explorer/public/utils/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/server/config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/server/config.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/server/config.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/server/index.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/server/index.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/server/index.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/server/plugin.ts b/x-pack/solutions/observability/plugins/observability_logs_explorer/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_logs_explorer/server/plugin.ts rename to x-pack/solutions/observability/plugins/observability_logs_explorer/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json b/x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json similarity index 94% rename from x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json rename to x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json index 7b786ae5bc7ed..39db8187cfb28 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.json +++ b/x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/x-pack/plugins/observability_solution/observability_onboarding/README.md b/x-pack/solutions/observability/plugins/observability_onboarding/README.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/README.md rename to x-pack/solutions/observability/plugins/observability_onboarding/README.md diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/aws_firehose.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/aws_firehose.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/aws_firehose.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/aws_firehose.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/__snapshots__/generate_custom_logs_yml.test.ts.snap diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/custom_logs/generate_custom_logs_yml.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/elastic_agent_logs/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/elastic_agent_logs/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/es_fields.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/es_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/es_fields.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/es_fields.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/fetch_options.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/fetch_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/fetch_options.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/fetch_options.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/logs_flow_progress_step_id.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/logs_flow_progress_step_id.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/logs_flow_progress_step_id.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/logs_flow_progress_step_id.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/telemetry_events.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/telemetry_events.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/common/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/common/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/common/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/common/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/README.md b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md similarity index 59% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/README.md rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md index 5270b499d2db1..2c35d48fb5207 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/README.md +++ b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md @@ -1,10 +1,10 @@ # Observability onboarding E2E tests -Observability onboarding uses [FTR](../../../../packages/kbn-test/README.mdx) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e`. +Observability onboarding uses [FTR](../../../../../packages/kbn-test/README.mdx) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e`. ## E2E Tests (Cypress) -The E2E tests are located in [`x-pack/plugins/observability_solution/observability_onboarding/e2e`](./cypress/e2e). +The E2E tests are located in [`x-pack/solutions/observability/plugins/observability_onboarding/e2e`](./cypress/e2e). Tests run on buildkite PR pipeline are parallelized (2 parallel jobs) and are orchestrated by the Cypress dashboard service. It can be configured in [.buildkite/pipelines/pull_request/observability_onboarding_cypress.yml](https://github.com/elastic/kibana/blob/main/.buildkite/pipelines/pull_request/observability_onboarding_cypress.yml) with the property `parallelism`. @@ -20,21 +20,21 @@ Tests run on buildkite PR pipeline are parallelized (2 parallel jobs) and are or ### Start test server ``` -node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e --server +node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e --server ``` ### Run tests Runs all tests in the terminal ``` -node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e --runner +node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e --runner ``` ### Open cypress dashboard Opens cypress dashboard, there it's possible to select what test you want to run. ``` -node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e --open +node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e --open ``` ### Arguments @@ -47,5 +47,5 @@ node x-pack/plugins/observability_solution/observability_onboarding/scripts/test | --bail | stop tests after the first failure | ``` -node x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e.js --runner --spec cypress/e2e/home.cy.ts --times 2 +node x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js --runner --spec cypress/e2e/home.cy.ts --times 2 ``` diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress.config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress.config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress.config.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress.config.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/home.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/home.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/home.cy.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/home.cy.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/configure.cy.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/logs/feedback.cy.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/e2e/navigation.cy.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/commands.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/commands.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/commands.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/e2e.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/e2e.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/e2e.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/types.d.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/types.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/support/types.d.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress/support/types.d.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress_test_runner.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress_test_runner.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress_test_runner.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/cypress_test_runner.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_kibana.yml b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_kibana.yml similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_kibana.yml rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_kibana.yml diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_provider_context.d.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_provider_context.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_provider_context.d.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_provider_context.d.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/.gitignore b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/.gitignore similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/.gitignore rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/.gitignore diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/README.md b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/README.md similarity index 72% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/README.md rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/README.md index f2952214127f4..bd5bee5fc2f72 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/README.md +++ b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/README.md @@ -7,7 +7,7 @@ Playwright tests are only responsible for UI checks and do not automate onboardi ## Running The Tests Locally 1. Run ES and Kibana -2. Create a `.env` file in the `./x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/` directory with the following content (adjust the values like Kibana URL according yo your local setup): +2. Create a `.env` file in the `./x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/` directory with the following content (adjust the values like Kibana URL according yo your local setup): ```bash KIBANA_BASE_URL = "http://localhost:5601/ftw" ELASTICSEARCH_HOST = "http://localhost:9200" @@ -19,7 +19,7 @@ ARTIFACTS_FOLDER = ./.playwright 3. Run the `playwright test` ```bash # Assuming the working directory is the root of the Kibana repo -npx playwright test -c ./x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts --project stateful --reporter list --headed +npx playwright test -c ./x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts --project stateful --reporter list --headed ``` 4. Once the test reaches one of the required manual steps, like executing auto-detect command snippet, do the step manually. 5. The test will proceed once the manual step is done. diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/assert_env.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/assert_env.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/assert_env.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/assert_env.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/helpers.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/helpers.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/helpers.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/logger.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/logger.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/lib/logger.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/lib/logger.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/playwright.config.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/playwright.config.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auth.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auth.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auth.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auth.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/auto_detect.spec.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/fixtures/base_page.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/kubernetes_ea.spec.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/header_bar.component.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/components/space_selector.component.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/auto_detect_flow.page.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/host_details.page.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_ea_flow.page.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/kubernetes_overview_dashboard.page.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/playwright/stateful/pom/pages/onboarding_home.page.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/tsconfig.json b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json similarity index 81% rename from x-pack/plugins/observability_solution/observability_onboarding/e2e/tsconfig.json rename to x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json index a18951aeb8cf7..33051d690a6f7 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/tsconfig.json +++ b/x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "include": ["**/*"], "exclude": ["tmp", "target/**/*"], "compilerOptions": { @@ -8,7 +8,7 @@ "isolatedModules": false }, "kbn_references": [ - { "path": "../../../test/tsconfig.json" }, + { "path": "../../../../test/tsconfig.json" }, "@kbn/test", "@kbn/dev-utils", "@kbn/cypress-config", diff --git a/x-pack/plugins/observability_solution/observability_onboarding/jest.config.js b/x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js similarity index 69% rename from x-pack/plugins/observability_solution/observability_onboarding/jest.config.js rename to x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js index a559c70e939bb..f8fa5a37286a8 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/jest.config.js +++ b/x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js @@ -9,6 +9,6 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/observability_onboarding'], + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/observability_onboarding'], }; diff --git a/x-pack/plugins/observability_solution/observability_onboarding/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_onboarding/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_onboarding/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/demo_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/demo_icon.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/demo_icon.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/demo_icon.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/docs_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/docs_icon.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/docs_icon.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/docs_icon.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/footer.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/footer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/footer.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/footer.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/forum_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/forum_icon.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/forum_icon.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/forum_icon.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/support_icon.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/support_icon.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/footer/support_icon.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/footer/support_icon.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/background.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/background.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/background.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/background.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.test.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.test.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/custom_header.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/custom_header.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/header.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/header.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/header.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/header/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/header/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/header/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/observability_onboarding_flow.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/observability_onboarding_flow.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/observability_onboarding_flow.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/observability_onboarding_flow.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/onboarding_flow_form.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_custom_cards_for_category.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/onboarding_flow_form/use_virtual_search_results.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/lazy.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/lazy.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/lazy.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/lazy.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/packages_list/use_integration_card_list.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/packages_list/use_integration_card_list.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/auto_detect.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/auto_detect.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/auto_detect.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/auto_detect.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/custom_logs.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/custom_logs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/custom_logs.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/custom_logs.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/firehose.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/firehose.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/firehose.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/firehose.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/kubernetes.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/kubernetes.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/kubernetes.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/kubernetes.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/landing.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/landing.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/landing.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/landing.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_kubernetes.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_kubernetes.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_kubernetes.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_kubernetes.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_logs.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_logs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/otel_logs.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/otel_logs.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/template.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/pages/template.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/pages/template.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/auto_detect_panel.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_auto_detect_command.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_installed_integrations.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/get_onboarding_status.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/supported_integrations_list.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_auto_detect_telemetry.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx similarity index 97% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx index 7824e8ddd59a2..7434141a76d35 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx +++ b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx @@ -98,7 +98,7 @@ export function useOnboardingFlow() { ), }; }); - }, [installedIntegrations.length]); // eslint-disable-line react-hooks/exhaustive-deps + }, [installedIntegrations.length]); useInterval( refetchProgress, diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/api_key_banner.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/configure_logs.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/get_filename.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/inspect.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx similarity index 98% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx index 51101ead8c339..004fe70efb02c 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx +++ b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx @@ -71,7 +71,6 @@ export function InstallElasticAgent() { return callApi('GET /internal/observability_onboarding/logs/setup/privileges'); } // FIXME: Dario could not find a reasonable fix for getState() - // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const { data: setup } = useFetcher((callApi) => { @@ -105,7 +104,7 @@ export function InstallElasticAgent() { } }, // FIXME: Dario could not find a reasonable fix for getState() - // eslint-disable-next-line react-hooks/exhaustive-deps + [monitoringRole?.hasPrivileges] ); @@ -135,7 +134,6 @@ export function InstallElasticAgent() { }); } // FIXME: Dario could not find a reasonable fix for getState() - // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const { apiKeyEncoded, onboardingId } = installShipperSetup ?? getState(); @@ -152,7 +150,7 @@ export function InstallElasticAgent() { } }, // FIXME: Dario could not find a reasonable fix for succesfullySavedOnboardingState - // eslint-disable-next-line react-hooks/exhaustive-deps + [apiKeyEncoded, onboardingId, succesfullySavedOnboardingState] ); diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/auto_refresh_callout.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_command_snippet.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/create_stack_in_aws_console.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/download_template_callout.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/progress_callout.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_aws_service_get_started_list.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_firehose_flow.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/utils.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/build_kubectl_command.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/command_snippet.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/data_ingest_status.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/kubernetes/use_kubernetes_flow.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_logs/multi_integration_install_banner.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/accordion_with_icon.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/copy_to_clipboard_button.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/empty_prompt.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/feedback_buttons.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_elastic_agent_setup_command.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/get_started_panel.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/install_elastic_agent_steps.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/locator_button_empty.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/optional_form_row.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/popover_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/progress_indicator.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_panel.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/step_status.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/troubleshooting_link.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/use_window_blur_data_monitoring_trigger.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/shared/windows_install_step.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/back_button.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/back_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/back_button.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/back_button.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/header_action_menu.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/header_action_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/header_action_menu.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/header_action_menu.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/logo_icon.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/logo_icon.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/logo_icon.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/logo_icon.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/test_wrapper.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/test_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/test_wrapper.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/test_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/use_custom_margin.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/use_custom_margin.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/application/shared/use_custom_margin.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/application/shared/use_custom_margin.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache_tomcat.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache_tomcat.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/apache_tomcat.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apache_tomcat.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/apple.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apple.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/apple.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/apple.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/auto_detect.sh b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/auto_detect.sh similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/auto_detect.sh rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/auto_detect.sh diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/charts_screen.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/charts_screen.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/charts_screen.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/charts_screen.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/docker.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/docker.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/docker.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/docker.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/dotnet.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/dotnet.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/dotnet.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/dotnet.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/firehose.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/firehose.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/firehose.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/firehose.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/haproxy.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/haproxy.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/haproxy.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/haproxy.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/integrations.conf b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/integrations.conf similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/integrations.conf rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/integrations.conf diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/java.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/java.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/java.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/java.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/javascript.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/javascript.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/javascript.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/javascript.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/kafka.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kafka.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/kafka.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kafka.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/kubernetes.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kubernetes.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/kubernetes.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/kubernetes.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/linux.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/linux.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/linux.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/linux.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/mongodb.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mongodb.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/mongodb.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mongodb.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/mysql.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mysql.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/mysql.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/mysql.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/nginx.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/nginx.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/nginx.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/nginx.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/opentelemetry.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/opentelemetry.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/opentelemetry.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/opentelemetry.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/postgresql.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/postgresql.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/postgresql.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/postgresql.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/rabbitmq.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/rabbitmq.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/rabbitmq.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/rabbitmq.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/redis.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/redis.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/redis.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/redis.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/ruby.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/ruby.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/ruby.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/ruby.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/standalone_agent_setup.sh b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/standalone_agent_setup.sh rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/system.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/system.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/system.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/system.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/assets/waterfall_screen.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/assets/waterfall_screen.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/assets/waterfall_screen.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/assets/waterfall_screen.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/context/create_wizard_context.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/context/create_wizard_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/context/create_wizard_context.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/context/create_wizard_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/context/nav_events.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/context/nav_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/context/nav_events.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/context/nav_events.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/context/path.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/context/path.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/context/path.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/context/path.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_fetcher.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_fetcher.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_flow_progress_telemetry.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_install_integrations.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_install_integrations.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_install_integrations.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_install_integrations.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana_navigation.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana_navigation.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/hooks/use_kibana_navigation.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/hooks/use_kibana_navigation.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/apache.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apache.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/apache.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apache.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/apm.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apm.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/apm.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/apm.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/aws.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/aws.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/aws.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/aws.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/azure.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/azure.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/azure.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/azure.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/gcp.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/gcp.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/gcp.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/gcp.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/kinesis.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kinesis.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/kinesis.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kinesis.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/kubernetes.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kubernetes.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/kubernetes.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/kubernetes.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/logging.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/logging.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/logging.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/logging.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/nginx.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/nginx.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/nginx.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/nginx.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/opentelemetry.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/opentelemetry.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/opentelemetry.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/opentelemetry.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/system.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/system.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/system.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/system.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/icons/universal_profiling.svg b/x-pack/solutions/observability/plugins/observability_onboarding/public/icons/universal_profiling.svg similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/icons/universal_profiling.svg rename to x-pack/solutions/observability/plugins/observability_onboarding/public/icons/universal_profiling.svg diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/get_location.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/get_location.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/locator_definition.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/locators/onboarding_locator/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/locators/onboarding_locator/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/call_api.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/call_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/call_api.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/call_api.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/create_call_api.ts b/x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/create_call_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/public/services/rest/create_call_api.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/public/services/rest/create_call_api.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/scripts/test/api.js b/x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/api.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/scripts/test/api.js rename to x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/api.js diff --git a/x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e.js b/x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/scripts/test/e2e.js rename to x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js diff --git a/x-pack/plugins/observability_solution/observability_onboarding/scripts/test/jest.js b/x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/jest.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/scripts/test/jest.js rename to x-pack/solutions/observability/plugins/observability_onboarding/scripts/test/jest.js diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/config.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/config.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/config.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_install_api_key.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_install_api_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_install_api_key.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_install_api_key.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/create_shipper_api_key.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/has_log_monitoring_privileges.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/privileges.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/api_key/privileges.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/api_key/privileges.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_agent_version.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_agent_version.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_agent_version.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_agent_version.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_authentication_api_key.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_authentication_api_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_authentication_api_key.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_authentication_api_key.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_fallback_urls.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_fallback_urls.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/get_fallback_urls.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/get_fallback_urls.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/create_observability_onboarding_server_route.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/elastic_agent/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/elastic_agent/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/elastic_agent/route.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/elastic_agent/route.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/firehose/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/firehose/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/firehose/route.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/firehose/route.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/get_has_logs.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/get_has_logs.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/get_has_logs.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/get_has_logs.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.test.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.test.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.test.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/make_tar.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/make_tar.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/route.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/flow/route.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/kubernetes/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/kubernetes/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/kubernetes/route.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/kubernetes/route.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/logs/route.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/logs/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/logs/route.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/logs/route.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/routes/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/routes/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/routes/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/routes/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/saved_objects/observability_onboarding_status.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/saved_objects/observability_onboarding_status.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/services/es_legacy_config_service.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/services/es_legacy_config_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/services/es_legacy_config_service.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/services/es_legacy_config_service.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/call_kibana.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_custom_role.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/helpers/create_or_update_user.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/index.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/server/types.ts b/x-pack/solutions/observability/plugins/observability_onboarding/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_onboarding/server/types.ts rename to x-pack/solutions/observability/plugins/observability_onboarding/server/types.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/tsconfig.json b/x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json similarity index 93% rename from x-pack/plugins/observability_solution/observability_onboarding/tsconfig.json rename to x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json index 3893e1d5c6b57..23526b5fdcb56 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/tsconfig.json +++ b/x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ "common/**/*", "public/**/*", - "../../../../typings/**/*", + "../../../../../typings/**/*", "public/**/*.json", "server/**/*" ], diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx index 8f2e9e2213ba0..b4dd3349ef6be 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx +++ b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx @@ -6,7 +6,7 @@ */ import { AppMountParameters, APP_WRAPPER_CLASS, CoreStart } from '@kbn/core/public'; import { PerformanceContextProvider } from '@kbn/ebt-tools'; -import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; +import { EuiThemeProvider } from '@elastic/eui'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import { Storage } from '@kbn/kibana-utils-plugin/public'; import type { LazyObservabilityPageTemplateProps } from '@kbn/observability-shared-plugin/public'; @@ -44,7 +44,6 @@ export function renderApp({ entityClient: EntityClient; }) { const { element, history, theme$ } = appMountParameters; - const isDarkMode = core.theme.getTheme().darkMode; // ensure all divs are .kbnAppWrappers element.classList.add(APP_WRAPPER_CLASS); @@ -80,7 +79,7 @@ export function renderApp({ }} > - + diff --git a/x-pack/solutions/observability/plugins/streams/server/index.ts b/x-pack/solutions/observability/plugins/streams/server/index.ts index 9ef13c62d6b7b..bd8aee304ad15 100644 --- a/x-pack/solutions/observability/plugins/streams/server/index.ts +++ b/x-pack/solutions/observability/plugins/streams/server/index.ts @@ -17,5 +17,3 @@ export const plugin = async (context: PluginInitializerContext) = const { StreamsPlugin } = await import('./plugin'); return new StreamsPlugin(context); }; - -export type { ListStreamResponse } from './lib/streams/stream_crud'; diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/component_templates/generate_layer.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/component_templates/generate_layer.ts index 04dcc8c5dafcb..2035ba1b3ae0e 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/component_templates/generate_layer.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/component_templates/generate_layer.ts @@ -10,7 +10,7 @@ import { MappingDateProperty, MappingProperty, } from '@elastic/elasticsearch/lib/api/types'; -import { StreamDefinition } from '../../../../common/types'; +import { WiredStreamDefinition } from '@kbn/streams-schema'; import { ASSET_VERSION } from '../../../../common/constants'; import { logsSettings } from './logs_layer'; import { isRoot } from '../helpers/hierarchy'; @@ -18,26 +18,26 @@ import { getComponentTemplateName } from './name'; export function generateLayer( id: string, - definition: StreamDefinition + definition: WiredStreamDefinition ): ClusterPutComponentTemplateRequest { const properties: Record = {}; - definition.fields.forEach((field) => { + Object.entries(definition.stream.ingest.wired.fields).forEach(([field, props]) => { const property: MappingProperty = { - type: field.type, + type: props.type, }; - if (field.name === '@timestamp') { + if (field === '@timestamp') { // @timestamp can't ignore malformed dates as it's used for sorting in logsdb (property as MappingDateProperty).ignore_malformed = false; } - if (field.type === 'date' && field.format) { - (property as MappingDateProperty).format = field.format; + if (props.type === 'date' && props.format) { + (property as MappingDateProperty).format = props.format; } - properties[field.name] = property; + properties[field] = property; }); return { name: getComponentTemplateName(id), template: { - settings: isRoot(definition.id) ? logsSettings : {}, + settings: isRoot(definition.name) ? logsSettings : {}, mappings: { subobjects: false, dynamic: false, diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_fields.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_fields.ts index 48b06b8ea0701..b9b1bbfd1948b 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_fields.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_fields.ts @@ -5,8 +5,13 @@ * 2.0. */ -import { Condition, FilterCondition } from '../../../../common/types'; -import { isAndCondition, isFilterCondition, isOrCondition } from './condition_guards'; +import { + Condition, + FilterCondition, + isAndCondition, + isFilterCondition, + isOrCondition, +} from '@kbn/streams-schema'; export function isComplete(condition: Condition): boolean { if (isFilterCondition(condition)) { diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_guards.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_guards.ts deleted file mode 100644 index 1469471bd8943..0000000000000 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_guards.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - AndCondition, - conditionSchema, - FilterCondition, - filterConditionSchema, - OrCondition, -} from '../../../../common/types'; - -export function isFilterCondition(subject: any): subject is FilterCondition { - const result = filterConditionSchema.safeParse(subject); - return result.success; -} - -export function isAndCondition(subject: any): subject is AndCondition { - const result = conditionSchema.safeParse(subject); - return result.success && subject.and != null; -} - -export function isOrCondition(subject: any): subject is OrCondition { - const result = conditionSchema.safeParse(subject); - return result.success && subject.or != null; -} diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_painless.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_painless.ts index 4da9b3beffae5..db951f1f3aa8a 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_painless.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_painless.ts @@ -11,8 +11,10 @@ import { Condition, FilterCondition, UnaryFilterCondition, -} from '../../../../common/types'; -import { isAndCondition, isFilterCondition, isOrCondition } from './condition_guards'; + isAndCondition, + isFilterCondition, + isOrCondition, +} from '@kbn/streams-schema'; function safePainlessField(conditionOrField: FilterCondition | string) { if (isFilterCondition(conditionOrField)) { diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_query_dsl.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_query_dsl.ts index 3864639175008..f3364dbfa8405 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_query_dsl.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/condition_to_query_dsl.ts @@ -5,8 +5,13 @@ * 2.0. */ -import { Condition, FilterCondition } from '../../../../common/types'; -import { isAndCondition, isFilterCondition, isOrCondition } from './condition_guards'; +import { + Condition, + FilterCondition, + isAndCondition, + isFilterCondition, + isOrCondition, +} from '@kbn/streams-schema'; function conditionToClause(condition: FilterCondition) { switch (condition.operator) { diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/hierarchy.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/hierarchy.ts index 6f1cd308f3c3d..234987c3d6ca2 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/hierarchy.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/helpers/hierarchy.ts @@ -5,15 +5,16 @@ * 2.0. */ -import { StreamDefinition } from '../../../../common/types'; +import { StreamDefinition } from '@kbn/streams-schema'; export function isDescendandOf(parent: StreamDefinition, child: StreamDefinition) { - return child.id.startsWith(parent.id); + return child.name.startsWith(parent.name); } export function isChildOf(parent: StreamDefinition, child: StreamDefinition) { return ( - isDescendandOf(parent, child) && child.id.split('.').length === parent.id.split('.').length + 1 + isDescendandOf(parent, child) && + child.name.split('.').length === parent.name.split('.').length + 1 ); } diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_ingest_pipeline.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_ingest_pipeline.ts index e7c9c784a8123..fb03868ed7482 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_ingest_pipeline.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_ingest_pipeline.ts @@ -5,16 +5,33 @@ * 2.0. */ -import { StreamDefinition } from '../../../../common/types'; +import { + isDissectProcessor, + isGrokProcessor, + ProcessingDefinition, + StreamDefinition, +} from '@kbn/streams-schema'; +import { get } from 'lodash'; import { ASSET_VERSION } from '../../../../common/constants'; import { conditionToPainless } from '../helpers/condition_to_painless'; import { logsDefaultPipelineProcessors } from './logs_default_pipeline'; import { isRoot } from '../helpers/hierarchy'; import { getProcessingPipelineName } from './name'; +function getProcessorType(processor: ProcessingDefinition) { + if (isGrokProcessor(processor.config)) { + return 'grok'; + } + if (isDissectProcessor(processor.config)) { + return 'dissect'; + } + throw new Error('Unknown processor type'); +} + function generateProcessingSteps(definition: StreamDefinition) { - return definition.processing.map((processor) => { - const { type, ...config } = processor.config; + return definition.stream.ingest.processing.map((processor) => { + const type = getProcessorType(processor); + const config = get(processor.config, type); return { [type]: { ...config, @@ -28,7 +45,7 @@ export function generateIngestPipeline(id: string, definition: StreamDefinition) return { id: getProcessingPipelineName(id), processors: [ - ...(isRoot(definition.id) ? logsDefaultPipelineProcessors : []), + ...(isRoot(definition.name) ? logsDefaultPipelineProcessors : []), ...generateProcessingSteps(definition), { pipeline: { @@ -49,7 +66,7 @@ export function generateClassicIngestPipelineBody(definition: StreamDefinition) return { processors: generateProcessingSteps(definition), _meta: { - description: `Stream-managed pipeline for the ${definition.id} stream`, + description: `Stream-managed pipeline for the ${definition.name} stream`, managed: true, }, version: ASSET_VERSION, diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_reroute_pipeline.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_reroute_pipeline.ts index 9b46e0cf4ac92..d3a43b73713b4 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_reroute_pipeline.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/ingest_pipelines/generate_reroute_pipeline.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { StreamDefinition } from '../../../../common/types'; +import { StreamDefinition } from '@kbn/streams-schema'; import { ASSET_VERSION } from '../../../../common/constants'; import { conditionToPainless } from '../helpers/condition_to_painless'; import { getReroutePipelineName } from './name'; @@ -16,17 +16,17 @@ interface GenerateReroutePipelineParams { export async function generateReroutePipeline({ definition }: GenerateReroutePipelineParams) { return { - id: getReroutePipelineName(definition.id), - processors: definition.children.map((child) => { + id: getReroutePipelineName(definition.name), + processors: definition.stream.ingest.routing.map((child) => { return { reroute: { - destination: child.id, + destination: child.name, if: conditionToPainless(child.condition), }, }; }), _meta: { - description: `Reoute pipeline for the ${definition.id} stream`, + description: `Reoute pipeline for the ${definition.name} stream`, managed: true, }, version: ASSET_VERSION, diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/internal_stream_mapping.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/internal_stream_mapping.ts index faff949c0d97b..e8383561ad582 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/internal_stream_mapping.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/internal_stream_mapping.ts @@ -14,23 +14,16 @@ export function createStreamsIndex(scopedClusterClient: IScopedClusterClient) { mappings: { dynamic: 'strict', properties: { - processing: { - type: 'object', - enabled: false, - }, - fields: { - type: 'object', - enabled: false, - }, - children: { - type: 'object', - enabled: false, - }, - id: { + name: { type: 'keyword', }, - managed: { - type: 'boolean', + stream: { + properties: { + ingest: { + type: 'object', + enabled: false, + }, + }, }, }, }, diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/root_stream_definition.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/root_stream_definition.ts index 1bdb4f20a95cc..9c043a884dfb6 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/root_stream_definition.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/root_stream_definition.ts @@ -5,29 +5,30 @@ * 2.0. */ -import { StreamDefinition } from '../../../common/types'; +import { WiredStreamDefinition } from '@kbn/streams-schema'; -export const rootStreamDefinition: StreamDefinition = { - id: 'logs', - managed: true, - processing: [], - children: [], - fields: [ - { - name: '@timestamp', - type: 'date', +export const rootStreamDefinition: WiredStreamDefinition = { + name: 'logs', + stream: { + ingest: { + processing: [], + routing: [], + wired: { + fields: { + '@timestamp': { + type: 'date', + }, + message: { + type: 'match_only_text', + }, + 'host.name': { + type: 'keyword', + }, + 'log.level': { + type: 'keyword', + }, + }, + }, }, - { - name: 'message', - type: 'match_only_text', - }, - { - name: 'host.name', - type: 'keyword', - }, - { - name: 'log.level', - type: 'keyword', - }, - ], + }, }; diff --git a/x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts b/x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts index 5066ecd61a601..5669a3301e208 100644 --- a/x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts +++ b/x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts @@ -10,8 +10,16 @@ import { Logger } from '@kbn/logging'; import { IngestPipeline, IngestProcessorContainer } from '@elastic/elasticsearch/lib/api/types'; import { set } from '@kbn/safer-lodash-set'; import { IndicesDataStream } from '@elastic/elasticsearch/lib/api/types'; +import { + IngestStreamDefinition, + WiredStreamDefinition, + StreamDefinition, + ListStreamsResponse, + isWiredStream, + FieldDefinition, +} from '@kbn/streams-schema'; +import { omit } from 'lodash'; import { STREAMS_INDEX } from '../../../common/constants'; -import { FieldDefinition, StreamDefinition } from '../../../common/types'; import { generateLayer } from './component_templates/generate_layer'; import { deleteComponent, upsertComponent } from './component_templates/manage_component_templates'; import { getComponentTemplateName } from './component_templates/name'; @@ -142,58 +150,58 @@ export async function deleteStreamObjects({ id, scopedClusterClient, logger }: D async function upsertInternalStream({ definition, scopedClusterClient }: BaseParamsWithDefinition) { return scopedClusterClient.asInternalUser.index({ - id: definition.id, + id: definition.name, index: STREAMS_INDEX, - document: { ...definition }, + document: { ...omit(definition, 'elasticsearch_assets') }, refresh: 'wait_for', }); } type ListStreamsParams = BaseParams; -export interface ListStreamResponse { - definitions: StreamDefinition[]; -} - export async function listStreams({ scopedClusterClient, -}: ListStreamsParams): Promise { - const response = await scopedClusterClient.asInternalUser.search({ +}: ListStreamsParams): Promise { + const response = await scopedClusterClient.asInternalUser.search({ index: STREAMS_INDEX, size: 10000, - sort: [{ id: 'asc' }], + sort: [{ name: 'asc' }], }); const dataStreams = await listDataStreamsAsStreams({ scopedClusterClient }); let definitions = response.hits.hits.map((hit) => ({ ...hit._source! })); const hasAccess = await Promise.all( - definitions.map((definition) => checkReadAccess({ id: definition.id, scopedClusterClient })) + definitions.map((definition) => checkReadAccess({ id: definition.name, scopedClusterClient })) ); definitions = definitions.filter((_, index) => hasAccess[index]); - const definitionMap = new Map(definitions.map((definition) => [definition.id, definition])); + const definitionMap = new Map( + definitions.map((definition) => [definition.name, definition]) + ); dataStreams.forEach((dataStream) => { - if (!definitionMap.has(dataStream.id)) { - definitionMap.set(dataStream.id, dataStream); + if (!definitionMap.has(dataStream.name)) { + definitionMap.set(dataStream.name, dataStream); } }); return { - definitions: Array.from(definitionMap.values()), + streams: Array.from(definitionMap.values()), }; } export async function listDataStreamsAsStreams({ scopedClusterClient, -}: ListStreamsParams): Promise { +}: ListStreamsParams): Promise { const response = await scopedClusterClient.asInternalUser.indices.getDataStream(); return response.data_streams .filter((dataStream) => dataStream.template.endsWith('@stream') === false) .map((dataStream) => ({ - id: dataStream.name, - managed: false, - children: [], - fields: [], - processing: [], + name: dataStream.name, + stream: { + ingest: { + processing: [], + routing: [], + }, + }, })); } @@ -202,15 +210,11 @@ interface ReadStreamParams extends BaseParams { skipAccessCheck?: boolean; } -export interface ReadStreamResponse { - definition: StreamDefinition; -} - export async function readStream({ id, scopedClusterClient, skipAccessCheck, -}: ReadStreamParams): Promise { +}: ReadStreamParams): Promise { try { const response = await scopedClusterClient.asInternalUser.get({ id, @@ -223,11 +227,7 @@ export async function readStream({ throw new DefinitionNotFound(`Stream definition for ${id} not found.`); } } - return { - definition: { - ...definition, - }, - }; + return definition; } catch (e) { if (e.meta?.statusCode === 404) { return readDataStreamAsStream({ id, scopedClusterClient, skipAccessCheck }); @@ -237,20 +237,22 @@ export async function readStream({ } export async function readDataStreamAsStream({ id, scopedClusterClient }: ReadStreamParams) { - const definition: StreamDefinition = { - id, - managed: false, - children: [], - fields: [], - processing: [], + const definition: IngestStreamDefinition = { + name: id, + stream: { + ingest: { + routing: [], + processing: [], + }, + }, }; - definition.unmanaged_elasticsearch_assets = await getUnmanagedElasticsearchAssets({ + definition.elasticsearch_assets = await getUnmanagedElasticsearchAssets({ name: id, scopedClusterClient, }); - return { definition }; + return definition; } interface ReadUnmanagedAssetsParams extends BaseParams { @@ -314,19 +316,24 @@ interface ReadAncestorsParams extends BaseParams { } export interface ReadAncestorsResponse { - ancestors: Array<{ definition: StreamDefinition }>; + ancestors: StreamDefinition[]; } export async function readAncestors({ id, scopedClusterClient, -}: ReadAncestorsParams): Promise { +}: ReadAncestorsParams): Promise<{ ancestors: WiredStreamDefinition[] }> { const ancestorIds = getAncestors(id); return { ancestors: await Promise.all( - ancestorIds.map((ancestorId) => - readStream({ scopedClusterClient, id: ancestorId, skipAccessCheck: true }) + ancestorIds.map( + (ancestorId) => + readStream({ + scopedClusterClient, + id: ancestorId, + skipAccessCheck: true, + }) as unknown as WiredStreamDefinition ) ), }; @@ -337,7 +344,7 @@ interface ReadDescendantsParams extends BaseParams { } export async function readDescendants({ id, scopedClusterClient }: ReadDescendantsParams) { - const response = await scopedClusterClient.asInternalUser.search({ + const response = await scopedClusterClient.asInternalUser.search({ index: STREAMS_INDEX, size: 10000, body: { @@ -357,27 +364,30 @@ export async function readDescendants({ id, scopedClusterClient }: ReadDescendan }, }, }); - return response.hits.hits.map((hit) => hit._source as StreamDefinition); + return response.hits.hits.map((hit) => hit._source as WiredStreamDefinition); } export async function validateAncestorFields( scopedClusterClient: IScopedClusterClient, id: string, - fields: FieldDefinition[] + fields: FieldDefinition ) { const { ancestors } = await readAncestors({ id, scopedClusterClient, }); for (const ancestor of ancestors) { - for (const field of fields) { + for (const name in fields) { if ( - ancestor.definition.fields.some( - (ancestorField) => ancestorField.type !== field.type && ancestorField.name === field.name + Object.hasOwn(fields, name) && + isWiredStream(ancestor) && + Object.entries(ancestor.stream.ingest.wired.fields).some( + ([ancestorFieldName, attr]) => + attr.type !== fields[name].type && ancestorFieldName === name ) ) { throw new MalformedFields( - `Field ${field.name} is already defined with incompatible type in the parent stream ${ancestor.definition.id}` + `Field ${name} is already defined with incompatible type in the parent stream ${ancestor.name}` ); } } @@ -387,22 +397,23 @@ export async function validateAncestorFields( export async function validateDescendantFields( scopedClusterClient: IScopedClusterClient, id: string, - fields: FieldDefinition[] + fields: FieldDefinition ) { const descendants = await readDescendants({ id, scopedClusterClient, }); for (const descendant of descendants) { - for (const field of fields) { + for (const name in fields) { if ( - descendant.fields.some( - (descendantField) => - descendantField.type !== field.type && descendantField.name === field.name + Object.hasOwn(fields, name) && + Object.entries(descendant.stream.ingest.wired.fields).some( + ([descendantFieldName, attr]) => + attr.type !== fields[name].type && descendantFieldName === name ) ) { throw new MalformedFields( - `Field ${field.name} is already defined with incompatible type in the child stream ${descendant.id}` + `Field ${name} is already defined with incompatible type in the child stream ${descendant.name}` ); } } @@ -449,7 +460,7 @@ export async function syncStream({ rootDefinition, logger, }: SyncStreamParams) { - if (!definition.managed) { + if (!isWiredStream(definition)) { await syncUnmanagedStream({ scopedClusterClient, definition, logger }); await upsertInternalStream({ scopedClusterClient, @@ -457,7 +468,7 @@ export async function syncStream({ }); return; } - const componentTemplate = generateLayer(definition.id, definition); + const componentTemplate = generateLayer(definition.name, definition); await upsertComponent({ esClient: scopedClusterClient.asCurrentUser, logger, @@ -466,7 +477,7 @@ export async function syncStream({ await upsertIngestPipeline({ esClient: scopedClusterClient.asCurrentUser, logger, - pipeline: generateIngestPipeline(definition.id, definition), + pipeline: generateIngestPipeline(definition.name, definition), }); const reroutePipeline = await generateReroutePipeline({ definition, @@ -479,12 +490,13 @@ export async function syncStream({ await upsertTemplate({ esClient: scopedClusterClient.asCurrentUser, logger, - template: generateIndexTemplate(definition.id), + template: generateIndexTemplate(definition.name), }); if (rootDefinition) { const parentReroutePipeline = await generateReroutePipeline({ definition: rootDefinition, }); + await upsertIngestPipeline({ esClient: scopedClusterClient.asCurrentUser, logger, @@ -494,7 +506,7 @@ export async function syncStream({ await upsertDataStream({ esClient: scopedClusterClient.asCurrentUser, logger, - name: definition.id, + name: definition.name, }); await upsertInternalStream({ scopedClusterClient, @@ -502,7 +514,7 @@ export async function syncStream({ }); await rolloverDataStreamIfNecessary({ esClient: scopedClusterClient.asCurrentUser, - name: definition.id, + name: definition.name, logger, mappings: componentTemplate.template.mappings?.properties, }); @@ -514,24 +526,19 @@ interface ExecutionPlanStep { body?: Record; } -async function syncUnmanagedStream({ scopedClusterClient, definition, logger }: SyncStreamParams) { - if (definition.managed) { +async function syncUnmanagedStream({ scopedClusterClient, definition }: SyncStreamParams) { + if (isWiredStream(definition)) { throw new Error('Got an unmanaged stream that is marked as managed'); } - if (definition.fields.length) { - throw new Error( - 'Unmanaged streams cannot have managed fields, please edit the component templates directly' - ); - } - if (definition.children.length) { + if (definition.stream.ingest.routing.length) { throw new Error('Unmanaged streams cannot have managed children, coming soon'); } const unmanagedAssets = await getUnmanagedElasticsearchAssets({ - name: definition.id, + name: definition.name, scopedClusterClient, }); const executionPlan: ExecutionPlanStep[] = []; - const streamManagedPipelineName = getProcessingPipelineName(definition.id); + const streamManagedPipelineName = getProcessingPipelineName(definition.name); const pipelineName = unmanagedAssets.find((asset) => asset.type === 'ingest_pipeline')?.id; if (!pipelineName) { throw new Error('Unmanaged stream needs a default ingest pipeline'); @@ -546,7 +553,7 @@ async function syncUnmanagedStream({ scopedClusterClient, definition, logger }: executionPlan ); - if (definition.processing.length) { + if (definition.stream.ingest.processing.length) { // if the stream has processing, we need to create or update the stream managed pipeline executionPlan.push({ method: 'PUT', @@ -629,14 +636,14 @@ async function ensureStreamManagedPipelineReference( definition: StreamDefinition, executionPlan: ExecutionPlanStep[] ) { - const streamManagedPipelineName = getProcessingPipelineName(definition.id); + const streamManagedPipelineName = getProcessingPipelineName(definition.name); const { targetPipelineName, targetPipeline, referencesStreamManagedPipeline } = - await findStreamManagedPipelineReference(scopedClusterClient, pipelineName, definition.id); + await findStreamManagedPipelineReference(scopedClusterClient, pipelineName, definition.name); if (!referencesStreamManagedPipeline) { const callStreamManagedPipelineProcessor: IngestProcessorContainer = { pipeline: { name: streamManagedPipelineName, - if: `ctx._index == '${definition.id}'`, + if: `ctx._index == '${definition.name}'`, ignore_missing_pipeline: true, description: "Call the stream's managed pipeline - do not change this manually but instead use the streams UI or API", diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/delete.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/delete.ts index d6bf5fbb84d8f..698d0f7f81d38 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/delete.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/delete.ts @@ -9,6 +9,7 @@ import { z } from '@kbn/zod'; import { IScopedClusterClient } from '@kbn/core-elasticsearch-server'; import { Logger } from '@kbn/logging'; import { badRequest, internal, notFound } from '@hapi/boom'; +import { isWiredStream } from '@kbn/streams-schema'; import { DefinitionNotFound, ForkConditionMissing, @@ -43,7 +44,6 @@ export const deleteStreamRoute = createServerRoute({ }), }), handler: async ({ - response, params, logger, request, @@ -79,8 +79,8 @@ export async function deleteStream( logger: Logger ) { try { - const { definition } = await readStream({ scopedClusterClient, id }); - if (!definition.managed) { + const definition = await readStream({ scopedClusterClient, id }); + if (!isWiredStream(definition)) { await deleteUnmanagedStreamObjects({ scopedClusterClient, id, logger }); return; } @@ -92,8 +92,8 @@ export async function deleteStream( // need to update parent first to cut off documents streaming down await updateParentStream(scopedClusterClient, id, parentId, logger); - for (const child of definition.children) { - await deleteStream(scopedClusterClient, child.id, logger); + for (const child of definition.stream.ingest.routing) { + await deleteStream(scopedClusterClient, child.name, logger); } await deleteStreamObjects({ scopedClusterClient, id, logger }); } catch (e) { @@ -111,12 +111,14 @@ async function updateParentStream( parentId: string, logger: Logger ) { - const { definition: parentDefinition } = await readStream({ + const parentDefinition = await readStream({ scopedClusterClient, id: parentId, }); - parentDefinition.children = parentDefinition.children.filter((child) => child.id !== id); + parentDefinition.stream.ingest.routing = parentDefinition.stream.ingest.routing.filter( + (child) => child.name !== id + ); await syncStream({ scopedClusterClient, diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/disable.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/disable.ts index b760b58f1fafd..3cf369f6da76d 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/disable.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/disable.ts @@ -22,12 +22,7 @@ export const disableStreamsRoute = createServerRoute({ requiredPrivileges: ['streams_write'], }, }, - handler: async ({ - request, - response, - logger, - getScopedClients, - }): Promise<{ acknowledged: true }> => { + handler: async ({ request, logger, getScopedClients }): Promise<{ acknowledged: true }> => { try { const { scopedClusterClient } = await getScopedClients({ request }); diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/edit.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/edit.ts index 19867018ce25f..cf88835602076 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/edit.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/edit.ts @@ -9,6 +9,14 @@ import { z } from '@kbn/zod'; import { IScopedClusterClient } from '@kbn/core-elasticsearch-server'; import { Logger } from '@kbn/logging'; import { badRequest, internal, notFound } from '@hapi/boom'; +import { + isWiredStream, + isWiredStreamConfig, + streamConfigDefinitionSchema, + StreamDefinition, + WiredStreamConfigDefinition, + WiredStreamDefinition, +} from '@kbn/streams-schema'; import { DefinitionNotFound, ForkConditionMissing, @@ -16,7 +24,6 @@ import { SecurityException, } from '../../lib/streams/errors'; import { createServerRoute } from '../create_server_route'; -import { StreamDefinition, streamWithoutIdDefinitonSchema } from '../../../common/types'; import { syncStream, readStream, @@ -45,48 +52,63 @@ export const editStreamRoute = createServerRoute({ path: z.object({ id: z.string(), }), - body: streamWithoutIdDefinitonSchema, + body: streamConfigDefinitionSchema, }), - handler: async ({ response, params, logger, request, getScopedClients }) => { + handler: async ({ params, logger, request, getScopedClients }) => { try { const { scopedClusterClient } = await getScopedClients({ request }); - const streamDefinition = { ...params.body, id: params.path.id }; + const streamDefinition: StreamDefinition = { stream: params.body, name: params.path.id }; - if (!streamDefinition.managed) { + if (!isWiredStream(streamDefinition)) { await syncStream({ scopedClusterClient, - definition: { ...streamDefinition, id: params.path.id }, + definition: streamDefinition, rootDefinition: undefined, logger, }); return { acknowledged: true }; } - await validateStreamChildren(scopedClusterClient, params.path.id, params.body.children); - await validateAncestorFields(scopedClusterClient, params.path.id, params.body.fields); - await validateDescendantFields(scopedClusterClient, params.path.id, params.body.fields); + await validateStreamChildren(scopedClusterClient, params.path.id, params.body.ingest.routing); + if (isWiredStreamConfig(params.body)) { + await validateAncestorFields( + scopedClusterClient, + params.path.id, + params.body.ingest.wired.fields + ); + await validateDescendantFields( + scopedClusterClient, + params.path.id, + params.body.ingest.wired.fields + ); + } const parentId = getParentId(params.path.id); - let parentDefinition: StreamDefinition | undefined; + let parentDefinition: WiredStreamDefinition | undefined; // always need to go from the leaves to the parent when syncing ingest pipelines, otherwise data // will be routed before the data stream is ready - for (const child of streamDefinition.children) { + for (const child of streamDefinition.stream.ingest.routing) { const streamExists = await checkStreamExists({ scopedClusterClient, - id: child.id, + id: child.name, }); if (streamExists) { continue; } // create empty streams for each child if they don't exist - const childDefinition = { - id: child.id, - children: [], - fields: [], - processing: [], - managed: true, + const childDefinition: WiredStreamDefinition = { + name: child.name, + stream: { + ingest: { + processing: [], + routing: [], + wired: { + fields: {}, + }, + }, + }, }; await syncStream({ @@ -98,7 +120,7 @@ export const editStreamRoute = createServerRoute({ await syncStream({ scopedClusterClient, - definition: { ...streamDefinition, id: params.path.id, managed: true }, + definition: { ...streamDefinition, name: params.path.id }, rootDefinition: parentDefinition, logger, }); @@ -137,15 +159,15 @@ async function updateParentStream( id: string, logger: Logger ) { - const { definition: parentDefinition } = await readStream({ + const parentDefinition = await readStream({ scopedClusterClient, id: parentId, }); - if (!parentDefinition.children.some((child) => child.id === id)) { + if (!parentDefinition.stream.ingest.routing.some((child) => child.name === id)) { // add the child to the parent stream with an empty condition for now - parentDefinition.children.push({ - id, + parentDefinition.stream.ingest.routing.push({ + name: id, condition: undefined, }); @@ -155,21 +177,21 @@ async function updateParentStream( logger, }); } - return parentDefinition; + return parentDefinition as WiredStreamDefinition; } async function validateStreamChildren( scopedClusterClient: IScopedClusterClient, id: string, - children: StreamDefinition['children'] + children: WiredStreamConfigDefinition['ingest']['routing'] ) { try { - const { definition: oldDefinition } = await readStream({ + const oldDefinition = await readStream({ scopedClusterClient, id, }); - const oldChildren = oldDefinition.children.map((child) => child.id); - const newChildren = new Set(children.map((child) => child.id)); + const oldChildren = oldDefinition.stream.ingest.routing.map((child) => child.name); + const newChildren = new Set(children.map((child) => child.name)); children.forEach((child) => { validateCondition(child.condition); }); diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/enable.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/enable.ts index ee49a93aaacbb..8b479813f87af 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/enable.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/enable.ts @@ -28,7 +28,6 @@ export const enableStreamsRoute = createServerRoute({ }, handler: async ({ request, - response, logger, getScopedClients, }): Promise<{ acknowledged: true; message: string }> => { diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/fork.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/fork.ts index 9ec61d27619e2..447fdfcc84978 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/fork.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/fork.ts @@ -7,6 +7,7 @@ import { z } from '@kbn/zod'; import { badRequest, internal, notFound } from '@hapi/boom'; +import { conditionSchema, isWiredStream, WiredStreamDefinition } from '@kbn/streams-schema'; import { DefinitionNotFound, ForkConditionMissing, @@ -14,7 +15,6 @@ import { SecurityException, } from '../../lib/streams/errors'; import { createServerRoute } from '../create_server_route'; -import { conditionSchema, streamDefinitonWithoutChildrenSchema } from '../../../common/types'; import { syncStream, readStream, validateAncestorFields } from '../../lib/streams/stream_crud'; import { MalformedStreamId } from '../../lib/streams/errors/malformed_stream_id'; import { isChildOf } from '../../lib/streams/helpers/hierarchy'; @@ -36,7 +36,7 @@ export const forkStreamsRoute = createServerRoute({ path: z.object({ id: z.string(), }), - body: z.object({ stream: streamDefinitonWithoutChildrenSchema, condition: conditionSchema }), + body: z.object({ stream: z.object({ name: z.string() }), condition: conditionSchema }), }), handler: async ({ params, @@ -53,34 +53,39 @@ export const forkStreamsRoute = createServerRoute({ const { scopedClusterClient } = await getScopedClients({ request }); - const { definition: rootDefinition } = await readStream({ + const rootDefinition = await readStream({ scopedClusterClient, id: params.path.id, }); - if (rootDefinition.managed === false) { + if (!isWiredStream(rootDefinition)) { throw new MalformedStreamId('Cannot fork a stream that is not managed'); } - const childDefinition = { ...params.body.stream, children: [] }; + const childDefinition: WiredStreamDefinition = { + ...params.body.stream, + stream: { ingest: { processing: [], routing: [], wired: { fields: {} } } }, + }; // check whether root stream has a child of the given name already - if (rootDefinition.children.some((child) => child.id === childDefinition.id)) { + if ( + rootDefinition.stream.ingest.routing.some((child) => child.name === childDefinition.name) + ) { throw new MalformedStreamId( - `The stream with ID (${params.body.stream.id}) already exists as a child of the parent stream` + `The stream with ID (${params.body.stream.name}) already exists as a child of the parent stream` ); } if (!isChildOf(rootDefinition, childDefinition)) { throw new MalformedStreamId( - `The ID (${params.body.stream.id}) from the new stream must start with the parent's id (${rootDefinition.id}), followed by a dot and a name` + `The ID (${params.body.stream.name}) from the new stream must start with the parent's id (${rootDefinition.name}), followed by a dot and a name` ); } await validateAncestorFields( scopedClusterClient, - params.body.stream.id, - params.body.stream.fields + childDefinition.name, + childDefinition.stream.ingest.wired.fields ); // need to create the child first, otherwise we risk streaming data even though the child data stream is not ready @@ -91,8 +96,8 @@ export const forkStreamsRoute = createServerRoute({ logger, }); - rootDefinition.children.push({ - id: params.body.stream.id, + rootDefinition.stream.ingest.routing.push({ + name: params.body.stream.name, condition: params.body.condition, }); diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/list.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/list.ts index f98c635830bda..66edc3c7954b4 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/list.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/list.ts @@ -7,10 +7,10 @@ import { z } from '@kbn/zod'; import { notFound, internal } from '@hapi/boom'; +import { ListStreamsResponse } from '@kbn/streams-schema'; import { createServerRoute } from '../create_server_route'; import { DefinitionNotFound } from '../../lib/streams/errors'; import { listStreams } from '../../lib/streams/stream_crud'; -import { StreamDefinition } from '../../../common'; export const listStreamsRoute = createServerRoute({ endpoint: 'GET /api/streams', @@ -25,18 +25,10 @@ export const listStreamsRoute = createServerRoute({ }, }, params: z.object({}), - handler: async ({ - response, - request, - getScopedClients, - }): Promise<{ definitions: StreamDefinition[] }> => { + handler: async ({ request, getScopedClients }): Promise => { try { const { scopedClusterClient } = await getScopedClients({ request }); - const { definitions } = await listStreams({ scopedClusterClient }); - - return { - definitions, - }; + return listStreams({ scopedClusterClient }); } catch (e) { if (e instanceof DefinitionNotFound) { throw notFound(e); diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/read.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/read.ts index dbbda8c0dc5de..cd3d43934f107 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/read.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/read.ts @@ -7,7 +7,12 @@ import { z } from '@kbn/zod'; import { notFound, internal } from '@hapi/boom'; -import { ReadStreamDefinition } from '../../../common/types'; +import { + FieldDefinitionConfig, + isIngestStream, + isWiredStream, + ReadStreamDefinition, +} from '@kbn/streams-schema'; import { createServerRoute } from '../create_server_route'; import { DefinitionNotFound } from '../../lib/streams/errors'; import { readAncestors, readStream } from '../../lib/streams/stream_crud'; @@ -27,13 +32,7 @@ export const readStreamRoute = createServerRoute({ params: z.object({ path: z.object({ id: z.string() }), }), - handler: async ({ - response, - params, - request, - logger, - getScopedClients, - }): Promise => { + handler: async ({ params, request, getScopedClients }): Promise => { try { const { scopedClusterClient } = await getScopedClients({ request }); const streamEntity = await readStream({ @@ -41,23 +40,29 @@ export const readStreamRoute = createServerRoute({ id: params.path.id, }); - if (streamEntity.definition.managed === false) { + // TODO: I have no idea why I can just do `isIngestStream` here but when I do, + // streamEntity becomes `streamEntity: never` in the statements afterwards + if (!isWiredStream(streamEntity) && isIngestStream(streamEntity)) { return { - ...streamEntity.definition, - inheritedFields: [], + ...streamEntity, + inherited_fields: {}, }; } const { ancestors } = await readAncestors({ - id: streamEntity.definition.id, + id: streamEntity.name, scopedClusterClient, }); const body = { - ...streamEntity.definition, - inheritedFields: ancestors.flatMap(({ definition: { id, fields } }) => - fields.map((field) => ({ ...field, from: id })) - ), + ...streamEntity, + inherited_fields: ancestors.reduce((acc, def) => { + Object.entries(def.stream.ingest.wired.fields).forEach(([key, fieldDef]) => { + acc[key] = { ...fieldDef, from: def.name }; + }); + return acc; + // TODO: replace this with a proper type + }, {} as Record), }; return body; diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/resync.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/resync.ts index 8e520410ca5c2..73955a2bd9bb5 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/resync.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/resync.ts @@ -22,20 +22,15 @@ export const resyncStreamsRoute = createServerRoute({ }, }, params: z.object({}), - handler: async ({ - response, - logger, - request, - getScopedClients, - }): Promise<{ acknowledged: true }> => { + handler: async ({ logger, request, getScopedClients }): Promise<{ acknowledged: true }> => { const { scopedClusterClient } = await getScopedClients({ request }); - const { definitions: streams } = await listStreams({ scopedClusterClient }); + const { streams } = await listStreams({ scopedClusterClient }); for (const stream of streams) { - const { definition } = await readStream({ + const definition = await readStream({ scopedClusterClient, - id: stream.id, + id: stream.name, }); await syncStream({ diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/sample.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/sample.ts index cd3a989c29109..f912e2e27fd96 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/sample.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/sample.ts @@ -7,7 +7,7 @@ import { z } from '@kbn/zod'; import { notFound, internal } from '@hapi/boom'; -import { conditionSchema } from '../../../common/types'; +import { conditionSchema } from '@kbn/streams-schema'; import { createServerRoute } from '../create_server_route'; import { DefinitionNotFound } from '../../lib/streams/errors'; import { checkReadAccess } from '../../lib/streams/stream_crud'; @@ -35,13 +35,7 @@ export const sampleStreamRoute = createServerRoute({ number: z.optional(z.number()), }), }), - handler: async ({ - response, - params, - request, - logger, - getScopedClients, - }): Promise<{ documents: unknown[] }> => { + handler: async ({ params, request, getScopedClients }): Promise<{ documents: unknown[] }> => { try { const { scopedClusterClient } = await getScopedClients({ request }); diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/fields_simulation.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/fields_simulation.ts index 01aa61a302a39..9db5a7013f01e 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/fields_simulation.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/fields_simulation.ts @@ -8,7 +8,7 @@ import { z } from '@kbn/zod'; import { notFound, internal } from '@hapi/boom'; import { getFlattenedObject } from '@kbn/std'; -import { fieldDefinitionSchema } from '../../../../common/types'; +import { fieldDefinitionConfigSchema } from '@kbn/streams-schema'; import { createServerRoute } from '../../create_server_route'; import { DefinitionNotFound } from '../../../lib/streams/errors'; import { checkReadAccess } from '../../../lib/streams/stream_crud'; @@ -30,14 +30,12 @@ export const schemaFieldsSimulationRoute = createServerRoute({ params: z.object({ path: z.object({ id: z.string() }), body: z.object({ - field_definitions: z.array(fieldDefinitionSchema), + field_definitions: z.array(fieldDefinitionConfigSchema.extend({ name: z.string() })), }), }), handler: async ({ - response, params, request, - logger, getScopedClients, }): Promise<{ status: 'unknown' | 'success' | 'failure'; diff --git a/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/unmapped_fields.ts b/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/unmapped_fields.ts index 15bcb964b8fd6..12faa12f9cee4 100644 --- a/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/unmapped_fields.ts +++ b/x-pack/solutions/observability/plugins/streams/server/routes/streams/schema/unmapped_fields.ts @@ -8,6 +8,7 @@ import { z } from '@kbn/zod'; import { internal, notFound } from '@hapi/boom'; import { getFlattenedObject } from '@kbn/std'; +import { isWiredStream } from '@kbn/streams-schema'; import { DefinitionNotFound } from '../../../lib/streams/errors'; import { checkReadAccess, readAncestors, readStream } from '../../../lib/streams/stream_crud'; import { createServerRoute } from '../../create_server_route'; @@ -29,13 +30,7 @@ export const unmappedFieldsRoute = createServerRoute({ params: z.object({ path: z.object({ id: z.string() }), }), - handler: async ({ - response, - params, - request, - logger, - getScopedClients, - }): Promise<{ unmappedFields: string[] }> => { + handler: async ({ params, request, getScopedClients }): Promise<{ unmappedFields: string[] }> => { try { const { scopedClusterClient } = await getScopedClients({ request }); @@ -76,7 +71,11 @@ export const unmappedFieldsRoute = createServerRoute({ // Mapped fields from the stream's definition and inherited from ancestors const mappedFields = new Set(); - streamEntity.definition.fields.forEach((field) => mappedFields.add(field.name)); + if (isWiredStream(streamEntity)) { + Object.keys(streamEntity.stream.ingest.wired.fields).forEach((name) => + mappedFields.add(name) + ); + } const { ancestors } = await readAncestors({ id: params.path.id, @@ -84,7 +83,7 @@ export const unmappedFieldsRoute = createServerRoute({ }); for (const ancestor of ancestors) { - ancestor.definition.fields.forEach((field) => mappedFields.add(field.name)); + Object.keys(ancestor.stream.ingest.wired.fields).forEach((name) => mappedFields.add(name)); } const unmappedFields = Array.from(sourceFields) diff --git a/x-pack/solutions/observability/plugins/streams/tsconfig.json b/x-pack/solutions/observability/plugins/streams/tsconfig.json index fbb8515998fb3..464f184918c96 100644 --- a/x-pack/solutions/observability/plugins/streams/tsconfig.json +++ b/x-pack/solutions/observability/plugins/streams/tsconfig.json @@ -31,6 +31,7 @@ "@kbn/observability-utils-server", "@kbn/observability-utils-common", "@kbn/std", - "@kbn/safer-lodash-set" + "@kbn/safer-lodash-set", + "@kbn/streams-schema" ] } diff --git a/x-pack/solutions/observability/plugins/streams_app/common/index.ts b/x-pack/solutions/observability/plugins/streams_app/common/index.ts index c41a05b84d307..6fcafd32bd71a 100644 --- a/x-pack/solutions/observability/plugins/streams_app/common/index.ts +++ b/x-pack/solutions/observability/plugins/streams_app/common/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { StreamDefinition } from '@kbn/streams-plugin/common'; +import type { StreamDefinition } from '@kbn/streams-schema'; interface EntityBase { type: string; diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/condition_editor/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/condition_editor/index.tsx index e7e2a79b59294..e53c9f9069797 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/condition_editor/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/condition_editor/index.tsx @@ -21,7 +21,7 @@ import { Condition, FilterCondition, OrCondition, -} from '@kbn/streams-plugin/common/types'; +} from '@kbn/streams-schema'; import React, { useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { css } from '@emotion/css'; diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/entity_detail_view/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/entity_detail_view/index.tsx index 4e1ec87866aee..abd9cf04ea2f0 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/entity_detail_view/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/entity_detail_view/index.tsx @@ -8,7 +8,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiLink, EuiPanel, EuiBadge } from import { i18n } from '@kbn/i18n'; import React from 'react'; import { css } from '@emotion/css'; -import { StreamDefinition } from '@kbn/streams-plugin/common'; +import { isIngestStream, StreamDefinition } from '@kbn/streams-schema'; import { useStreamsAppBreadcrumbs } from '../../hooks/use_streams_app_breadcrumbs'; import { useStreamsAppRouter } from '../../hooks/use_streams_app_router'; import { EntityOverviewTabList } from '../entity_overview_tab_list'; @@ -101,7 +101,7 @@ export function EntityDetailViewWithoutParams({ title={ <> {entity.displayName} - {definition && !definition.managed ? ( + {definition && isIngestStream(definition) ? ( <> {' '} diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_enriching/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_enriching/index.tsx index d879142162353..fe532825d970a 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_enriching/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_enriching/index.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { StreamDefinition } from '@kbn/streams-plugin/common'; +import { StreamDefinition } from '@kbn/streams-schema'; import React from 'react'; export function StreamDetailEnriching({ diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/classic.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/classic.tsx index 1664b322b5a8e..66e291cb3f61b 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/classic.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/classic.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; import { i18n } from '@kbn/i18n'; -import { ReadStreamDefinition, StreamDefinition } from '@kbn/streams-plugin/common'; +import { ReadStreamDefinition, StreamDefinition } from '@kbn/streams-schema'; import { EuiFlexGroup, EuiListGroup, EuiText } from '@elastic/eui'; import { useStreamsAppParams } from '../../hooks/use_streams_app_params'; import { RedirectTo } from '../redirect_to'; @@ -66,7 +66,7 @@ function UnmanagedStreamOverview({ definition }: { definition: StreamDefinition http: { basePath }, }, } = useKibana(); - const groupedAssets = (definition.unmanaged_elasticsearch_assets ?? []).reduce((acc, asset) => { + const groupedAssets = (definition.elasticsearch_assets ?? []).reduce((acc, asset) => { const title = assetToTitle(asset); if (title) { acc[title] = acc[title] ?? []; diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/index.tsx index 24567fe8d80a3..6379855fa3c92 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_management/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ import React from 'react'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; +import { isWiredReadStream, ReadStreamDefinition } from '@kbn/streams-schema'; import { WiredStreamDetailManagement } from './wired'; import { ClassicStreamDetailManagement } from './classic'; @@ -22,7 +22,7 @@ export function StreamDetailManagement({ return null; } - if (definition.managed) { + if (isWiredReadStream(definition)) { return ( void; isLoadingDefinition: boolean; }) { diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_overview/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_overview/index.tsx index 28af5f4f104c1..1fdc95821172e 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_overview/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_overview/index.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { useDateRange } from '@kbn/observability-utils-browser/hooks/use_date_range'; import moment from 'moment'; import React, { useMemo } from 'react'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; +import { ReadStreamDefinition } from '@kbn/streams-schema'; import { useKibana } from '../../hooks/use_kibana'; import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch'; import { ControlledEsqlChart } from '../esql_chart/controlled_esql_chart'; @@ -35,18 +35,18 @@ export function StreamDetailOverview({ definition }: { definition?: ReadStreamDe } = useDateRange({ data }); const indexPatterns = useMemo(() => { - if (!definition?.id) { + if (!definition?.name) { return undefined; } - const isRoot = definition.id.indexOf('.') === -1; + const isRoot = definition.name.indexOf('.') === -1; - const dataStreamOfDefinition = definition.id; + const dataStreamOfDefinition = definition.name; return isRoot ? [dataStreamOfDefinition, `${dataStreamOfDefinition}.*`] : [`${dataStreamOfDefinition}*`]; - }, [definition?.id]); + }, [definition?.name]); const discoverLocator = useMemo( () => share.url.locators.get('DISCOVER_APP_LOCATOR'), diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_routing/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_routing/index.tsx index 2b829aca37b86..75626b96167d6 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_routing/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_routing/index.tsx @@ -25,9 +25,12 @@ import { css } from '@emotion/css'; import { i18n } from '@kbn/i18n'; import { useAbortController } from '@kbn/observability-utils-browser/hooks/use_abort_controller'; import { useDateRange } from '@kbn/observability-utils-browser/hooks/use_date_range'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; import React from 'react'; -import { StreamChild } from '@kbn/streams-plugin/common/types'; +import { + StreamChild, + ReadStreamDefinition, + WiredStreamConfigDefinition, +} from '@kbn/streams-schema'; import { AbortableAsyncState } from '@kbn/observability-utils-browser/hooks/use_abortable_async'; import { useKibana } from '../../hooks/use_kibana'; import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch'; @@ -89,7 +92,7 @@ export function StreamDetailRouting({ closeModal={closeModal} clearChildUnderEdit={() => routingAppState.setChildUnderEdit(undefined)} refreshDefinition={refreshDefinition} - id={routingAppState.childUnderEdit.child.id} + id={routingAppState.childUnderEdit.child.name} /> )} - child.id === childUnderEdit.id ? childUnderEdit : child - ), - }, + ...stream, + ingest: { + ...stream.ingest, + routing: definition.stream.ingest.routing.map((child) => + child.name === childUnderEdit.name ? childUnderEdit : child + ), + }, + } as WiredStreamConfigDefinition, }, }); } @@ -350,7 +354,7 @@ function PreviewPanel({ signal, params: { path: { - id: definition.id, + id: definition.name, }, body: { condition: routingAppState.debouncedChildUnderEdit.child.condition, @@ -550,17 +554,17 @@ function ChildStreamList({ > - {definition.children.map((child, i) => ( + {definition.stream.ingest.routing.map((child, i) => ( { - if (child.id === childUnderEdit?.child.id) { + if (child.name === childUnderEdit?.child.name) { setChildUnderEdit(undefined); } else { setChildUnderEdit({ isNew: false, child }); @@ -601,7 +605,7 @@ function ChildStreamList({ setChildUnderEdit({ isNew: true, child: { - id: `${definition.id}.child`, + name: `${definition.name}.child`, condition: { field: '', operator: 'eq', @@ -627,7 +631,7 @@ function CurrentStreamEntry({ definition }: { definition: ReadStreamDefinition } return ( - {definition.id} + {definition.name} {i18n.translate('xpack.streams.streamDetailRouting.currentStream', { defaultMessage: 'Current stream', @@ -641,7 +645,7 @@ function CurrentStreamEntry({ definition }: { definition: ReadStreamDefinition } function PreviousStreamEntry({ definition }: { definition: ReadStreamDefinition }) { const router = useStreamsAppRouter(); - const parentId = definition.id.split('.').slice(0, -1).join('.'); + const parentId = definition.name.split('.').slice(0, -1).join('.'); if (parentId === '') { return null; } @@ -686,7 +690,7 @@ function RoutingStreamEntry({ - {child.id} + {child.name} { onChildChange({ ...child, - id: e.target.value, + name: e.target.value, }); }} /> diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/field_type.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/field_type.tsx index a278d22dcd3ec..14203f0b5d998 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/field_type.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/field_type.tsx @@ -7,8 +7,8 @@ import { EuiFlexGroup, EuiFlexItem, EuiToken } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { FieldDefinition } from '@kbn/streams-plugin/common/types'; import React from 'react'; +import { FieldDefinitionConfig } from '@kbn/streams-schema'; export const FIELD_TYPE_MAP = { boolean: { @@ -55,7 +55,7 @@ export const FIELD_TYPE_MAP = { }, }; -export const FieldType = ({ type }: { type: FieldDefinition['type'] }) => { +export const FieldType = ({ type }: { type: FieldDefinitionConfig['type'] }) => { return ( diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/fields_table.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/fields_table.tsx index b50fdee7e6ae9..4daf6acf0a6f2 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/fields_table.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/fields_table.tsx @@ -22,7 +22,7 @@ import type { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import useToggle from 'react-use/lib/useToggle'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common/types'; +import { isWiredStream, ReadStreamDefinition } from '@kbn/streams-schema'; import { FieldType } from './field_type'; import { FieldStatus } from './field_status'; import { FieldEntry, SchemaEditorEditingState } from './hooks/use_editing_state'; @@ -71,14 +71,13 @@ export const EMPTY_CONTENT = '-----'; export const FieldsTableContainer = ({ definition, unmappedFieldsResult, - isLoadingUnmappedFields, query, editingState, unpromotingState, }: FieldsTableContainerProps) => { const inheritedFields = useMemo(() => { - return definition.inheritedFields.map((field) => ({ - name: field.name, + return Object.entries(definition.inherited_fields).map(([name, field]) => ({ + name, type: field.type, format: field.format, parent: field.from, @@ -94,13 +93,16 @@ export const FieldsTableContainer = ({ }, [inheritedFields, query]); const mappedFields = useMemo(() => { - return definition.fields.map((field) => ({ - name: field.name, - type: field.type, - format: field.format, - parent: definition.id, - status: 'mapped' as const, - })); + if (isWiredStream(definition)) { + return Object.entries(definition.stream.ingest.wired.fields).map(([name, field]) => ({ + name, + type: field.type, + format: field.format, + parent: definition.name, + status: 'mapped' as const, + })); + } + return []; }, [definition]); const filteredMappedFields = useMemo(() => { @@ -114,11 +116,11 @@ export const FieldsTableContainer = ({ return unmappedFieldsResult ? unmappedFieldsResult.map((field) => ({ name: field, - parent: definition.id, + parent: definition.name, status: 'unmapped' as const, })) : []; - }, [definition.id, unmappedFieldsResult]); + }, [definition.name, unmappedFieldsResult]); const filteredUnmappedFields = useMemo(() => { if (!unmappedFieldsResult) return []; @@ -285,7 +287,9 @@ const FieldsTable = ({ definition, fields, editingState, unpromotingState }: Fie if (!fieldType) return EMPTY_CONTENT; return ; } else if (columnId === 'parent') { - return ; + return ( + + ); } else if (columnId === 'status') { return ; } else { diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/children_affected_callout.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/children_affected_callout.tsx index 1cb9cbd2dd045..b3cb9c5ef4f8a 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/children_affected_callout.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/children_affected_callout.tsx @@ -7,13 +7,13 @@ import React from 'react'; import { EuiCallOut } from '@elastic/eui'; -import { StreamDefinition } from '@kbn/streams-plugin/common/types'; import { i18n } from '@kbn/i18n'; +import { StreamConfigDefinition } from '@kbn/streams-schema'; export const ChildrenAffectedCallout = ({ childStreams, }: { - childStreams: StreamDefinition['children']; + childStreams: StreamConfigDefinition['ingest']['routing']; }) => { return ( stream.id).join(', '), + affectedStreams: childStreams.map((stream) => stream.name).join(', '), }, })} diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/field_form_format.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/field_form_format.tsx index 98f5d899c1074..9b8ba2bdbe6db 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/field_form_format.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/field_form_format.tsx @@ -7,7 +7,7 @@ import { EuiFieldText } from '@elastic/eui'; import React from 'react'; -import { FieldDefinition } from '@kbn/streams-plugin/common/types'; +import { FieldDefinitionConfig } from '@kbn/streams-schema'; import { SchemaEditorEditingState } from '../hooks/use_editing_state'; type FieldFormFormatProps = Pick< @@ -15,7 +15,7 @@ type FieldFormFormatProps = Pick< 'nextFieldType' | 'nextFieldFormat' | 'setNextFieldFormat' >; -export const typeSupportsFormat = (type?: FieldDefinition['type']) => { +export const typeSupportsFormat = (type?: FieldDefinitionConfig['type']) => { if (!type) return false; return ['date'].includes(type); }; diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/index.tsx index 8bbdd6abf9ad3..e0874c87234b7 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/index.tsx @@ -19,7 +19,7 @@ import { } from '@elastic/eui'; import React from 'react'; import { i18n } from '@kbn/i18n'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; +import { ReadStreamDefinition } from '@kbn/streams-schema'; import { SchemaEditorEditingState } from '../hooks/use_editing_state'; import { ChildrenAffectedCallout } from './children_affected_callout'; import { SamplePreviewTable } from './sample_preview_table'; @@ -57,9 +57,9 @@ export const SchemaEditorFlyout = (props: SchemaEditorFlyoutProps) => { - {isEditing && definition.children.length > 0 ? ( + {isEditing && definition.stream.ingest.routing.length > 0 ? ( - + ) : null} diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/sample_preview_table.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/sample_preview_table.tsx index 8c04a0b70e3be..770c832b453a0 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/sample_preview_table.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/flyout/sample_preview_table.tsx @@ -7,11 +7,10 @@ import React, { useMemo } from 'react'; import { StreamsRepositoryClient } from '@kbn/streams-plugin/public/api'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; -import { FieldDefinition } from '@kbn/streams-plugin/common/types'; import { css } from '@emotion/react'; import { i18n } from '@kbn/i18n'; import { EuiCallOut } from '@elastic/eui'; +import { FieldDefinitionConfigWithName, ReadStreamDefinition } from '@kbn/streams-schema'; import { getFormattedError } from '../../../util/errors'; import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch'; import { PreviewTable } from '../../preview_table'; @@ -20,7 +19,7 @@ import { LoadingPanel } from '../../loading_panel'; interface SamplePreviewTableProps { definition: ReadStreamDefinition; - nextFieldDefinition?: Partial; + nextFieldDefinition?: Partial; streamsRepositoryClient: StreamsRepositoryClient; } @@ -39,14 +38,14 @@ const SamplePreviewTableContent = ({ definition, nextFieldDefinition, streamsRepositoryClient, -}: SamplePreviewTableProps & { nextFieldDefinition: FieldDefinition }) => { +}: SamplePreviewTableProps & { nextFieldDefinition: FieldDefinitionConfigWithName }) => { const { value, loading, error } = useStreamsAppFetch( ({ signal }) => { return streamsRepositoryClient.fetch('POST /api/streams/{id}/schema/fields_simulation', { signal, params: { path: { - id: definition.id, + id: definition.name, }, body: { field_definitions: [nextFieldDefinition], @@ -54,7 +53,7 @@ const SamplePreviewTableContent = ({ }, }); }, - [definition.id, nextFieldDefinition, streamsRepositoryClient], + [definition.name, nextFieldDefinition, streamsRepositoryClient], { disableToastOnError: true, } diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_editing_state.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_editing_state.tsx index 9fc6288c1daf7..6cb274fc39168 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_editing_state.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_editing_state.tsx @@ -5,21 +5,26 @@ * 2.0. */ -import { FieldDefinition, ReadStreamDefinition } from '@kbn/streams-plugin/common/types'; +import { + ReadStreamDefinition, + FieldDefinitionConfigWithName, + isWiredReadStream, +} from '@kbn/streams-schema'; import { StreamsRepositoryClient } from '@kbn/streams-plugin/public/api'; import { useCallback, useMemo, useState } from 'react'; import useToggle from 'react-use/lib/useToggle'; import { useAbortController } from '@kbn/observability-utils-browser/hooks/use_abort_controller'; import { ToastsStart } from '@kbn/core-notifications-browser'; import { i18n } from '@kbn/i18n'; +import { omit } from 'lodash'; import { FieldStatus } from '../field_status'; export type SchemaEditorEditingState = ReturnType; export interface FieldEntry { - name: FieldDefinition['name']; - type?: FieldDefinition['type']; - format?: FieldDefinition['format']; + name: FieldDefinitionConfigWithName['name']; + type?: FieldDefinitionConfigWithName['type']; + format?: FieldDefinitionConfigWithName['format']; parent: string; status: FieldStatus; } @@ -90,7 +95,8 @@ export const useEditingState = ({ const saveChanges = useMemo(() => { return selectedField && isFullFieldDefinition(nextFieldDefinition) && - hasChanges(selectedField, nextFieldDefinition) + hasChanges(selectedField, nextFieldDefinition) && + isWiredReadStream(definition) ? async () => { toggleIsSaving(true); try { @@ -98,15 +104,22 @@ export const useEditingState = ({ signal: abortController.signal, params: { path: { - id: definition.id, + id: definition.name, }, body: { - processing: definition.processing, - children: definition.children, - fields: [ - ...definition.fields.filter((field) => field.name !== nextFieldDefinition.name), - nextFieldDefinition, - ], + ingest: { + ...definition.stream.ingest, + wired: { + fields: { + ...Object.fromEntries( + Object.entries(definition.stream.ingest.wired.fields).filter( + ([name, _field]) => name !== nextFieldDefinition.name + ) + ), + [nextFieldDefinition.name]: omit(nextFieldDefinition, 'name'), + }, + }, + }, }, }, }); @@ -133,10 +146,7 @@ export const useEditingState = ({ : undefined; }, [ abortController.signal, - definition.children, - definition.fields, - definition.id, - definition.processing, + definition, nextFieldDefinition, refreshDefinition, refreshUnmappedFields, @@ -165,14 +175,14 @@ export const useEditingState = ({ }; export const isFullFieldDefinition = ( - value?: Partial -): value is FieldDefinition => { + value?: Partial +): value is FieldDefinitionConfigWithName => { return !!value && !!value.name && !!value.type; }; const hasChanges = ( - selectedField: Partial, - nextFieldEntry: Partial + selectedField: Partial, + nextFieldEntry: Partial ) => { return ( selectedField.type !== nextFieldEntry.type || selectedField.format !== nextFieldEntry.format diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_unpromoting_state.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_unpromoting_state.tsx index b6e30c87cd7b4..5af56b61ff665 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_unpromoting_state.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/hooks/use_unpromoting_state.tsx @@ -11,7 +11,8 @@ import useToggle from 'react-use/lib/useToggle'; import { useAbortController } from '@kbn/observability-utils-browser/hooks/use_abort_controller'; import { ToastsStart } from '@kbn/core-notifications-browser'; import { i18n } from '@kbn/i18n'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; +import { WiredReadStreamDefinition } from '@kbn/streams-schema'; +import { omit } from 'lodash'; export type SchemaEditorUnpromotingState = ReturnType; @@ -23,7 +24,7 @@ export const useUnpromotingState = ({ toastsService, }: { streamsRepositoryClient: StreamsRepositoryClient; - definition: ReadStreamDefinition; + definition: WiredReadStreamDefinition; refreshDefinition: () => void; refreshUnmappedFields: () => void; toastsService: ToastsStart; @@ -46,12 +47,15 @@ export const useUnpromotingState = ({ signal: abortController.signal, params: { path: { - id: definition.id, + id: definition.name, }, body: { - processing: definition.processing, - children: definition.children, - fields: definition.fields.filter((field) => field.name !== selectedField), + ingest: { + ...definition.stream.ingest, + wired: { + fields: omit(definition.stream.ingest.wired.fields, selectedField), + }, + }, }, }, }); @@ -77,10 +81,8 @@ export const useUnpromotingState = ({ } }, [ abortController.signal, - definition.children, - definition.fields, - definition.id, - definition.processing, + definition.name, + definition.stream.ingest, refreshDefinition, refreshUnmappedFields, selectedField, diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/index.tsx index 3ca410e74ffdb..1af840d2c4110 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/stream_detail_schema_editor/index.tsx @@ -13,8 +13,8 @@ import { EuiPortal, Query, } from '@elastic/eui'; -import { ReadStreamDefinition } from '@kbn/streams-plugin/common'; import { css } from '@emotion/css'; +import { WiredReadStreamDefinition } from '@kbn/streams-schema'; import { useEditingState } from './hooks/use_editing_state'; import { SchemaEditorFlyout } from './flyout'; import { useKibana } from '../../hooks/use_kibana'; @@ -25,7 +25,7 @@ import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch'; import { FieldsTableContainer } from './fields_table'; interface SchemaEditorProps { - definition?: ReadStreamDefinition; + definition?: WiredReadStreamDefinition; refreshDefinition: () => void; isLoadingDefinition: boolean; } @@ -63,12 +63,12 @@ const Content = ({ signal, params: { path: { - id: definition.id, + id: definition.name, }, }, }); }, - [definition.id, streamsRepositoryClient] + [definition.name, streamsRepositoryClient] ); const editingState = useEditingState({ @@ -92,7 +92,7 @@ const Content = ({ // If the definition changes (e.g. navigating to parent stream), reset the entire editing state. useEffect(() => { reset(); - }, [definition.id, reset]); + }, [definition.name, reset]); return ( diff --git a/x-pack/solutions/observability/plugins/streams_app/public/components/streams_table/index.tsx b/x-pack/solutions/observability/plugins/streams_app/public/components/streams_table/index.tsx index 39814ed904555..ef80d1346edd4 100644 --- a/x-pack/solutions/observability/plugins/streams_app/public/components/streams_table/index.tsx +++ b/x-pack/solutions/observability/plugins/streams_app/public/components/streams_table/index.tsx @@ -14,47 +14,47 @@ import { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import type { AbortableAsyncState } from '@kbn/observability-utils-browser/hooks/use_abortable_async'; -import { StreamDefinition } from '@kbn/streams-plugin/common'; import React, { useMemo } from 'react'; +import { isWiredStreamConfig, StreamDefinition } from '@kbn/streams-schema'; import { useStreamsAppRouter } from '../../hooks/use_streams_app_router'; export function StreamsTable({ listFetch, query, }: { - listFetch: AbortableAsyncState<{ definitions: StreamDefinition[] }>; + listFetch: AbortableAsyncState<{ streams: StreamDefinition[] }>; query: string; }) { const router = useStreamsAppRouter(); const items = useMemo(() => { - return listFetch.value?.definitions ?? []; - }, [listFetch.value?.definitions]); + return listFetch.value?.streams ?? []; + }, [listFetch.value?.streams]); const filteredItems = useMemo(() => { if (!query) { return items; } - return items.filter((item) => item.id.toLowerCase().includes(query.toLowerCase())); + return items.filter((item) => item.name.toLowerCase().includes(query.toLowerCase())); }, [query, items]); const columns = useMemo>>(() => { return [ { - field: 'id', + field: 'name', name: i18n.translate('xpack.streams.streamsTable.nameColumnTitle', { defaultMessage: 'Name', }), - render: (_, { id, managed }) => { + render: (_, { name, stream }) => { return ( - + - {id} + {name} ); diff --git a/x-pack/solutions/observability/plugins/streams_app/tsconfig.json b/x-pack/solutions/observability/plugins/streams_app/tsconfig.json index 7a77dae1922d0..7824c84d6ea6b 100644 --- a/x-pack/solutions/observability/plugins/streams_app/tsconfig.json +++ b/x-pack/solutions/observability/plugins/streams_app/tsconfig.json @@ -37,5 +37,6 @@ "@kbn/ui-theme", "@kbn/navigation-plugin", "@kbn/core-notifications-browser", + "@kbn/streams-schema", ] } diff --git a/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc b/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc index 44d549843f469..eab5fa622d47a 100644 --- a/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc +++ b/x-pack/solutions/observability/plugins/synthetics/kibana.jsonc @@ -38,7 +38,6 @@ "taskManager", "triggersActionsUi", "usageCollection", - "bfetch", "uiActions", "unifiedSearch", "presentationUtil" diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx index dd72eac40afc3..d0ac65e54d7ce 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/status_badge.tsx @@ -47,7 +47,7 @@ export const getBadgeColorForMonitorStatus = (status: MonitorStatus): IconColor export const getTextColorForMonitorStatus = ( status: MonitorStatus ): keyof EuiThemeComputed['colors'] => { - return status === 'skipped' ? 'disabledText' : 'text'; + return status === 'skipped' ? 'textDisabled' : 'textParagraph'; }; export const COMPLETE_LABEL = i18n.translate('xpack.synthetics.monitorStatus.complete', { diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx index 45e1e780d1e31..2989a821e7e5e 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_thumbnail.tsx @@ -7,13 +7,7 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; -import { - useEuiTheme, - useEuiBackgroundColor, - EuiIcon, - EuiText, - EuiSkeletonRectangle, -} from '@elastic/eui'; +import { useEuiTheme, EuiIcon, EuiText, EuiSkeletonRectangle } from '@elastic/eui'; import { getConfinedScreenshotSize, @@ -59,7 +53,7 @@ export const EmptyThumbnail = ({ ...thumbnailStyle, width, height, - background: useEuiBackgroundColor('subdued'), + background: euiTheme.colors.backgroundBaseSubdued, border: euiTheme.border.thin, ...(borderRadius ? { borderRadius } : {}), }} @@ -103,11 +97,11 @@ export const EmptyThumbnail = ({ {unavailableMessage ? ( - {unavailableMessage} + {unavailableMessage} ) : null}
)} diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx index b608c694189bc..a5f2a93d4df52 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.tsx @@ -27,8 +27,7 @@ import { EuiOutsideClickDetector, useIsWithinMaxBreakpoint, } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; - +import styled from '@emotion/styled'; import { SYNTHETICS_API_URLS } from '../../../../../../common/constants'; import { SyntheticsSettingsContext } from '../../../contexts'; import { useRetrieveStepImage } from '../monitor_test_result/use_retrieve_step_image'; @@ -173,7 +172,7 @@ export const JourneyScreenshotDialog = ({ - + {i18n.translate('xpack.synthetics.monitor.stepOfSteps', { defaultMessage: 'Step: {stepNumber} of {totalSteps}', values: { @@ -201,7 +200,7 @@ export const JourneyScreenshotDialog = ({ div { display: flex; diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx index 0fad37e676b4f..b0166e9636770 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx @@ -52,7 +52,7 @@ export const MonitorStatusLegend = ({ brushable }: { brushable: boolean }) => { <> - + {labels.BRUSH_AREA_MESSAGE} diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx index 37836f6ef0711..c8c266db63736 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/metric_item.tsx @@ -10,7 +10,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { css } from '@emotion/react'; import { Chart, Settings, Metric, MetricTrendShape } from '@elastic/charts'; import { EuiPanel, EuiSpacer } from '@elastic/eui'; -import { DARK_THEME } from '@elastic/charts'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { useTheme } from '@kbn/observability-shared-plugin/public'; import moment from 'moment'; import { useSelector, useDispatch } from 'react-redux'; @@ -132,8 +132,7 @@ export const MetricItem = ({ }); } }} - // TODO connect to charts.theme service see src/plugins/charts/public/services/theme/README.md - baseTheme={DARK_THEME} + baseTheme={useElasticChartsTheme()} locale={i18n.getLocale()} /> { - const baseChartTheme = useBaseChartTheme(); + const baseChartTheme = useElasticChartsTheme(); const { euiTheme } = useEuiTheme(); const { onElementClick, onProjectionClick } = useWaterfallContext(); const handleElementClick = useMemo(() => onElementClick, [onElementClick]); diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx index 6ec71ee66f1a4..1d496c0f1e48b 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_fixed_axis.tsx @@ -21,7 +21,7 @@ import { } from '@elastic/charts'; import { useEuiTheme } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { useBaseChartTheme } from '../../../../../../hooks/use_base_chart_theme'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { WaterfallChartFixedAxisContainer } from './styles'; import { WaterfallChartMarkers } from './waterfall_marker/waterfall_markers'; @@ -32,7 +32,7 @@ interface Props { } export const WaterfallChartFixedAxis = ({ tickFormat, domain, barStyleAccessor }: Props) => { - const baseChartTheme = useBaseChartTheme(); + const baseChartTheme = useElasticChartsTheme(); const { euiTheme } = useEuiTheme(); return ( diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx index 197dcdb4da1bb..f0025931b6f76 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_header/waterfall_tick_axis.tsx @@ -61,7 +61,7 @@ export const WaterfallTickAxis = ({ marginBottom: euiTheme.size.s, whiteSpace: 'nowrap', cursor: 'pointer', - color: euiTheme.colors.primaryText, + color: euiTheme.colors.textPrimary, }} onClick={() => { setOnlyHighlighted(!showOnlyHighlightedNetworkRequests); diff --git a/x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts b/x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts deleted file mode 100644 index 413081b998aec..0000000000000 --- a/x-pack/solutions/observability/plugins/synthetics/public/hooks/use_base_chart_theme.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { DARK_THEME, LIGHT_THEME, Theme } from '@elastic/charts'; -import { useMemo } from 'react'; -import { useDarkMode } from '@kbn/kibana-react-plugin/public'; - -export const useBaseChartTheme = (): Theme => { - const darkMode = useDarkMode(false); - - return useMemo(() => { - return darkMode ? DARK_THEME : LIGHT_THEME; - }, [darkMode]); -}; diff --git a/x-pack/solutions/observability/plugins/synthetics/server/types.ts b/x-pack/solutions/observability/plugins/synthetics/server/types.ts index 1a8016830c085..be8d18025209f 100644 --- a/x-pack/solutions/observability/plugins/synthetics/server/types.ts +++ b/x-pack/solutions/observability/plugins/synthetics/server/types.ts @@ -22,7 +22,6 @@ import { SharePluginSetup } from '@kbn/share-plugin/server'; import { ObservabilityPluginSetup } from '@kbn/observability-plugin/server'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; import { TelemetryPluginSetup, TelemetryPluginStart } from '@kbn/telemetry-plugin/server'; -import { BfetchServerSetup } from '@kbn/bfetch-plugin/server'; import { CloudSetup } from '@kbn/cloud-plugin/server'; import { SpacesPluginStart } from '@kbn/spaces-plugin/server'; import { SecurityPluginStart } from '@kbn/security-plugin/server'; @@ -75,7 +74,6 @@ export interface SyntheticsPluginsSetupDependencies { encryptedSavedObjects: EncryptedSavedObjectsPluginSetup; taskManager: TaskManagerSetupContract; telemetry: TelemetryPluginSetup; - bfetch: BfetchServerSetup; share: SharePluginSetup; } diff --git a/x-pack/solutions/observability/plugins/synthetics/tsconfig.json b/x-pack/solutions/observability/plugins/synthetics/tsconfig.json index ece2a3934e60c..6ce7da00a3457 100644 --- a/x-pack/solutions/observability/plugins/synthetics/tsconfig.json +++ b/x-pack/solutions/observability/plugins/synthetics/tsconfig.json @@ -59,7 +59,6 @@ "@kbn/core-saved-objects-api-server", "@kbn/core-saved-objects-common", "@kbn/features-plugin", - "@kbn/bfetch-plugin", "@kbn/actions-plugin", "@kbn/core-elasticsearch-server", "@kbn/core-saved-objects-api-server-mocks", @@ -107,7 +106,8 @@ "@kbn/core-rendering-browser", "@kbn/index-lifecycle-management-common-shared", "@kbn/core-http-server-utils", - "@kbn/apm-data-access-plugin" + "@kbn/apm-data-access-plugin", + "@kbn/charts-theme" ], "exclude": ["target/**/*"] } diff --git a/x-pack/solutions/observability/plugins/uptime/kibana.jsonc b/x-pack/solutions/observability/plugins/uptime/kibana.jsonc index 25fd311a81f81..95a2d7c37074a 100644 --- a/x-pack/solutions/observability/plugins/uptime/kibana.jsonc +++ b/x-pack/solutions/observability/plugins/uptime/kibana.jsonc @@ -38,7 +38,6 @@ "triggersActionsUi", "usageCollection", "unifiedSearch", - "bfetch", "charts" ], "optionalPlugins": [ diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap index 1edd320bcc715..733eda0561f9a 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ml/__snapshots__/ml_integerations.test.tsx.snap @@ -18,7 +18,7 @@ exports[`ML Integrations renders without errors 1`] = ` aria-label="Loading" class="euiLoadingSpinner emotion-euiLoadingSpinner-m" role="progressbar" - style="border-color:#07C currentcolor currentcolor currentcolor" + style="border-color:#0077CC currentcolor currentcolor currentcolor" /> { - const baseChartTheme = useBaseChartTheme(); + const baseChartTheme = useElasticChartsTheme(); const { onElementClick, onProjectionClick } = useWaterfallContext(); const handleElementClick = useMemo(() => onElementClick, [onElementClick]); const handleProjectionClick = useMemo(() => onProjectionClick, [onProjectionClick]); diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx index 25d9f554f9fa4..4038b2f2d731e 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_chart_fixed_axis.tsx @@ -20,7 +20,7 @@ import { Tooltip, } from '@elastic/charts'; import { i18n } from '@kbn/i18n'; -import { useBaseChartTheme } from '../../../../../hooks/use_base_chart_theme'; +import { useElasticChartsTheme } from '@kbn/charts-theme'; import { WaterfallChartFixedAxisContainer } from './styles'; import { WaterfallChartMarkers } from './waterfall_markers'; @@ -31,7 +31,7 @@ interface Props { } export const WaterfallChartFixedAxis = ({ tickFormat, domain, barStyleAccessor }: Props) => { - const baseChartTheme = useBaseChartTheme(); + const baseChartTheme = useElasticChartsTheme(); return ( diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx index 3b70c23a699fa..5318e1bd8a820 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/alerts/monitor_expressions/filters_expression_select.test.tsx @@ -11,6 +11,7 @@ import { FiltersExpressionsSelect } from './filters_expression_select'; import { render } from '../../../../lib/helper/rtl_helpers'; import { filterAriaLabels as aria } from './translations'; import * as Hooks from '@kbn/observability-shared-plugin/public/hooks/use_values_list'; +import { EuiThemeProvider } from '@elastic/eui'; describe('FiltersExpressionSelect', () => { const LOCATION_FIELD_NAME = 'observer.geo.name'; @@ -114,13 +115,15 @@ describe('FiltersExpressionSelect', () => { const spy = jest.spyOn(Hooks, 'useValuesList'); spy.mockReturnValue({ loading: false, values: [{ label: 'test-label', count: 3 }] }); const { getByLabelText, getByText } = render( - + + + ); const filterButton = getByLabelText(expectedFilterButtonAriaLabel); diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx index 7591bc7ef7473..f6287bc678158 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/filter_group/filter_group.test.tsx @@ -10,6 +10,7 @@ import { fireEvent, waitFor } from '@testing-library/react'; import { render } from '../../../lib/helper/rtl_helpers'; import { FilterGroup } from './filter_group'; import * as Hooks from '@kbn/observability-shared-plugin/public/hooks/use_values_list'; +import { EuiThemeProvider } from '@elastic/eui'; describe('FilterGroup', () => { it.each([ @@ -97,7 +98,11 @@ describe('FilterGroup', () => { }); } - const { getByLabelText, getAllByLabelText } = render(); + const { getByLabelText, getAllByLabelText } = render( + + + + ); await waitFor(() => { const popoverButton = getByLabelText(popoverButtonLabel); diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts deleted file mode 100644 index 007d463c63e1b..0000000000000 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/hooks/use_base_chart_theme.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { useMemo } from 'react'; -import { useDarkMode } from '@kbn/kibana-react-plugin/public'; -import { DARK_THEME, LIGHT_THEME, Theme } from '@elastic/charts'; - -export const useBaseChartTheme = (): Theme => { - const darkMode = useDarkMode(); - return useMemo(() => { - return darkMode ? DARK_THEME : LIGHT_THEME; - }, [darkMode]); -}; diff --git a/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts b/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts index 9c20ff432aa7c..67fde1068fbbf 100644 --- a/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts +++ b/x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/adapters/framework/adapter_types.ts @@ -23,7 +23,6 @@ import { SecurityPluginStart } from '@kbn/security-plugin/server'; import { CloudSetup } from '@kbn/cloud-plugin/server'; import { SpacesPluginStart } from '@kbn/spaces-plugin/server'; import { FleetStartContract } from '@kbn/fleet-plugin/server'; -import { BfetchServerSetup } from '@kbn/bfetch-plugin/server'; import { SharePluginSetup } from '@kbn/share-plugin/server'; import { UptimeEsClient } from '../../lib'; import { UptimeConfig } from '../../../../../common/config'; @@ -59,7 +58,6 @@ export interface UptimeCorePluginsSetup { ruleRegistry: RuleRegistryPluginSetupContract; encryptedSavedObjects: EncryptedSavedObjectsPluginSetup; taskManager: TaskManagerSetupContract; - bfetch: BfetchServerSetup; share: SharePluginSetup; } diff --git a/x-pack/solutions/observability/plugins/uptime/tsconfig.json b/x-pack/solutions/observability/plugins/uptime/tsconfig.json index 6761601deb208..496ae1f398f2c 100644 --- a/x-pack/solutions/observability/plugins/uptime/tsconfig.json +++ b/x-pack/solutions/observability/plugins/uptime/tsconfig.json @@ -58,7 +58,6 @@ "@kbn/features-plugin", "@kbn/rule-registry-plugin", "@kbn/security-plugin", - "@kbn/bfetch-plugin", "@kbn/alerts-as-data-utils", "@kbn/std", "@kbn/utility-types", @@ -78,6 +77,7 @@ "@kbn/deeplinks-observability", "@kbn/ebt-tools", "@kbn/core-rendering-browser", + "@kbn/charts-theme", "@kbn/charts-plugin", ], "exclude": ["target/**/*"] diff --git a/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx b/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx index 2b9dd676eac17..5414ed2963ed5 100644 --- a/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx +++ b/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx @@ -51,18 +51,8 @@ const mockPlugin = { observabilityAIAssistant: mockAIAssistantPlugin, }; -const mockEmbeddable = embeddablePluginMock.createStartContract(); - -mockEmbeddable.getEmbeddableFactory = jest.fn().mockImplementation(() => ({ - create: () => ({ - reload: jest.fn(), - setRenderTooltipContent: jest.fn(), - setLayerList: jest.fn(), - }), -})); - const mockCorePlugins = { - embeddable: mockEmbeddable, + embeddable: embeddablePluginMock.createStartContract(), inspector: {}, maps: {}, observabilityShared: { diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/common/constants.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/common/constants.ts index 307cbd65123e4..cc727dea4c847 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/common/constants.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/common/constants.ts @@ -10,3 +10,4 @@ export const EVENT_GRAPH_VISUALIZATION_API = '/internal/cloud_security_posture/g export const RELATED_ENTITY = 'related.entity' as const; export const ACTOR_ENTITY_ID = 'actor.entity.id' as const; export const TARGET_ENTITY_ID = 'target.entity.id' as const; +export const EVENT_ACTION = 'event.action' as const; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx index dd1c956a55e55..8b3b36237a7a2 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { memo, useEffect, useMemo, useRef } from 'react'; import { ThemeProvider } from '@emotion/react'; import { ReactFlow, @@ -17,14 +17,18 @@ import { useEdgesState, type BuiltInNode, type NodeProps, + type Node as xyNode, + type Edge as xyEdge, } from '@xyflow/react'; +import { isEmpty, isEqual, pick, size, xorWith } from 'lodash'; import { Story } from '@storybook/react'; -import { SvgDefsMarker } from './styles'; import { DefaultEdge } from '.'; +import { LabelNode } from '../node'; +import type { EdgeViewModel } from '../types'; +import { SvgDefsMarker } from './markers'; import '@xyflow/react/dist/style.css'; -import { LabelNode } from '../node'; -import type { NodeViewModel } from '../types'; +import { HandleStyleOverride } from '../node/styles'; export default { title: 'Components/Graph Components/Default Edge', @@ -34,26 +38,36 @@ export default { options: ['primary', 'danger', 'warning'], control: { type: 'radio' }, }, + type: { + options: ['solid', 'dashed'], + control: { type: 'radio' }, + }, }, }; const nodeTypes = { - default: ((props: NodeProps) => { - const handleStyle = { - width: 0, - height: 0, - 'min-width': 0, - 'min-height': 0, - border: 'none', - }; + // eslint-disable-next-line react/display-name + default: memo>((props: NodeProps) => { return (
- - + + {props.data.label}
); - }) as React.FC>, + }), label: LabelNode, }; @@ -61,66 +75,87 @@ const edgeTypes = { default: DefaultEdge, }; -const Template: Story = (args: NodeViewModel) => { - const initialNodes = [ - { - id: 'source', - type: 'default', - data: { label: 'source' }, - position: { x: 0, y: 0 }, - draggable: true, - }, - { - id: 'target', - type: 'default', - data: { label: 'target' }, - position: { x: 320, y: 100 }, - draggable: true, - }, - { - id: args.id, - type: 'label', - data: args, - position: { x: 160, y: 50 }, - draggable: true, - }, - ]; +const Template: Story = (args: EdgeViewModel) => { + const nodes = useMemo( + () => [ + { + id: 'source', + type: 'default', + data: { + label: 'source', + }, + position: { x: 0, y: 0 }, + }, + { + id: 'target', + type: 'default', + data: { + label: 'target', + }, + position: { x: 420, y: 0 }, + }, + { + id: args.id, + type: 'label', + data: pick(args, ['id', 'label', 'interactive', 'source', 'target', 'color', 'type']), + position: { x: 230, y: 6 }, + }, + ], + [args] + ); - const initialEdges = [ - { - id: `source-${args.id}`, - source: 'source', - target: args.id, - data: { + const edges = useMemo( + () => [ + { id: `source-${args.id}`, source: 'source', - sourceShape: 'rectangle', target: args.id, - targetShape: 'label', - color: args.color, - interactive: true, + data: { + id: `source-${args.id}`, + source: 'source', + sourceShape: 'custom', + target: args.id, + targetShape: 'label', + color: args.color, + type: args.type, + }, + type: 'default', }, - type: 'default', - }, - { - id: `${args.id}-target`, - source: args.id, - target: 'target', - data: { + { id: `${args.id}-target`, source: args.id, - sourceShape: 'label', target: 'target', - targetShape: 'rectangle', - color: args.color, - interactive: true, + data: { + id: `${args.id}-target`, + source: args.id, + sourceShape: 'label', + target: 'target', + targetShape: 'custom', + color: args.color, + type: args.type, + }, + type: 'default', }, - type: 'default', - }, - ]; + ], + [args] + ); - const [nodes, _setNodes, onNodesChange] = useNodesState(initialNodes); - const [edges, _setEdges, onEdgesChange] = useEdgesState(initialEdges); + const [nodesState, setNodes, onNodesChange] = useNodesState(nodes); + const [edgesState, setEdges, onEdgesChange] = useEdgesState>(edges); + const currNodesRef = useRef(nodes); + const currEdgesRef = useRef(edges); + + useEffect(() => { + if ( + !isArrayOfObjectsEqual(nodes, currNodesRef.current) || + !isArrayOfObjectsEqual(edges, currEdgesRef.current) + ) { + setNodes(nodes); + setEdges(edges); + currNodesRef.current = nodes; + currEdgesRef.current = edges; + } + }, [setNodes, setEdges, nodes, edges]); return ( @@ -128,12 +163,13 @@ const Template: Story = (args: NodeViewModel) => { @@ -148,6 +184,9 @@ Edge.args = { id: 'siem-windows', label: 'User login to OKTA', color: 'primary', - icon: 'okta', interactive: true, + type: 'solid', }; + +const isArrayOfObjectsEqual = (x: object[], y: object[]) => + size(x) === size(y) && isEmpty(xorWith(x, y, isEqual)); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx index 6826c47b270ce..370c7b3909973 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx @@ -6,12 +6,13 @@ */ import React from 'react'; -import { BaseEdge, getBezierPath } from '@xyflow/react'; +import { BaseEdge, getSmoothStepPath } from '@xyflow/react'; import { useEuiTheme } from '@elastic/eui'; -import type { Color } from '@kbn/cloud-security-posture-common/types/graph/latest'; -import type { EdgeProps } from '../types'; -import { getMarker } from './styles'; +import type { EdgeProps, EdgeViewModel } from '../types'; import { getShapeHandlePosition } from './utils'; +import { getMarkerStart, getMarkerEnd } from './markers'; + +type EdgeColor = EdgeViewModel['color']; export function DefaultEdge({ id, @@ -25,9 +26,9 @@ export function DefaultEdge({ data, }: EdgeProps) { const { euiTheme } = useEuiTheme(); - const color: Color = data?.color ?? 'primary'; + const color: EdgeColor = data?.color ?? 'primary'; - const [edgePath] = getBezierPath({ + const [edgePath] = getSmoothStepPath({ // sourceX and targetX are adjusted to account for the shape handle position sourceX: sourceX - getShapeHandlePosition(data?.sourceShape), sourceY, @@ -35,12 +36,8 @@ export function DefaultEdge({ targetX: targetX + getShapeHandlePosition(data?.targetShape), targetY, targetPosition, - curvature: - 0.1 * - (data?.sourceShape === 'group' || - (data?.sourceShape === 'label' && data?.targetShape === 'group') - ? -1 // We flip direction when the edge is between parent node to child nodes (groups always contain children in our graph) - : 1), + borderRadius: 15, + offset: 0, }); return ( @@ -50,12 +47,19 @@ export function DefaultEdge({ style={{ stroke: euiTheme.colors[color], }} - css={{ - strokeDasharray: '2,2', - }} + css={ + (!data?.type || data?.type === 'dashed') && { + strokeDasharray: '2,2', + } + } + markerStart={ + data?.sourceShape !== 'label' && data?.sourceShape !== 'group' + ? getMarkerStart(color) + : undefined + } markerEnd={ data?.targetShape !== 'label' && data?.targetShape !== 'group' - ? getMarker(color) + ? getMarkerEnd(color) : undefined } /> diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/markers.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/markers.tsx new file mode 100644 index 0000000000000..06dcaf29c63d6 --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/markers.tsx @@ -0,0 +1,96 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { useEuiTheme } from '@elastic/eui'; + +const getArrowPoints = (width: number, height: number): string => { + return `${-width},${-height} 0,0 ${-width},${height} ${-width},${-height}`; +}; + +const ArrowMarker = ({ + id, + color, + width = 5, + height = 4, +}: { + id: string; + color: string; + width?: number; + height?: number; +}) => { + const points = getArrowPoints(width, height); + + return ( + + + + ); +}; + +const DotMarker = ({ id, color }: { id: string; color: string }) => { + return ( + + + + ); +}; + +const MarkerStartType = { + primary: 'url(#dotPrimary)', + danger: 'url(#dotDanger)', + warning: 'url(#dotWarning)', +}; + +const MarkerEndType = { + primary: 'url(#arrowPrimary)', + danger: 'url(#arrowDanger)', + warning: 'url(#arrowWarning)', +}; + +export const getMarkerStart = (color: string) => { + const colorKey = color as keyof typeof MarkerStartType; + return MarkerStartType[colorKey] ?? MarkerStartType.primary; +}; + +export const getMarkerEnd = (color: string) => { + const colorKey = color as keyof typeof MarkerEndType; + return MarkerEndType[colorKey] ?? MarkerEndType.primary; +}; + +export const SvgDefsMarker = () => { + const { euiTheme } = useEuiTheme(); + + return ( + + + + + + + + + + + ); +}; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx index 5a3e2f8b72b21..66b7eca015caf 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx @@ -5,7 +5,6 @@ * 2.0. */ -import React from 'react'; import styled from '@emotion/styled'; import { rgba } from 'polished'; import { @@ -88,52 +87,3 @@ export const EdgeLabelOnHover = styled(EdgeLabel) { - return ( - - - - ); -}; - -export const MarkerType = { - primary: 'url(#primary)', - danger: 'url(#danger)', - warning: 'url(#warning)', -}; - -export const getMarker = (color: string) => { - const colorKey = color as keyof typeof MarkerType; - return MarkerType[colorKey] ?? MarkerType.primary; -}; - -export const SvgDefsMarker = () => { - const { euiTheme } = useEuiTheme(); - - return ( - - - - - - - - ); -}; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx index a97a1c74698ca..292c4c3645468 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx @@ -18,7 +18,7 @@ import { import type { Edge, FitViewOptions, Node, ReactFlowInstance } from '@xyflow/react'; import { useGeneratedHtmlId } from '@elastic/eui'; import type { CommonProps } from '@elastic/eui'; -import { SvgDefsMarker } from '../edge/styles'; +import { SvgDefsMarker } from '../edge/markers'; import { HexagonNode, PentagonNode, @@ -82,13 +82,7 @@ const edgeTypes = { * * @returns {JSX.Element} The rendered Graph component. */ -export const Graph: React.FC = ({ - nodes, - edges, - interactive, - isLocked = false, - ...rest -}) => { +export const Graph = ({ nodes, edges, interactive, isLocked = false, ...rest }: GraphProps) => { const backgroundId = useGeneratedHtmlId(); const fitViewRef = useRef< ((fitViewOptions?: FitViewOptions | undefined) => Promise) | null @@ -243,7 +237,9 @@ const processGraph = ( data: { ...edgeData, sourceShape: nodesById[edgeData.source].shape, + sourceColor: nodesById[edgeData.source].color, targetShape: nodesById[edgeData.target].shape, + targetColor: nodesById[edgeData.target].color, }, }; }); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx index a4561f404829a..dea054e9a7cc1 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx @@ -9,7 +9,7 @@ import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from ' import { ThemeProvider, css } from '@emotion/react'; import { Story } from '@storybook/react'; import { EuiListGroup, EuiHorizontalRule } from '@elastic/eui'; -import type { EntityNodeViewModel, NodeProps } from '..'; +import type { EntityNodeViewModel, LabelNodeViewModel, NodeProps } from '..'; import { Graph } from '..'; import { GraphPopover } from './graph_popover'; import { ExpandButtonClickCallback } from '../types'; @@ -179,9 +179,11 @@ const Template: Story = () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any const nodeClickHandler = (...args: any[]) => popoverOpenWrapper(nodePopover.onNodeClick, ...args); - const nodes: EntityNodeViewModel[] = useMemo( - () => - (['hexagon', 'ellipse', 'rectangle', 'pentagon', 'diamond'] as const).map((shape, idx) => ({ + const nodes: Array = useMemo( + () => [ + ...( + ['hexagon', 'ellipse', 'rectangle', 'pentagon', 'diamond'] as const + ).map((shape, idx) => ({ id: `${idx}`, label: `Node ${idx}`, color: 'primary', @@ -191,6 +193,16 @@ const Template: Story = () => { expandButtonClick: expandButtonClickHandler, nodeClick: nodeClickHandler, })), + { + id: 'label', + label: 'Node 5', + color: 'primary', + interactive: true, + shape: 'label', + expandButtonClick: expandButtonClickHandler, + nodeClick: nodeClickHandler, + } as LabelNodeViewModel, + ], // eslint-disable-next-line react-hooks/exhaustive-deps [] ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx index 570c1332a8834..cd2b0e45e0104 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx @@ -22,13 +22,13 @@ export interface GraphPopoverProps closePopover: () => void; } -export const GraphPopover: React.FC = ({ +export const GraphPopover = ({ isOpen, anchorElement, closePopover, children, ...rest -}) => { +}: GraphPopoverProps) => { const { euiTheme } = useEuiTheme(); if (!anchorElement) { @@ -40,20 +40,8 @@ export const GraphPopover: React.FC = ({ {...rest} panelProps={{ css: css` - .euiPopover__arrow[data-popover-arrow='left']:before { - border-inline-start-color: ${euiTheme.colors?.body}; - } - - .euiPopover__arrow[data-popover-arrow='right']:before { - border-inline-end-color: ${euiTheme.colors?.body}; - } - - .euiPopover__arrow[data-popover-arrow='bottom']:before { - border-block-end-color: ${euiTheme.colors?.body}; - } - - .euiPopover__arrow[data-popover-arrow='top']:before { - border-block-start-color: ${euiTheme.colors?.body}; + .euiPopover__arrow { + --euiPopoverBackgroundColor: ${euiTheme.colors?.body}; } background-color: ${euiTheme.colors?.body}; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx index bd57082ba4cb9..9e63541b29d1f 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx @@ -21,11 +21,17 @@ import type { Filter, Query, TimeRange, PhraseFilter } from '@kbn/es-query'; import { css } from '@emotion/react'; import { getEsQueryConfig } from '@kbn/data-service'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { Graph } from '../../..'; +import { Graph, isEntityNode } from '../../..'; import { useGraphNodeExpandPopover } from './use_graph_node_expand_popover'; +import { useGraphLabelExpandPopover } from './use_graph_label_expand_popover'; import { useFetchGraphData } from '../../hooks/use_fetch_graph_data'; import { GRAPH_INVESTIGATION_TEST_ID } from '../test_ids'; -import { ACTOR_ENTITY_ID, RELATED_ENTITY, TARGET_ENTITY_ID } from '../../common/constants'; +import { + ACTOR_ENTITY_ID, + EVENT_ACTION, + RELATED_ENTITY, + TARGET_ENTITY_ID, +} from '../../common/constants'; const CONTROLLED_BY_GRAPH_INVESTIGATION_FILTER = 'graph-investigation'; @@ -112,17 +118,23 @@ const useGraphPopovers = ( }, }); + const labelExpandPopover = useGraphLabelExpandPopover({ + onShowEventsWithThisActionClick: (node) => { + setSearchFilters((prev) => addFilter(dataViewId, prev, EVENT_ACTION, node.data.label ?? '')); + }, + }); + const openPopoverCallback = useCallback( (cb: Function, ...args: unknown[]) => { - [nodeExpandPopover].forEach(({ actions: { closePopover } }) => { + [nodeExpandPopover, labelExpandPopover].forEach(({ actions: { closePopover } }) => { closePopover(); }); cb(...args); }, - [nodeExpandPopover] + [nodeExpandPopover, labelExpandPopover] ); - return { nodeExpandPopover, openPopoverCallback }; + return { nodeExpandPopover, labelExpandPopover, openPopoverCallback }; }; interface GraphInvestigationProps { @@ -160,7 +172,7 @@ interface GraphInvestigationProps { /** * Graph investigation view allows the user to expand nodes and view related entities. */ -export const GraphInvestigation: React.FC = memo( +export const GraphInvestigation = memo( ({ initialState: { dataView, originEventIds, timeRange: initialTimeRange }, }: GraphInvestigationProps) => { @@ -181,13 +193,17 @@ export const GraphInvestigation: React.FC = memo( [dataView, searchFilters, uiSettings] ); - const { nodeExpandPopover, openPopoverCallback } = useGraphPopovers( + const { nodeExpandPopover, labelExpandPopover, openPopoverCallback } = useGraphPopovers( dataView?.id ?? '', setSearchFilters ); - const expandButtonClickHandler = (...args: unknown[]) => + const nodeExpandButtonClickHandler = (...args: unknown[]) => openPopoverCallback(nodeExpandPopover.onNodeExpandButtonClick, ...args); - const isPopoverOpen = [nodeExpandPopover].some(({ state: { isOpen } }) => isOpen); + const labelExpandButtonClickHandler = (...args: unknown[]) => + openPopoverCallback(labelExpandPopover.onLabelExpandButtonClick, ...args); + const isPopoverOpen = [nodeExpandPopover, labelExpandPopover].some( + ({ state: { isOpen } }) => isOpen + ); const { data, refresh, isFetching } = useFetchGraphData({ req: { query: { @@ -206,13 +222,19 @@ export const GraphInvestigation: React.FC = memo( const nodes = useMemo(() => { return ( data?.nodes.map((node) => { - const nodeHandlers = - node.shape !== 'label' && node.shape !== 'group' - ? { - expandButtonClick: expandButtonClickHandler, - } - : undefined; - return { ...node, ...nodeHandlers }; + if (isEntityNode(node)) { + return { + ...node, + expandButtonClick: nodeExpandButtonClickHandler, + }; + } else if (node.shape === 'label') { + return { + ...node, + expandButtonClick: labelExpandButtonClickHandler, + }; + } + + return { ...node }; }) ?? [] ); // eslint-disable-next-line react-hooks/exhaustive-deps @@ -275,6 +297,7 @@ export const GraphInvestigation: React.FC = memo(
+ ); } diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_label_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_label_expand_popover.tsx new file mode 100644 index 0000000000000..6064e1cf9087b --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_label_expand_popover.tsx @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { memo } from 'react'; +import { EuiListGroup } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { ExpandPopoverListItem } from '../styles'; +import { GraphPopover } from '../../..'; +import { + GRAPH_LABEL_EXPAND_POPOVER_TEST_ID, + GRAPH_LABEL_EXPAND_POPOVER_SHOW_EVENTS_WITH_THIS_ACTION_ITEM_ID, +} from '../test_ids'; + +interface GraphLabelExpandPopoverProps { + isOpen: boolean; + anchorElement: HTMLElement | null; + closePopover: () => void; + onShowEventsWithThisActionClick: () => void; +} + +export const GraphLabelExpandPopover = memo( + ({ isOpen, anchorElement, closePopover, onShowEventsWithThisActionClick }) => { + return ( + + + + + + ); + } +); + +GraphLabelExpandPopover.displayName = 'GraphLabelExpandPopover'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx index 2fd10aa5c8c29..5104dbaeed5fb 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx @@ -26,7 +26,7 @@ interface GraphNodeExpandPopoverProps { onShowActionsOnEntityClick: () => void; } -export const GraphNodeExpandPopover: React.FC = memo( +export const GraphNodeExpandPopover = memo( ({ isOpen, anchorElement, diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_label_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_label_expand_popover.tsx new file mode 100644 index 0000000000000..bd9215394b56f --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_label_expand_popover.tsx @@ -0,0 +1,100 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'; +import { useGraphPopover } from '../../..'; +import type { ExpandButtonClickCallback, NodeProps } from '../types'; +import type { PopoverActions } from '../graph/use_graph_popover'; +import { GraphLabelExpandPopover } from './graph_label_expand_popover'; + +interface UseGraphLabelExpandPopoverArgs { + onShowEventsWithThisActionClick: (node: NodeProps) => void; +} + +export const useGraphLabelExpandPopover = ({ + onShowEventsWithThisActionClick, +}: UseGraphLabelExpandPopoverArgs) => { + const { id, state, actions } = useGraphPopover('label-expand-popover'); + const { openPopover, closePopover } = actions; + + const selectedNode = useRef(null); + const unToggleCallbackRef = useRef<(() => void) | null>(null); + const [pendingOpen, setPendingOpen] = useState<{ + node: NodeProps; + el: HTMLElement; + unToggleCallback: () => void; + } | null>(null); + + const closePopoverHandler = useCallback(() => { + selectedNode.current = null; + unToggleCallbackRef.current?.(); + unToggleCallbackRef.current = null; + closePopover(); + }, [closePopover]); + + const onLabelExpandButtonClick: ExpandButtonClickCallback = useCallback( + (e, node, unToggleCallback) => { + if (selectedNode.current?.id === node.id) { + // If the same node is clicked again, close the popover + closePopoverHandler(); + } else { + // Close the current popover if open + closePopoverHandler(); + + // Set the pending open state + setPendingOpen({ node, el: e.currentTarget, unToggleCallback }); + } + }, + [closePopoverHandler] + ); + + useEffect(() => { + // Open pending popover if the popover is not open + if (!state.isOpen && pendingOpen) { + const { node, el, unToggleCallback } = pendingOpen; + + selectedNode.current = node; + unToggleCallbackRef.current = unToggleCallback; + openPopover(el); + + setPendingOpen(null); + } + }, [state.isOpen, pendingOpen, openPopover]); + + const PopoverComponent = memo(() => ( + { + onShowEventsWithThisActionClick(selectedNode.current as NodeProps); + closePopoverHandler(); + }} + /> + )); + + PopoverComponent.displayName = GraphLabelExpandPopover.displayName; + + const actionsWithClose: PopoverActions = useMemo( + () => ({ + ...actions, + closePopover: closePopoverHandler, + }), + [actions, closePopoverHandler] + ); + + return useMemo( + () => ({ + onLabelExpandButtonClick, + PopoverComponent, + id, + actions: actionsWithClose, + state, + }), + [PopoverComponent, actionsWithClose, id, onLabelExpandButtonClick, state] + ); +}; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts index d3cd397764e60..0183b6cd0420f 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts @@ -5,6 +5,8 @@ * 2.0. */ +import type { NodeViewModel } from './types'; + export { Graph } from './graph/graph'; export { GraphInvestigation } from './graph_investigation/graph_investigation'; export { GraphPopover } from './graph/graph_popover'; @@ -18,3 +20,10 @@ export type { EntityNodeViewModel, NodeProps, } from './types'; + +export const isEntityNode = (node: NodeViewModel) => + node.shape === 'ellipse' || + node.shape === 'pentagon' || + node.shape === 'rectangle' || + node.shape === 'diamond' || + node.shape === 'hexagon'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx index 3d07c1c6037ed..a529468fdc3fb 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx @@ -13,8 +13,7 @@ interface Props { children?: React.ReactNode; } -/** A utility for wrapping children in the providers required to run most tests */ -export const TestProvidersComponent: React.FC = ({ children }) => { +export const TestProvidersComponent = ({ children }: Props) => { return ( ({ eui: euiDarkVars, darkMode: true })}>{children} ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx index 7dc46ac6eb82c..bea6f851bab17 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx @@ -10,7 +10,8 @@ import React from 'react'; import { ThemeProvider } from '@emotion/react'; import { Story } from '@storybook/react'; -import { NodeButton, type NodeButtonProps, NodeShapeContainer } from './styles'; +import { type NodeButtonProps, NodeShapeContainer } from './styles'; +import { NodeExpandButton } from './node_expand_button'; export default { title: 'Components/Graph Components', @@ -24,7 +25,7 @@ const Template: Story = (args) => ( Hover me - + ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx index ac6f51284a98d..7275727b70832 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx @@ -6,7 +6,7 @@ */ import React, { memo } from 'react'; -import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui'; +import { useEuiTheme } from '@elastic/eui'; import { Handle, Position } from '@xyflow/react'; import type { EntityNodeViewModel, NodeProps } from '../types'; import { @@ -16,6 +16,7 @@ import { NodeIcon, NodeButton, HandleStyleOverride, + useNodeFillColor, } from './styles'; import { DiamondHoverShape, DiamondShape } from './shapes/diamond_shape'; import { NodeExpandButton } from './node_expand_button'; @@ -24,8 +25,7 @@ import { Label } from './label'; const NODE_WIDTH = 99; const NODE_HEIGHT = 98; -// eslint-disable-next-line react/display-name -export const DiamondNode: React.FC = memo((props: NodeProps) => { +export const DiamondNode = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; const { euiTheme } = useEuiTheme(); @@ -51,7 +51,7 @@ export const DiamondNode: React.FC = memo((props: NodeProps) => { xmlns="http://www.w3.org/2000/svg" > {icon && } @@ -60,6 +60,7 @@ export const DiamondNode: React.FC = memo((props: NodeProps) => { <> nodeClick?.(e, props)} /> expandButtonClick?.(e, props, unToggleCallback)} x={`${NODE_WIDTH - NodeExpandButton.ExpandButtonSize}px`} y={`${(NODE_HEIGHT - NodeExpandButton.ExpandButtonSize) / 2 - 4}px`} @@ -85,3 +86,5 @@ export const DiamondNode: React.FC = memo((props: NodeProps) => { ); }); + +DiamondNode.displayName = 'DiamondNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx index 05a61977cdcb1..11babb4d33940 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx @@ -6,34 +6,28 @@ */ import React, { memo } from 'react'; -import { Handle, NodeResizeControl, Position } from '@xyflow/react'; +import { Handle, Position } from '@xyflow/react'; import { HandleStyleOverride } from './styles'; import type { NodeProps } from '../types'; -// eslint-disable-next-line react/display-name -export const EdgeGroupNode: React.FC = memo((props: NodeProps) => { +export const EdgeGroupNode = memo((props: NodeProps) => { // Handles order horizontally is: in > inside > out > outside return ( <> - - - - + + = memo((props: NodeProps) => { ); }); + +EdgeGroupNode.displayName = 'EdgeGroupNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx index c8de632e893a0..b9c73c66685b9 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx @@ -6,7 +6,7 @@ */ import React, { memo } from 'react'; -import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui'; +import { useEuiTheme } from '@elastic/eui'; import { Handle, Position } from '@xyflow/react'; import { NodeShapeContainer, @@ -15,6 +15,7 @@ import { NodeIcon, NodeButton, HandleStyleOverride, + useNodeFillColor, NODE_WIDTH, NODE_HEIGHT, } from './styles'; @@ -23,8 +24,7 @@ import { EllipseHoverShape, EllipseShape } from './shapes/ellipse_shape'; import { NodeExpandButton } from './node_expand_button'; import { Label } from './label'; -// eslint-disable-next-line react/display-name -export const EllipseNode: React.FC = memo((props: NodeProps) => { +export const EllipseNode = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; const { euiTheme } = useEuiTheme(); @@ -50,7 +50,7 @@ export const EllipseNode: React.FC = memo((props: NodeProps) => { xmlns="http://www.w3.org/2000/svg" > {icon && } @@ -59,6 +59,7 @@ export const EllipseNode: React.FC = memo((props: NodeProps) => { <> nodeClick?.(e, props)} /> expandButtonClick?.(e, props, unToggleCallback)} x={`${NODE_WIDTH - NodeExpandButton.ExpandButtonSize / 2}px`} y={`${(NODE_HEIGHT - NodeExpandButton.ExpandButtonSize) / 2}px`} @@ -84,3 +85,5 @@ export const EllipseNode: React.FC = memo((props: NodeProps) => { ); }); + +EllipseNode.displayName = 'EllipseNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx index f5ee7d92605cc..e033dc0f23b32 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx @@ -6,7 +6,7 @@ */ import React, { memo } from 'react'; -import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui'; +import { useEuiTheme } from '@elastic/eui'; import { Handle, Position } from '@xyflow/react'; import { NodeShapeContainer, @@ -15,6 +15,7 @@ import { NodeIcon, NodeButton, HandleStyleOverride, + useNodeFillColor, } from './styles'; import type { EntityNodeViewModel, NodeProps } from '../types'; import { HexagonHoverShape, HexagonShape } from './shapes/hexagon_shape'; @@ -24,8 +25,7 @@ import { Label } from './label'; const NODE_WIDTH = 87; const NODE_HEIGHT = 96; -// eslint-disable-next-line react/display-name -export const HexagonNode: React.FC = memo((props: NodeProps) => { +export const HexagonNode = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; const { euiTheme } = useEuiTheme(); @@ -51,7 +51,7 @@ export const HexagonNode: React.FC = memo((props: NodeProps) => { xmlns="http://www.w3.org/2000/svg" > {icon && } @@ -60,6 +60,7 @@ export const HexagonNode: React.FC = memo((props: NodeProps) => { <> nodeClick?.(e, props)} /> expandButtonClick?.(e, props, unToggleCallback)} x={`${NODE_WIDTH - NodeExpandButton.ExpandButtonSize / 2 + 2}px`} y={`${(NODE_HEIGHT - NodeExpandButton.ExpandButtonSize) / 2 - 2}px`} @@ -85,3 +86,5 @@ export const HexagonNode: React.FC = memo((props: NodeProps) => { ); }); + +HexagonNode.displayName = 'HexagonNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx index 098a3e0dd89c7..a0ce16960b26c 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label.tsx @@ -62,7 +62,7 @@ export interface LabelProps { text?: string; } -const LabelComponent: React.FC = ({ text = '' }: LabelProps) => { +const LabelComponent = ({ text = '' }: LabelProps) => { const [isTruncated, setIsTruncated] = React.useState(false); return ( diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx index 62ee671659662..bc293d0cf5e9e 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx @@ -7,19 +7,56 @@ import React, { memo } from 'react'; import { Handle, Position } from '@xyflow/react'; -import { LabelNodeContainer, LabelShape, HandleStyleOverride, LabelShapeOnHover } from './styles'; +import { css } from '@emotion/react'; +import { + LabelNodeContainer, + LabelShape, + HandleStyleOverride, + LabelShapeOnHover, + NodeButton, + LABEL_PADDING_X, + LABEL_BORDER_WIDTH, + LABEL_HEIGHT, +} from './styles'; import type { LabelNodeViewModel, NodeProps } from '../types'; +import { NodeExpandButton } from './node_expand_button'; +import { getTextWidth } from '../graph/utils'; -// eslint-disable-next-line react/display-name -export const LabelNode: React.FC = memo((props: NodeProps) => { - const { id, color, label, interactive } = props.data as LabelNodeViewModel; +const LABEL_MIN_WIDTH = 100; + +export const LabelNode = memo((props: NodeProps) => { + const { id, color, label, interactive, nodeClick, expandButtonClick } = + props.data as LabelNodeViewModel; + const text = label ? label : id; + const labelWidth = Math.max( + LABEL_MIN_WIDTH, + getTextWidth(text ?? '') + LABEL_PADDING_X * 2 + LABEL_BORDER_WIDTH * 2 + ); return ( {interactive && } - {label ? label : id} + {text} + {interactive && ( + <> + nodeClick?.(e, props)} + /> + expandButtonClick?.(e, props, unToggleCallback)} + x={`${labelWidth}px`} + y={`${-LABEL_HEIGHT + (LABEL_HEIGHT - NodeExpandButton.ExpandButtonSize) / 2}px`} + /> + + )} = memo((props: NodeProps) => { ); }); + +LabelNode.displayName = 'LabelNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx index 07581c1e3d3dd..80d354cd77d6b 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx @@ -7,14 +7,16 @@ import React, { useCallback, useState } from 'react'; import { StyledNodeExpandButton, RoundEuiButtonIcon, ExpandButtonSize } from './styles'; +import type { EntityNodeViewModel, LabelNodeViewModel } from '..'; export interface NodeExpandButtonProps { x?: string; y?: string; + color?: EntityNodeViewModel['color'] | LabelNodeViewModel['color']; onClick?: (e: React.MouseEvent, unToggleCallback: () => void) => void; } -export const NodeExpandButton = ({ x, y, onClick }: NodeExpandButtonProps) => { +export const NodeExpandButton = ({ x, y, color, onClick }: NodeExpandButtonProps) => { // State to track whether the icon is "plus" or "minus" const [isToggled, setIsToggled] = useState(false); @@ -30,7 +32,7 @@ export const NodeExpandButton = ({ x, y, onClick }: NodeExpandButtonProps) => { return ( = memo((props: NodeProps) => { +export const PentagonNode = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; const { euiTheme } = useEuiTheme(); @@ -56,7 +56,7 @@ export const PentagonNode: React.FC = memo((props: NodeProps) => { xmlns="http://www.w3.org/2000/svg" > {icon && } @@ -65,6 +65,7 @@ export const PentagonNode: React.FC = memo((props: NodeProps) => { <> nodeClick?.(e, props)} /> expandButtonClick?.(e, props, unToggleCallback)} x={`${NODE_WIDTH - NodeExpandButton.ExpandButtonSize / 2}px`} y={`${(NODE_HEIGHT - NodeExpandButton.ExpandButtonSize) / 2}px`} @@ -90,3 +91,5 @@ export const PentagonNode: React.FC = memo((props: NodeProps) => { ); }); + +PentagonNode.displayName = 'PentagonNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx index 8b55a0898586c..99c336373b836 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx @@ -6,7 +6,7 @@ */ import React, { memo } from 'react'; -import { useEuiBackgroundColor, useEuiTheme } from '@elastic/eui'; +import { useEuiTheme } from '@elastic/eui'; import { Handle, Position } from '@xyflow/react'; import { NodeShapeContainer, @@ -15,6 +15,7 @@ import { NodeIcon, NodeButton, HandleStyleOverride, + useNodeFillColor, } from './styles'; import type { EntityNodeViewModel, NodeProps } from '../types'; import { RectangleHoverShape, RectangleShape } from './shapes/rectangle_shape'; @@ -24,8 +25,7 @@ import { Label } from './label'; const NODE_WIDTH = 81; const NODE_HEIGHT = 80; -// eslint-disable-next-line react/display-name -export const RectangleNode: React.FC = memo((props: NodeProps) => { +export const RectangleNode = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; const { euiTheme } = useEuiTheme(); @@ -51,7 +51,7 @@ export const RectangleNode: React.FC = memo((props: NodeProps) => { xmlns="http://www.w3.org/2000/svg" > {icon && } @@ -60,6 +60,7 @@ export const RectangleNode: React.FC = memo((props: NodeProps) => { <> nodeClick?.(e, props)} /> expandButtonClick?.(e, props, unToggleCallback)} x={`${NODE_WIDTH - NodeExpandButton.ExpandButtonSize / 4}px`} y={`${(NODE_HEIGHT - NodeExpandButton.ExpandButtonSize / 2) / 2}px`} @@ -85,3 +86,5 @@ export const RectangleNode: React.FC = memo((props: NodeProps) => { ); }); + +RectangleNode.displayName = 'RectangleNode'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx index 0f0cce4e744c7..a0998ffd9a92f 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx @@ -8,8 +8,7 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; -// eslint-disable-next-line react/display-name -export const DiamondHoverShape: React.FC = memo(({ stroke }) => ( +export const DiamondHoverShape = memo(({ stroke }) => ( = memo(({ stroke }) => strokeDasharray="2 2" /> )); +DiamondHoverShape.displayName = 'DiamondHoverShape'; -// eslint-disable-next-line react/display-name -export const DiamondShape: React.FC = memo(({ stroke, fill }) => ( +export const DiamondShape = memo(({ stroke, fill }) => ( )); +DiamondShape.displayName = 'DiamondShape'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx index ef2f8452cf206..fdf699d1c3e05 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx @@ -8,12 +8,12 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; -// eslint-disable-next-line react/display-name -export const EllipseHoverShape: React.FC = memo(({ stroke }) => ( +export const EllipseHoverShape = memo(({ stroke }) => ( )); +EllipseHoverShape.displayName = 'EllipseHoverShape'; -// eslint-disable-next-line react/display-name -export const EllipseShape: React.FC = memo(({ stroke, fill }) => ( +export const EllipseShape = memo(({ stroke, fill }) => ( )); +EllipseShape.displayName = 'EllipseShape'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx index 133c6e4a035c7..4a0de92b75f65 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx @@ -8,8 +8,7 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; -// eslint-disable-next-line react/display-name -export const HexagonHoverShape: React.FC = memo(({ stroke }) => ( +export const HexagonHoverShape = memo(({ stroke }) => ( = memo(({ stroke }) => strokeDasharray="2 2" /> )); +HexagonHoverShape.displayName = 'HexagonHoverShape'; -// eslint-disable-next-line react/display-name -export const HexagonShape: React.FC = memo(({ stroke, fill }) => ( +export const HexagonShape = memo(({ stroke, fill }) => ( )); +HexagonShape.displayName = 'HexagonShape'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx index ea43efed36a48..f46aae508fbca 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx @@ -8,8 +8,7 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; -// eslint-disable-next-line react/display-name -export const PentagonHoverShape: React.FC = memo(({ stroke }) => ( +export const PentagonHoverShape = memo(({ stroke }) => ( = memo(({ stroke }) = strokeDasharray="2 2" /> )); +PentagonHoverShape.displayName = 'PentagonHoverShape'; -// eslint-disable-next-line react/display-name -export const PentagonShape: React.FC = memo(({ stroke, fill }) => ( +export const PentagonShape = memo(({ stroke, fill }) => ( )); +PentagonShape.displayName = 'PentagonShape'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx index 28e55c8ea117c..e714d66880589 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx @@ -8,8 +8,7 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; -// eslint-disable-next-line react/display-name -export const RectangleHoverShape: React.FC = memo(({ stroke }) => ( +export const RectangleHoverShape = memo(({ stroke }) => ( = memo(({ stroke }) strokeDasharray="2 2" /> )); +RectangleHoverShape.displayName = 'RectangleHoverShape'; -// eslint-disable-next-line react/display-name -export const RectangleShape: React.FC = memo(({ stroke, fill }) => ( +export const RectangleShape = memo(({ stroke, fill }) => ( )); +RectangleShape.displayName = 'RectangleShape'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx index 2982c4145370e..ae5e209c96f0e 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx @@ -9,7 +9,8 @@ import React from 'react'; import styled from '@emotion/styled'; import { type EuiIconProps, - type _EuiBackgroundColor, + type EuiTextProps, + type CommonProps, EuiButtonIcon, EuiIcon, EuiText, @@ -19,21 +20,29 @@ import { import { rgba } from 'polished'; import { getSpanIcon } from './get_span_icon'; import type { NodeExpandButtonProps } from './node_expand_button'; +import type { EntityNodeViewModel, LabelNodeViewModel } from '..'; +export const LABEL_HEIGHT = 24; export const LABEL_PADDING_X = 15; export const LABEL_BORDER_WIDTH = 1; export const NODE_WIDTH = 90; export const NODE_HEIGHT = 90; export const NODE_LABEL_WIDTH = 160; +type NodeColor = EntityNodeViewModel['color'] | LabelNodeViewModel['color']; export const LabelNodeContainer = styled.div` + position: relative; text-wrap: nowrap; min-width: 100px; - height: 24px; + height: ${LABEL_HEIGHT}px; `; -export const LabelShape = styled(EuiText)` - background: ${(props) => useEuiBackgroundColor(props.color as _EuiBackgroundColor)}; +interface LabelShapeProps extends EuiTextProps { + color: LabelNodeViewModel['color']; +} + +export const LabelShape = styled(EuiText)` + background: ${(props) => useNodeFillColor(props.color)}; border: ${(props) => { const { euiTheme } = useEuiTheme(); return `solid ${ @@ -101,26 +110,28 @@ export const NodeShapeSvg = styled.svg` z-index: 1; `; -export interface NodeButtonProps { +export interface NodeButtonProps extends CommonProps { + width?: number; + height?: number; onClick?: (e: React.MouseEvent) => void; } -export const NodeButton: React.FC = ({ onClick }) => ( - - +export const NodeButton = ({ onClick, width, height, ...props }: NodeButtonProps) => ( + + ); -const StyledNodeContainer = styled.div` +const StyledNodeContainer = styled.div` position: absolute; - width: ${NODE_WIDTH}px; - height: ${NODE_HEIGHT}px; + width: ${(props) => props.width ?? NODE_WIDTH}px; + height: ${(props) => props.height ?? NODE_HEIGHT}px; z-index: 1; `; -const StyledNodeButton = styled.div` - width: ${NODE_WIDTH}px; - height: ${NODE_HEIGHT}px; +const StyledNodeButton = styled.div` + width: ${(props) => props.width ?? NODE_WIDTH}px; + height: ${(props) => props.height ?? NODE_HEIGHT}px; `; export const StyledNodeExpandButton = styled.div` @@ -136,7 +147,7 @@ export const StyledNodeExpandButton = styled.div` opacity: 1; } - ${NodeShapeContainer}:hover & { + ${NodeShapeContainer}:hover &, ${LabelNodeContainer}:hover & { opacity: 1; /* Show on hover */ } @@ -153,11 +164,11 @@ export const NodeShapeOnHoverSvg = styled(NodeShapeSvg)` opacity: 0; /* Hidden by default */ transition: opacity 0.2s ease; /* Smooth transition */ - ${NodeShapeContainer}:hover & { + ${NodeShapeContainer}:hover &, ${LabelNodeContainer}:hover & { opacity: 1; /* Show on hover */ } - ${NodeShapeContainer}:has(${StyledNodeExpandButton}.toggled) & { + ${NodeShapeContainer}:has(${StyledNodeExpandButton}.toggled) &, ${LabelNodeContainer}:has(${StyledNodeExpandButton}.toggled) & { opacity: 1; /* Show on hover */ } @@ -209,6 +220,11 @@ export const HandleStyleOverride: React.CSSProperties = { border: 'none', }; +export const useNodeFillColor = (color: NodeColor | undefined) => { + const fillColor = (color === 'danger' ? 'primary' : color) ?? 'primary'; + return useEuiBackgroundColor(fillColor); +}; + export const GroupStyleOverride = (size?: { width: number; height: number; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx index be776d57be12a..fc7f4a8a69bcc 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx @@ -55,15 +55,15 @@ const StyleEuiIcon = styled(EuiIcon)` type RoundedEuiIconProps = EuiIconProps & EuiColorProps; -const RoundedEuiIcon: React.FC = ({ color, background, ...rest }) => ( +const RoundedEuiIcon = ({ color, background, ...rest }: RoundedEuiIconProps) => ( ); -export const ExpandPopoverListItem: React.FC< - CommonProps & Pick -> = (props) => { +export const ExpandPopoverListItem = ( + props: CommonProps & Pick +) => { const { iconType, label, onClick, ...rest } = props; const { euiTheme } = useEuiTheme(); return ( diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts index 96e399d670907..d507563c3fd73 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts @@ -16,3 +16,8 @@ export const GRAPH_NODE_POPOVER_SHOW_ACTIONS_BY_ITEM_ID = `${GRAPH_INVESTIGATION_TEST_ID}ShowActionsByEntity` as const; export const GRAPH_NODE_POPOVER_SHOW_ACTIONS_ON_ITEM_ID = `${GRAPH_INVESTIGATION_TEST_ID}ShowActionsOnEntity` as const; + +export const GRAPH_LABEL_EXPAND_POPOVER_TEST_ID = + `${GRAPH_INVESTIGATION_TEST_ID}GraphLabelExpandPopover` as const; +export const GRAPH_LABEL_EXPAND_POPOVER_SHOW_EVENTS_WITH_THIS_ACTION_ITEM_ID = + `${GRAPH_INVESTIGATION_TEST_ID}ShowEventsWithThisAction` as const; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts index b09f6a29f6c62..dc5773cdff41d 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts @@ -12,6 +12,7 @@ import type { LabelNodeDataModel, EdgeDataModel, NodeShape, + Color as NodeColor, } from '@kbn/cloud-security-posture-common/types/graph/latest'; import type { Node, NodeProps as xyNodeProps, Edge, EdgeProps as xyEdgeProps } from '@xyflow/react'; @@ -50,6 +51,7 @@ export interface LabelNodeViewModel LabelNodeDataModel, BaseNodeDataViewModel { expandButtonClick?: ExpandButtonClickCallback; + nodeClick?: NodeClickCallback; } export type NodeViewModel = EntityNodeViewModel | GroupNodeViewModel | LabelNodeViewModel; @@ -62,7 +64,9 @@ export type EdgeProps = xyEdgeProps< Edge< EdgeViewModel & { sourceShape: NodeShape; + sourceColor: NodeColor; targetShape: NodeShape; + targetColor: NodeColor; } > >; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx index e13d33c0e11cb..4a5572e6f8fbb 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx @@ -8,7 +8,7 @@ import { EuiBadge, EuiIcon, EuiTextColor } from '@elastic/eui'; import React from 'react'; import { css } from '@emotion/react'; -import { float } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { float } from '@elastic/elasticsearch/lib/api/types'; import type { VulnSeverity } from '@kbn/cloud-security-posture-common'; import { getCvsScoreColor, getSeverityStatusColor } from '../utils/get_vulnerability_colors'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts index fa060738651a1..d07ac51cc6075 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts @@ -37,8 +37,11 @@ export const useMisconfigurationFindings = (options: UseCspOptions) => { rawResponse: { hits, aggregations }, } = await lastValueFrom( data.search.search({ - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - params: buildMisconfigurationsFindingsQuery(options, rulesStates!), + params: buildMisconfigurationsFindingsQuery( + options, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + rulesStates! + ) as LatestFindingsRequest['params'], }) ); if (!aggregations && options.ignore_unavailable === false) diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts index d2f4d4f522111..019125bde1f03 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts @@ -35,8 +35,11 @@ export const useMisconfigurationPreview = (options: UseCspOptions) => { rawResponse: { aggregations }, } = await lastValueFrom( data.search.search({ - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - params: buildMisconfigurationsFindingsQuery(options, rulesStates!), + params: buildMisconfigurationsFindingsQuery( + options, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + rulesStates! + ) as LatestFindingsRequest['params'], }) ); if (!aggregations && options.ignore_unavailable === false) diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts index 062f5c7740c73..d8e44ad5c4328 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts @@ -13,7 +13,7 @@ import { SearchResponse, AggregationsMultiBucketAggregateBase, AggregationsStringRareTermsBucketKeys, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import type { CspVulnerabilityFinding } from '@kbn/cloud-security-posture-common/schema/vulnerabilities/latest'; import type { CoreStart } from '@kbn/core/public'; import type { CspClientPluginStartDeps, UseCspOptions } from '../types'; @@ -47,7 +47,7 @@ export const useVulnerabilitiesFindings = (options: UseCspOptions) => { rawResponse: { aggregations, hits }, } = await lastValueFrom( data.search.search({ - params: getVulnerabilitiesQuery(options, pageParam), + params: getVulnerabilitiesQuery(options, pageParam) as LatestFindingsRequest['params'], }) ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts index ac34636720143..05b810c361be6 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts @@ -13,7 +13,7 @@ import { SearchResponse, AggregationsMultiBucketAggregateBase, AggregationsStringRareTermsBucketKeys, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import type { CspVulnerabilityFinding } from '@kbn/cloud-security-posture-common/schema/vulnerabilities/latest'; import type { CoreStart } from '@kbn/core/public'; import type { CspClientPluginStartDeps, UseCspOptions } from '../types'; @@ -42,7 +42,7 @@ export const useVulnerabilitiesPreview = (options: UseCspOptions) => { rawResponse: { aggregations }, } = await lastValueFrom( data.search.search({ - params: getVulnerabilitiesQuery(options, true), + params: getVulnerabilitiesQuery(options, true) as LatestFindingsRequest['params'], }) ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/types.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/types.ts index 2c7be37de50dd..03fa60479806b 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/types.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/types.ts @@ -23,7 +23,7 @@ import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; import { SharePluginStart } from '@kbn/share-plugin/public'; import { SpacesPluginStart } from '@kbn/spaces-plugin/public'; import { CspFinding } from '@kbn/cloud-security-posture-common'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { IKibanaSearchResponse, IKibanaSearchRequest } from '@kbn/search-types'; import type { BoolQuery } from '@kbn/es-query'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts index 86e8f3c8f668b..8bf53fcddebe4 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { AggregationBuckets, getVulnerabilitiesAggregationCount, diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts index e52b66a0db685..88416477021ca 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { buildMutedRulesFilter, CDR_MISCONFIGURATIONS_INDEX_PATTERN, diff --git a/x-pack/solutions/security/plugins/asset_inventory/public/application.tsx b/x-pack/solutions/security/plugins/asset_inventory/public/application.tsx deleted file mode 100644 index f442f01d17f7c..0000000000000 --- a/x-pack/solutions/security/plugins/asset_inventory/public/application.tsx +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ -import React from 'react'; -import ReactDOM from 'react-dom'; -import type { AppMountParameters, CoreStart } from '@kbn/core/public'; -import type { AppPluginStartDependencies } from './types'; -import { AssetInventoryApp } from './components/app'; - -export const renderApp = ( - { notifications, http }: CoreStart, - {}: AppPluginStartDependencies, - { appBasePath, element }: AppMountParameters -) => { - ReactDOM.render( - , - element - ); - - return () => ReactDOM.unmountComponentAtNode(element); -}; diff --git a/x-pack/solutions/security/plugins/asset_inventory/public/components/app.tsx b/x-pack/solutions/security/plugins/asset_inventory/public/components/app.tsx index 924091034353b..50040ab9d22d3 100644 --- a/x-pack/solutions/security/plugins/asset_inventory/public/components/app.tsx +++ b/x-pack/solutions/security/plugins/asset_inventory/public/components/app.tsx @@ -6,33 +6,26 @@ */ import React from 'react'; import { FormattedMessage, I18nProvider } from '@kbn/i18n-react'; -import { BrowserRouter as Router } from '@kbn/shared-ux-router'; import { EuiPageTemplate, EuiTitle } from '@elastic/eui'; -import type { CoreStart } from '@kbn/core/public'; -interface AssetInventoryAppDeps { - basename: string; - notifications: CoreStart['notifications']; - http: CoreStart['http']; -} - -export const AssetInventoryApp = ({ basename }: AssetInventoryAppDeps) => { +const AssetInventoryApp = () => { return ( - - - <> - - - -

- -

-
-
- -
- -
-
+ + <> + + + +

+ +

+
+
+ +
+ +
); }; + +// we need to use default exports to import it via React.lazy +export default AssetInventoryApp; // eslint-disable-line import/no-default-export diff --git a/x-pack/solutions/security/plugins/asset_inventory/public/methods/index.tsx b/x-pack/solutions/security/plugins/asset_inventory/public/methods/index.tsx new file mode 100644 index 0000000000000..bc44445b9b14a --- /dev/null +++ b/x-pack/solutions/security/plugins/asset_inventory/public/methods/index.tsx @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { lazy, Suspense } from 'react'; +import { EuiLoadingSpinner } from '@elastic/eui'; +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import { AppPluginStartDependencies } from '../types'; + +// Initializing react-query +const queryClient = new QueryClient({ + defaultOptions: { + queries: { + refetchOnWindowFocus: false, + refetchOnMount: false, + refetchOnReconnect: false, + }, + }, +}); + +const AssetInventoryLazy = lazy(() => import('../components/app')); + +export const getAssetInventoryLazy = (props: AppPluginStartDependencies) => { + return ( + + }> + + + + ); +}; diff --git a/x-pack/solutions/security/plugins/asset_inventory/public/plugin.ts b/x-pack/solutions/security/plugins/asset_inventory/public/plugin.ts index fd2841f5b2335..f6663399e7a2b 100644 --- a/x-pack/solutions/security/plugins/asset_inventory/public/plugin.ts +++ b/x-pack/solutions/security/plugins/asset_inventory/public/plugin.ts @@ -4,12 +4,13 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type { AppMountParameters, CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import type { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; import type { AssetInventoryPluginSetup, AssetInventoryPluginStart, AppPluginStartDependencies, } from './types'; +import { getAssetInventoryLazy } from './methods'; export class AssetInventoryPlugin implements Plugin @@ -17,16 +18,10 @@ export class AssetInventoryPlugin public setup(core: CoreSetup): AssetInventoryPluginSetup { return {}; } - public start( - coreStart: CoreStart, - depsStart: AppPluginStartDependencies - ): AssetInventoryPluginStart { + public start(coreStart: CoreStart): AssetInventoryPluginStart { return { - getAssetInventoryPage: async (params: AppMountParameters) => { - // Load application bundle - const { renderApp } = await import('./application'); - // Render the application - return renderApp(coreStart, depsStart as AppPluginStartDependencies, params); + getAssetInventoryPage: (assetInventoryDeps: AppPluginStartDependencies) => { + return getAssetInventoryLazy(assetInventoryDeps); }, }; } diff --git a/x-pack/solutions/security/plugins/asset_inventory/public/types.ts b/x-pack/solutions/security/plugins/asset_inventory/public/types.ts index a551b4d231c3d..2d1f51329e5c9 100644 --- a/x-pack/solutions/security/plugins/asset_inventory/public/types.ts +++ b/x-pack/solutions/security/plugins/asset_inventory/public/types.ts @@ -8,8 +8,9 @@ // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface AssetInventoryPluginSetup {} -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface AssetInventoryPluginStart {} +export interface AssetInventoryPluginStart { + getAssetInventoryPage: (assetInventoryStartDeps: AppPluginStartDependencies) => JSX.Element; +} // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface AppPluginStartDependencies {} diff --git a/x-pack/solutions/security/plugins/asset_inventory/tsconfig.json b/x-pack/solutions/security/plugins/asset_inventory/tsconfig.json index b733fc545be25..b4dd4bdb16a02 100644 --- a/x-pack/solutions/security/plugins/asset_inventory/tsconfig.json +++ b/x-pack/solutions/security/plugins/asset_inventory/tsconfig.json @@ -14,10 +14,5 @@ "../../../../../typings/**/*" ], "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/i18n-react", - "@kbn/shared-ux-router", - "@kbn/securitysolution-es-utils" - ] + "kbn_references": ["@kbn/core", "@kbn/i18n-react", "@kbn/securitysolution-es-utils"] } diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts index 5d76176758af6..228ea25ef76ba 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { MappingRuntimeFields } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { MappingRuntimeFields } from '@elastic/elasticsearch/lib/api/types'; export const getPackagePolicyIdRuntimeMapping = (): MappingRuntimeFields => ({ package_policy_identifier: { diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx index b98ff432a3c96..842e21c58a971 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { SearchResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { SearchResponse } from '@elastic/elasticsearch/lib/api/types'; import type { IKibanaSearchResponse } from '@kbn/search-types'; import { GenericBuckets, GroupingQuery, RootAggregation } from '@kbn/grouping/src'; import { useQuery } from '@tanstack/react-query'; diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts index 64353230211bc..33ec005b33750 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts @@ -8,7 +8,7 @@ import { useInfiniteQuery } from '@tanstack/react-query'; import { number } from 'io-ts'; import { lastValueFrom } from 'rxjs'; import type { IKibanaSearchResponse, IKibanaSearchRequest } from '@kbn/search-types'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { buildDataTableRecord } from '@kbn/discover-utils'; import { EsHitRecord } from '@kbn/discover-utils/types'; import { showErrorToast } from '@kbn/cloud-security-posture'; @@ -150,7 +150,11 @@ export const useLatestFindings = (options: UseFindingsOptions) => { rawResponse: { hits, aggregations }, } = await lastValueFrom( data.search.search({ - params: getFindingsQuery(options, rulesStates!, pageParam), // ruleStates always exists since it under the `enabled` dependency. + params: getFindingsQuery( + options, + rulesStates!, + pageParam + ) as LatestFindingsRequest['params'], // ruleStates always exists since it under the `enabled` dependency. }) ); if (!aggregations) throw new Error('expected aggregations to be an defined'); diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx index 9fddf97e28482..db5ec5816040c 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { SearchResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { SearchResponse } from '@elastic/elasticsearch/lib/api/types'; import type { IKibanaSearchResponse } from '@kbn/search-types'; import { GenericBuckets, GroupingQuery, RootAggregation } from '@kbn/grouping/src'; import { useQuery } from '@tanstack/react-query'; diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx index a998707c4704f..6763547730e1a 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx +++ b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx @@ -13,7 +13,7 @@ import { SearchResponse, AggregationsMultiBucketAggregateBase, AggregationsStringRareTermsBucketKeys, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +} from '@elastic/elasticsearch/lib/api/types'; import { buildDataTableRecord } from '@kbn/discover-utils'; import { EsHitRecord } from '@kbn/discover-utils/types'; import { @@ -118,7 +118,7 @@ export const useLatestVulnerabilities = (options: VulnerabilitiesQuery) => { rawResponse: { hits }, } = await lastValueFrom( data.search.search({ - params: getVulnerabilitiesQuery(options, pageParam), + params: getVulnerabilitiesQuery(options, pageParam) as LatestFindingsRequest['params'], }) ); diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/types.ts index 190114b3bf055..55b534436ef31 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/types.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/types.ts @@ -5,10 +5,7 @@ * 2.0. */ -import { - IndicesIndexTemplateSummary, - Metadata, -} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { IndicesIndexTemplateSummary, Metadata } from '@elastic/elasticsearch/lib/api/types'; export interface LatestIndexConfig { findings: IndexConfig; diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts index e6c2e90cd9886..0a5d27d7dbca1 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts @@ -9,7 +9,7 @@ import { SavedObjectsClientContract, } from '@kbn/core-saved-objects-api-server'; import { transformError } from '@kbn/securitysolution-es-utils'; -import { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/types'; import { buildMutedRulesFilter } from '@kbn/cloud-security-posture-common'; import type { CspBenchmarkRulesStates } from '@kbn/cloud-security-posture-common/schema/rules/latest'; import type { CspSettings } from '@kbn/cloud-security-posture-common/schema/rules/v4'; diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts index 327a2da76f336..a8845d2aa479f 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts @@ -6,7 +6,7 @@ */ import { QueryDslQueryContainer } from '@kbn/data-views-plugin/common/types'; -import { MappingRuntimeFields } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { MappingRuntimeFields } from '@elastic/elasticsearch/lib/api/types'; import type { ElasticsearchClient, Logger } from '@kbn/core/server'; import { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-server'; import type { CspBenchmarkRule } from '@kbn/cloud-security-posture-common/schema/rules/latest'; diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts index 38a9e356a1446..990a0457dd368 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { SearchResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { SearchResponse } from '@elastic/elasticsearch/lib/api/types'; import { schema } from '@kbn/config-schema'; import { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; import { transformError } from '@kbn/securitysolution-es-utils'; diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/v1.ts index d506bb856e766..5fb39c9be4993 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/v1.ts +++ b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/v1.ts @@ -40,6 +40,7 @@ interface GraphEdge { interface LabelEdges { source: string; target: string; + edgeType: EdgeDataModel['type']; } interface GraphContextServices { @@ -259,7 +260,17 @@ const createNodes = (records: GraphEdge[], context: Omit { // If actor is a user return ellipse if (users.includes(actorId)) { @@ -337,7 +352,7 @@ const determineEntityNodeShape = ( return { shape: 'diamond', icon: 'globe' }; } - return { shape: 'hexagon', icon: 'questionInCircle' }; + return { shape: 'hexagon' }; }; const sortNodes = (nodesMap: Record) => { @@ -368,7 +383,8 @@ const createEdgesAndGroups = (context: ParseContext) => { nodesMap, labelEdges[edgeLabelId].source, edgeLabelId, - labelEdges[edgeLabelId].target + labelEdges[edgeLabelId].target, + labelEdges[edgeLabelId].edgeType ); } else { const groupNode: GroupNodeDataModel = { @@ -377,10 +393,18 @@ const createEdgesAndGroups = (context: ParseContext) => { }; nodesMap[groupNode.id] = groupNode; let groupEdgesColor: Color = 'primary'; + let groupEdgesType: EdgeDataModel['type'] = 'dashed'; edgeLabelsIds.forEach((edgeLabelId) => { (nodesMap[edgeLabelId] as Writable).parentId = groupNode.id; - connectEntitiesAndLabelNode(edgesMap, nodesMap, groupNode.id, edgeLabelId, groupNode.id); + connectEntitiesAndLabelNode( + edgesMap, + nodesMap, + groupNode.id, + edgeLabelId, + groupNode.id, + labelEdges[edgeLabelId].edgeType + ); if ((nodesMap[edgeLabelId] as LabelNodeDataModel).color === 'danger') { groupEdgesColor = 'danger'; @@ -391,6 +415,10 @@ const createEdgesAndGroups = (context: ParseContext) => { // Use warning only if there's no danger color groupEdgesColor = 'warning'; } + + if (labelEdges[edgeLabelId].edgeType === 'solid') { + groupEdgesType = 'solid'; + } }); connectEntitiesAndLabelNode( @@ -399,6 +427,7 @@ const createEdgesAndGroups = (context: ParseContext) => { labelEdges[edgeLabelsIds[0]].source, groupNode.id, labelEdges[edgeLabelsIds[0]].target, + groupEdgesType, groupEdgesColor ); } @@ -411,11 +440,12 @@ const connectEntitiesAndLabelNode = ( sourceNodeId: string, labelNodeId: string, targetNodeId: string, + edgeType: EdgeDataModel['type'] = 'solid', colorOverride?: Color ) => { [ - connectNodes(nodesMap, sourceNodeId, labelNodeId, colorOverride), - connectNodes(nodesMap, labelNodeId, targetNodeId, colorOverride), + connectNodes(nodesMap, sourceNodeId, labelNodeId, edgeType, colorOverride), + connectNodes(nodesMap, labelNodeId, targetNodeId, edgeType, colorOverride), ].forEach((edge) => { edgesMap[edge.id] = edge; }); @@ -425,6 +455,7 @@ const connectNodes = ( nodesMap: Record, sourceNodeId: string, targetNodeId: string, + edgeType: EdgeDataModel['type'] = 'solid', colorOverride?: Color ): EdgeDataModel => { const sourceNode = nodesMap[sourceNodeId]; @@ -441,5 +472,6 @@ const connectNodes = ( source: sourceNodeId, target: targetNodeId, color: colorOverride ?? color, + type: edgeType, }; }; diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/index.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/index.ts index 14794ab893623..5b8b12656f469 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/index.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/index.ts @@ -26,12 +26,15 @@ import type { GraphState } from './types'; export interface GetDefaultAttackDiscoveryGraphParams { alertsIndexPattern?: string; anonymizationFields: AnonymizationFieldResponse[]; + end?: string; esClient: ElasticsearchClient; + filter?: Record; llm: ActionsClientLlm; logger?: Logger; onNewReplacements?: (replacements: Replacements) => void; replacements?: Replacements; size: number; + start?: string; } export type DefaultAttackDiscoveryGraph = ReturnType; @@ -46,19 +49,22 @@ export type DefaultAttackDiscoveryGraph = ReturnType, 'generate' | 'refine' | 'retrieve_anonymized_alerts' | '__start__' > => { try { - const graphState = getDefaultGraphState(); + const graphState = getDefaultGraphState({ end, filter, start }); // get nodes: const retrieveAnonymizedAlertsNode = getRetrieveAnonymizedAlertsNode({ diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/anonymized_alerts_retriever/index.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/anonymized_alerts_retriever/index.ts index 3a8b7ed3a6b94..b7863f2e150fd 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/anonymized_alerts_retriever/index.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/anonymized_alerts_retriever/index.ts @@ -21,36 +21,48 @@ export class AnonymizedAlertsRetriever extends BaseRetriever { #alertsIndexPattern?: string; #anonymizationFields?: AnonymizationFieldResponse[]; + #end?: string | null; #esClient: ElasticsearchClient; + #filter?: Record | null; #onNewReplacements?: (newReplacements: Replacements) => void; #replacements?: Replacements; #size?: number; + #start?: string | null; constructor({ alertsIndexPattern, anonymizationFields, fields, + end, esClient, + filter, onNewReplacements, replacements, size, + start, }: { alertsIndexPattern?: string; anonymizationFields?: AnonymizationFieldResponse[]; - fields?: CustomRetrieverInput; + end?: string | null; esClient: ElasticsearchClient; + fields?: CustomRetrieverInput; + filter?: Record | null; onNewReplacements?: (newReplacements: Replacements) => void; replacements?: Replacements; size?: number; + start?: string | null; }) { super(fields); this.#alertsIndexPattern = alertsIndexPattern; this.#anonymizationFields = anonymizationFields; + this.#end = end; this.#esClient = esClient; + this.#filter = filter; this.#onNewReplacements = onNewReplacements; this.#replacements = replacements; this.#size = size; + this.#start = start; } async _getRelevantDocuments( @@ -60,10 +72,13 @@ export class AnonymizedAlertsRetriever extends BaseRetriever { const anonymizedAlerts = await getAnonymizedAlerts({ alertsIndexPattern: this.#alertsIndexPattern, anonymizationFields: this.#anonymizationFields, + end: this.#end, esClient: this.#esClient, + filter: this.#filter, onNewReplacements: this.#onNewReplacements, replacements: this.#replacements, size: this.#size, + start: this.#start, }); return anonymizedAlerts.map((alert) => ({ diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/helpers/get_anonymized_alerts/index.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/helpers/get_anonymized_alerts/index.ts index bc2a7f5bf9e71..5e4d88c5a0dce 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/helpers/get_anonymized_alerts/index.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/helpers/get_anonymized_alerts/index.ts @@ -21,17 +21,23 @@ import { AnonymizationFieldResponse } from '@kbn/elastic-assistant-common/impl/s export const getAnonymizedAlerts = async ({ alertsIndexPattern, anonymizationFields, + end, esClient, + filter, onNewReplacements, replacements, size, + start, }: { alertsIndexPattern?: string; anonymizationFields?: AnonymizationFieldResponse[]; + end?: string | null; esClient: ElasticsearchClient; + filter?: Record | null; onNewReplacements?: (replacements: Replacements) => void; replacements?: Replacements; size?: number; + start?: string | null; }): Promise => { if (alertsIndexPattern == null || size == null || sizeIsOutOfRange(size)) { return []; @@ -40,7 +46,10 @@ export const getAnonymizedAlerts = async ({ const query = getOpenAndAcknowledgedAlertsQuery({ alertsIndexPattern, anonymizationFields: anonymizationFields ?? [], + end, + filter, size, + start, }); const result = await esClient.search(query); diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/index.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/index.ts index a5d31fa14770a..eedf725ab754f 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/index.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/nodes/retriever/index.ts @@ -36,17 +36,23 @@ export const getRetrieveAnonymizedAlertsNode = ({ onNewReplacements?.(localReplacements); // invoke the callback with the latest replacements }; - const retriever = new AnonymizedAlertsRetriever({ - alertsIndexPattern, - anonymizationFields, - esClient, - onNewReplacements: localOnNewReplacements, - replacements, - size, - }); - const retrieveAnonymizedAlerts = async (state: GraphState): Promise => { logger?.debug(() => '---RETRIEVE ANONYMIZED ALERTS---'); + + const { end, filter, start } = state; + + const retriever = new AnonymizedAlertsRetriever({ + alertsIndexPattern, + anonymizationFields, + end, + esClient, + filter, + onNewReplacements: localOnNewReplacements, + replacements, + size, + start, + }); + const documents = await retriever .withConfig({ runName: 'runAnonymizedAlertsRetriever' }) .invoke(''); diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/state/index.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/state/index.ts index 4229155cc2e25..8a31dbeb4f57f 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/state/index.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/state/index.ts @@ -18,7 +18,17 @@ import { getDefaultAttackDiscoveryPrompt } from '../nodes/helpers/get_default_at import { getDefaultRefinePrompt } from '../nodes/refine/helpers/get_default_refine_prompt'; import type { GraphState } from '../types'; -export const getDefaultGraphState = (): StateGraphArgs['channels'] => ({ +export interface Options { + end?: string; + filter?: Record | null; + start?: string; +} + +export const getDefaultGraphState = ({ + end, + filter, + start, +}: Options | undefined = {}): StateGraphArgs['channels'] => ({ attackDiscoveries: { value: (x: AttackDiscovery[] | null, y?: AttackDiscovery[] | null) => y ?? x, default: () => null, @@ -39,10 +49,18 @@ export const getDefaultGraphState = (): StateGraphArgs['channels'] = value: (x: string, y?: string) => y ?? x, default: () => '', }, + end: { + value: (x?: string | null, y?: string | null) => y ?? x, + default: () => end, + }, errors: { value: (x: string[], y?: string[]) => y ?? x, default: () => [], }, + filter: { + value: (x?: Record | null, y?: Record | null) => y ?? x, + default: () => filter, + }, generationAttempts: { value: (x: number, y?: number) => y ?? x, default: () => 0, @@ -79,6 +97,10 @@ export const getDefaultGraphState = (): StateGraphArgs['channels'] = value: (x: Replacements, y?: Replacements) => y ?? x, default: () => ({}), }, + start: { + value: (x?: string | null, y?: string | null) => y ?? x, + default: () => start, + }, unrefinedResults: { value: (x: AttackDiscovery[] | null, y?: AttackDiscovery[] | null) => y ?? x, default: () => null, diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/types.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/types.ts index b4473a02b82ae..8df901f927ade 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/types.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/types.ts @@ -14,7 +14,9 @@ export interface GraphState { anonymizedAlerts: Document[]; combinedGenerations: string; combinedRefinements: string; + end?: string | null; errors: string[]; + filter?: Record | null; generationAttempts: number; generations: string[]; hallucinationFailures: number; @@ -24,5 +26,6 @@ export interface GraphState { refinements: string[]; refinePrompt: string; replacements: Replacements; + start?: string | null; unrefinedResults: AttackDiscovery[] | null; } diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/helpers/invoke_attack_discovery_graph/index.tsx b/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/helpers/invoke_attack_discovery_graph/index.tsx index 8a8c49f796500..4668d69d1d1f7 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/helpers/invoke_attack_discovery_graph/index.tsx +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/helpers/invoke_attack_discovery_graph/index.tsx @@ -30,25 +30,31 @@ export const invokeAttackDiscoveryGraph = async ({ anonymizationFields, apiConfig, connectorTimeout, + end, esClient, + filter, langSmithProject, langSmithApiKey, latestReplacements, logger, onNewReplacements, size, + start, }: { actionsClient: PublicMethodsOf; alertsIndexPattern: string; anonymizationFields: AnonymizationFieldResponse[]; apiConfig: ApiConfig; connectorTimeout: number; + end?: string; esClient: ElasticsearchClient; + filter?: Record; langSmithProject?: string; langSmithApiKey?: string; latestReplacements: Replacements; logger: Logger; onNewReplacements: (newReplacements: Replacements) => void; + start?: string; size: number; }): Promise<{ anonymizedAlerts: Document[]; @@ -86,12 +92,15 @@ export const invokeAttackDiscoveryGraph = async ({ const graph = getDefaultAttackDiscoveryGraph({ alertsIndexPattern, anonymizationFields, + end, esClient, + filter, llm, logger, onNewReplacements, replacements: latestReplacements, size, + start, }); logger?.debug(() => 'invokeAttackDiscoveryGraph: invoking the Attack discovery graph'); diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/post_attack_discovery.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/post_attack_discovery.ts index ff4764ab04834..717d4d5dbf72f 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/post_attack_discovery.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/routes/attack_discovery/post/post_attack_discovery.ts @@ -91,10 +91,13 @@ export const postAttackDiscoveryRoute = ( const { apiConfig, anonymizationFields, + end, + filter, langSmithApiKey, langSmithProject, replacements, size, + start, } = request.body; if ( @@ -133,13 +136,16 @@ export const postAttackDiscoveryRoute = ( anonymizationFields, apiConfig, connectorTimeout: CONNECTOR_TIMEOUT, + end, esClient, + filter, langSmithProject, langSmithApiKey, latestReplacements, logger, onNewReplacements, size, + start, }) .then(({ anonymizedAlerts, attackDiscoveries }) => updateAttackDiscoveries({ diff --git a/x-pack/solutions/security/plugins/kubernetes_security/server/routes/aggregate.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/routes/aggregate.ts index 4ddb828b68976..21bc8dada43e3 100644 --- a/x-pack/solutions/security/plugins/kubernetes_security/server/routes/aggregate.ts +++ b/x-pack/solutions/security/plugins/kubernetes_security/server/routes/aggregate.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type { SortCombinations } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { SortCombinations } from '@elastic/elasticsearch/lib/api/types'; import { transformError } from '@kbn/securitysolution-es-utils'; import { schema } from '@kbn/config-schema'; import type { ElasticsearchClient } from '@kbn/core/server'; diff --git a/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts b/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts index 3ef53e7b7c67a..ac75bbb56e0bf 100644 --- a/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts +++ b/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts @@ -26,7 +26,6 @@ export const PickVersionValuesEnum = PickVersionValues.enum; export const FIELDS_TO_UPGRADE_TO_CURRENT_VERSION = [ 'enabled', 'exceptions_list', - 'alert_suppression', 'actions', 'throttle', 'response_actions', diff --git a/x-pack/solutions/security/plugins/security_solution/common/constants.ts b/x-pack/solutions/security/plugins/security_solution/common/constants.ts index 3818813d94a72..3339c97a61a6a 100644 --- a/x-pack/solutions/security/plugins/security_solution/common/constants.ts +++ b/x-pack/solutions/security/plugins/security_solution/common/constants.ts @@ -19,6 +19,7 @@ export { SecurityPageName } from '@kbn/security-solution-navigation'; */ export const APP_ID = 'securitySolution' as const; export const APP_UI_ID = 'securitySolutionUI' as const; +export const ASSET_INVENTORY_FEATURE_ID = 'securitySolutionAssetInventory' as const; export const ASSISTANT_FEATURE_ID = 'securitySolutionAssistant' as const; export const ATTACK_DISCOVERY_FEATURE_ID = 'securitySolutionAttackDiscovery' as const; export const CASES_FEATURE_ID = 'securitySolutionCasesV2' as const; @@ -102,6 +103,7 @@ export const EXCEPTIONS_PATH = '/exceptions' as const; export const EXCEPTION_LIST_DETAIL_PATH = `${EXCEPTIONS_PATH}/details/:detailName` as const; export const HOSTS_PATH = '/hosts' as const; export const ATTACK_DISCOVERY_PATH = '/attack_discovery' as const; +export const ASSET_INVENTORY_PATH = '/asset_inventory' as const; export const USERS_PATH = '/users' as const; export const KUBERNETES_PATH = '/kubernetes' as const; export const NETWORK_PATH = '/network' as const; diff --git a/x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts b/x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts index 56f4657500c45..94ffd959b680f 100644 --- a/x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts @@ -114,6 +114,11 @@ export const allowedExperimentalValues = Object.freeze({ */ assistantModelEvaluation: false, + /** + * Enables filtering of Attack Discovery alerts in a flyout + */ + attackDiscoveryAlertFiltering: false, + /** * Enables the Managed User section inside the new user details flyout. */ diff --git a/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation.md b/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation.md new file mode 100644 index 0000000000000..6f91d4958650c --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation.md @@ -0,0 +1,559 @@ +# Installation of Prebuilt Rules + +This is a test plan for the workflows of installing prebuilt rules. + +Status: `in progress`. The current test plan matches [Rule Immutability/Customization Milestone 3 epic](https://github.com/elastic/kibana/issues/174168). + +## Table of Contents + +- [Useful information](#useful-information) + - [Tickets](#tickets) + - [Terminology](#terminology) + - [Assumptions](#assumptions) + - [Non-functional requirements](#non-functional-requirements) + - [Functional requirements](#functional-requirements) +- [Scenarios](#scenarios) + - [Rule installation notifications on the Rule Management page](#rule-installation-and-upgrade-notifications-on-the-rule-management-page) + - [**Scenario: User is NOT notified when no prebuilt rules are installed and there are no prebuilt rules assets**](#scenario-user-is-not-notified-when-no-prebuilt-rules-are-installed-and-there-are-no-prebuilt-rules-assets) + - [**Scenario: User is NOT notified when all prebuilt rules are installed and up to date**](#scenario-user-is-not-notified-when-all-prebuilt-rules-are-installed-and-up-to-date) + - [**Scenario: User is notified when no prebuilt rules are installed and there are rules available to install**](#scenario-user-is-notified-when-no-prebuilt-rules-are-installed-and-there-are-rules-available-to-install) + - [**Scenario: User is notified when some prebuilt rules can be installed**](#scenario-user-is-notified-when-some-prebuilt-rules-can-be-installed) + - [**Scenario: User is notified when both rules to install and upgrade are available**](#scenario-user-is-notified-when-both-rules-to-install-and-upgrade-are-available) + - [**Scenario: User is notified after a prebuilt rule gets deleted**](#scenario-user-is-notified-after-a-prebuilt-rule-gets-deleted) + - [Rule installation workflow: base cases](#rule-installation-workflow-base-cases) + - [**Scenario: User can install prebuilt rules one by one**](#scenario-user-can-install-prebuilt-rules-one-by-one) + - [**Scenario: User can install multiple prebuilt rules selected on the page**](#scenario-user-can-install-multiple-prebuilt-rules-selected-on-the-page) + - [**Scenario: User can install all available prebuilt rules at once**](#scenario-user-can-install-all-available-prebuilt-rules-at-once) + - [**Scenario: Empty screen is shown when all prebuilt rules are installed**](#scenario-empty-screen-is-shown-when-all-prebuilt-rules-are-installed) + - [**Scenario: User can preview rules available for installation**](#scenario-user-can-preview-rules-available-for-installation) + - [**Scenario: User can install a rule using the rule preview**](#scenario-user-can-install-a-rule-using-the-rule-preview) + - [**Scenario: User can see correct rule information in preview before installing**](#scenario-user-can-see-correct-rule-information-in-preview-before-installing) + - [**Scenario: Tabs and sections without content should be hidden in preview before installing**](#scenario-tabs-and-sections-without-content-should-be-hidden-in-preview-before-installing) + - [Rule installation workflow: filtering, sorting, pagination](#rule-installation-workflow-filtering-sorting-pagination) + - [Rule installation workflow: misc cases](#rule-installation-workflow-misc-cases) + - [**Scenario: User opening the Add Rules page sees a loading skeleton until the package installation is completed**](#scenario-user-opening-the-add-rules-page-sees-a-loading-skeleton-until-the-package-installation-is-completed) + - [**Scenario: User can navigate from the Add Rules page to the Rule Management page via breadcrumbs**](#scenario-user-can-navigate-from-the-add-rules-page-to-the-rule-management-page-via-breadcrumbs) + - [Rule installation and upgrade via the Prebuilt rules API](#rule-installation-and-upgrade-via-the-prebuilt-rules-api) + - [**Scenario: API can install all prebuilt rules**](#scenario-api-can-install-all-prebuilt-rules) + - [**Scenario: API can install prebuilt rules that are not yet installed**](#scenario-api-can-install-prebuilt-rules-that-are-not-yet-installed) + - [**Scenario: API does not install prebuilt rules if they are up to date**](#scenario-api-does-not-installupgrade-prebuilt-rules-if-they-are-up-to-date) + - [Error handling](#error-handling) + - [**Scenario: Error is handled when any operation on prebuilt rules fails**](#scenario-error-is-handled-when-any-operation-on-prebuilt-rules-fails) + - [Authorization / RBAC](#authorization--rbac) + - [**Scenario: User with read privileges on Security Solution cannot install prebuilt rules**](#scenario-user-with-read-privileges-on-security-solution-cannot-install-prebuilt-rules) + +## Useful information + +### Tickets + +- [Rule Immutability/Customization epic](https://github.com/elastic/security-team/issues/1974)(internal) + +**Milestone 3 - Prebuilt Rules Customization:** +- [Milestone 3 epic ticket](https://github.com/elastic/kibana/issues/174168) +- [Tests for prebuilt rule upgrade workflow #202078](https://github.com/elastic/kibana/issues/202078) + +**Milestone 2:** +- [Ensure full test coverage for existing workflows of installing and upgrading prebuilt rules](https://github.com/elastic/kibana/issues/148176) +- [Write test plan and add test coverage for the new workflows of installing and upgrading prebuilt rules](https://github.com/elastic/kibana/issues/148192) + +### Terminology + +- **EPR**: [Elastic Package Registry](https://github.com/elastic/package-registry), service that hosts our **Package**. + +- **Package**: `security_detection_engine` Fleet package that we use to distribute prebuilt detection rules in the form of `security-rule` assets (saved objects). + +- **Real package**: actual latest stable package distributed and pulled from EPR via Fleet. + +- **Mock rules**: `security-rule` assets that are indexed into the `.kibana_security_solution` index directly in the test setup, either by using the ES client _in integration tests_ or by an API request _in Cypress tests_. + +- **Air-gapped environment**: an environment where Kibana doesn't have access to the internet. In general, EPR is not available in such environments, except the cases when the user runs a custom EPR inside the environment. + +- **CTA**: "call to action", usually a button, a link, or a callout message with a button, etc, that invites the user to do some action. + - CTA to install prebuilt rules - at this moment, it's a link button with a counter (implemented) and a callout with a link button (not yet implemented) on the Rule Management page. + - CTA to upgrade prebuilt rules - at this moment, it's a tab with a counter (implemented) and a callout with a link button (not yet implemented) on the Rule Management page. + +### Assumptions + +- Below scenarios only apply to prebuilt detection rules. +- Users should be able to install prebuilt rules on the `Basic` license and higher. +- EPR is available for fetching the package unless explicitly indicated otherwise. +- Only the latest **stable** package is checked for installation/upgrade and pre-release packages are ignored. + +### Non-functional requirements + +- Notifications, rule installation workflows should work: + - regardless of the package type: with historical rule versions or without; + - regardless of the package registry availability: i.e., they should also work in air-gapped environments. +- Rule installation and upgrade workflows should work with packages containing up to 15000 historical rule versions. This is the max number of versions of all rules in the package. This limit is enforced by Fleet. +- Kibana should not crash with Out Of Memory exception during package installation. +- For test purposes, it should be possible to use detection rules package versions lower than the latest. + +### Functional requirements + +- User should be able to install prebuilt rules with and without previewing what exactly they would install (rule properties). +- If user chooses to preview a prebuilt rule to be installed/upgraded, we currently show this preview in a flyout. +- In the prebuilt rule preview a tab that doesn't have any sections should not be displayed and a section that doesn't have any properties also should not be displayed. + +Examples of rule properties we show in the prebuilt rule preview flyout: + +```Gherkin +Examples: +| rule_type | property | tab | section | +│ All rule types │ Author │ Overview │ About │ +│ All rule types │ Building block │ Overview │ About │ +│ All rule types │ Severity │ Overview │ About │ +│ All rule types │ Severity override │ Overview │ About │ +│ All rule types │ Risk score │ Overview │ About │ +│ All rule types │ Risk score override │ Overview │ About │ +│ All rule types │ Reference URLs │ Overview │ About │ +│ All rule types │ False positive examples │ Overview │ About │ +│ All rule types │ Custom highlighted fields │ Overview │ About │ +│ All rule types │ License │ Overview │ About │ +│ All rule types │ Rule name override │ Overview │ About │ +│ All rule types │ MITRE ATT&CK™ │ Overview │ About │ +│ All rule types │ Timestamp override │ Overview │ About │ +│ All rule types │ Tags │ Overview │ About │ +│ All rule types │ Type │ Overview │ Definition │ +│ All rule types │ Related integrations │ Overview │ Definition │ +│ All rule types │ Required fields │ Overview │ Definition │ +│ All rule types │ Timeline template │ Overview │ Definition │ +│ All rule types │ Runs every │ Overview │ Schedule │ +│ All rule types │ Additional look-back time │ Overview │ Schedule │ +│ All rule types │ Setup guide │ Overview │ Setup guide │ +│ All rule types │ Investigation guide │ Investigation guide │ Investigation guide │ +│ Custom Query │ Index patterns │ Overview │ Definition │ +│ Custom Query │ Data view ID │ Overview │ Definition │ +│ Custom Query │ Data view index pattern │ Overview │ Definition │ +│ Custom Query │ Custom query │ Overview │ Definition │ +│ Custom Query │ Filters │ Overview │ Definition │ +│ Custom Query │ Saved query name │ Overview │ Definition │ +│ Custom Query │ Saved query filters │ Overview │ Definition │ +│ Custom Query │ Saved query │ Overview │ Definition │ +│ Custom Query │ Suppress alerts by │ Overview │ Definition │ +│ Custom Query │ Suppress alerts for │ Overview │ Definition │ +│ Custom Query │ If a suppression field is missing │ Overview │ Definition │ +│ Machine Learning │ Anomaly score threshold │ Overview │ Definition │ +│ Machine Learning │ Machine Learning job │ Overview │ Definition │ +│ Threshold │ Threshold │ Overview │ Definition │ +│ Threshold │ Index patterns │ Overview │ Definition │ +│ Threshold │ Data view ID │ Overview │ Definition │ +│ Threshold │ Data view index pattern │ Overview │ Definition │ +│ Threshold │ Custom query │ Overview │ Definition │ +│ Threshold │ Filters │ Overview │ Definition │ +│ Event Correlation │ EQL query │ Overview │ Definition │ +│ Event Correlation │ Filters │ Overview │ Definition │ +│ Event Correlation │ Index patterns │ Overview │ Definition │ +│ Event Correlation │ Data view ID │ Overview │ Definition │ +│ Event Correlation │ Data view index pattern │ Overview │ Definition │ +│ Indicator Match │ Indicator index patterns │ Overview │ Definition │ +│ Indicator Match │ Indicator mapping │ Overview │ Definition │ +│ Indicator Match │ Indicator filters │ Overview │ Definition │ +│ Indicator Match │ Indicator index query │ Overview │ Definition │ +│ Indicator Match │ Index patterns │ Overview │ Definition │ +│ Indicator Match │ Data view ID │ Overview │ Definition │ +│ Indicator Match │ Data view index pattern │ Overview │ Definition │ +│ Indicator Match │ Custom query │ Overview │ Definition │ +│ Indicator Match │ Filters │ Overview │ Definition │ +│ New Terms │ Fields │ Overview │ Definition │ +│ New Terms │ History Window Size │ Overview │ Definition │ +│ New Terms │ Index patterns │ Overview │ Definition │ +│ New Terms │ Data view ID │ Overview │ Definition │ +│ New Terms │ Data view index pattern │ Overview │ Definition │ +│ New Terms │ Custom query │ Overview │ Definition │ +│ New Terms │ Filters │ Overview │ Definition │ +│ ESQL │ ESQL query │ Overview │ Definition │ +│ ESQL │ Suppress alerts by │ Overview │ Definition │ +│ ESQL │ Suppress alerts for │ Overview │ Definition │ +│ ESQL │ If a suppression field is missing │ Overview │ Definition │ +``` + +## Scenarios + +### Rule installation notifications on the Rule Management page + +#### **Scenario: User is NOT notified when no prebuilt rules are installed and there are no prebuilt rules assets** + +**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. + +```Gherkin +Given no prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Rule Management page +Then user should NOT see a CTA to install prebuilt rules +And user should NOT see a number of rules available to install +And user should NOT see a CTA to upgrade prebuilt rules +And user should NOT see a number of rules available to upgrade +And user should NOT see the Rule Updates table +``` + +#### **Scenario: User is NOT notified when all prebuilt rules are installed and up to date** + +**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. + +```Gherkin +Given the latest prebuilt rule assets exist in Kibana +And all the latest prebuilt rules from those rule assets are installed +When user opens the Rule Management page +Then user should NOT see a CTA to install prebuilt rules +And user should NOT see a number of rules available to install +And user should NOT see a CTA to upgrade prebuilt rules +And user should NOT see a number of rules available to upgrade +And user should NOT see the Rule Updates table +``` + +#### **Scenario: User is notified when no prebuilt rules are installed and there are rules available to install** + +**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. + +```Gherkin +Given X prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +And there are X prebuilt rules available to install +When user opens the Rule Management page +Then user should see a CTA to install prebuilt rules +And user should see a number of rules available to install (X) +And user should NOT see a CTA to upgrade prebuilt rules +And user should NOT see a number of rules available to upgrade +And user should NOT see the Rule Updates table +``` + +#### **Scenario: User is notified when some prebuilt rules can be installed** + +**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. + +```Gherkin +Given Y prebuilt rule assets exist in Kibana +And X (where X < Y) prebuilt rules are installed +And there are Y more prebuilt rules available to install +And for all X installed rules there are no new versions available +When user opens the Rule Management page +Then user should see a CTA to install prebuilt rules +And user should see the number of rules available to install (Y) +And user should NOT see a CTA to upgrade prebuilt rules +And user should NOT see a number of rules available to upgrade +And user should NOT see the Rule Updates table +``` + +#### **Scenario: User is notified when both rules to install and upgrade are available** + +**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. + +```Gherkin +Given Y prebuilt rule assets exist in Kibana +And X (where X < Y) prebuilt rules are installed +And Z (where Z < X) installed rules have matching prebuilt rule assets with higher version available +And for Z of the installed rules there are new versions available +When user opens the Rule Management page +Then user should see a CTA to install prebuilt rules +And user should see the number of rules available to install (Y) +And user should see a CTA to upgrade prebuilt rules +And user should see the number of rules available to upgrade (Z) +``` + +#### **Scenario: User is notified after a prebuilt rule gets deleted** + +**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. + +```Gherkin +Given X prebuilt rules are installed in Kibana +And there are no more prebuilt rules available to install +When user opens the Rule Management page +And user deletes Y prebuilt rules +Then user should see a CTA to install prebuilt rules +And user should see rules available to install +``` + +### Rule installation workflow: base cases + +#### **Scenario: User can install prebuilt rules one by one** + +**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /installation/\* endpoints in integration. + +```Gherkin +Given X prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then prebuilt rules available for installation should be displayed in the table +When user installs one individual rule without previewing it +Then success message should be displayed after installation +And the installed rule should be removed from the table +When user navigates back to the Rule Management page +Then user should see a CTA to install prebuilt rules +And user should see the number of rules available to install decreased by 1 +``` + +#### **Scenario: User can install multiple prebuilt rules selected on the page** + +**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /installation/\* endpoints in integration. + +```Gherkin +Given X prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then prebuilt rules available for installation should be displayed in the table +When user selects rules +Then user should see a CTA to install number of rules +When user clicks the CTA +Then success message should be displayed after installation +And all the installed rules should be removed from the table +When user navigates back to the Rule Management page +Then user should see a CTA to install prebuilt rules +And user should see the number of rules available to install decreased by number of installed rules + +Examples: + | Y | + | a few rules on the page, e.g. 2 | + | all rules on the page, e.g. 12 | +``` + +#### **Scenario: User can install all available prebuilt rules at once** + +**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /installation/\* endpoints in integration. + +```Gherkin +Given X prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then prebuilt rules available for installation should be displayed in the table +When user installs all rules +Then success message should be displayed after installation +And all the rules should be removed from the table +And user should see a message indicating that all available rules have been installed +And user should see a CTA that leads to the Rule Management page +When user clicks on the CTA +Then user should be navigated back to Rule Management page +And user should NOT see a CTA to install prebuilt rules +And user should NOT see a number of rules available to install +``` + +#### **Scenario: Empty screen is shown when all prebuilt rules are installed** + +**Automation**: 1 e2e test with mock rules + 1 integration test. + +```Gherkin +Given all the available prebuilt rules are installed in Kibana +When user opens the Add Rules page +Then user should see a message indicating that all available rules have been installed +And user should see a CTA that leads to the Rule Management page +``` + +#### **Scenario: User can preview rules available for installation** + +**Automation**: 1 e2e test + +```Gherkin +Given 2 prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then all rules available for installation should be displayed in the table +When user opens the rule preview for the 1st rule +Then the preview should open +When user closes the preview +Then it should disappear +``` + +#### **Scenario: User can install a rule using the rule preview** + +**Automation**: 1 e2e test + +```Gherkin +Given 2 prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then all rules available for installation should be displayed in the table +When user opens the rule preview for the rule +Then the preview should open +When user installs the rule using a CTA in the rule preview +Then the rule should be installed +And a success message should be displayed after installation +And the rule should be removed from the Add Rules table +When user navigates back to the Rule Management page +Then user should see a CTA to install prebuilt rules +And user should see the number of rules available to install as initial number minus 1 +``` + +#### **Scenario: User can see correct rule information in preview before installing** + +**Automation**: 1 e2e test + +```Gherkin +Given X prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then all X rules available for installation should be displayed in the table +When user opens a rule preview for any rule +Then the preview should appear +And all properties of a rule should be displayed in the correct tab and section of the preview (see examples of rule properties above) +``` + +#### **Scenario: Optional tabs and sections without content should be hidden in preview before installing** + +**Automation**: 1 e2e test + +```Gherkin +Given 1 prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +And this rule has neither Setup guide nor Investigation guide +When user opens the Add Rules page +Then all rules available for installation should be displayed in the table +When user opens the rule preview for this rule +Then the preview should open +And the Setup Guide section should NOT be displayed in the Overview tab +And the Investigation Guide tab should NOT be displayed +``` + +### Rule installation workflow: filtering, sorting, pagination + +TODO: add scenarios https://github.com/elastic/kibana/issues/166215 + +### Rule installation workflow: misc cases + +#### **Scenario: User opening the Add Rules page sees a loading skeleton until the package installation is completed** + +**Automation**: unit tests. + +```Gherkin +Given prebuilt rules package is not installed +When user opens the Add Rules page +Then user should see a loading skeleton until the package installation is completed +``` + +#### **Scenario: User can navigate from the Add Rules page to the Rule Management page via breadcrumbs** + +**Automation**: 1 e2e test. + +```Gherkin +Given user is on the Add Rules page +When user navigates to the Rule Management page via breadcrumbs +Then the Rule Management page should be displayed +``` + +### Rule installation via the Prebuilt rules API + +There's a legacy prebuilt rules API and a new one. Both should be tested against two types of the package: with and without historical rule versions. + +#### **Scenario: API can install all prebuilt rules** + +**Automation**: 8 integration tests with mock rules: 4 examples below \* 2 (we split checking API response and installed rules into two different tests). + +```Gherkin +Given the package is installed +And the package contains N rules +When user installs all rules via install +Then the endpoint should return success response (HTTP 200 code) with +And N rule objects should be created +And each rule object should have correct id and version + +Examples: + | package_type | api | install_response | + | with historical versions | legacy | installed: N, updated: 0 | + | w/o historical versions | legacy | installed: N, updated: 0 | + | with historical versions | new | total: N, succeeded: N | + | w/o historical versions | new | total: N, succeeded: N | +``` + +Notes: + +- Legacy API: + - install: `PUT /api/detection_engine/rules/prepackaged` +- New API: + - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` + +#### **Scenario: API can install prebuilt rules that are not yet installed** + +**Automation**: 4 integration tests with mock rules. + +```Gherkin +Given the package is installed +And the package contains N rules +When user installs all rules via install +And deletes one of the installed rules +And gets prebuilt rules status via status +Then the endpoint should return successful response (HTTP 200 code) with +When user installs all rules via install again +Then the endpoint should return successful response (HTTP 200 code) with + +Examples: + | package_type | api | status_response | install_response | + | with historical versions | legacy | not_installed: 1 | installed: 1, updated: 0 | + | w/o historical versions | legacy | not_installed: 1 | installed: 1, updated: 0 | + | with historical versions | new | to_install: 1 | total: 1, succeeded: 1 | + | w/o historical versions | new | to_install: 1 | total: 1, succeeded: 1 | +``` + +Notes: + +- Legacy API: + - install: `PUT /api/detection_engine/rules/prepackaged` + - status: `GET /api/detection_engine/rules/prepackaged/_status` +- New API: + - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` + - status: `GET /internal/detection_engine/prebuilt_rules/status` + + +#### **Scenario: API does not install prebuilt rules if they are up to date** + +**Automation**: 4 integration tests with mock rules. + +```Gherkin +Given the package is installed +And the package contains N rules +When user installs all rules via install +And user gets prebuilt rules status via status +Then the endpoint should return successful response (HTTP 200 code) with +When user calls install +Then the endpoint should return successful response (HTTP 200 code) with +When user calls upgrade +Then the endpoint should return successful response (HTTP 200 code) with + +Examples: + | package_type | api | status_response | install_response | upgrade_response | + | with historical versions | legacy | not_installed: 0, not_updated: 0 | installed: 0, updated: 0 | installed: 0, updated: 0 | + | w/o historical versions | legacy | not_installed: 0, not_updated: 0 | installed: 0, updated: 0 | installed: 0, updated: 0 | + | with historical versions | new | to_install: 0, to_upgrade: 0 | total: 0, succeeded: 0 | total: 0, succeeded: 0 | + | w/o historical versions | new | to_install: 0, to_upgrade: 0 | total: 0, succeeded: 0 | total: 0, succeeded: 0 | +``` + +Notes: + +- Legacy API: + - install: `PUT /api/detection_engine/rules/prepackaged` + - upgrade: `PUT /api/detection_engine/rules/prepackaged` + - status: `GET /api/detection_engine/rules/prepackaged/_status` +- New API: + - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` + - upgrade: `POST /internal/detection_engine/prebuilt_rules/upgrade/_perform` + - status: `GET /internal/detection_engine/prebuilt_rules/status` + +### Error handling + +#### **Scenario: Error is handled when any installation operation on prebuilt rules fails** + +**Automation**: e2e test with mock rules + +```Gherkin +When user is prebuilt rules +And this operation fails +Then user should see an error message + +Examples: + | operation | + | installing all | + | installing selected | + | installing individual | +``` + +### Authorization / RBAC + +#### **Scenario: User with read privileges on Security Solution cannot install prebuilt rules** + +**Automation**: 1 e2e test with mock rules + 3 integration tests with mock rules for the status and installation endpoints. + +```Gherkin +Given user with "Security: read" privileges on Security Solution +And prebuilt rule assets exist in Kibana +And no prebuilt rules are installed +When user opens the Add Rules page +Then user should see prebuilt rules available to install +But user should not be able to install them +``` \ No newline at end of file diff --git a/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/package_installation_and_upgrade.md b/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/package_installation_and_upgrade.md new file mode 100644 index 0000000000000..57e16684facca --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/package_installation_and_upgrade.md @@ -0,0 +1,165 @@ +# Prebuilt Rules Package Installation and Upgrade + +This is a test plan for the workflows of installing and updating the Prebuilt Rules package. + +> For the test plans for installing and upgrading prebuilt rules, see [Installation of Prebuilt Rules](./installation.md) and [Upgrade of Prebuilt Rules](./upgrade.md). + +Status: `in progress`. The current test plan matches [Rule Immutability/Customization Milestone 3 epic](https://github.com/elastic/kibana/issues/174168). + +## Table of Contents + +- [Useful information](#useful-information) + - [Tickets](#tickets) + - [Terminology](#terminology) + - [Assumptions](#assumptions) + - [Non-functional requirements](#non-functional-requirements) + - [Functional requirements](#functional-requirements) +- [Scenarios](#scenarios) + - [Package installation](#package-installation) + - [**Scenario: Package is installed via Fleet**](#scenario-package-is-installed-via-fleet) + - [**Scenario: Package is installed via bundled Fleet package in Kibana**](#scenario-package-is-installed-via-bundled-fleet-package-in-kibana) + - [**Scenario: Large package can be installed on a small Kibana instance**](#scenario-large-package-can-be-installed-on-a-small-kibana-instance) + - [Scenarios for the real package](#scenarios-for-the-real-package) + - [**Scenario: User can install prebuilt rules from scratch, then install new rules and upgrade existing rules from the new package**](#scenario-user-can-install-prebuilt-rules-from-scratch-then-install-new-rules-and-upgrade-existing-rules-from-the-new-package) + - [Kibana upgrade](#kibana-upgrade) + - [**Scenario: User can use prebuilt rules after upgrading Kibana from version A to B**](#scenario-user-can-use-prebuilt-rules-after-upgrading-kibana-from-version-a-to-b) + +## Useful information + +### Tickets + +- [Rule Immutability/Customization epic](https://github.com/elastic/security-team/issues/1974)(internal) + +**Milestone 3 - Prebuilt Rules Customization:** +- [Milestone 3 epic ticket](https://github.com/elastic/kibana/issues/174168) +- [Tests for prebuilt rule upgrade workflow #202078](https://github.com/elastic/kibana/issues/202078) + +**Milestone 2:** +- [Ensure full test coverage for existing workflows of installing and upgrading prebuilt rules](https://github.com/elastic/kibana/issues/148176) +- [Write test plan and add test coverage for the new workflows of installing and upgrading prebuilt rules](https://github.com/elastic/kibana/issues/148192) + +### Terminology + +- **EPR**: [Elastic Package Registry](https://github.com/elastic/package-registry), service that hosts our **Package**. + +- **Package**: `security_detection_engine` Fleet package that we use to distribute prebuilt detection rules in the form of `security-rule` assets (saved objects). + +- **Real package**: actual latest stable package distributed and pulled from EPR via Fleet. + +- **Mock rules**: `security-rule` assets that are indexed into the `.kibana_security_solution` index directly in the test setup, either by using the ES client _in integration tests_ or by an API request _in Cypress tests_. + +- **Air-gapped environment**: an environment where Kibana doesn't have access to the internet. In general, EPR is not available in such environments, except the cases when the user runs a custom EPR inside the environment. + +- **CTA**: "call to action", usually a button, a link, or a callout message with a button, etc, that invites the user to do some action. + - CTA to install prebuilt rules - at this moment, it's a link button with a counter (implemented) and a callout with a link button (not yet implemented) on the Rule Management page. + - CTA to upgrade prebuilt rules - at this moment, it's a tab with a counter (implemented) and a callout with a link button (not yet implemented) on the Rule Management page. + +### Assumptions + +- Below scenarios only apply to prebuilt detection rules. +- Users should be able to install and upgrade prebuilt rules on the `Basic` license and higher. +- EPR is available for fetching the package unless explicitly indicated otherwise. +- Only the latest **stable** package is checked for installation/upgrade and pre-release packages are ignored. + +### Non-functional requirements + +- Package installation, rule installation and rule upgrade workflows should work: + - regardless of the package type: with historical rule versions or without; + - regardless of the package registry availability: i.e., they should also work in air-gapped environments. +- Rule installation and upgrade workflows should work with packages containing up to 15000 historical rule versions. This is the max number of versions of all rules in the package. This limit is enforced by Fleet. +- Kibana should not crash with Out Of Memory exception during package installation. +- For test purposes, it should be possible to use detection rules package versions lower than the latest. + +### Functional requirements + +- User should be able to install prebuilt rules with and without previewing what exactly they would install (rule properties). +- User should be able to upgrade prebuilt rules with and without previewing what updates they would apply (rule properties of target rule versions). + +## Scenarios + +### Package installation + +#### **Scenario: Package is installed via Fleet** + +**Automation**: 2 e2e tests that install the real package. + +```Gherkin +Given the prebuilt rules package is not installed +When user opens any Security Solution page +Then the package gets installed in the background from EPR +``` + +#### **Scenario: Package is installed via bundled Fleet package in Kibana** + +**Automation**: 2 integration tests. + +```Gherkin +Given the package is not installed +And user is in an air-gapped environment +When user opens any Security Solution page +Then the package gets installed in the background from packages bundled into Kibana +``` + +#### **Scenario: Large package can be installed on a memory restricted Kibana instance** + +**Automation**: 1 integration test. + +```Gherkin +Given the package is not installed +And the package contains the largest amount of historical rule versions (15000) +And the Kibana instance has a memory heap size of 700 Mb (see note below) +When user opens any Security Solution page +Then the package is installed without Kibana crashing with an Out Of Memory error +``` + +**Note**: 600 Mb seems to always crash Kibana with an OOM error. 700 Mb runs with no issues in the Flaky test runner with 100 iterations: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2215. + +### Scenarios for the real package + +#### **Scenario: User can install prebuilt rules from scratch, then install new rules and upgrade existing rules from the new package** + +**Automation**: 1 integration test with real packages. + +```Gherkin +Given there are two package versions: A and B where A < B +And the package of A version is installed +When user calls the status endpoint +Then it should return a 200 response with some number of rules to install and 0 rules to upgrade +When user calls the installation/_review endpoint +Then it should return a 200 response matching the response of the status endpoint +When user calls the installation/_perform_ endpoint +Then it should return a 200 response matching the response of the status endpoint +And rules returned in this response should exist as alert saved objects +When user installs version B of the package +Then it should be installed successfully +When user calls the status endpoint +Then it should return a 200 response with some number of new rules to install and some number of rules to upgrade +When user calls the installation/_review endpoint +Then it should return a 200 response matching the response of the status endpoint +When user calls the installation/_perform_ endpoint +Then rules returned in this response should exist as alert saved objects +When user calls the upgrade/_review endpoint +Then it should return a 200 response matching the response of the status endpoint +When user calls the upgrade/_perform_ endpoint +Then rules returned in this response should exist as alert saved objects +``` + +### Kibana upgrade + +#### **Scenario: User can use prebuilt rules after upgrading Kibana from version A to B** + +**Automation**: not automated, manual testing required. + +```Gherkin +Given user is upgrading Kibana from version to version +And the version Kibana instance has already installed prebuilt rules +When the Kibana upgrade is complete +Then user should be able to install new prebuilt rules +And delete installed prebuilt rules +And upgrade installed prebuilt rules that have newer versions in Kibana version + +Examples: + | A | B | + | 8.7 | 8.9.0 | + | 7.17.x | 8.9.0 | +``` diff --git a/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation_and_upgrade.md b/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/upgrade.md similarity index 55% rename from x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation_and_upgrade.md rename to x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/upgrade.md index e5479ec502865..4beb517f9598a 100644 --- a/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation_and_upgrade.md +++ b/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/upgrade.md @@ -1,8 +1,8 @@ -# Installation and Upgrade of Prebuilt Rules +# Upgrade of Prebuilt Rules -This is a test plan for the workflows of installing and upgrading prebuilt rules. +This is a test plan for the workflow of upgrading prebuilt rules. -Status: `in progress`. The current test plan matches `Milestone 2` of the [Rule Immutability/Customization](https://github.com/elastic/security-team/issues/1974) epic. It does not cover any past functionality that was removed or functionality to be implemented in the future. The plan is about to change in the future Milestones. +Status: `in progress`. The current test plan matches [Rule Immutability/Customization Milestone 3 epic](https://github.com/elastic/kibana/issues/174168). ## Table of Contents @@ -12,84 +12,73 @@ Status: `in progress`. The current test plan matches `Milestone 2` of the [Rule - [Assumptions](#assumptions) - [Non-functional requirements](#non-functional-requirements) - [Functional requirements](#functional-requirements) -- [Scenarios](#scenarios) - - - [Package installation](#package-installation) - - [**Scenario: Package is installed via Fleet**](#scenario-package-is-installed-via-fleet) - - [**Scenario: Package is installed via bundled Fleet package in Kibana**](#scenario-package-is-installed-via-bundled-fleet-package-in-kibana) - - [**Scenario: Large package can be installed on a small Kibana instance**](#scenario-large-package-can-be-installed-on-a-small-kibana-instance) - - [Rule installation and upgrade via the Prebuilt rules API](#rule-installation-and-upgrade-via-the-prebuilt-rules-api) - - [**Scenario: API can install all prebuilt rules**](#scenario-api-can-install-all-prebuilt-rules) - - [**Scenario: API can install prebuilt rules that are not yet installed**](#scenario-api-can-install-prebuilt-rules-that-are-not-yet-installed) - - [**Scenario: API can upgrade prebuilt rules that are outdated**](#scenario-api-can-upgrade-prebuilt-rules-that-are-outdated) - - [**Scenario: API does not install or upgrade prebuilt rules if they are up to date**](#scenario-api-does-not-install-or-upgrade-prebuilt-rules-if-they-are-up-to-date) - - [Scenarios for the real package](#scenarios-for-the-real-package) - - [**Scenario: User can install prebuilt rules from scratch, then install new rules and upgrade existing rules from the new package**](#scenario-user-can-install-prebuilt-rules-from-scratch-then-install-new-rules-and-upgrade-existing-rules-from-the-new-package) - - [Rule installation and upgrade notifications on the Rule Management page](#rule-installation-and-upgrade-notifications-on-the-rule-management-page) - - [**Scenario: User is NOT notified when no prebuilt rules are installed and there are no prebuilt rules assets**](#scenario-user-is-not-notified-when-no-prebuilt-rules-are-installed-and-there-are-no-prebuilt-rules-assets) - - [**Scenario: User is NOT notified when all prebuilt rules are installed and up to date**](#scenario-user-is-not-notified-when-all-prebuilt-rules-are-installed-and-up-to-date) - - [**Scenario: User is notified when no prebuilt rules are installed and there are rules available to install**](#scenario-user-is-notified-when-no-prebuilt-rules-are-installed-and-there-are-rules-available-to-install) - - [**Scenario: User is notified when some prebuilt rules can be installed**](#scenario-user-is-notified-when-some-prebuilt-rules-can-be-installed) - - [**Scenario: User is notified when some prebuilt rules can be upgraded**](#scenario-user-is-notified-when-some-prebuilt-rules-can-be-upgraded) - - [**Scenario: User is notified when both rules to install and upgrade are available**](#scenario-user-is-notified-when-both-rules-to-install-and-upgrade-are-available) - - [**Scenario: User is notified after a prebuilt rule gets deleted**](#scenario-user-is-notified-after-a-prebuilt-rule-gets-deleted) - - [Rule installation workflow: base cases](#rule-installation-workflow-base-cases) - - [**Scenario: User can install prebuilt rules one by one**](#scenario-user-can-install-prebuilt-rules-one-by-one) - - [**Scenario: User can install multiple prebuilt rules selected on the page**](#scenario-user-can-install-multiple-prebuilt-rules-selected-on-the-page) - - [**Scenario: User can install all available prebuilt rules at once**](#scenario-user-can-install-all-available-prebuilt-rules-at-once) - - [**Scenario: Empty screen is shown when all prebuilt rules are installed**](#scenario-empty-screen-is-shown-when-all-prebuilt-rules-are-installed) - - [**Scenario: User can preview rules available for installation**](#scenario-user-can-preview-rules-available-for-installation) - - [**Scenario: User can install a rule using the rule preview**](#scenario-user-can-install-a-rule-using-the-rule-preview) - - [**Scenario: User can see correct rule information in preview before installing**](#scenario-user-can-see-correct-rule-information-in-preview-before-installing) - - [**Scenario: Tabs and sections without content should be hidden in preview before installing**](#scenario-tabs-and-sections-without-content-should-be-hidden-in-preview-before-installing) - - [Rule installation workflow: filtering, sorting, pagination](#rule-installation-workflow-filtering-sorting-pagination) - - [Rule installation workflow: misc cases](#rule-installation-workflow-misc-cases) - - [**Scenario: User opening the Add Rules page sees a loading skeleton until the package installation is completed**](#scenario-user-opening-the-add-rules-page-sees-a-loading-skeleton-until-the-package-installation-is-completed) - - [**Scenario: User can navigate from the Add Rules page to the Rule Management page via breadcrumbs**](#scenario-user-can-navigate-from-the-add-rules-page-to-the-rule-management-page-via-breadcrumbs) - - [Rule upgrade workflow: base cases](#rule-upgrade-workflow-base-cases) - - [**Scenario: User can upgrade prebuilt rules one by one**](#scenario-user-can-upgrade-prebuilt-rules-one-by-one) - - [**Scenario: User can upgrade multiple prebuilt rules selected on the page**](#scenario-user-can-upgrade-multiple-prebuilt-rules-selected-on-the-page) - - [**Scenario: User can upgrade all available prebuilt rules at once**](#scenario-user-can-upgrade-all-available-prebuilt-rules-at-once) - - [**Scenario: User can preview rules available for upgrade**](#scenario-user-can-preview-rules-available-for-upgrade) - - [**Scenario: User can upgrade a rule using the rule preview**](#scenario-user-can-upgrade-a-rule-using-the-rule-preview) - - [**Scenario: User can see correct rule information in preview before upgrading**](#scenario-user-can-see-correct-rule-information-in-preview-before-upgrading) - - [**Scenario: Tabs and sections without content should be hidden in preview before upgrading**](#scenario-tabs-and-sections-without-content-should-be-hidden-in-preview-before-upgrading) - - [Rule upgrade workflow: filtering, sorting, pagination](#rule-upgrade-workflow-filtering-sorting-pagination) - - [Rule upgrade workflow: viewing rule changes in JSON diff view](#rule-upgrade-workflow-viewing-rule-changes-in-json-diff-view) - - [**Scenario: User can see changes in a side-by-side JSON diff view**](#scenario-user-can-see-changes-in-a-side-by-side-json-diff-view) - - [**Scenario: User can see precisely how property values would change after upgrade**](#scenario-user-can-see-precisely-how-property-values-would-change-after-upgrade) - - [**Scenario: Rule actions and exception lists should not be shown as modified**](#scenario-rule-actions-and-exception-lists-should-not-be-shown-as-modified) - - [**Scenario: Dynamic properties should not be included in preview**](#scenario-dynamic-properties-should-not-be-included-in-preview) - - [**Scenario: Technical properties should not be included in preview**](#scenario-technical-properties-should-not-be-included-in-preview) - - [**Scenario: Properties with semantically equal values should not be shown as modified**](#scenario-properties-with-semantically-equal-values-should-not-be-shown-as-modified) - - [**Scenario: Unchanged sections of a rule should be hidden by default**](#scenario-unchanged-sections-of-a-rule-should-be-hidden-by-default) - - [**Scenario: Properties should be sorted alphabetically**](#scenario-properties-should-be-sorted-alphabetically) - - [Rule upgrade workflow: viewing rule changes in per-field diff view](#rule-upgrade-workflow-viewing-rule-changes-in-per-field-diff-view) - - [**Scenario: User can see changes in a side-by-side per-field diff view**](#scenario-user-can-see-changes-in-a-side-by-side-per-field-diff-view) - - [**Scenario: Field groupings should be rendered together in the same accordion panel**](#scenario-field-groupings-should-be-rendered-together-in-the-same-accordion-panel) - - [**Scenario: Undefined values are displayed with empty diffs**](#scenario-undefined-values-are-displayed-with-empty-diffs) - - [**Scenario: Field diff components have the same grouping and order as in rule details overview**](#scenario-field-diff-components-have-the-same-grouping-and-order-as-in-rule-details-overview) - - [Rule upgrade workflow: preserving rule bound data](#rule-upgrade-workflow-preserving-rule-bound-data) - - [**Scenario: Rule bound data is preserved after upgrading a rule to a newer version with the same rule type**](#scenario-rule-bound-data-is-preserved-after-upgrading-a-rule-to-a-newer-version-with-the-same-rule-type) - - [**Scenario: Rule bound data is preserved after upgrading a rule to a newer version with a different rule type**](#scenario-rule-bound-data-is-preserved-after-upgrading-a-rule-to-a-newer-version-with-a-different-rule-type) - - [Rule upgrade workflow: misc cases](#rule-upgrade-workflow-misc-cases) - - [**Scenario: User doesn't see the Rule Updates tab until the package installation is completed**](#scenario-user-doesnt-see-the-rule-updates-tab-until-the-package-installation-is-completed) - - [Error handling](#error-handling) - - [**Scenario: Error is handled when any operation on prebuilt rules fails**](#scenario-error-is-handled-when-any-operation-on-prebuilt-rules-fails) - - [Authorization / RBAC](#authorization--rbac) - - [**Scenario: User with read privileges on Security Solution cannot install prebuilt rules**](#scenario-user-with-read-privileges-on-security-solution-cannot-install-prebuilt-rules) - - [**Scenario: User with read privileges on Security Solution cannot upgrade prebuilt rules**](#scenario-user-with-read-privileges-on-security-solution-cannot-upgrade-prebuilt-rules) - - [Kibana upgrade](#kibana-upgrade) - - [**Scenario: User can use prebuilt rules after upgrading Kibana from version A to B**](#scenario-user-can-use-prebuilt-rules-after-upgrading-kibana-from-version-a-to-b) + - [Scenarios](#scenarios) + - [Rule installation and upgrade notifications on the Rule Management page](#rule-installation-and-upgrade-notifications-on-the-rule-management-page) + - [**Scenario: User is NOT notified when all installed prebuilt rules are up to date**](#scenario-user-is-not-notified-when-all-installed-prebuilt-rules-are-up-to-date) + - [**Scenario: User is notified when some prebuilt rules can be upgraded**](#scenario-user-is-notified-when-some-prebuilt-rules-can-be-upgraded) + - [**Scenario: User is notified when both rules to install and upgrade are available**](#scenario-user-is-notified-when-both-rules-to-install-and-upgrade-are-available) + - [Rule upgrade workflow: individual upgrade from Rule Updates table](#rule-upgrade-workflow-individual-and-bulk-updates-from-rule-updates-table) + - [**Scenario: User can upgrade conflict-free prebuilt rules one by one**](#scenario-user-can-upgrade-conflict-free-prebuilt-rules-one-by-one) + - [**Scenario: User cannot upgrade prebuilt rules one by one from Rules Update table if they have conflicts**](#scenario-user-cannot-upgrade-prebuilt-rules-one-by-one-from-rules-update-table-if-they-have-conflicts) + - [Rule upgrade workflow: bulk upgrade from Rule Updates table](#rule-upgrade-workflow-individual-and-bulk-updates-from-rule-updates-table) + - [**Scenario: User can upgrade multiple conflict-free prebuilt rules selected on the page**](#scenario-user-can-upgrade-multiple-conflict-free-prebuilt-rules-selected-on-the-page) + - [**Scenario: User cannot upgrade multiple prebuilt rules selected on the page when they have upgrade conflicts**](#scenario-user-cannot-upgrade-multiple-prebuilt-rules-selected-on-the-page-when-they-have-upgrade-conflicts) + - [**Scenario: User can upgrade all available conflict-free prebuilt rules at once**](#scenario-user-can-upgrade-all-available-conflict-free-prebuilt-rules-at-once) + - [**Scenario: User cannot upgrade all prebuilt rules at once if they have upgrade conflicts**](#scenario-user-cannot-upgrade-all-prebuilt-rules-at-once-if-they-have-upgrade-conflicts) + - [**Scenario: User can upgrade only conflict-free rules when a mix of rules with and without conflicts are selected for upgrade in the Rules Table**](#scenario-user-can-upgrade-only-conflict-free-rules-when-a-mix-of-rules-with-and-without-conflicts-are-selected-for-upgrade-in-the-rules-table) + - [**Scenario: User can upgrade only conflict-free rules when user attempts to upgrade all rules and only a subset contains upgrade conflicts**](#scenario-user-can-upgrade-only-conflict-free-rules-when-user-attempts-to-upgrade-all-rules-and-only-a-subset-contains-upgrade-conflicts) + - [Rule upgrade workflow: upgrading rules with rule type change](#rule-upgrade-workflow-upgrading-rules-with-rule-type-change) + - [**Scenario: User can upgrade rule with rule type change individually**](#scenario-user-can-upgrade-rule-with-rule-type-change-individually) + - [**Scenario: User can bulk upgrade selected rules with rule type changes**](#scenario-user-can-bulk-upgrade-selected-rules-with-rule-type-changes) + - [**Scenario: User can bulk upgrade all rules with rule type changes**](#scenario-user-can-bulk-upgrade-all-rules-with-rule-type-changes) + - [Rule upgrade workflow: rule previews](#rule-upgrade-workflow-rule-previews) + - [**Scenario: User can preview rules available for upgrade**](#scenario-user-can-preview-rules-available-for-upgrade) + - [**Scenario: User can upgrade a rule using the rule preview**](#scenario-user-can-upgrade-a-rule-using-the-rule-preview) + - [**Scenario: User can see correct rule information in preview before upgrading**](#scenario-user-can-see-correct-rule-information-in-preview-before-upgrading) + - [**Scenario: Tabs and sections without content should be hidden in preview before upgrading**](#scenario-tabs-and-sections-without-content-should-be-hidden-in-preview-before-upgrading) + - [Rule upgrade workflow: filtering, sorting, pagination](#rule-upgrade-workflow-filtering-sorting-pagination) + - [MILESTONE 2 (Legacy) - Rule upgrade workflow: viewing rule changes in JSON diff view](#milestone-2-legacy---rule-upgrade-workflow-viewing-rule-changes-in-json-diff-view) + - [**Scenario: User can see changes in a side-by-side JSON diff view**](#scenario-user-can-see-changes-in-a-side-by-side-json-diff-view) + - [**Scenario: User can see precisely how property values would change after upgrade**](#scenario-user-can-see-precisely-how-property-values-would-change-after-upgrade) + - [**Scenario: Rule actions and exception lists should not be shown as modified**](#scenario-rule-actions-and-exception-lists-should-not-be-shown-as-modified) + - [**Scenario: Dynamic properties should not be included in preview**](#scenario-dynamic-properties-should-not-be-included-in-preview) + - [**Scenario: Technical properties should not be included in preview**](#scenario-technical-properties-should-not-be-included-in-preview) + - [**Scenario: Properties with semantically equal values should not be shown as modified**](#scenario-properties-with-semantically-equal-values-should-not-be-shown-as-modified) + - [**Scenario: Unchanged sections of a rule should be hidden by default**](#scenario-unchanged-sections-of-a-rule-should-be-hidden-by-default) + - [**Scenario: Properties should be sorted alphabetically**](#scenario-properties-should-be-sorted-alphabetically) + - [MILESTONE 2 (Legacy) - Rule upgrade workflow: viewing rule changes in per-field diff view](#milestone-2-legacy---rule-upgrade-workflow-viewing-rule-changes-in-per-field-diff-view) + - [**Scenario: User can see changes in a side-by-side per-field diff view**](#scenario-user-can-see-changes-in-a-side-by-side-per-field-diff-view) + - [**Scenario: User can see changes when updated rule is a different rule type**](#scenario-user-can-see-changes-when-updated-rule-is-a-different-rule-type) + - [**Scenario: Field groupings should be rendered together in the same accordion panel**](#scenario-field-groupings-should-be-rendered-together-in-the-same-accordion-panel) + - [**Scenario: Undefined values are displayed with empty diffs**](#scenario-undefined-values-are-displayed-with-empty-diffs) + - [**Scenario: Field diff components have the same grouping and order as in rule details overview**](#scenario-field-diff-components-have-the-same-grouping-and-order-as-in-rule-details-overview) + - [Rule upgrade workflow: preserving rule bound data](#rule-upgrade-workflow-preserving-rule-bound-data) + - [**Scenario: Rule bound data is preserved after upgrading a rule to a newer version with the same rule type**](#scenario-rule-bound-data-is-preserved-after-upgrading-a-rule-to-a-newer-version-with-the-same-rule-type) + - [**Scenario: Rule bound data is preserved after upgrading a rule to a newer version with a different rule type**](#scenario-rule-bound-data-is-preserved-after-upgrading-a-rule-to-a-newer-version-with-a-different-rule-type) + - [Rule upgrade workflow: misc cases](#rule-upgrade-workflow-misc-cases) + - [**Scenario: User doesn't see the Rule Updates tab until the package installation is completed**](#scenario-user-doesnt-see-the-rule-updates-tab-until-the-package-installation-is-completed) + - [Error handling](#error-handling) + - [**Scenario: Error is handled when any upgrade operation on prebuilt rules fails**](#scenario-error-is-handled-when-any-upgrade-operation-on-prebuilt-rules-fails) + - [Rule upgrade via the Prebuilt rules API](#rule-upgrade-via-the-prebuilt-rules-api) + - [**Scenario: API can upgrade prebuilt rules that are outdated**](#scenario-api-can-upgrade-prebuilt-rules-that-are-outdated) + - [**Scenario: API does not upgrade prebuilt rules if they are up to date**](#scenario-api-does-not-upgrade-prebuilt-rules-if-they-are-up-to-date) + - [Authorization / RBAC](#authorization-rbac) + - [**Scenario: User with read privileges on Security Solution cannot upgrade prebuilt rules**](#scenario-user-with-read-privileges-on-security-solution-cannot-upgrade-prebuilt-rules) + ## Useful information ### Tickets - [Rule Immutability/Customization](https://github.com/elastic/security-team/issues/1974) epic + +**Milestone 3 - Prebuilt Rules Customization:** +- [Milestone 3 epic ticket](https://github.com/elastic/kibana/issues/174168) +- [Tests for prebuilt rule upgrade workflow #202078](https://github.com/elastic/kibana/issues/202078) + +**Milestone 2:** - [Ensure full test coverage for existing workflows of installing and upgrading prebuilt rules](https://github.com/elastic/kibana/issues/148176) - [Write test plan and add test coverage for the new workflows of installing and upgrading prebuilt rules](https://github.com/elastic/kibana/issues/148192) -- [Document the new UI for installing and upgrading prebuilt detection rules](https://github.com/elastic/security-docs/issues/3496) ### Terminology @@ -205,266 +194,15 @@ Examples: ## Scenarios -### Package installation - -#### **Scenario: Package is installed via Fleet** - -**Automation**: 2 e2e tests that install the real package. - -```Gherkin -Given the package is not installed -When user opens the Rule Management page -Then the package gets installed in the background from EPR -``` - -#### **Scenario: Package is installed via bundled Fleet package in Kibana** - -**Automation**: 2 integration tests. - -```Gherkin -Given the package is not installed -And user is in an air-gapped environment -When user opens the Rule Management page -Then the package gets installed in the background from packages bundled into Kibana -``` - -#### **Scenario: Large package can be installed on a small Kibana instance** - -**Automation**: 1 integration test. - -```Gherkin -Given the package is not installed -And the package contains the largest amount of historical rule versions (15000) -And the Kibana instance has a memory heap size of 700 Mb (see note below) -When user opens the Rule Management page -Then the package is installed without Kibana crashing with an Out Of Memory error -``` - -**Note**: 600 Mb seems to always crash Kibana with an OOM error. 700 Mb runs with no issues in the Flaky test runner with 100 iterations: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2215. - -### Rule installation and upgrade via the Prebuilt rules API - -There's a legacy prebuilt rules API and a new one. Both should be tested against two types of the package: with and without historical rule versions. - -#### **Scenario: API can install all prebuilt rules** - -**Automation**: 8 integration tests with mock rules: 4 examples below \* 2 (we split checking API response and installed rules into two different tests). - -```Gherkin -Given the package is installed -And the package contains N rules -When user installs all rules via install -Then the endpoint should return 200 with -And N rule objects should be created -And each rule object should have correct id and version - -Examples: - | package_type | api | install_response | - | with historical versions | legacy | installed: N, updated: 0 | - | w/o historical versions | legacy | installed: N, updated: 0 | - | with historical versions | new | total: N, succeeded: N | - | w/o historical versions | new | total: N, succeeded: N | -``` - -Notes: - -- Legacy API: - - install: `PUT /api/detection_engine/rules/prepackaged` -- New API: - - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` - -#### **Scenario: API can install prebuilt rules that are not yet installed** - -**Automation**: 4 integration tests with mock rules. - -```Gherkin -Given the package is installed -And the package contains N rules -When user installs all rules via install -And deletes one of the installed rules -And gets prebuilt rules status via status -Then the endpoint should return 200 with -When user installs all rules via install again -Then the endpoint should return 200 with - -Examples: - | package_type | api | status_response | install_response | - | with historical versions | legacy | not_installed: 1 | installed: 1, updated: 0 | - | w/o historical versions | legacy | not_installed: 1 | installed: 1, updated: 0 | - | with historical versions | new | to_install: 1 | total: 1, succeeded: 1 | - | w/o historical versions | new | to_install: 1 | total: 1, succeeded: 1 | -``` - -Notes: - -- Legacy API: - - install: `PUT /api/detection_engine/rules/prepackaged` - - status: `GET /api/detection_engine/rules/prepackaged/_status` -- New API: - - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` - - status: `GET /internal/detection_engine/prebuilt_rules/status` - -#### **Scenario: API can upgrade prebuilt rules that are outdated** - -**Automation**: 4 integration tests with mock rules. - -```Gherkin -Given the package is installed -And the package contains N rules -When user installs all rules via install -And new X+1 version of a rule asset -And user gets prebuilt rules status via status -Then the endpoint should return 200 with -When user upgrades all rules via upgrade -Then the endpoint should return 200 with - -Examples: - | package_type | api | assets_update | status_response | upgrade_response | - | with historical versions | legacy | gets added | not_updated: 1 | installed: 0, updated: 1 | - | w/o historical versions | legacy | replaces X | not_updated: 1 | installed: 0, updated: 1 | - | with historical versions | new | gets added | to_upgrade: 1 | total: 1, succeeded: 1 | - | w/o historical versions | new | replaces X | to_upgrade: 1 | total: 1, succeeded: 1 | -``` +### Rule upgrade notifications on the Rule Management page -TODO: Check why for the legacy API Dmitrii has added 2 integration tests for `rule package with historical versions` instead of 1: - -- `should update outdated prebuilt rules when previous historical versions available` -- `should update outdated prebuilt rules when previous historical versions unavailable` - -(NOTE: the second scenario tests that, if a new version of a rule is released, it can upgrade the current instance of that rule even if the historical versions of that rule are no longer in the package) - -Notes: - -- Legacy API: - - install: `PUT /api/detection_engine/rules/prepackaged` - - upgrade: `PUT /api/detection_engine/rules/prepackaged` - - status: `GET /api/detection_engine/rules/prepackaged/_status` -- New API: - - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` - - upgrade: `POST /internal/detection_engine/prebuilt_rules/upgrade/_perform` - - status: `GET /internal/detection_engine/prebuilt_rules/status` - -#### **Scenario: API does not install or upgrade prebuilt rules if they are up to date** - -**Automation**: 4 integration tests with mock rules. - -```Gherkin -Given the package is installed -And the package contains N rules -When user installs all rules via install -And user gets prebuilt rules status via status -Then the endpoint should return 200 with -When user calls install -Then the endpoint should return 200 with -When user calls upgrade -Then the endpoint should return 200 with - -Examples: - | package_type | api | status_response | install_response | upgrade_response | - | with historical versions | legacy | not_installed: 0, not_updated: 0 | installed: 0, updated: 0 | installed: 0, updated: 0 | - | w/o historical versions | legacy | not_installed: 0, not_updated: 0 | installed: 0, updated: 0 | installed: 0, updated: 0 | - | with historical versions | new | to_install: 0, to_upgrade: 0 | total: 0, succeeded: 0 | total: 0, succeeded: 0 | - | w/o historical versions | new | to_install: 0, to_upgrade: 0 | total: 0, succeeded: 0 | total: 0, succeeded: 0 | -``` - -Notes: - -- Legacy API: - - install: `PUT /api/detection_engine/rules/prepackaged` - - upgrade: `PUT /api/detection_engine/rules/prepackaged` - - status: `GET /api/detection_engine/rules/prepackaged/_status` -- New API: - - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` - - upgrade: `POST /internal/detection_engine/prebuilt_rules/upgrade/_perform` - - status: `GET /internal/detection_engine/prebuilt_rules/status` - -### Scenarios for the real package - -#### **Scenario: User can install prebuilt rules from scratch, then install new rules and upgrade existing rules from the new package** - -**Automation**: 1 integration test with real packages. - -```Gherkin -Given there are two package versions: N-1 and N -And the package of N-1 version is installed -When user calls the status endpoint -Then it should return a 200 response with some number of rules to install and 0 rules to upgrade -When user calls the installation/_review endpoint -Then it should return a 200 response matching the response of the status endpoint -When user calls the installation/_perform_ endpoint -Then it should return a 200 response matching the response of the status endpoint -And rules returned in this response should exist as alert saved objects -When user installs the package of N version -Then it should be installed successfully -When user calls the status endpoint -Then it should return a 200 response with some number of new rules to install and some number of rules to upgrade -When user calls the installation/_review endpoint -Then it should return a 200 response matching the response of the status endpoint -When user calls the installation/_perform_ endpoint -Then rules returned in this response should exist as alert saved objects -When user calls the upgrade/_review endpoint -Then it should return a 200 response matching the response of the status endpoint -When user calls the upgrade/_perform_ endpoint -Then rules returned in this response should exist as alert saved objects -``` - -### Rule installation and upgrade notifications on the Rule Management page - -#### **Scenario: User is NOT notified when no prebuilt rules are installed and there are no prebuilt rules assets** - -**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. - -```Gherkin -Given no prebuilt rules are installed in Kibana -And no prebuilt rule assets exist -When user opens the Rule Management page -Then user should NOT see a CTA to install prebuilt rules -And user should NOT see a number of rules available to install -And user should NOT see a CTA to upgrade prebuilt rules -And user should NOT see a number of rules available to upgrade -And user should NOT see the Rule Updates table -``` - -#### **Scenario: User is NOT notified when all prebuilt rules are installed and up to date** +#### **Scenario: User is NOT notified when all installed prebuilt rules are up to date** **Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. ```Gherkin Given all the latest prebuilt rules are installed in Kibana When user opens the Rule Management page -Then user should NOT see a CTA to install prebuilt rules -And user should NOT see a number of rules available to install -And user should NOT see a CTA to upgrade prebuilt rules -And user should NOT see a number of rules available to upgrade -And user should NOT see the Rule Updates table -``` - -#### **Scenario: User is notified when no prebuilt rules are installed and there are rules available to install** - -**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. - -```Gherkin -Given no prebuilt rules are installed in Kibana -And there are X prebuilt rules available to install -When user opens the Rule Management page -Then user should see a CTA to install prebuilt rules -And user should see a number of rules available to install (X) -And user should NOT see a CTA to upgrade prebuilt rules -And user should NOT see a number of rules available to upgrade -And user should NOT see the Rule Updates table -``` - -#### **Scenario: User is notified when some prebuilt rules can be installed** - -**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. - -```Gherkin -Given X prebuilt rules are installed in Kibana -And there are Y more prebuilt rules available to install -And for all X installed rules there are no new versions available -When user opens the Rule Management page -Then user should see a CTA to install prebuilt rules -And user should see the number of rules available to install (Y) And user should NOT see a CTA to upgrade prebuilt rules And user should NOT see a number of rules available to upgrade And user should NOT see the Rule Updates table @@ -500,242 +238,210 @@ And user should see a CTA to upgrade prebuilt rules And user should see the number of rules available to upgrade (Z) ``` -#### **Scenario: User is notified after a prebuilt rule gets deleted** +### Rule upgrade workflow: individual updates from Rule Updates table -**Automation**: 1 e2e test with mock rules + 1 integration test with mock rules for the /status endpoint. +#### **Scenario: User can upgrade conflict-free prebuilt rules one by one** + +**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /upgrade/\* endpoints in integration. ```Gherkin Given X prebuilt rules are installed in Kibana -And there are no more prebuilt rules available to install -When user opens the Rule Management page -And user deletes Y prebuilt rules -Then user should see a CTA to install prebuilt rules -And user should see the number of rules available to install (Y) +And for Y of the installed rules there are new versions available +When user is on the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +When user upgrades one individual rule without previewing it +Then success message should be displayed after upgrade +And the upgraded rule should be removed from the table +And user should see the number of rules available to upgrade decreased by 1 ``` -### Rule installation workflow: base cases - -#### **Scenario: User can install prebuilt rules one by one** +#### **Scenario: User cannot upgrade prebuilt rules one by one from Rules Update table if they have conflicts** -**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /installation/\* endpoints in integration. +**Automation**: 1 e2e test with mock rules ```Gherkin -Given no prebuilt rules are installed in Kibana -And there are X prebuilt rules available to install -When user opens the Add Rules page -Then prebuilt rules available for installation should be displayed in the table -When user installs one individual rule without previewing it -Then success message should be displayed after installation -And the installed rule should be removed from the table -When user navigates back to the Rule Management page -Then user should see a CTA to install prebuilt rules -And user should see the number of rules available to install decreased by 1 +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And user is on the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +And for Z (where Z < Y) of the rules with upgrades there are upgrade conflicts +Then for those Z rules the Upgrade Rule button should be disabled +And the user should not be able to upgrade them directly from the table +And there should be a message/tooltip indicating why the rule cannot be upgraded directly ``` -#### **Scenario: User can install multiple prebuilt rules selected on the page** +### Rule upgrade workflow: bulk updates from Rule Updates table -**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /installation/\* endpoints in integration. +#### **Scenario: User can upgrade multiple conflict-free prebuilt rules selected on the page** + +**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /upgrade/\* endpoints in integration. ```Gherkin -Given no prebuilt rules are installed in Kibana -And there are X prebuilt rules available to install -When user opens the Add Rules page -Then prebuilt rules available for installation should be displayed in the table -When user selects rules -Then user should see a CTA to install number of rules +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And user opens the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +When user selects Z (where Z < Y) rules, which have no upgrade conflicts +Then user should see a CTA to upgrade rules When user clicks the CTA -Then success message should be displayed after installation -And all the installed rules should be removed from the table -When user navigates back to the Rule Management page -Then user should see a CTA to install prebuilt rules -And user should see the number of rules available to install decreased by number of installed rules +Then success message should be displayed after upgrade +And all the upgraded rules should be removed from the table +And user should see the number of rules available to upgrade decreased by number of upgraded rules Examples: - | Y | + | Z | | a few rules on the page, e.g. 2 | | all rules on the page, e.g. 12 | ``` -#### **Scenario: User can install all available prebuilt rules at once** +#### **Scenario: User cannot upgrade selected prebuilt rules with conflicts** -**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /installation/\* endpoints in integration. +**Automation**: 1 e2e test with mock rules ```Gherkin -Given no prebuilt rules are installed in Kibana -And there are X prebuilt rules available to install -When user opens the Add Rules page -Then prebuilt rules available for installation should be displayed in the table -When user installs all rules -Then success message should be displayed after installation -And all the rules should be removed from the table -And user should see a message indicating that all available rules have been installed -And user should see a CTA that leads to the Rule Management page -When user clicks on the CTA -Then user should be navigated back to Rule Management page -And user should NOT see a CTA to install prebuilt rules -And user should NOT see a number of rules available to install -``` - -#### **Scenario: Empty screen is shown when all prebuilt rules are installed** - -**Automation**: 1 e2e test with mock rules + 1 integration test. +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And all of those Y new versions have conflicts with the current versions +And user is on the Rule Management page +When user is on the Rule Updates table +When user selects rules, all of which have upgrade conflicts +Then user should see a CTA to upgrade number of rules, which should be disabled +When user hovers on the CTA to upgrade multiple rules +Then a message should be displayed that informs the user why the rules cannot be updated -```Gherkin -Given all the available prebuilt rules are installed in Kibana -When user opens the Add Rules page -Then user should see a message indicating that all available rules have been installed -And user should see a CTA that leads to the Rule Management page +Examples: + | Z | + | a few rules on the page, e.g. 2 | + | all rules on the page, e.g. 12 | ``` -#### **Scenario: User can preview rules available for installation** +#### **Scenario: User can upgrade all available conflict-free prebuilt rules at once** -**Automation**: 1 e2e test +**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /upgrade/\* endpoints in integration. ```Gherkin -Given no prebuilt rules are installed in Kibana -And there are 2 rules available to install -When user opens the Add Rules page -Then all rules available for installation should be displayed in the table -When user opens the rule preview for the 1st rule -Then the preview should open -When user closes the preview -Then it should disappear +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And those Y new versions don't have conflicts with the current versions +When user is on the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +When user upgrades all rules +Then success message should be displayed after upgrade +And user should NOT see a CTA to upgrade prebuilt rules +And user should NOT see a number of rules available to upgrade ``` -#### **Scenario: User can install a rule using the rule preview** +#### **Scenario: User cannot upgrade all prebuilt rules at once if they have upgrade conflicts** -**Automation**: 1 e2e test +**Automation**: 1 e2e test with mock rules ```Gherkin -Given no prebuilt rules are installed in Kibana -And there are 2 rules available to install -When user opens the Add Rules page -Then all rules available for installation should be displayed in the table -When user opens the rule preview for the rule -Then the preview should open -When user installs the rule using a CTA in the rule preview -Then the rule should be installed -And a success message should be displayed after installation -And the rule should be removed from the Add Rules table -When user navigates back to the Rule Management page -Then user should see a CTA to install prebuilt rules -And user should see the number of rules available to install as initial number minus 1 +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And all Y new versions have conflicts with the current versions +When user opens the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +Then user should see a CTA to upgrade all rules +And the CTA to upgrade all rules should be disabled +When user hovers on the CTA to upgrade all rules +Then a message should be displayed that informs the user why the rules cannot be updated ``` -#### **Scenario: User can see correct rule information in preview before installing** +#### **Scenario: User can upgrade only conflict-free rules when a mix of rules with and without conflicts are selected for upgrade** -**Automation**: 1 e2e test +**Automation**: 1 e2e test with mock rules ```Gherkin -Given no prebuilt rules are installed in Kibana -And there are X prebuilt rules of all types available to install -When user opens the Add Rules page -Then all X rules available for installation should be displayed in the table -When user opens a rule preview for any rule -Then the preview should appear -And all properties of a rule should be displayed in the correct tab and section of the preview (see examples of rule properties above) -``` - -#### **Scenario: Tabs and sections without content should be hidden in preview before installing** - -**Automation**: 1 e2e test +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And a subset Z of the rules have conflicts with the current versions +And user is on the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +And user selects rules, which is a mixture of rules with and without upgrade conflicts +Then user should see a CTA to upgrade number of rules, which is enabled +When user clicks the CTA +A modal window should inform the user that only W rules without conflicts will be upgraded +When user confirms the action in the modal +Then success message should be displayed after upgrade informing that W rules were updated +And the W upgraded rules should be removed from the table +And the remaining Z - W rules should still be present in the table +And user should see the number of rules available to upgrade decreased by W number of upgraded rules -```Gherkin -Given no prebuilt rules are installed in Kibana -And there is at least 1 rule available to install -And this rule has neither Setup guide nor Investigation guide -When user opens the Add Rules page -Then all rules available for installation should be displayed in the table -When user opens the rule preview for this rule -Then the preview should open -And the Setup Guide section should NOT be displayed in the Overview tab -And the Investigation Guide tab should NOT be displayed +Examples: + | Z | + | a few rules on the page, e.g. 2 | + | all rules on the page, e.g. 12 | ``` -### Rule installation workflow: filtering, sorting, pagination - -TODO: add scenarios https://github.com/elastic/kibana/issues/166215 - -### Rule installation workflow: misc cases - -#### **Scenario: User opening the Add Rules page sees a loading skeleton until the package installation is completed** +#### **Scenario: User can upgrade only conflict-free rules when attempting to upgrade all rules** -**Automation**: unit tests. +**Automation**: 1 e2e test with mock rules ```Gherkin -Given prebuilt rules package is not installed -When user opens the Add Rules page -Then user should see a loading skeleton until the package installation is completed +Given X prebuilt rules are installed in Kibana +And for Y of the installed rules there are new versions available +And Z (where Z < Y) rules have conflicts with the current versions +And user is on the Rule Updates table +Then Y rules available for upgrade should be displayed in the table +Then user should see an enabled CTA to upgrade all rules +When user clicks the CTA +A modal window should inform the user that only K (where K < Y) rules without conflicts will be upgraded +When user confirms the action in the modal +Then success message should be displayed after upgrade informing that K rules were updated +And the K upgraded rules should be removed from the table +And the remaining M = Y - K rules should still be present in the table +And user should see the number of rules available to upgrade decreased by K number of upgraded rules ``` -#### **Scenario: User can navigate from the Add Rules page to the Rule Management page via breadcrumbs** - -**Automation**: 1 e2e test. -```Gherkin -Given user is on the Add Rules page -When user navigates to the Rule Management page via breadcrumbs -Then the Rule Management page should be displayed -``` +### Rule upgrade workflow: upgrading rules with rule type change -### Rule upgrade workflow: base cases +#### **Scenario: User can upgrade rule with rule type change individually** -#### **Scenario: User can upgrade prebuilt rules one by one** - -**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /upgrade/\* endpoints in integration. +**Automation**: 1 e2e test with mock rules ```Gherkin -Given X prebuilt rules are installed in Kibana -And for Y of the installed rules there are new versions available -And user is on the Rule Management page +Given a prebuilt rule is installed in Kibana +And this rule has an update available that changes its rule type When user opens the Rule Updates table -Then Y rules available for upgrade should be displayed in the table -When user upgrades one individual rule without previewing it -Then success message should be displayed after upgrade -And the upgraded rule should be removed from the table -And user should see the number of rules available to upgrade decreased by 1 +Then this rule should be displayed in the table +And the Upgrade Rule button should be disabled +And the user should not be able to upgrade them directly from the table +And there should be a message/tooltip indicating why the rule cannot be upgraded directly ``` -#### **Scenario: User can upgrade multiple prebuilt rules selected on the page** +#### **Scenario: User can bulk upgrade selected rules with rule type changes** -**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /upgrade/\* endpoints in integration. + +**Automation**: 1 e2e test with mock rules ```Gherkin Given X prebuilt rules are installed in Kibana -And for Y of the installed rules there are new versions available -And user is on the Rule Management page +And Y of these rules have updates available that change their rule types When user opens the Rule Updates table -Then Y rules available for upgrade should be displayed in the table -When user selects rules -Then user should see a CTA to upgrade number of rules -When user clicks the CTA -Then success message should be displayed after upgrade -And all the upgraded rules should be removed from the table -And user should see the number of rules available to upgrade decreased by number of upgraded rules - -Examples: - | Z | - | a few rules on the page, e.g. 2 | - | all rules on the page, e.g. 12 | +Then Y rules should be displayed in the table +When user selects Z rules (where Z < Y) with rule type changes +The button to upgrade the Z selected rules should be disabled +And the user should not be able to upgrade them directly from the table +And there should be a message/tooltip indicating why the rule cannot be upgraded directly ``` -#### **Scenario: User can upgrade all available prebuilt rules at once** +#### **Scenario: User can bulk upgrade all rules with rule type changes** -**Automation**: 1 e2e test with mock rules + integration tests with mock rules that would test /status and /upgrade/\* endpoints in integration. +**Automation**: 1 e2e test with mock rules ```Gherkin Given X prebuilt rules are installed in Kibana -And for Y of the installed rules there are new versions available -And user is on the Rule Management page +And all X rules have updates available that change their rule types When user opens the Rule Updates table -Then Y rules available for upgrade should be displayed in the table -When user upgrades all rules -Then success message should be displayed after upgrade -And user should NOT see a CTA to upgrade prebuilt rules -And user should NOT see a number of rules available to upgrade -And user should NOT see the Rule Updates table +Then X rules should be displayed in the table +The button to upgrade all rules with should be disabled +And the user should not be able to upgrade them directly from the table +And there should be a message/tooltip indicating why the rule cannot be upgraded directly ``` +### Rule upgrade workflow: rule previews + #### **Scenario: User can preview rules available for upgrade** ```Gherkin @@ -807,7 +513,9 @@ And the Investigation Guide tab should NOT be displayed TODO: add scenarios https://github.com/elastic/kibana/issues/166215 -### Rule upgrade workflow: viewing rule changes in JSON diff view +### MILESTONE 2 (Legacy) - Rule upgrade workflow: viewing rule changes in JSON diff view + +> These flow were created for Milestone 2 of the Prebuilt Rules Customization epic, before users could customize prebuilt rules. This section should be deleted once Milestone 3 goes live. #### **Scenario: User can see changes in a side-by-side JSON diff view** @@ -953,7 +661,9 @@ When a user expands all hidden sections Then all properties of the rule should be sorted alphabetically ``` -### Rule upgrade workflow: viewing rule changes in per-field diff view +### MILESTONE 2 (Legacy) - Rule upgrade workflow: viewing rule changes in per-field diff view + +> These flow were created for Milestone 2 of the Prebuilt Rules Customization epic, before users could customize prebuilt rules. This section should be deleted once Milestone 3 goes live. #### **Scenario: User can see changes in a side-by-side per-field diff view** @@ -1091,7 +801,7 @@ Then user should NOT see the Rule Updates tab until the package installation is ### Error handling -#### **Scenario: Error is handled when any operation on prebuilt rules fails** +#### **Scenario: Error is handled when any upgrade operation on prebuilt rules fails** **Automation**: e2e test with mock rules @@ -1102,29 +812,92 @@ Then user should see an error message Examples: | operation | - | installing all | - | installing selected | - | installing individual | | upgrading all | | upgrading selected | | upgrading individual | ``` -### Authorization / RBAC -#### **Scenario: User with read privileges on Security Solution cannot install prebuilt rules** +### Rule upgrade via the Prebuilt rules API + +There's a legacy prebuilt rules API and a new one. Both should be tested against two types of the package: with and without historical rule versions. + +#### **Scenario: API can upgrade prebuilt rules that are outdated** -**Automation**: 1 e2e test with mock rules + 3 integration tests with mock rules for the status and installation endpoints. +**Automation**: 4 integration tests with mock rules. ```Gherkin -Given user with "Security: read" privileges on Security Solution -And no prebuilt rules are installed in Kibana -And there are prebuilt rules available to install -When user opens the Add Rules page -Then user should see prebuilt rules available to install -But user should not be able to install them +Given the package is installed +And the package contains N rules +When user installs all rules via install +And new X+1 version of a rule asset +And user gets prebuilt rules status via status +Then the endpoint should return 200 with +When user upgrades all rules via upgrade +Then the endpoint should return 200 with + +Examples: + | package_type | api | assets_update | status_response | upgrade_response | + | with historical versions | legacy | gets added | not_updated: 1 | installed: 0, updated: 1 | + | w/o historical versions | legacy | replaces X | not_updated: 1 | installed: 0, updated: 1 | + | with historical versions | new | gets added | to_upgrade: 1 | total: 1, succeeded: 1 | + | w/o historical versions | new | replaces X | to_upgrade: 1 | total: 1, succeeded: 1 | ``` +TODO: Check why for the legacy API Dmitrii has added 2 integration tests for `rule package with historical versions` instead of 1: + +- `should update outdated prebuilt rules when previous historical versions available` +- `should update outdated prebuilt rules when previous historical versions unavailable` + +(NOTE: the second scenario tests that, if a new version of a rule is released, it can upgrade the current instance of that rule even if the historical versions of that rule are no longer in the package) + +Notes: + +- Legacy API: + - install: `PUT /api/detection_engine/rules/prepackaged` + - upgrade: `PUT /api/detection_engine/rules/prepackaged` + - status: `GET /api/detection_engine/rules/prepackaged/_status` +- New API: + - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` + - upgrade: `POST /internal/detection_engine/prebuilt_rules/upgrade/_perform` + - status: `GET /internal/detection_engine/prebuilt_rules/status` + +#### **Scenario: API does not upgrade prebuilt rules if they are up to date** + +**Automation**: 4 integration tests with mock rules. + +```Gherkin +Given the package is installed +And the package contains N rules +When user installs all rules via install +And user gets prebuilt rules status via status +Then the endpoint should return 200 with +When user calls install +Then the endpoint should return 200 with +When user calls upgrade +Then the endpoint should return 200 with + +Examples: + | package_type | api | status_response | install_response | upgrade_response | + | with historical versions | legacy | not_installed: 0, not_updated: 0 | installed: 0, updated: 0 | installed: 0, updated: 0 | + | w/o historical versions | legacy | not_installed: 0, not_updated: 0 | installed: 0, updated: 0 | installed: 0, updated: 0 | + | with historical versions | new | to_install: 0, to_upgrade: 0 | total: 0, succeeded: 0 | total: 0, succeeded: 0 | + | w/o historical versions | new | to_install: 0, to_upgrade: 0 | total: 0, succeeded: 0 | total: 0, succeeded: 0 | +``` + +Notes: + +- Legacy API: + - install: `PUT /api/detection_engine/rules/prepackaged` + - upgrade: `PUT /api/detection_engine/rules/prepackaged` + - status: `GET /api/detection_engine/rules/prepackaged/_status` +- New API: + - install: `POST /internal/detection_engine/prebuilt_rules/installation/_perform` + - upgrade: `POST /internal/detection_engine/prebuilt_rules/upgrade/_perform` + - status: `GET /internal/detection_engine/prebuilt_rules/status` + +### Authorization / RBAC + #### **Scenario: User with read privileges on Security Solution cannot upgrade prebuilt rules** **Automation**: 1 e2e test with mock rules + 3 integration tests with mock rules for the status and upgrade endpoints. @@ -1137,24 +910,4 @@ When user opens the Rule Management page And user opens the Rule Updates table Then user should see prebuilt rules available to upgrade But user should not be able to upgrade them -``` - -### Kibana upgrade - -#### **Scenario: User can use prebuilt rules after upgrading Kibana from version A to B** - -**Automation**: not automated, manual testing required. - -```Gherkin -Given user is upgrading Kibana from version to version -And the instance contains already installed prebuilt rules -When the upgrade is complete -Then user should be able to install new prebuilt rules -And delete installed prebuilt rules -And upgrade installed prebuilt rules that have newer versions in - -Examples: - | A | B | - | 8.7 | 8.9.0 | - | 7.17.x | 8.9.0 | -``` +``` \ No newline at end of file diff --git a/x-pack/solutions/security/plugins/security_solution/kibana.jsonc b/x-pack/solutions/security/plugins/security_solution/kibana.jsonc index f672378c88df8..0ffd1922fd2ab 100644 --- a/x-pack/solutions/security/plugins/security_solution/kibana.jsonc +++ b/x-pack/solutions/security/plugins/security_solution/kibana.jsonc @@ -16,6 +16,7 @@ ], "requiredPlugins": [ "actions", + "assetInventory", "alerting", "cases", "cloud", diff --git a/x-pack/solutions/security/plugins/security_solution/public/app/actions/add_to_timeline/lens/add_to_timeline.ts b/x-pack/solutions/security/plugins/security_solution/public/app/actions/add_to_timeline/lens/add_to_timeline.ts index 8792d2a6004f5..2a2b11a9beb15 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app/actions/add_to_timeline/lens/add_to_timeline.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/app/actions/add_to_timeline/lens/add_to_timeline.ts @@ -5,10 +5,9 @@ * 2.0. */ -import type { CellValueContext, IEmbeddable } from '@kbn/embeddable-plugin/public'; -import { isErrorEmbeddable } from '@kbn/embeddable-plugin/public'; +import type { CellValueContext } from '@kbn/embeddable-plugin/public'; import { createAction } from '@kbn/ui-actions-plugin/public'; -import { apiPublishesUnifiedSearch } from '@kbn/presentation-publishing'; +import { apiPublishesUnifiedSearch, hasBlockingError } from '@kbn/presentation-publishing'; import { isLensApi } from '@kbn/lens-plugin/public'; import { isInSecurityApp } from '../../../../common/hooks/is_in_security_app'; import { KibanaServices } from '../../../../common/lib/kibana'; @@ -85,7 +84,7 @@ export const createAddToTimelineLensAction = ({ getIconType: () => ADD_TO_TIMELINE_ICON, getDisplayName: () => ADD_TO_TIMELINE, isCompatible: async ({ embeddable, data }) => - !isErrorEmbeddable(embeddable as IEmbeddable) && + !hasBlockingError(embeddable) && isLensApi(embeddable) && apiPublishesUnifiedSearch(embeddable) && isDataColumnsFilterable(data) && diff --git a/x-pack/solutions/security/plugins/security_solution/public/app/actions/copy_to_clipboard/lens/copy_to_clipboard.ts b/x-pack/solutions/security/plugins/security_solution/public/app/actions/copy_to_clipboard/lens/copy_to_clipboard.ts index 1666a2e65f9cd..c89452082b36c 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app/actions/copy_to_clipboard/lens/copy_to_clipboard.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/app/actions/copy_to_clipboard/lens/copy_to_clipboard.ts @@ -5,10 +5,10 @@ * 2.0. */ -import type { CellValueContext, IEmbeddable } from '@kbn/embeddable-plugin/public'; -import { isErrorEmbeddable } from '@kbn/embeddable-plugin/public'; +import type { CellValueContext } from '@kbn/embeddable-plugin/public'; import { createAction } from '@kbn/ui-actions-plugin/public'; import copy from 'copy-to-clipboard'; +import { hasBlockingError } from '@kbn/presentation-publishing'; import { isLensApi } from '@kbn/lens-plugin/public'; import { isInSecurityApp } from '../../../../common/hooks/is_in_security_app'; import { KibanaServices } from '../../../../common/lib/kibana'; @@ -39,7 +39,7 @@ export const createCopyToClipboardLensAction = ({ order }: { order?: number }) = getIconType: () => COPY_TO_CLIPBOARD_ICON, getDisplayName: () => COPY_TO_CLIPBOARD, isCompatible: async ({ embeddable, data }) => - !isErrorEmbeddable(embeddable as IEmbeddable) && + !hasBlockingError(embeddable) && isLensApi(embeddable) && isDataColumnsValid(data) && isInSecurityApp(currentAppId), diff --git a/x-pack/solutions/security/plugins/security_solution/public/app/actions/filter/lens/create_action.ts b/x-pack/solutions/security/plugins/security_solution/public/app/actions/filter/lens/create_action.ts index 79bcd0e87ced5..6e57cb657781f 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app/actions/filter/lens/create_action.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/app/actions/filter/lens/create_action.ts @@ -11,8 +11,8 @@ import { filterOutNullableValues, valueToArray, } from '@kbn/cell-actions/actions/utils'; -import { isErrorEmbeddable } from '@kbn/embeddable-plugin/public'; -import type { CellValueContext, IEmbeddable } from '@kbn/embeddable-plugin/public'; +import { hasBlockingError } from '@kbn/presentation-publishing'; +import type { CellValueContext } from '@kbn/embeddable-plugin/public'; import { createAction } from '@kbn/ui-actions-plugin/public'; import { ACTION_INCOMPATIBLE_VALUE_WARNING } from '@kbn/cell-actions/src/actions/translations'; import { i18n } from '@kbn/i18n'; @@ -79,7 +79,7 @@ export const createFilterLensAction = ({ }), type: DefaultCellActionTypes.FILTER, isCompatible: async ({ embeddable, data }) => - !isErrorEmbeddable(embeddable as IEmbeddable) && + !hasBlockingError(embeddable) && isLensApi(embeddable) && isDataColumnsValid(data) && isInSecurityApp(currentAppId), diff --git a/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/categories.ts b/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/categories.ts index 8d815ded5a3c4..5cfabe266eda8 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/categories.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/categories.ts @@ -37,6 +37,10 @@ export const CATEGORIES: Array> = [ SecurityPageName.exploreLanding, ], }, + { + type: LinkCategoryType.separator, + linkIds: [SecurityPageName.assetInventory], + }, { type: LinkCategoryType.separator, linkIds: [SecurityPageName.assets], diff --git a/x-pack/solutions/security/plugins/security_solution/public/app/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/app/translations.ts index 1769a805f488f..79de4e62f0473 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app/translations.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/app/translations.ts @@ -119,6 +119,10 @@ export const ATTACK_DISCOVERY = i18n.translate( } ); +export const INVENTORY = i18n.translate('xpack.securitySolution.navigation.inventory', { + defaultMessage: 'Inventory', +}); + export const TIMELINES = i18n.translate('xpack.securitySolution.navigation.timelines', { defaultMessage: 'Timelines', }); diff --git a/x-pack/solutions/security/plugins/security_solution/public/app_links.ts b/x-pack/solutions/security/plugins/security_solution/public/app_links.ts index dca76b1c37f70..d70b96bbd8250 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app_links.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/app_links.ts @@ -7,6 +7,7 @@ import type { CoreStart } from '@kbn/core/public'; import { links as attackDiscoveryLinks } from './attack_discovery/links'; +import { links as assetInventoryLinks } from './asset_inventory/links'; import type { AppLinkItems } from './common/links/types'; import { indicatorsLinks } from './threat_intelligence/links'; import { links as alertsLinks } from './detections/links'; @@ -32,6 +33,7 @@ export const appLinks: AppLinkItems = Object.freeze([ timelinesLinks, indicatorsLinks, exploreLinks, + assetInventoryLinks, rulesLinks, onboardingLinks, managementLinks, @@ -52,6 +54,7 @@ export const getFilteredLinks = async ( timelinesLinks, indicatorsLinks, exploreLinks, + assetInventoryLinks, rulesLinks, onboardingLinks, managementFilteredLinks, diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/index.ts b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/index.ts new file mode 100644 index 0000000000000..78f27a3e42328 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/index.ts @@ -0,0 +1,19 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { SecuritySubPlugin } from '../app/types'; +import { routes } from './routes'; + +export class AssetInventory { + public setup() {} + + public start(): SecuritySubPlugin { + return { + routes, + }; + } +} diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/links.ts b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/links.ts new file mode 100644 index 0000000000000..2eb5902006744 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/links.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +import { INVENTORY } from '../app/translations'; +import { ASSET_INVENTORY_PATH, SecurityPageName, SERVER_APP_ID } from '../../common/constants'; +import type { LinkItem } from '../common/links/types'; + +export const links: LinkItem = { + capabilities: [`${SERVER_APP_ID}.show`], + globalNavPosition: 10, + globalSearchKeywords: [ + i18n.translate('xpack.securitySolution.appLinks.inventory', { + defaultMessage: 'Inventory', + }), + ], + experimentalKey: 'assetInventoryStoreEnabled', + id: SecurityPageName.assetInventory, + path: ASSET_INVENTORY_PATH, + title: INVENTORY, +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/pages/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/pages/index.tsx new file mode 100644 index 0000000000000..4f7a0f5947c88 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/pages/index.tsx @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { SecuritySolutionPageWrapper } from '../../common/components/page_wrapper'; +import { useKibana } from '../../common/lib/kibana'; +import { SecurityPageName } from '../../../common/constants'; +import { SpyRoute } from '../../common/utils/route/spy_routes'; + +export const AssetInventoryContainer = React.memo(() => { + const { assetInventory } = useKibana().services; + + return ( + + {assetInventory.getAssetInventoryPage({})} + + + ); +}); + +AssetInventoryContainer.displayName = 'AssetInventoryContainer'; diff --git a/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/routes.tsx b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/routes.tsx new file mode 100644 index 0000000000000..5707d859d844e --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/asset_inventory/routes.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import type { SecuritySubPluginRoutes } from '../app/types'; +import { SecurityPageName } from '../app/types'; +import { ASSET_INVENTORY_PATH } from '../../common/constants'; +import { PluginTemplateWrapper } from '../common/components/plugin_template_wrapper'; +import { SecurityRoutePageWrapper } from '../common/components/security_route_page_wrapper'; +import { ExperimentalFeaturesService } from '../common/experimental_features_service'; +import { AssetInventoryContainer } from './pages'; + +export const AssetInventoryRoutes = () => ( + + + + + +); + +export const routes: SecuritySubPluginRoutes = [ + { + path: ExperimentalFeaturesService.get().assetInventoryStoreEnabled ? ASSET_INVENTORY_PATH : [], + component: AssetInventoryRoutes, + }, +]; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.test.tsx index 7b0688eadafef..52a0c52304531 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.test.tsx @@ -9,13 +9,13 @@ import { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS } from '@kbn/elastic-assistant'; import { fireEvent, render, screen } from '@testing-library/react'; import React from 'react'; -import { Header } from '.'; import { useAssistantAvailability } from '../../../assistant/use_assistant_availability'; import { TestProviders } from '../../../common/mock'; +import { Header } from '.'; jest.mock('../../../assistant/use_assistant_availability'); -describe('Header', () => { +describe('Actions', () => { beforeEach(() => { (useAssistantAvailability as jest.Mock).mockReturnValue({ hasAssistantPrivilege: true, @@ -36,6 +36,7 @@ describe('Header', () => { onCancel={jest.fn()} onGenerate={jest.fn()} onConnectorIdSelected={jest.fn()} + openFlyout={jest.fn()} setLocalStorageAttackDiscoveryMaxAlerts={jest.fn()} /> @@ -61,6 +62,7 @@ describe('Header', () => { onCancel={jest.fn()} onGenerate={jest.fn()} onConnectorIdSelected={jest.fn()} + openFlyout={jest.fn()} setLocalStorageAttackDiscoveryMaxAlerts={jest.fn()} /> @@ -86,6 +88,7 @@ describe('Header', () => { onCancel={jest.fn()} onConnectorIdSelected={jest.fn()} onGenerate={onGenerate} + openFlyout={jest.fn()} setLocalStorageAttackDiscoveryMaxAlerts={jest.fn()} /> @@ -113,6 +116,7 @@ describe('Header', () => { onCancel={jest.fn()} onConnectorIdSelected={jest.fn()} onGenerate={jest.fn()} + openFlyout={jest.fn()} setLocalStorageAttackDiscoveryMaxAlerts={jest.fn()} /> @@ -139,6 +143,7 @@ describe('Header', () => { onCancel={onCancel} onConnectorIdSelected={jest.fn()} onGenerate={jest.fn()} + openFlyout={jest.fn()} setLocalStorageAttackDiscoveryMaxAlerts={jest.fn()} /> @@ -165,6 +170,7 @@ describe('Header', () => { onCancel={jest.fn()} onConnectorIdSelected={jest.fn()} onGenerate={jest.fn()} + openFlyout={jest.fn()} setLocalStorageAttackDiscoveryMaxAlerts={jest.fn()} /> diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.tsx index ff170805670a6..46019520401e5 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.tsx @@ -6,9 +6,16 @@ */ import type { EuiButtonProps } from '@elastic/eui'; -import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiToolTip, useEuiTheme } from '@elastic/eui'; +import { + EuiButton, + EuiButtonIcon, + EuiFlexGroup, + EuiFlexItem, + EuiToolTip, + useEuiTheme, +} from '@elastic/eui'; import { css } from '@emotion/react'; -import { ConnectorSelectorInline } from '@kbn/elastic-assistant'; +import { ConnectorSelectorInline, useAssistantContext } from '@kbn/elastic-assistant'; import type { AttackDiscoveryStats } from '@kbn/elastic-assistant-common'; import { noop } from 'lodash/fp'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; @@ -26,6 +33,7 @@ interface Props { onGenerate: () => void; onCancel: () => void; onConnectorIdSelected: (connectorId: string) => void; + openFlyout: () => void; setLocalStorageAttackDiscoveryMaxAlerts: React.Dispatch>; stats: AttackDiscoveryStats | null; } @@ -39,9 +47,14 @@ const HeaderComponent: React.FC = ({ onGenerate, onConnectorIdSelected, onCancel, + openFlyout, setLocalStorageAttackDiscoveryMaxAlerts, stats, }) => { + const { + assistantFeatures: { attackDiscoveryAlertFiltering }, + } = useAssistantContext(); + const { euiTheme } = useEuiTheme(); const disabled = connectorId == null; @@ -78,23 +91,20 @@ const HeaderComponent: React.FC = ({ - - - {connectorsAreConfigured && ( - + = ({ )} + + {attackDiscoveryAlertFiltering ? ( + + + + ) : ( + + )} + + index < 3; interface ErrorWithStringMessage { @@ -130,3 +132,8 @@ export const getSize = ({ return isNaN(size) || size <= 0 ? defaultMaxAlerts : size; }; + +export const getDefaultQuery = (): Query => ({ + language: 'kuery', + query: '', +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/index.tsx index 26738eac2dffe..affb0d4588301 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/index.tsx @@ -6,41 +6,102 @@ */ import { EuiEmptyPrompt, EuiLoadingLogo, EuiSpacer } from '@elastic/eui'; +import { getEsQueryConfig } from '@kbn/data-plugin/common'; +import { DEFAULT_END, DEFAULT_START } from '@kbn/elastic-assistant-common'; import { css } from '@emotion/react'; import { ATTACK_DISCOVERY_STORAGE_KEY, DEFAULT_ASSISTANT_NAMESPACE, DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS, + END_LOCAL_STORAGE_KEY, + FILTERS_LOCAL_STORAGE_KEY, MAX_ALERTS_LOCAL_STORAGE_KEY, + QUERY_LOCAL_STORAGE_KEY, + START_LOCAL_STORAGE_KEY, useAssistantContext, useLoadConnectors, } from '@kbn/elastic-assistant'; import type { AttackDiscoveries, Replacements } from '@kbn/elastic-assistant-common'; +import type { Filter, Query } from '@kbn/es-query'; import { uniq } from 'lodash/fp'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; import useLocalStorage from 'react-use/lib/useLocalStorage'; import { SecurityPageName } from '../../../common/constants'; import { HeaderPage } from '../../common/components/header_page'; +import { useInvalidFilterQuery } from '../../common/hooks/use_invalid_filter_query'; import { useSpaceId } from '../../common/hooks/use_space_id'; +import { useKibana } from '../../common/lib/kibana'; +import { convertToBuildEsQuery } from '../../common/lib/kuery'; import { SpyRoute } from '../../common/utils/route/spy_routes'; import { Header } from './header'; -import { CONNECTOR_ID_LOCAL_STORAGE_KEY, getSize, showLoading } from './helpers'; +import { CONNECTOR_ID_LOCAL_STORAGE_KEY, getDefaultQuery, getSize, showLoading } from './helpers'; import { LoadingCallout } from './loading_callout'; +import { deserializeQuery } from './local_storage/deserialize_query'; +import { deserializeFilters } from './local_storage/deserialize_filters'; import { PageTitle } from './page_title'; import { Results } from './results'; +import { SettingsFlyout } from './settings_flyout'; +import { parseFilterQuery } from './settings_flyout/parse_filter_query'; +import { useSourcererDataView } from '../../sourcerer/containers'; import { useAttackDiscovery } from './use_attack_discovery'; +export const ID = 'attackDiscoveryQuery'; + const AttackDiscoveryPageComponent: React.FC = () => { + const { + services: { uiSettings }, + } = useKibana(); + const spaceId = useSpaceId() ?? 'default'; - const { http } = useAssistantContext(); + const { + assistantFeatures: { attackDiscoveryAlertFiltering }, + http, + } = useAssistantContext(); const { data: aiConnectors } = useLoadConnectors({ http, }); // for showing / hiding anonymized data: const [showAnonymized, setShowAnonymized] = useState(false); + + // showing / hiding the flyout: + const [showFlyout, setShowFlyout] = useState(false); + const openFlyout = useCallback(() => setShowFlyout(true), []); + + // time selection: + const [start, setStart] = useLocalStorage( + `${DEFAULT_ASSISTANT_NAMESPACE}.${ATTACK_DISCOVERY_STORAGE_KEY}.${spaceId}.${START_LOCAL_STORAGE_KEY}`, + DEFAULT_START + ); + const [end, setEnd] = useLocalStorage( + `${DEFAULT_ASSISTANT_NAMESPACE}.${ATTACK_DISCOVERY_STORAGE_KEY}.${spaceId}.${END_LOCAL_STORAGE_KEY}`, + DEFAULT_END + ); + + // search bar query: + const [query, setQuery] = useLocalStorage( + `${DEFAULT_ASSISTANT_NAMESPACE}.${ATTACK_DISCOVERY_STORAGE_KEY}.${spaceId}.${QUERY_LOCAL_STORAGE_KEY}`, + getDefaultQuery(), + { + raw: false, + serializer: (value: Query) => JSON.stringify(value), + deserializer: deserializeQuery, + } + ); + + // search bar filters: + const [filters, setFilters] = useLocalStorage( + `${DEFAULT_ASSISTANT_NAMESPACE}.${ATTACK_DISCOVERY_STORAGE_KEY}.${spaceId}.${FILTERS_LOCAL_STORAGE_KEY}`, + [], + { + raw: false, + serializer: (value: Filter[]) => JSON.stringify(value), + deserializer: deserializeFilters, + } + ); + const onToggleShowAnonymized = useCallback(() => setShowAnonymized((current) => !current), []); // get the last selected connector ID from local storage: @@ -123,7 +184,51 @@ const AttackDiscoveryPageComponent: React.FC = () => { const pageTitle = useMemo(() => , []); - const onGenerate = useCallback(async () => fetchAttackDiscoveries(), [fetchAttackDiscoveries]); + const { sourcererDataView } = useSourcererDataView(); + + // filterQuery is the combined search bar query and filters in ES format: + const [filterQuery, kqlError] = useMemo( + () => + convertToBuildEsQuery({ + config: getEsQueryConfig(uiSettings), + dataViewSpec: sourcererDataView, + queries: [query ?? getDefaultQuery()], // <-- search bar query + filters: filters ?? [], // <-- search bar filters + }), + [filters, query, sourcererDataView, uiSettings] + ); + + // renders a toast if the filter query is invalid: + useInvalidFilterQuery({ + id: ID, + filterQuery, + kqlError, + query, + startDate: start, + endDate: end, + }); + + const onGenerate = useCallback(async () => { + const size = alertsContextCount ?? DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS; + const filter = parseFilterQuery({ filterQuery, kqlError }); + + return attackDiscoveryAlertFiltering // feature flag enabled? + ? fetchAttackDiscoveries({ + end, + filter, // <-- combined search bar query and filters + size, + start, + }) + : fetchAttackDiscoveries({ size }); // <-- NO filtering / time ranges, feature flag is off + }, [ + alertsContextCount, + attackDiscoveryAlertFiltering, + end, + fetchAttackDiscoveries, + filterQuery, + kqlError, + start, + ]); useEffect(() => { setSelectedConnectorReplacements(replacements); @@ -147,6 +252,8 @@ const AttackDiscoveryPageComponent: React.FC = () => { const connectorsAreConfigured = aiConnectors != null && aiConnectors.length > 0; const attackDiscoveriesCount = selectedConnectorAttackDiscoveries.length; + const onClose = useCallback(() => setShowFlyout(false), []); + return (
{
@@ -185,9 +293,11 @@ const AttackDiscoveryPageComponent: React.FC = () => { }) ? ( ) : ( { showAnonymized={showAnonymized} /> )} + {showFlyout && ( + + )} )} diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/index.tsx index aee8241ec73fc..c713eb77104df 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/index.tsx @@ -23,14 +23,18 @@ interface Props { alertsContextCount: number | null; approximateFutureTime: Date | null; connectorIntervals: GenerationInterval[]; + end?: string | null; localStorageAttackDiscoveryMaxAlerts: string | undefined; + start?: string | null; } const LoadingCalloutComponent: React.FC = ({ alertsContextCount, - localStorageAttackDiscoveryMaxAlerts, approximateFutureTime, connectorIntervals, + end, + localStorageAttackDiscoveryMaxAlerts, + start, }) => { const { euiTheme } = useEuiTheme(); const { theme } = useKibana().services; @@ -50,12 +54,14 @@ const LoadingCalloutComponent: React.FC = ({ > ), - [alertsContextCount, euiTheme.size.m, localStorageAttackDiscoveryMaxAlerts] + [alertsContextCount, end, euiTheme.size.m, localStorageAttackDiscoveryMaxAlerts, start] ); const isDarkMode = theme.getTheme().darkMode === true; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/get_formatted_time/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/get_formatted_time/index.ts new file mode 100644 index 0000000000000..482d0f8b14f27 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/get_formatted_time/index.ts @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import moment from 'moment'; + +export const getFormattedDate = ({ + date, + dateFormat, +}: { + date: string | null | undefined; + dateFormat: string; +}): string | null => { + if (date == null) { + return null; + } + + // strictly parse the date, which will fail for dates like formatted like 'now': + const strictParsed = moment(date, moment.ISO_8601, true); + + if (!strictParsed.isValid()) { + return date; // return the original date if it cannot be parsed + } + + // return the formatted date per the time zone: + return moment(date).format(dateFormat); +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/get_loading_message/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/get_loading_message/index.ts new file mode 100644 index 0000000000000..352a894ee99da --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/get_loading_message/index.ts @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { DEFAULT_END, DEFAULT_START } from '@kbn/elastic-assistant-common'; + +import { + AI_IS_CURRENTLY_ANALYZING, + AI_IS_CURRENTLY_ANALYZING_FROM, + AI_IS_CURRENTLY_ANALYZING_RANGE, +} from '../../translations'; + +export const getLoadingMessage = ({ + alertsCount, + end, + start, +}: { + alertsCount: number; + end?: string | null; + start?: string | null; +}): string => { + if (start === DEFAULT_START && end === DEFAULT_END) { + return AI_IS_CURRENTLY_ANALYZING(alertsCount); + } + + if (end != null && start != null) { + return AI_IS_CURRENTLY_ANALYZING_RANGE({ alertsCount, end, start }); + } else if (start != null) { + return AI_IS_CURRENTLY_ANALYZING_FROM({ alertsCount, from: start }); + } else { + return AI_IS_CURRENTLY_ANALYZING(alertsCount); + } +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/index.tsx index 1a84771e5c635..5552e44d88df4 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/index.tsx @@ -7,27 +7,47 @@ import { EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; import { css } from '@emotion/react'; -import { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS } from '@kbn/elastic-assistant'; +import { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS, useAssistantContext } from '@kbn/elastic-assistant'; + import React from 'react'; -import { useKibana } from '../../../../common/lib/kibana'; +import { useDateFormat, useKibana } from '../../../../common/lib/kibana'; +import { getFormattedDate } from './get_formatted_time'; import { getLoadingCalloutAlertsCount } from './get_loading_callout_alerts_count'; +import { getLoadingMessage } from './get_loading_message'; import * as i18n from '../translations'; const TEXT_COLOR = '#343741'; interface Props { alertsContextCount: number | null; + end?: string | null; localStorageAttackDiscoveryMaxAlerts: string | undefined; + start?: string | null; } const LoadingMessagesComponent: React.FC = ({ alertsContextCount, + end, localStorageAttackDiscoveryMaxAlerts, + start, }) => { + const { + assistantFeatures: { attackDiscoveryAlertFiltering }, + } = useAssistantContext(); + const { theme } = useKibana().services; + const dateFormat = useDateFormat(); - const isDarkMode = theme.getTheme().darkMode === true; + const formattedStart = getFormattedDate({ + date: start, + dateFormat, + }); + + const formattedEnd = getFormattedDate({ + date: end, + dateFormat, + }); const alertsCount = getLoadingCalloutAlertsCount({ alertsContextCount, @@ -35,6 +55,16 @@ const LoadingMessagesComponent: React.FC = ({ localStorageAttackDiscoveryMaxAlerts, }); + const loadingMessage = attackDiscoveryAlertFiltering + ? getLoadingMessage({ + alertsCount, + end: formattedEnd, + start: formattedStart, + }) + : getLoadingMessage({ alertsCount }); // <-- NO time range, feature flag is off + + const isDarkMode = theme.getTheme().darkMode === true; + return ( @@ -59,7 +89,7 @@ const LoadingMessagesComponent: React.FC = ({ data-test-subj="aisCurrentlyAnalyzing" size="s" > - {i18n.AI_IS_CURRENTLY_ANALYZING(alertsCount)} + {loadingMessage} diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/translations.ts new file mode 100644 index 0000000000000..96e89d4769ea6 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/loading_messages/translations.ts @@ -0,0 +1,64 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const FROM_TODAY = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTodayLabel', + { + defaultMessage: 'from Today', + } +); + +export const FROM_THIS_WEEK = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromThisWeekLabel', + { + defaultMessage: 'from This week', + } +); + +export const FROM_THE_LAST_15_MINUTES = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTheLast15MinutesLabel', + { + defaultMessage: 'from the Last 15 minutes', + } +); + +export const FROM_THE_LAST_30_MINUTES = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTheLast30MinutesLabel', + { + defaultMessage: 'from the Last 30 minutes', + } +); + +export const FROM_THE_LAST_1_HOUR = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTheLast1HourLabel', + { + defaultMessage: 'from the Last 1 hour', + } +); + +export const FROM_THE_LAST_24_HOURS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTheLast24HoursLabel', + { + defaultMessage: 'from the Last 24 hours', + } +); + +export const FROM_THE_LAST_7_DAYS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTheLast7DaysLabel', + { + defaultMessage: 'from the Last 7 days', + } +); + +export const FROM_THE_LAST_30_DAYS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.loadingMessages.fromTheLast30DaysLabel', + { + defaultMessage: 'from the Last 30 days', + } +); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts index 6c8f9b60c5ac6..beb2cda39de11 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts @@ -16,6 +16,38 @@ export const AI_IS_CURRENTLY_ANALYZING = (alertsCount: number) => } ); +export const AI_IS_CURRENTLY_ANALYZING_FROM = ({ + alertsCount, + from, +}: { + alertsCount: number; + from: string; +}) => + i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.aiIsCurrentlyAnalyzingFromLabel', + { + defaultMessage: `AI is analyzing up to {alertsCount} {alertsCount, plural, =1 {alert} other {alerts}} {from} to generate discoveries.`, + values: { alertsCount, from }, + } + ); + +export const AI_IS_CURRENTLY_ANALYZING_RANGE = ({ + alertsCount, + end, + start, +}: { + alertsCount: number; + end: string; + start: string; +}) => + i18n.translate( + 'xpack.securitySolution.attackDiscovery.loadingCallout.aiIsCurrentlyAnalyzingRangeLabel', + { + defaultMessage: `AI is analyzing up to {alertsCount} {alertsCount, plural, =1 {alert} other {alerts}} from {start} to {end} generate discoveries.`, + values: { alertsCount, end, start }, + } + ); + export const ATTACK_DISCOVERY_GENERATION_IN_PROGRESS = i18n.translate( 'xpack.securitySolution.attackDiscovery.pages.loadingCallout.attackDiscoveryGenerationInProgressLabel', { diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/local_storage/deserialize_filters/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/local_storage/deserialize_filters/index.ts new file mode 100644 index 0000000000000..38385190e83ea --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/local_storage/deserialize_filters/index.ts @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FilterStateStore, type Filter } from '@kbn/es-query'; +import { z } from '@kbn/zod'; + +const filtersSchema = z.array( + z.object({ + $state: z + .union([ + z.object({ + store: z.nativeEnum(FilterStateStore), + }), + z.undefined(), + ]) + .optional(), + meta: z.object({}).catchall(z.unknown()), + query: z.union([z.record(z.string(), z.any()), z.undefined()]).optional(), + }) +); + +export type FiltersSchema = z.infer; + +export const deserializeFilters = (value: string): Filter[] => { + try { + return filtersSchema.parse(JSON.parse(value)); + } catch { + return []; + } +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/local_storage/deserialize_query/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/local_storage/deserialize_query/index.ts new file mode 100644 index 0000000000000..6bfe1f3de4d86 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/local_storage/deserialize_query/index.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Query } from '@kbn/es-query'; +import { z } from '@kbn/zod'; + +import { getDefaultQuery } from '../../helpers'; + +const querySchema = z.object({ + query: z.union([z.string(), z.object({}).catchall(z.unknown())]), + language: z.string(), +}); + +export const deserializeQuery = (value: string): Query => { + try { + return querySchema.parse(JSON.parse(value)); + } catch { + return getDefaultQuery(); + } +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/results/empty_states/no_alerts/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/results/empty_states/no_alerts/translations.ts index 76b4c7e298722..a249f345b0816 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/results/empty_states/no_alerts/translations.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/results/empty_states/no_alerts/translations.ts @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; export const ATTACK_DISCOVERY_ONLY = i18n.translate( 'xpack.securitySolution.attackDiscovery.pages.noAlerts.attackDiscoveryOnlyLabel', { - defaultMessage: 'Attack Discovery only analyzes alerts from the past 24 hours.', + defaultMessage: 'There were no matching alerts in the configured time range.', } ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_selection_query/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_selection_query/index.tsx new file mode 100644 index 0000000000000..5261779f899ef --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_selection_query/index.tsx @@ -0,0 +1,198 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { OnTimeChangeProps } from '@elastic/eui'; +import { EuiSuperDatePicker, EuiSpacer } from '@elastic/eui'; +import { css } from '@emotion/react'; +import type { DataView } from '@kbn/data-views-plugin/common'; +import type { Filter, Query } from '@kbn/es-query'; +import { debounce } from 'lodash/fp'; +import React, { useCallback, useMemo } from 'react'; + +import { useKibana } from '../../../../../common/lib/kibana'; +import { getCommonTimeRanges } from '../helpers/get_common_time_ranges'; +import { useSourcererDataView } from '../../../../../sourcerer/containers'; +import { SourcererScopeName } from '../../../../../sourcerer/store/model'; +import * as i18n from '../translations'; +import { useDataView } from '../use_data_view'; + +export const MAX_ALERTS = 500; +export const MIN_ALERTS = 50; +export const STEP = 50; +export const NO_INDEX_PATTERNS: DataView[] = []; + +interface Props { + end: string; + filters: Filter[]; + query: Query; + setEnd: React.Dispatch>; + setFilters: React.Dispatch>; + setQuery: React.Dispatch>; + setStart: React.Dispatch>; + start: string; +} + +const AlertSelectionQueryComponent: React.FC = ({ + end, + filters, + query, + setEnd, + setFilters, + setQuery, + setStart, + start, +}) => { + const { + unifiedSearch: { + ui: { SearchBar }, + }, + } = useKibana().services; + + // get the sourcerer `DataViewSpec` for alerts: + const { sourcererDataView, loading: isLoadingIndexPattern } = useSourcererDataView( + SourcererScopeName.detections + ); + + // create a `DataView` from the `DataViewSpec`: + const alertsDataView = useDataView({ + dataViewSpec: sourcererDataView, + loading: isLoadingIndexPattern, + }); + + // create a container for the alerts `DataView`, as required by the search bar: + const indexPatterns: DataView[] = useMemo( + () => (alertsDataView ? [alertsDataView] : NO_INDEX_PATTERNS), + [alertsDataView] + ); + + // Users accumulate an "unsubmitted" query as they type in the search bar, + // but have not pressed the 'Enter' key to submit the query, (which would + // call `onQuerySubmit`). + // + // This unsubmitted query is stored in `unSubmittedQuery`. + // + // To match the behavior of Discover, `setQuery` must be called with the + // `unSubmittedQuery` query when: + // + // 1) The user selects a new time range + // 2) The user clicks the refresh button + // + // Also to match the behavior of Discover, we must NOT call `setQuery` with + // the `unSubmittedQuery` query when the user clicks the `Save` button. + const [unSubmittedQuery, setUnSubmittedQuery] = React.useState( + undefined + ); + + /** + * `debouncedOnQueryChange` is called by the `SearchBar` as the user types in the input + */ + const debouncedOnQueryChange = useCallback((inputQuery: Query['query'] | undefined) => { + const debouncedFunction = debounce(100, (debouncedQuery: Query['query'] | undefined) => { + setUnSubmittedQuery(debouncedQuery); + }); + + return debouncedFunction(inputQuery); + }, []); + + // get the common time ranges for the date picker: + const commonlyUsedRanges = useMemo(() => getCommonTimeRanges(), []); + + /** + * `onTimeChange` is called by the `EuiSuperDatePicker` when the user: + * 1) selects a new time range + * 2) clicks the refresh button + */ + const onTimeChange = useCallback( + ({ start: startDate, end: endDate }: OnTimeChangeProps) => { + if (unSubmittedQuery != null) { + const newUnSubmittedQuery: Query = { + query: unSubmittedQuery, + language: 'kuery', + }; + + setQuery(newUnSubmittedQuery); // <-- set the query to the unsubmitted query + } + + setStart(startDate); + setEnd(endDate); + }, + [setEnd, setQuery, setStart, unSubmittedQuery] + ); + + /** + * `onFiltersUpdated` is called by the `SearchBar` when the filters, (which + * appear belew the `SearchBar` input), are updated. + */ + const onFiltersUpdated = useCallback( + (newFilters: Filter[]) => { + setFilters(newFilters); + }, + [setFilters] + ); + + /** + * `onQuerySubmit` is called by the `SearchBar` when the user presses `Enter` + */ + const onQuerySubmit = useCallback( + ({ query: newQuery }: { query?: Query | undefined }) => { + if (newQuery != null) { + setQuery(newQuery); + } + }, + [setQuery] + ); + + return ( + <> +
+ { + debouncedOnQueryChange(debouncedQuery?.query); + }} + onQuerySubmit={onQuerySubmit} + placeholder={i18n.FILTER_YOUR_DATA} + query={query} + /> +
+ + + + + + + ); +}; + +AlertSelectionQueryComponent.displayName = 'AlertSelectionQuery'; + +export const AlertSelectionQuery = React.memo(AlertSelectionQueryComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_selection_range/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_selection_range/index.tsx new file mode 100644 index 0000000000000..d4d4be93a8cbf --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_selection_range/index.tsx @@ -0,0 +1,71 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiTitle, EuiText } from '@elastic/eui'; +import type { DataView } from '@kbn/data-views-plugin/common'; +import type { SingleRangeChangeEvent } from '@kbn/elastic-assistant'; +import { AlertsRange } from '@kbn/elastic-assistant'; +import React, { useCallback } from 'react'; +import * as i18n from '../translations'; + +export const MAX_ALERTS = 500; +export const MIN_ALERTS = 50; +export const STEP = 50; +export const NO_INDEX_PATTERNS: DataView[] = []; + +interface Props { + maxAlerts: number; + setMaxAlerts: React.Dispatch>; +} + +const AlertSelectionRangeComponent: React.FC = ({ maxAlerts, setMaxAlerts }) => { + // called when the slider changes the number of alerts to analyze: + const onChangeAlertsRange = useCallback( + (e: SingleRangeChangeEvent) => { + setMaxAlerts(e.currentTarget.value); + }, + [setMaxAlerts] + ); + + return ( + + + +

{i18n.SET_NUMBER_OF_ALERTS_TO_ANALYZE}

+
+
+ + + + + + + + + + + + + + + + {i18n.SEND_FEWER_ALERTS} + + +
+ ); +}; + +AlertSelectionRangeComponent.displayName = 'AlertSelectionRange'; + +export const AlertSelectionRange = React.memo(AlertSelectionRangeComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_esql_query/get_esql_keep_statement/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_esql_query/get_esql_keep_statement/index.ts new file mode 100644 index 0000000000000..e7fe143f9f451 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_esql_query/get_esql_keep_statement/index.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const getEsqlKeepStatement = (tableStackBy0: string): string => { + // renames the table stack by field to 'Rule name' + const renameAsRuleName = `| RENAME kibana.alert.rule.name AS \`Rule name\` +| KEEP \`Rule name\`, Count`; + + // just keeps the table stack by field: + const keepTableStackBy0 = `| KEEP \`${tableStackBy0}\`, Count`; + + return tableStackBy0 === 'kibana.alert.rule.name' ? renameAsRuleName : keepTableStackBy0; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_esql_query/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_esql_query/index.ts new file mode 100644 index 0000000000000..b22f0f64db3c6 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_esql_query/index.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { getEsqlKeepStatement } from './get_esql_keep_statement'; + +export const getAlertSummaryEsqlQuery = ({ + alertsIndexPattern, + maxAlerts, + tableStackBy0, +}: { + alertsIndexPattern: string; + maxAlerts: number; + tableStackBy0: string; +}): string => `FROM ${alertsIndexPattern} METADATA _id, _index, _version +| WHERE kibana.alert.workflow_status IN ("open", "acknowledged") AND kibana.alert.rule.building_block_type IS NULL +| SORT kibana.alert.risk_score DESC, @timestamp DESC +| LIMIT ${maxAlerts} +| STATS Count = count() by \`${tableStackBy0}\` +| SORT Count DESC +${getEsqlKeepStatement(tableStackBy0)} +`; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_lens_attributes/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_lens_attributes/index.ts new file mode 100644 index 0000000000000..ef7dcdf6207e1 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alert_summary_tab/get_alert_summary_lens_attributes/index.ts @@ -0,0 +1,88 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { LensAttributes } from '../../../../../../common/components/visualization_actions/types'; +import { getFirstColumnName } from '../../helpers/get_first_column_name'; +import * as i18n from '../../translations'; +import type { Sorting } from '../../types'; + +const LAYER_ID = '094d6c10-a28a-4780-8a0c-5789b73e4cef'; + +export const DEFAULT_PAGE_SIZE = 5; + +export const getAlertSummaryLensAttributes = ({ + defaultPageSize = DEFAULT_PAGE_SIZE, + esqlQuery, + sorting, + tableStackBy0, +}: { + defaultPageSize?: number; + esqlQuery: string; + sorting?: Sorting; + tableStackBy0: string; +}): LensAttributes => ({ + references: [], + state: { + adHocDataViews: {}, + datasourceStates: { + textBased: { + layers: { + [LAYER_ID]: { + columns: [ + { + columnId: 'tableStackBy0', + fieldName: getFirstColumnName(tableStackBy0), + }, + { + columnId: 'count', + fieldName: 'Count', + inMetricDimension: true, + meta: { + type: 'number', + esType: 'long', + }, + }, + ], + index: 'F2772070-4F12-4603-A318-82F98BA69DAB', + query: { + esql: esqlQuery, + }, + timeField: '@timestamp', + }, + }, + }, + }, + filters: [], // empty, because filters are applied directly to the lens.EmbeddableComponent + query: { + language: 'kuery', + query: '', // empty, because the query from the query bar is applied directly to the lens.EmbeddableComponent + }, + visualization: { + columns: [ + { + columnId: 'tableStackBy0', + width: 300, + }, + { + columnId: 'count', + summaryRow: 'sum', + }, + ], + layerId: LAYER_ID, + layerType: 'data', + paging: { + enabled: true, + size: defaultPageSize, + }, + sorting: { + ...sorting, + }, + }, + }, + title: i18n.ALERTS_SUMMARY, + visualizationType: 'lnsDatatable', +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_esql_query/get_esql_keep_statement/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_esql_query/get_esql_keep_statement/index.ts new file mode 100644 index 0000000000000..f93f5d67c867e --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_esql_query/get_esql_keep_statement/index.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const getEsqlKeepStatement = (tableStackBy0: string): string => { + const commonFields = ['@timestamp', 'host.name', 'user.name']; + + // renames the rule name and risk score fields to 'Rule name' and 'Risk score': + const renameRuleNameAndRiskScore = `| RENAME kibana.alert.rule.name AS \`Rule name\`, kibana.alert.risk_score AS \`Risk score\` +| KEEP \`Rule name\`, \`Risk score\`, ${commonFields.join(', ')}`; + + // renames the risk score field to 'Risk score' and keeps the table stack by field: + const renameRiskScoreKeepTableStackBy0 = `| RENAME kibana.alert.risk_score AS \`Risk score\` +| KEEP \`${tableStackBy0}\`, \`Risk score\`, ${commonFields.join(', ')}`; + + return tableStackBy0 === 'kibana.alert.rule.name' + ? renameRuleNameAndRiskScore + : renameRiskScoreKeepTableStackBy0; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_esql_query/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_esql_query/index.ts new file mode 100644 index 0000000000000..207399e70fb7a --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_esql_query/index.ts @@ -0,0 +1,23 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { getEsqlKeepStatement } from './get_esql_keep_statement'; + +export const getAlertsPreviewEsqlQuery = ({ + alertsIndexPattern, + maxAlerts, + tableStackBy0, +}: { + alertsIndexPattern: string; + maxAlerts: number; + tableStackBy0: string; +}): string => `FROM ${alertsIndexPattern} METADATA _id, _index, _version +| WHERE kibana.alert.workflow_status IN ("open", "acknowledged") AND kibana.alert.rule.building_block_type IS NULL +| SORT kibana.alert.risk_score DESC, @timestamp DESC +| LIMIT ${maxAlerts} +${getEsqlKeepStatement(tableStackBy0)} +`; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_lens_attributes/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_lens_attributes/index.ts new file mode 100644 index 0000000000000..6395d312e46fa --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/alerts_preview_tab/get_alerts_preview_lens_attributes/index.ts @@ -0,0 +1,120 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { LensAttributes } from '../../../../../../common/components/visualization_actions/types'; +import { getFirstColumnName } from '../../helpers/get_first_column_name'; +import * as i18n from '../../translations'; +import type { Sorting } from '../../types'; + +const LAYER_ID = '320760EB-4185-43EB-985B-94B9240C57E7'; + +export const DEFAULT_PAGE_SIZE = 10; + +export const getAlertsPreviewLensAttributes = ({ + defaultPageSize = DEFAULT_PAGE_SIZE, + esqlQuery, + sorting, + tableStackBy0, +}: { + defaultPageSize?: number; + esqlQuery: string; + sorting?: Sorting; + tableStackBy0: string; +}): LensAttributes => ({ + references: [], + state: { + adHocDataViews: {}, + datasourceStates: { + textBased: { + layers: { + [LAYER_ID]: { + columns: [ + { + columnId: 'tableStackBy0', + fieldName: getFirstColumnName(tableStackBy0), + }, + { + columnId: '@timestamp', + fieldName: '@timestamp', + meta: { + type: 'date', + esType: 'date', + }, + }, + { + columnId: 'kibana.alert.risk_score', + fieldName: 'Risk score', + meta: { + type: 'number', + esType: 'long', + }, + inMetricDimension: true, + }, + { + columnId: 'host.name', + fieldName: 'host.name', + meta: { + type: 'string', + esType: 'keyword', + }, + }, + { + columnId: 'user.name', + fieldName: 'user.name', + meta: { + type: 'string', + esType: 'keyword', + }, + }, + ], + index: '31734563-1D31-4A8C-804A-CA17540A793E', + query: { + esql: esqlQuery, + }, + timeField: '@timestamp', + }, + }, + }, + }, + filters: [], // empty, because filters are applied directly to the lens.EmbeddableComponent + query: { + language: 'kuery', + query: '', // empty, because the query from the query bar is applied directly to the lens.EmbeddableComponent + }, + visualization: { + columns: [ + { + columnId: 'tableStackBy0', + width: 220, + }, + { + columnId: '@timestamp', + }, + { + columnId: 'kibana.alert.risk_score', + }, + { + columnId: 'host.name', + }, + { + columnId: 'user.name', + }, + ], + layerId: LAYER_ID, + layerType: 'data', + paging: { + enabled: true, + size: defaultPageSize, + }, + sorting: { + ...sorting, + }, + }, + }, + title: i18n.ALERTS_PREVIEW, + visualizationType: 'lnsDatatable', +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_common_time_ranges/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_common_time_ranges/index.ts new file mode 100644 index 0000000000000..44c8109e8d8a1 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_common_time_ranges/index.ts @@ -0,0 +1,37 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as i18n from './translations'; + +export interface TimeRangeLabel { + start: + | 'now/d' + | 'now/w' + | 'now-15m' + | 'now-30m' + | 'now-1h' + | 'now-24h' + | 'now-7d' + | 'now-30d' + | 'now-90d' + | 'now-1y'; + end: 'now'; + label: string; +} + +export const getCommonTimeRanges = (): TimeRangeLabel[] => [ + { start: 'now/d', end: 'now', label: i18n.TODAY }, + { start: 'now/w', end: 'now', label: i18n.THIS_WEEK }, + { start: 'now-15m', end: 'now', label: i18n.LAST_15_MINUTES }, + { start: 'now-30m', end: 'now', label: i18n.LAST_30_MINUTES }, + { start: 'now-1h', end: 'now', label: i18n.LAST_1_HOUR }, + { start: 'now-24h', end: 'now', label: i18n.LAST_24_HOURS }, + { start: 'now-7d', end: 'now', label: i18n.LAST_7_DAYS }, + { start: 'now-30d', end: 'now', label: i18n.LAST_30_DAYS }, + { start: 'now-90d', end: 'now', label: i18n.LAST_90_DAYS }, + { start: 'now-1y', end: 'now', label: i18n.LAST_1_YEAR }, +]; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_common_time_ranges/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_common_time_ranges/translations.ts new file mode 100644 index 0000000000000..9a8d50613b685 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_common_time_ranges/translations.ts @@ -0,0 +1,78 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const LAST_1_HOUR = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last1HourLabel', + { + defaultMessage: 'Last 1 hour', + } +); + +export const LAST_1_YEAR = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last1YearLabel', + { + defaultMessage: 'Last 1 year', + } +); + +export const LAST_15_MINUTES = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last15MinutesLabel', + { + defaultMessage: 'Last 15 minutes', + } +); + +export const LAST_7_DAYS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last7DaysLabel', + { + defaultMessage: 'Last 7 days', + } +); + +export const LAST_24_HOURS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last24HoursLabel', + { + defaultMessage: 'Last 24 hours', + } +); + +export const LAST_30_DAYS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last30DaysLabel', + { + defaultMessage: 'Last 30 days', + } +); + +export const LAST_30_MINUTES = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last30MinutesLabel', + { + defaultMessage: 'Last 30 minutes', + } +); + +export const LAST_90_DAYS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.last90DaysLabel', + { + defaultMessage: 'Last 90 days', + } +); + +export const THIS_WEEK = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.thisWeekLabel', + { + defaultMessage: 'This week', + } +); + +export const TODAY = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.todayLabel', + { + defaultMessage: 'Today', + } +); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_first_column_name/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_first_column_name/index.ts new file mode 100644 index 0000000000000..3ce26f60ba167 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_first_column_name/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const getFirstColumnName = (tableStackBy0: string): string => + tableStackBy0 === 'kibana.alert.rule.name' ? 'Rule name' : tableStackBy0; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_max_alerts/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_max_alerts/index.ts new file mode 100644 index 0000000000000..38ab49c72ce39 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_max_alerts/index.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS } from '@kbn/elastic-assistant'; + +/** + * ensures maxAlerts is a positive number, otherwise returns the default value + */ +export const getMaxAlerts = (maxAlerts: string): number => { + const defaultMaxAlerts = Number(DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS); + const numericMaxAlerts = Number(maxAlerts); + + const isMaxAlertsValid = Number.isInteger(numericMaxAlerts) && numericMaxAlerts > 0; + + return isMaxAlertsValid ? numericMaxAlerts : defaultMaxAlerts; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_tabs/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_tabs/index.tsx new file mode 100644 index 0000000000000..fb8ece2c877ca --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/helpers/get_tabs/index.tsx @@ -0,0 +1,109 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiSpacer } from '@elastic/eui'; +import type { Filter, Query } from '@kbn/es-query'; +import React from 'react'; + +import { getAlertSummaryEsqlQuery } from '../../alert_summary_tab/get_alert_summary_esql_query'; +import { getAlertSummaryLensAttributes } from '../../alert_summary_tab/get_alert_summary_lens_attributes'; +import { getAlertsPreviewEsqlQuery } from '../../alerts_preview_tab/get_alerts_preview_esql_query'; +import { getAlertsPreviewLensAttributes } from '../../alerts_preview_tab/get_alerts_preview_lens_attributes'; +import { PreviewTab } from '../../preview_tab'; +import * as i18n from '../../translations'; +import type { Sorting } from '../../types'; + +const SUMMARY_TAB_EMBEDDABLE_ID = 'alertSummaryEmbeddable--id'; +const PREVIEW_TAB_EMBEDDABLE_ID = 'alertsPreviewEmbeddable--id'; + +export const ALERT_SUMMARY_TEST_SUBJ = 'alertSummaryPreviewTab'; +export const ALERTS_PREVIEW_TEST_SUBJ = 'alertsPreviewTab'; + +export const DEFAULT_ALERT_SUMMARY_SORT: Sorting = { + columnId: 'count', + direction: 'desc', +}; + +export const DEFAULT_ALERTS_PREVIEW_SORT: Sorting = { + columnId: 'kibana.alert.risk_score', + direction: 'desc', +}; + +export interface TabInfo { + content: JSX.Element; + id: string; + name: string; +} + +interface GetTabs { + alertsPreviewStackBy0: string; + alertSummaryStackBy0: string; + end: string; + filters: Filter[]; + maxAlerts: number; + query: Query; + setAlertsPreviewStackBy0: React.Dispatch>; + setAlertSummaryStackBy0: React.Dispatch>; + start: string; +} + +export const getTabs = ({ + alertsPreviewStackBy0, + alertSummaryStackBy0, + end, + filters, + maxAlerts, + query, + setAlertsPreviewStackBy0, + setAlertSummaryStackBy0, + start, +}: GetTabs): TabInfo[] => [ + { + id: 'attackDiscoverySettingsAlertSummaryTab--id', + name: i18n.ALERT_SUMMARY, + content: ( + <> + + + + ), + }, + { + id: 'attackDiscoverySettingsAlertsPreviewTab--id', + name: i18n.ALERTS_PREVIEW, + content: ( + <> + + + + ), + }, +]; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/index.tsx new file mode 100644 index 0000000000000..61c9521e5668d --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/index.tsx @@ -0,0 +1,138 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiFlexGroup, EuiFlexItem, EuiTab, EuiTabs, EuiText, EuiSpacer } from '@elastic/eui'; +import type { Filter, Query } from '@kbn/es-query'; +import React, { useMemo, useState } from 'react'; + +import { AlertSelectionQuery } from './alert_selection_query'; +import { AlertSelectionRange } from './alert_selection_range'; +import { getTabs } from './helpers/get_tabs'; +import * as i18n from './translations'; + +interface Props { + alertsPreviewStackBy0: string; + alertSummaryStackBy0: string; + end: string; + filters: Filter[]; + maxAlerts: number; + query: Query; + setAlertsPreviewStackBy0: React.Dispatch>; + setAlertSummaryStackBy0: React.Dispatch>; + setEnd: React.Dispatch>; + setFilters: React.Dispatch>; + setMaxAlerts: React.Dispatch>; + setQuery: React.Dispatch>; + setStart: React.Dispatch>; + start: string; +} + +const AlertSelectionComponent: React.FC = ({ + alertsPreviewStackBy0, + alertSummaryStackBy0, + end, + filters, + maxAlerts, + query, + setAlertsPreviewStackBy0, + setAlertSummaryStackBy0, + setEnd, + setFilters, + setMaxAlerts, + setQuery, + setStart, + start, +}) => { + const tabs = useMemo( + () => + getTabs({ + alertsPreviewStackBy0, + alertSummaryStackBy0, + end, + filters, + maxAlerts, + query, + setAlertsPreviewStackBy0, + setAlertSummaryStackBy0, + start, + }), + [ + alertsPreviewStackBy0, + alertSummaryStackBy0, + end, + filters, + maxAlerts, + query, + setAlertsPreviewStackBy0, + setAlertSummaryStackBy0, + start, + ] + ); + + const [selectedTabId, setSelectedTabId] = useState(tabs[0].id); + + const selectedTabContent = useMemo( + () => tabs.find((obj) => obj.id === selectedTabId)?.content, + [selectedTabId, tabs] + ); + + return ( + + + +

{i18n.CUSTOMIZE_THE_ALERTS}

+
+
+ + + + + + + + + + + + + + + + + + + + + + + {tabs.map((tab) => ( + setSelectedTabId(tab.id)} + > + {tab.name} + + ))} + + {selectedTabContent} +
+ ); +}; + +AlertSelectionComponent.displayName = 'AlertSelection'; + +export const AlertSelection = React.memo(AlertSelectionComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/preview_tab/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/preview_tab/index.tsx new file mode 100644 index 0000000000000..33d2961f5b02d --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/preview_tab/index.tsx @@ -0,0 +1,217 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Filter, Query, TimeRange } from '@kbn/es-query'; +import { + EuiButtonEmpty, + EuiFlexGroup, + EuiFlexItem, + EuiEmptyPrompt, + EuiSpacer, + EuiText, + useEuiTheme, +} from '@elastic/eui'; +import { isEmpty } from 'lodash/fp'; +import React, { useCallback, useMemo } from 'react'; + +import { useEuiComboBoxReset } from '../../../../../common/components/use_combo_box_reset'; +import { StackByComboBox } from '../../../../../detections/components/alerts_kpis/common/components'; +import { useSignalIndex } from '../../../../../detections/containers/detection_engine/alerts/use_signal_index'; +import type { LensAttributes } from '../../../../../common/components/visualization_actions/types'; +import { useKibana } from '../../../../../common/lib/kibana'; +import * as i18n from '../translations'; +import type { Sorting } from '../types'; + +export const ATTACK_DISCOVERY_SETTINGS_ALERTS_COUNT_ID = 'attack-discovery-settings-alerts-count'; +export const RESET_FIELD = 'kibana.alert.rule.name'; + +const DEFAULT_DATA_TEST_SUBJ = 'previewTab'; +const VIEW_MODE = 'view'; + +interface Props { + dataTestSubj?: string; + embeddableId: string; + end: string; + filters: Filter[]; + getLensAttributes: ({ + defaultPageSize, + esqlQuery, + sorting, + tableStackBy0, + }: { + defaultPageSize?: number; + esqlQuery: string; + sorting?: Sorting; + tableStackBy0: string; + }) => LensAttributes; + getPreviewEsqlQuery: ({ + alertsIndexPattern, + maxAlerts, + tableStackBy0, + }: { + alertsIndexPattern: string; + maxAlerts: number; + tableStackBy0: string; + }) => string; + maxAlerts: number; + query: Query; + setTableStackBy0: React.Dispatch>; + sorting?: Sorting; + start: string; + tableStackBy0: string; +} + +const PreviewTabComponent = ({ + dataTestSubj = DEFAULT_DATA_TEST_SUBJ, + embeddableId, + end, + filters, + getLensAttributes, + getPreviewEsqlQuery, + maxAlerts, + query, + setTableStackBy0, + sorting, + start, + tableStackBy0, +}: Props) => { + const { lens } = useKibana().services; + const { + euiTheme: { font }, + } = useEuiTheme(); + + const { signalIndexName } = useSignalIndex(); + + const { + comboboxRef: stackByField0ComboboxRef, + setComboboxInputRef: setStackByField0ComboboxInputRef, + } = useEuiComboBoxReset(); + + const onSelect = useCallback((value: string) => setTableStackBy0(value), [setTableStackBy0]); + + const timeRange: TimeRange = useMemo(() => ({ from: start, to: end }), [end, start]); + + const esqlQuery = useMemo( + () => + getPreviewEsqlQuery({ + alertsIndexPattern: signalIndexName ?? '', + maxAlerts, + tableStackBy0, + }), + [getPreviewEsqlQuery, maxAlerts, signalIndexName, tableStackBy0] + ); + + const attributes = useMemo( + () => + getLensAttributes({ + esqlQuery, + sorting, + tableStackBy0: tableStackBy0.trim(), + }), + [esqlQuery, getLensAttributes, sorting, tableStackBy0] + ); + + const onReset = useCallback(() => setTableStackBy0(RESET_FIELD), [setTableStackBy0]); + + const actions = useMemo( + () => [ + + {i18n.RESET} + , + ], + [onReset] + ); + + const body = useMemo( + () => ( + + {i18n.SELECT_A_FIELD} + + ), + [] + ); + + const EmptyPrompt = useMemo( + () => + isEmpty(tableStackBy0.trim()) ? ( + + ) : null, + [actions, body, tableStackBy0] + ); + + if (signalIndexName == null) { + return null; + } + + return ( + + + + + + + + + + + {EmptyPrompt ?? + (attributes && ( +
+ +
+ ))} +
+
+ ); +}; + +PreviewTabComponent.displayName = 'PreviewTab'; + +export const PreviewTab = React.memo(PreviewTabComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/translations.ts new file mode 100644 index 0000000000000..e34c332d27dfb --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/translations.ts @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ALERTS_PREVIEW = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.alertsPreviewTabLabel', + { + defaultMessage: 'Alerts preview', + } +); + +export const ALERTS_SUMMARY = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.alertsSummaryTitle', + { + defaultMessage: 'Alerts summary', + } +); + +export const CUSTOMIZE_THE_ALERTS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.customizeTheAlertsLabel', + { + defaultMessage: + 'Customize the set of alerts that will be analyzed when generating Attack discoveries.', + } +); + +export const ALERT_SUMMARY = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.alertSummaryTabLabel', + { + defaultMessage: 'Alert summary', + } +); + +export const FILTER_YOUR_DATA = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.filterYourDataPlaceholder', + { + defaultMessage: 'Filter your data using KQL syntax', + } +); + +export const SELECT_FIELD = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.alertsTable.selectFieldLabel', + { + defaultMessage: 'Select field', + } +); + +export const RESET = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.resetLabel', + + { + defaultMessage: 'Reset', + } +); + +export const SEND_FEWER_ALERTS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.alertSelection.alertSelection.selectFewerAlertsLabel', + { + defaultMessage: + "Send fewer alerts if the model's context window is small or more if it is larger.", + } +); + +export const SELECT_A_FIELD = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.selectAFieldEmptyText', + { + defaultMessage: 'Select a field', + } +); + +export const SET_NUMBER_OF_ALERTS_TO_ANALYZE = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.alertSelection.setNumberOfAlertsToAnalyzeTitle', + { + defaultMessage: 'Set number of alerts to analyze', + } +); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/types.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/types.ts new file mode 100644 index 0000000000000..e38f1ef798481 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/types.ts @@ -0,0 +1,11 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export interface Sorting { + columnId: string; + direction: 'asc' | 'desc'; +} diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/use_data_view/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/use_data_view/index.ts new file mode 100644 index 0000000000000..829a685c7cc7a --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alert_selection/use_data_view/index.ts @@ -0,0 +1,51 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { DataView, DataViewSpec } from '@kbn/data-views-plugin/common'; +import { useEffect, useState } from 'react'; + +import { useKibana } from '../../../../../common/lib/kibana'; + +export const useDataView = ({ + dataViewSpec, + loading, +}: { + dataViewSpec: DataViewSpec; + loading: boolean; +}): DataView | undefined => { + const { dataViews } = useKibana().services; + + const [dataView, setDataView] = useState(undefined); + + useEffect(() => { + let active = true; + + async function createDataView() { + if (!loading) { + try { + const dv = await dataViews.create(dataViewSpec); + + if (active) { + setDataView(dv); + } + } catch { + if (active) { + setDataView(undefined); + } + } + } + } + + createDataView(); + + return () => { + active = false; + }; + }, [dataViewSpec, dataViews, loading]); + + return dataView; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alerts_preview/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alerts_preview/index.tsx new file mode 100644 index 0000000000000..0bd25b7850223 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/alerts_preview/index.tsx @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/types'; +import { css } from '@emotion/react'; +import { AlertConsumers } from '@kbn/rule-registry-plugin/common/technical_rule_data_field_names'; +import { SECURITY_SOLUTION_RULE_TYPE_IDS } from '@kbn/securitysolution-rules'; +import React, { useMemo } from 'react'; +import * as uuid from 'uuid'; + +import { ALERTS_TABLE_REGISTRY_CONFIG_IDS } from '../../../../../common/constants'; +import { useKibana } from '../../../../common/lib/kibana'; + +interface Props { + query: Pick; + size: number; +} + +const configId = ALERTS_TABLE_REGISTRY_CONFIG_IDS.RULE_DETAILS; // show the same row-actions as in the case view + +const AlertsPreviewComponent: React.FC = ({ query, size }) => { + const { triggersActionsUi } = useKibana().services; + + const alertStateProps = useMemo( + () => ({ + alertsTableConfigurationRegistry: triggersActionsUi.alertsTableConfigurationRegistry, + configurationId: configId, + consumers: [AlertConsumers.SIEM], + id: `attack-discovery-alerts-preview-${uuid.v4()}`, + initialPageSize: size, + query, + ruleTypeIds: SECURITY_SOLUTION_RULE_TYPE_IDS, + showAlertStatusWithFlapping: false, + }), + [query, size, triggersActionsUi.alertsTableConfigurationRegistry] + ); + + return ( +
+ {triggersActionsUi.getAlertsStateTable(alertStateProps)} +
+ ); +}; + +export const AlertsPreview = React.memo(AlertsPreviewComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/footer/index.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/footer/index.test.tsx new file mode 100644 index 0000000000000..e487304c41350 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/footer/index.test.tsx @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { fireEvent, render, screen } from '@testing-library/react'; + +import { Footer } from '.'; + +describe('Footer', () => { + const closeModal = jest.fn(); + const onReset = jest.fn(); + const onSave = jest.fn(); + + beforeEach(() => jest.clearAllMocks()); + + it('calls onReset when the reset button is clicked', () => { + render(
); + + fireEvent.click(screen.getByTestId('reset')); + + expect(onReset).toHaveBeenCalled(); + }); + + it('calls closeModal when the cancel button is clicked', () => { + render(
); + + fireEvent.click(screen.getByTestId('cancel')); + + expect(closeModal).toHaveBeenCalled(); + }); + + it('calls onSave when the save button is clicked', () => { + render(
); + fireEvent.click(screen.getByTestId('save')); + + expect(onSave).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/footer/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/footer/index.tsx new file mode 100644 index 0000000000000..295e56120b854 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/footer/index.tsx @@ -0,0 +1,62 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiButton, EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, useEuiTheme } from '@elastic/eui'; +import { css } from '@emotion/react'; +import React from 'react'; + +import * as i18n from '../../header/settings_modal/translations'; + +interface Props { + closeModal: () => void; + onReset: () => void; + onSave: () => void; +} + +const FooterComponent: React.FC = ({ closeModal, onReset, onSave }) => { + const { euiTheme } = useEuiTheme(); + + return ( + + + + {i18n.RESET} + + + + + + + + {i18n.CANCEL} + + + + + + {i18n.SAVE} + + + + + + ); +}; + +FooterComponent.displayName = 'Footer'; + +export const Footer = React.memo(FooterComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/index.tsx new file mode 100644 index 0000000000000..9e4096fe86023 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/index.tsx @@ -0,0 +1,159 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiFlyoutBody, + EuiFlyoutFooter, + EuiFlyoutHeader, + EuiFlyoutResizable, + EuiSpacer, + EuiTitle, + useGeneratedHtmlId, +} from '@elastic/eui'; +import { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS } from '@kbn/elastic-assistant'; +import { DEFAULT_END, DEFAULT_START } from '@kbn/elastic-assistant-common'; +import type { Filter, Query } from '@kbn/es-query'; +import React, { useCallback, useMemo, useState } from 'react'; + +import { AlertSelection } from './alert_selection'; +import { Footer } from './footer'; +import * as i18n from './translations'; +import { getDefaultQuery } from '../helpers'; +import { getMaxAlerts } from './alert_selection/helpers/get_max_alerts'; + +export const DEFAULT_STACK_BY_FIELD = 'kibana.alert.rule.name'; + +const MIN_WIDTH = 448; // px + +interface Props { + end: string | undefined; + filters: Filter[] | undefined; + localStorageAttackDiscoveryMaxAlerts: string | undefined; + onClose: () => void; + query: Query | undefined; + setEnd: React.Dispatch>; + setFilters: React.Dispatch>; + setLocalStorageAttackDiscoveryMaxAlerts: React.Dispatch>; + setQuery: React.Dispatch>; + setStart: React.Dispatch>; + start: string | undefined; +} + +const SettingsFlyoutComponent: React.FC = ({ + end, + filters, + setLocalStorageAttackDiscoveryMaxAlerts, + localStorageAttackDiscoveryMaxAlerts, + onClose, + query, + setEnd, + setFilters, + setQuery, + setStart, + start, +}) => { + const flyoutTitleId = useGeneratedHtmlId({ + prefix: 'attackDiscoverySettingsFlyoutTitle', + }); + + const [alertSummaryStackBy0, setAlertSummaryStackBy0] = useState(DEFAULT_STACK_BY_FIELD); + const [alertsPreviewStackBy0, setAlertsPreviewStackBy0] = + useState(DEFAULT_STACK_BY_FIELD); + + // local state: + const [localEnd, setLocalEnd] = useState(end ?? DEFAULT_END); + const [localFilters, setLocalFilters] = useState(filters ?? []); + const [localQuery, setLocalQuery] = useState(query ?? getDefaultQuery()); + const [localStart, setLocalStart] = useState(start ?? DEFAULT_START); + const [localMaxAlerts, setLocalMaxAlerts] = useState( + localStorageAttackDiscoveryMaxAlerts ?? `${DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS}` + ); + + const onReset = useCallback(() => { + // reset local state: + setAlertSummaryStackBy0(DEFAULT_STACK_BY_FIELD); + setAlertsPreviewStackBy0(DEFAULT_STACK_BY_FIELD); + + setLocalEnd(DEFAULT_END); + setLocalFilters([]); + setLocalQuery(getDefaultQuery()); + setLocalStart(DEFAULT_START); + setLocalMaxAlerts(`${DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS}`); + }, []); + + const onSave = useCallback(() => { + // copy local state: + setEnd(localEnd); + setFilters(localFilters); + setQuery(localQuery); + setStart(localStart); + setLocalStorageAttackDiscoveryMaxAlerts(localMaxAlerts); + + onClose(); + }, [ + localEnd, + localFilters, + localMaxAlerts, + localQuery, + localStart, + onClose, + setEnd, + setFilters, + setLocalStorageAttackDiscoveryMaxAlerts, + setQuery, + setStart, + ]); + + const numericMaxAlerts = useMemo(() => getMaxAlerts(localMaxAlerts), [localMaxAlerts]); + + return ( + + + +

{i18n.ATTACK_DISCOVERY_SETTINGS}

+
+
+ + + + + + + +
+ + + ); +}; + +SettingsFlyoutComponent.displayName = 'SettingsFlyoutComponent'; + +export const SettingsFlyout = React.memo(SettingsFlyoutComponent); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/parse_filter_query/index.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/parse_filter_query/index.ts new file mode 100644 index 0000000000000..628abf07c03e5 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/parse_filter_query/index.ts @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { has, isEqual } from 'lodash/fp'; + +export const EMPTY_BOOL_FILTER_QUERY = { bool: { must: [], filter: [], should: [], must_not: [] } }; + +export const isEmptyBoolFilterQuery = (filterQuery: Record | undefined): boolean => + filterQuery == null || isEqual(EMPTY_BOOL_FILTER_QUERY, filterQuery); + +export const parseFilterQuery = ({ + filterQuery, + kqlError, +}: { + filterQuery: string | undefined; + kqlError: Error | undefined; +}): Record | undefined => { + if (kqlError != null || filterQuery == null) { + return undefined; + } + + try { + const parsedQuery = JSON.parse(filterQuery); + + const queryIsValid = has('bool', parsedQuery) && !isEmptyBoolFilterQuery(parsedQuery); + if (queryIsValid) { + return parsedQuery; + } + } catch { + // ignore + } + + return undefined; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/translations.ts new file mode 100644 index 0000000000000..af56d5da8685f --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/settings_flyout/translations.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ATTACK_DISCOVERY_SETTINGS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.settingsFlyout.attackDiscoverySettingsTitle', + { + defaultMessage: 'Attack discovery settings', + } +); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.test.tsx index a21ff89827d4c..d9f092d7ed175 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.test.tsx @@ -155,11 +155,10 @@ describe('useAttackDiscovery', () => { await act(async () => { await result.current.fetchAttackDiscoveries(); }); - expect(mockedUseKibana.services.http.fetch).toHaveBeenCalledWith( + expect(mockedUseKibana.services.http.post).toHaveBeenCalledWith( '/internal/elastic_assistant/attack_discovery', { body: `{"alertsIndexPattern":"alerts-index-pattern","anonymizationFields":[],"replacements":{},"size":${SIZE},"subAction":"invokeAI","apiConfig":{"connectorId":"test-id","actionTypeId":".gen-ai"}}`, - method: 'POST', version: '1', } ); @@ -172,7 +171,7 @@ describe('useAttackDiscovery', () => { it('handles fetch errors correctly', async () => { const errorMessage = 'Fetch error'; const error = new Error(errorMessage); - (mockedUseKibana.services.http.fetch as jest.Mock).mockRejectedValue(error); + (mockedUseKibana.services.http.post as jest.Mock).mockRejectedValue(error); const { result } = renderHook(() => useAttackDiscovery({ connectorId: 'test-id', size: SIZE })); diff --git a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.tsx index 20c29b751dd37..3a3bc955cf66c 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/use_attack_discovery/index.tsx @@ -16,6 +16,7 @@ import { AttackDiscoveryPostResponse, ELASTIC_AI_ASSISTANT_INTERNAL_API_VERSION, } from '@kbn/elastic-assistant-common'; +import { isEmpty } from 'lodash/fp'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { useFetchAnonymizationFields } from '@kbn/elastic-assistant/impl/assistant/api/anonymization_fields/use_fetch_anonymization_fields'; @@ -25,13 +26,20 @@ import { getErrorToastText } from '../helpers'; import { CONNECTOR_ERROR, ERROR_GENERATING_ATTACK_DISCOVERIES } from '../translations'; import { getGenAiConfig, getRequestBody } from './helpers'; +interface FetchAttackDiscoveriesOptions { + end?: string; + filter?: Record; + size?: number; + start?: string; +} + export interface UseAttackDiscovery { alertsContextCount: number | null; approximateFutureTime: Date | null; attackDiscoveries: AttackDiscoveries; didInitialFetch: boolean; failureReason: string | null; - fetchAttackDiscoveries: () => Promise; + fetchAttackDiscoveries: (options?: FetchAttackDiscoveriesOptions) => Promise; generationIntervals: GenerationInterval[] | undefined; isLoading: boolean; isLoadingPost: boolean; @@ -151,37 +159,59 @@ export const useAttackDiscovery = ({ }, [connectorId, pollData]); /** The callback when users click the Generate button */ - const fetchAttackDiscoveries = useCallback(async () => { - try { - if (requestBody.apiConfig.connectorId === '' || requestBody.apiConfig.actionTypeId === '') { - throw new Error(CONNECTOR_ERROR); - } - setLoadingConnectorId?.(connectorId ?? null); - // sets isLoading to true - setPollStatus('running'); - setIsLoadingPost(true); - setApproximateFutureTime(null); - // call the internal API to generate attack discoveries: - const rawResponse = await http.fetch('/internal/elastic_assistant/attack_discovery', { - body: JSON.stringify(requestBody), - method: 'POST', - version: ELASTIC_AI_ASSISTANT_INTERNAL_API_VERSION, - }); - setIsLoadingPost(false); - const parsedResponse = AttackDiscoveryPostResponse.safeParse(rawResponse); - - if (!parsedResponse.success) { - throw new Error('Failed to parse the response'); + const fetchAttackDiscoveries = useCallback( + async (options: FetchAttackDiscoveriesOptions | undefined) => { + try { + if (options?.size != null) { + setAlertsContextCount(options.size); + } + + const end = options?.end; + const filter = !isEmpty(options?.filter) ? options?.filter : undefined; + const start = options?.start; + + const bodyWithOverrides = { + ...requestBody, + end, + filter, + size, + start, + }; + + if ( + bodyWithOverrides.apiConfig.connectorId === '' || + bodyWithOverrides.apiConfig.actionTypeId === '' + ) { + throw new Error(CONNECTOR_ERROR); + } + setLoadingConnectorId?.(connectorId ?? null); + // sets isLoading to true + setPollStatus('running'); + setIsLoadingPost(true); + setApproximateFutureTime(null); + + // call the internal API to generate attack discoveries: + const rawResponse = await http.post('/internal/elastic_assistant/attack_discovery', { + body: JSON.stringify(bodyWithOverrides), + version: ELASTIC_AI_ASSISTANT_INTERNAL_API_VERSION, + }); + setIsLoadingPost(false); + const parsedResponse = AttackDiscoveryPostResponse.safeParse(rawResponse); + + if (!parsedResponse.success) { + throw new Error('Failed to parse the response'); + } + } catch (error) { + setIsLoadingPost(false); + setIsLoading(false); + toasts?.addDanger(error, { + title: ERROR_GENERATING_ATTACK_DISCOVERIES, + text: getErrorToastText(error), + }); } - } catch (error) { - setIsLoadingPost(false); - setIsLoading(false); - toasts?.addDanger(error, { - title: ERROR_GENERATING_ATTACK_DISCOVERIES, - text: getErrorToastText(error), - }); - } - }, [connectorId, http, requestBody, setLoadingConnectorId, setPollStatus, toasts]); + }, + [connectorId, http, requestBody, setLoadingConnectorId, setPollStatus, size, toasts] + ); return { alertsContextCount, diff --git a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.test.tsx index 594629e9f9e27..911c5a6bdba40 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.test.tsx @@ -9,11 +9,9 @@ import React from 'react'; import { render } from '@testing-library/react'; import { AlertsPreview } from './alerts_preview'; import { TestProviders } from '../../../common/mock/test_providers'; -import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; import type { ParsedAlertsData } from '../../../overview/components/detection_response/alerts_by_status/types'; import { useMisconfigurationPreview } from '@kbn/cloud-security-posture/src/hooks/use_misconfiguration_preview'; import { useVulnerabilitiesPreview } from '@kbn/cloud-security-posture/src/hooks/use_vulnerabilities_preview'; -import { useRiskScore } from '../../../entity_analytics/api/hooks/use_risk_score'; const mockAlertsData: ParsedAlertsData = { open: { @@ -35,18 +33,14 @@ const mockAlertsData: ParsedAlertsData = { // Mock hooks jest.mock('@kbn/cloud-security-posture/src/hooks/use_misconfiguration_preview'); jest.mock('@kbn/cloud-security-posture/src/hooks/use_vulnerabilities_preview'); -jest.mock('../../../entity_analytics/api/hooks/use_risk_score'); -jest.mock('@kbn/expandable-flyout'); describe('AlertsPreview', () => { const mockOpenLeftPanel = jest.fn(); beforeEach(() => { - (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ openLeftPanel: mockOpenLeftPanel }); (useVulnerabilitiesPreview as jest.Mock).mockReturnValue({ data: { count: { CRITICAL: 0, HIGH: 1, MEDIUM: 1, LOW: 0, UNKNOWN: 0 } }, }); - (useRiskScore as jest.Mock).mockReturnValue({ data: [{ host: { risk: 75 } }] }); (useMisconfigurationPreview as jest.Mock).mockReturnValue({ data: { count: { passed: 1, failed: 1 } }, }); @@ -58,7 +52,11 @@ describe('AlertsPreview', () => { it('renders', () => { const { getByTestId } = render( - + ); @@ -68,7 +66,11 @@ describe('AlertsPreview', () => { it('renders correct alerts number', () => { const { getByTestId } = render( - + ); @@ -78,7 +80,11 @@ describe('AlertsPreview', () => { it('should render the correct number of distribution bar section based on the number of severities', () => { const { queryAllByTestId } = render( - + ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.tsx b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.tsx index 8592ed61abe33..cd5fcc93495a1 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useMemo } from 'react'; +import React, { useCallback, useMemo } from 'react'; import { capitalize } from 'lodash'; import type { EuiThemeComputed } from '@elastic/eui'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText, EuiTitle, useEuiTheme } from '@elastic/eui'; @@ -18,8 +18,11 @@ import type { } from '../../../overview/components/detection_response/alerts_by_status/types'; import { ExpandablePanel } from '../../../flyout/shared/components/expandable_panel'; import { getSeverityColor } from '../../../detections/components/alerts_kpis/severity_level_panel/helpers'; -import { CspInsightLeftPanelSubTab } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; -import { useNavigateEntityInsight } from '../../hooks/use_entity_insight'; +import type { EntityDetailsPath } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; +import { + CspInsightLeftPanelSubTab, + EntityDetailsLeftPanelTab, +} from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; const AlertsCount = ({ alertsTotal, @@ -58,14 +61,14 @@ const AlertsCount = ({ export const AlertsPreview = ({ alertsData, - field, - value, isPreviewMode, + openDetailsPanel, + isLinkEnabled, }: { alertsData: ParsedAlertsData; - field: 'host.name' | 'user.name'; - value: string; isPreviewMode?: boolean; + openDetailsPanel: (path: EntityDetailsPath) => void; + isLinkEnabled: boolean; }) => { const { euiTheme } = useEuiTheme(); @@ -90,15 +93,16 @@ export const AlertsPreview = ({ const hasNonClosedAlerts = totalAlertsCount > 0; - const { goToEntityInsightTab } = useNavigateEntityInsight({ - field, - value, - queryIdExtension: isPreviewMode ? 'ALERTS_PREVIEW_TRUE' : 'ALERTS_PREVIEW_FALSE', - subTab: CspInsightLeftPanelSubTab.ALERTS, - }); + const goToEntityInsightTab = useCallback(() => { + openDetailsPanel({ + tab: EntityDetailsLeftPanelTab.CSP_INSIGHTS, + subTab: CspInsightLeftPanelSubTab.ALERTS, + }); + }, [openDetailsPanel]); + const link = useMemo( () => - !isPreviewMode + isLinkEnabled ? { callback: goToEntityInsightTab, tooltip: ( @@ -109,7 +113,7 @@ export const AlertsPreview = ({ ), } : undefined, - [isPreviewMode, goToEntityInsightTab] + [isLinkEnabled, goToEntityInsightTab] ); return ( ({ value, field, isPreviewMode, + isLinkEnabled, + openDetailsPanel, }: { value: string; field: 'host.name' | 'user.name'; isPreviewMode?: boolean; + isLinkEnabled: boolean; + openDetailsPanel: (path: EntityDetailsPath) => void; }) => { const { euiTheme } = useEuiTheme(); const insightContent: React.ReactElement[] = []; @@ -55,9 +60,9 @@ export const EntityInsight = ({ <> @@ -67,14 +72,26 @@ export const EntityInsight = ({ if (showMisconfigurationsPreview) insightContent.push( <> - + ); if (showVulnerabilitiesPreview) insightContent.push( <> - + ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.test.tsx index a3c6bcd38d261..2d79ecdb2783f 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.test.tsx @@ -10,25 +10,19 @@ import { render } from '@testing-library/react'; import { MisconfigurationsPreview } from './misconfiguration_preview'; import { useMisconfigurationPreview } from '@kbn/cloud-security-posture/src/hooks/use_misconfiguration_preview'; import { useVulnerabilitiesPreview } from '@kbn/cloud-security-posture/src/hooks/use_vulnerabilities_preview'; -import { useRiskScore } from '../../../entity_analytics/api/hooks/use_risk_score'; -import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; import { TestProviders } from '../../../common/mock/test_providers'; // Mock hooks jest.mock('@kbn/cloud-security-posture/src/hooks/use_misconfiguration_preview'); jest.mock('@kbn/cloud-security-posture/src/hooks/use_vulnerabilities_preview'); -jest.mock('../../../entity_analytics/api/hooks/use_risk_score'); -jest.mock('@kbn/expandable-flyout'); describe('MisconfigurationsPreview', () => { const mockOpenLeftPanel = jest.fn(); beforeEach(() => { - (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ openLeftPanel: mockOpenLeftPanel }); (useVulnerabilitiesPreview as jest.Mock).mockReturnValue({ data: { count: { CRITICAL: 0, HIGH: 1, MEDIUM: 1, LOW: 0, UNKNOWN: 0 } }, }); - (useRiskScore as jest.Mock).mockReturnValue({ data: [{ host: { risk: 75 } }] }); (useMisconfigurationPreview as jest.Mock).mockReturnValue({ data: { count: { passed: 1, failed: 1 } }, }); @@ -37,7 +31,12 @@ describe('MisconfigurationsPreview', () => { it('renders', () => { const { getByTestId } = render( - + ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.tsx b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.tsx index c7c1889a5838b..2db803fbcda3a 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useEffect, useMemo } from 'react'; +import React, { useCallback, useEffect, useMemo } from 'react'; import { css } from '@emotion/react'; import type { EuiThemeComputed } from '@elastic/eui'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText, useEuiTheme, EuiTitle } from '@elastic/eui'; @@ -20,8 +20,11 @@ import { uiMetricService, } from '@kbn/cloud-security-posture-common/utils/ui_metrics'; import { ExpandablePanel } from '../../../flyout/shared/components/expandable_panel'; -import { CspInsightLeftPanelSubTab } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; -import { useNavigateEntityInsight } from '../../hooks/use_entity_insight'; +import type { EntityDetailsPath } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; +import { + CspInsightLeftPanelSubTab, + EntityDetailsLeftPanelTab, +} from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; export const getFindingsStats = (passedFindingsStats: number, failedFindingsStats: number) => { if (passedFindingsStats === 0 && failedFindingsStats === 0) return []; @@ -88,10 +91,14 @@ export const MisconfigurationsPreview = ({ value, field, isPreviewMode, + isLinkEnabled, + openDetailsPanel, }: { value: string; field: 'host.name' | 'user.name'; isPreviewMode?: boolean; + isLinkEnabled: boolean; + openDetailsPanel: (path: EntityDetailsPath) => void; }) => { const { hasMisconfigurationFindings, passedFindings, failedFindings } = useHasMisconfigurations( field, @@ -103,15 +110,16 @@ export const MisconfigurationsPreview = ({ }, []); const { euiTheme } = useEuiTheme(); - const { goToEntityInsightTab } = useNavigateEntityInsight({ - field, - value, - queryIdExtension: 'MISCONFIGURATION_PREVIEW', - subTab: CspInsightLeftPanelSubTab.MISCONFIGURATIONS, - }); + const goToEntityInsightTab = useCallback(() => { + openDetailsPanel({ + tab: EntityDetailsLeftPanelTab.CSP_INSIGHTS, + subTab: CspInsightLeftPanelSubTab.MISCONFIGURATIONS, + }); + }, [openDetailsPanel]); + const link = useMemo( () => - !isPreviewMode + isLinkEnabled ? { callback: goToEntityInsightTab, tooltip: ( @@ -122,7 +130,7 @@ export const MisconfigurationsPreview = ({ ), } : undefined, - [isPreviewMode, goToEntityInsightTab] + [isLinkEnabled, goToEntityInsightTab] ); return ( { const mockOpenLeftPanel = jest.fn(); beforeEach(() => { - (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ openLeftPanel: mockOpenLeftPanel }); (useVulnerabilitiesPreview as jest.Mock).mockReturnValue({ data: { count: { CRITICAL: 0, HIGH: 1, MEDIUM: 1, LOW: 0, UNKNOWN: 0 } }, }); - (useRiskScore as jest.Mock).mockReturnValue({ data: [{ host: { risk: 75 } }] }); (useMisconfigurationPreview as jest.Mock).mockReturnValue({ data: { count: { passed: 1, failed: 1 } }, }); @@ -37,7 +31,12 @@ describe('VulnerabilitiesPreview', () => { it('renders', () => { const { getByTestId } = render( - + ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/vulnerabilities/vulnerabilities_preview.tsx b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/vulnerabilities/vulnerabilities_preview.tsx index bbdf05b001637..eb5f022eecc95 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/vulnerabilities/vulnerabilities_preview.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/vulnerabilities/vulnerabilities_preview.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useEffect, useMemo } from 'react'; +import React, { useCallback, useEffect, useMemo } from 'react'; import { css } from '@emotion/react'; import type { EuiThemeComputed } from '@elastic/eui'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText, useEuiTheme, EuiTitle } from '@elastic/eui'; @@ -23,8 +23,11 @@ import { } from '@kbn/cloud-security-posture-common/utils/ui_metrics'; import { METRIC_TYPE } from '@kbn/analytics'; import { ExpandablePanel } from '../../../flyout/shared/components/expandable_panel'; -import { CspInsightLeftPanelSubTab } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; -import { useNavigateEntityInsight } from '../../hooks/use_entity_insight'; +import type { EntityDetailsPath } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; +import { + CspInsightLeftPanelSubTab, + EntityDetailsLeftPanelTab, +} from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; const VulnerabilitiesCount = ({ vulnerabilitiesTotal, @@ -63,10 +66,14 @@ export const VulnerabilitiesPreview = ({ value, field, isPreviewMode, + isLinkEnabled, + openDetailsPanel, }: { value: string; field: 'host.name' | 'user.name'; isPreviewMode?: boolean; + isLinkEnabled: boolean; + openDetailsPanel: (path: EntityDetailsPath) => void; }) => { useEffect(() => { uiMetricService.trackUiMetric(METRIC_TYPE.CLICK, ENTITY_FLYOUT_WITH_VULNERABILITY_PREVIEW); @@ -93,15 +100,16 @@ export const VulnerabilitiesPreview = ({ const { euiTheme } = useEuiTheme(); - const { goToEntityInsightTab } = useNavigateEntityInsight({ - field, - value, - queryIdExtension: 'VULNERABILITIES_PREVIEW', - subTab: CspInsightLeftPanelSubTab.VULNERABILITIES, - }); + const goToEntityInsightTab = useCallback(() => { + openDetailsPanel({ + tab: EntityDetailsLeftPanelTab.CSP_INSIGHTS, + subTab: CspInsightLeftPanelSubTab.VULNERABILITIES, + }); + }, [openDetailsPanel]); + const link = useMemo( () => - !isPreviewMode + isLinkEnabled ? { callback: goToEntityInsightTab, tooltip: ( @@ -112,7 +120,7 @@ export const VulnerabilitiesPreview = ({ ), } : undefined, - [isPreviewMode, goToEntityInsightTab] + [isLinkEnabled, goToEntityInsightTab] ); return ( ; DashboardsLandingCallout: React.ComponentType<{}>; - EnablementModalCallout: React.ComponentType<{}>; + AdditionalChargesMessage: React.ComponentType<{}>; }>; export type SetComponents = (components: ContractComponents) => void; diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_details_ui/pages/rule_details/rule_details_context.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_details_ui/pages/rule_details/rule_details_context.tsx index 7134fb981c790..516274d08016b 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_details_ui/pages/rule_details/rule_details_context.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_details_ui/pages/rule_details/rule_details_context.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import type { SortOrder } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { SortOrder } from '@elastic/elasticsearch/lib/api/types'; import type { DurationRange } from '@elastic/eui/src/components/date_picker/types'; import React, { createContext, useContext, useMemo, useState } from 'react'; import { diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx index ab12f62cfa27b..e2148d3cf2a29 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx @@ -100,6 +100,7 @@ export function RuleFieldEditFormWrapper({ onSubmit: handleSubmit, options: { warningValidationCodes: VALIDATION_WARNING_CODES, + stripEmptyFields: false, }, }); diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_edit/fields/timestamp_override.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_edit/fields/timestamp_override.tsx index a57d538fab47c..b8ef00ece3b3c 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_edit/fields/timestamp_override.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_edit/fields/timestamp_override.tsx @@ -72,10 +72,11 @@ function TimestampFallbackDisabled() { return null; } -export function timestampOverrideDeserializer(defaultValue: FormData) { +export function timestampOverrideDeserializer(_: unknown, finalDiffableRule: DiffableRule) { return { - timestampOverride: defaultValue.timestamp_override.field_name, - timestampOverrideFallbackDisabled: defaultValue.timestamp_override.fallback_disabled ?? false, + timestampOverride: finalDiffableRule.timestamp_override?.field_name, + timestampOverrideFallbackDisabled: + finalDiffableRule.timestamp_override?.fallback_disabled ?? false, }; } diff --git a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.test.tsx index c16eb7e557a4b..b2c97a33b2ff4 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.test.tsx @@ -182,9 +182,9 @@ describe('EntityStoreEnablementModal', () => { }); it('should render additional charges message when available', async () => { - const EnablementModalCalloutMock = () => ; + const AdditionalChargesMessageMock = () => ; mockUseContractComponents.mockReturnValue({ - EnablementModalCallout: EnablementModalCalloutMock, + AdditionalChargesMessage: AdditionalChargesMessageMock, }); await renderComponent(); diff --git a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.tsx b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.tsx index e3d01ec82907e..a3f4461998905 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/enablement_modal.tsx @@ -73,7 +73,7 @@ export const EntityStoreEnablementModal: React.FC - {EnablementModalCallout && } + {AdditionalChargesMessage && } = () => { riskScoreData={{ ...mockRiskScoreState, data: [] }} queryId={'testQuery'} recalculatingScore={false} + isLinkEnabled />
@@ -34,7 +35,7 @@ export const Default: Story = () => { ); }; -export const PreviewMode: Story = () => { +export const LinkEnabledInPreviewMode: Story = () => { return ( @@ -43,6 +44,8 @@ export const PreviewMode: Story = () => { riskScoreData={{ ...mockRiskScoreState, data: [] }} queryId={'testQuery'} recalculatingScore={false} + openDetailsPanel={() => {}} + isLinkEnabled isPreviewMode />
@@ -50,3 +53,21 @@ export const PreviewMode: Story = () => { ); }; + +export const LinkDisabled: Story = () => { + return ( + + +
+ {}} + isLinkEnabled={false} + /> +
+
+
+ ); +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.test.tsx index 9cc773df320b0..04f6ec369e302 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.test.tsx @@ -41,6 +41,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -63,6 +64,28 @@ describe('FlyoutRiskSummary', () => { (mockHostRiskScoreState.data?.[0].host.risk.category_2_score ?? 0) }` ); + + expect(getByTestId('riskInputsTitleLink')).toBeInTheDocument(); + expect(getByTestId('riskInputsTitleIcon')).toBeInTheDocument(); + }); + + it('renders link without icon when in preview mode', () => { + const { getByTestId, queryByTestId } = render( + + {}} + recalculatingScore={false} + isLinkEnabled + isPreviewMode + /> + + ); + + expect(getByTestId('risk-summary-table')).toBeInTheDocument(); + expect(getByTestId('riskInputsTitleLink')).toBeInTheDocument(); + expect(queryByTestId('riskInputsTitleIcon')).not.toBeInTheDocument(); }); it('renders risk summary table when riskScoreData is empty', () => { @@ -73,6 +96,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -87,6 +111,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -94,7 +119,7 @@ describe('FlyoutRiskSummary', () => { expect(queryByTestId('riskInputsTitleLink')).not.toBeInTheDocument(); }); - it('risk summary header does not render expand icon when in preview mode', () => { + it('risk summary header does not render link when link is not enabled', () => { const { queryByTestId } = render( { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} - isPreviewMode + isLinkEnabled={false} /> ); expect(queryByTestId('riskInputsTitleLink')).not.toBeInTheDocument(); - expect(queryByTestId('riskInputsTitleIcon')).not.toBeInTheDocument(); }); it('renders visualization embeddable', () => { @@ -119,6 +143,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -134,6 +159,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -149,6 +175,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -176,6 +203,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -198,6 +226,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); @@ -220,6 +249,7 @@ describe('FlyoutRiskSummary', () => { queryId={'testQuery'} openDetailsPanel={() => {}} recalculatingScore={false} + isLinkEnabled /> ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx index 0c42543a7f91e..f655f346f93f5 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx @@ -23,6 +23,7 @@ import { euiThemeVars } from '@kbn/ui-theme'; import dateMath from '@kbn/datemath'; import { i18n } from '@kbn/i18n'; import { useKibana } from '../../../common/lib/kibana/kibana_react'; +import type { EntityDetailsPath } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; import { EntityDetailsLeftPanelTab } from '../../../flyout/entity_details/shared/components/left_panel/left_panel_header'; import { InspectButton, InspectButtonContainer } from '../../../common/components/inspect'; import { ONE_WEEK_IN_HOURS } from '../../../flyout/entity_details/shared/constants'; @@ -49,7 +50,8 @@ export interface RiskSummaryProps { riskScoreData: RiskScoreState; recalculatingScore: boolean; queryId: string; - openDetailsPanel?: (tab: EntityDetailsLeftPanelTab) => void; + openDetailsPanel: (path: EntityDetailsPath) => void; + isLinkEnabled: boolean; isPreviewMode?: boolean; } @@ -58,6 +60,7 @@ const FlyoutRiskSummaryComponent = ({ recalculatingScore, queryId, openDetailsPanel, + isLinkEnabled, isPreviewMode, }: RiskSummaryProps) => { const { telemetry } = useKibana().services; @@ -178,8 +181,8 @@ const FlyoutRiskSummaryComponent = ({ link: riskScoreData.loading ? undefined : { - callback: openDetailsPanel - ? () => openDetailsPanel(EntityDetailsLeftPanelTab.RISK_INPUTS) + callback: isLinkEnabled + ? () => openDetailsPanel({ tab: EntityDetailsLeftPanelTab.RISK_INPUTS }) : undefined, tooltip: ( {}} recalculatingScore={false} + isLinkEnabled={true} /> )) .add('no observed data', () => ( @@ -62,6 +63,7 @@ storiesOf('Components/HostPanelContent', module) hostName={'test-host-name'} onAssetCriticalityChange={() => {}} recalculatingScore={false} + isLinkEnabled={true} /> )) .add('loading', () => ( @@ -87,5 +89,6 @@ storiesOf('Components/HostPanelContent', module) hostName={'test-host-name'} onAssetCriticalityChange={() => {}} recalculatingScore={false} + isLinkEnabled={true} /> )); diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/content.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/content.tsx index 9c2ce61dea7fc..5b8746675cfdf 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/content.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/content.tsx @@ -17,7 +17,7 @@ import { ObservedEntity } from '../shared/components/observed_entity'; import { HOST_PANEL_OBSERVED_HOST_QUERY_ID, HOST_PANEL_RISK_SCORE_QUERY_ID } from '.'; import type { ObservedEntityData } from '../shared/components/observed_entity/types'; import { useObservedHostFields } from './hooks/use_observed_host_fields'; -import type { EntityDetailsLeftPanelTab } from '../shared/components/left_panel/left_panel_header'; +import type { EntityDetailsPath } from '../shared/components/left_panel/left_panel_header'; interface HostPanelContentProps { observedHost: ObservedEntityData; @@ -25,11 +25,12 @@ interface HostPanelContentProps { contextID: string; scopeId: string; isDraggable: boolean; - openDetailsPanel?: (tab: EntityDetailsLeftPanelTab) => void; + openDetailsPanel: (path: EntityDetailsPath) => void; hostName: string; onAssetCriticalityChange: () => void; recalculatingScore: boolean; isPreviewMode?: boolean; + isLinkEnabled: boolean; } export const HostPanelContent = ({ @@ -43,6 +44,7 @@ export const HostPanelContent = ({ openDetailsPanel, onAssetCriticalityChange, isPreviewMode, + isLinkEnabled, }: HostPanelContentProps) => { const observedFields = useObservedHostFields(observedHost); @@ -56,6 +58,7 @@ export const HostPanelContent = ({ queryId={HOST_PANEL_RISK_SCORE_QUERY_ID} openDetailsPanel={openDetailsPanel} isPreviewMode={isPreviewMode} + isLinkEnabled={isLinkEnabled} /> @@ -64,7 +67,13 @@ export const HostPanelContent = ({ entity={{ name: hostName, type: 'host' }} onChange={onAssetCriticalityChange} /> - + { + const original = jest.requireActual('../../../../common/lib/kibana'); + return { + ...original, + useKibana: () => ({ + ...original.useKibana(), + services: { + ...original.useKibana().services, + telemetry: mockedTelemetry, + }, + }), + }; +}); + +const mockProps = { + hostName: 'testHost', + scopeId: 'testScopeId', + isRiskScoreExist: false, + hasMisconfigurationFindings: false, + hasVulnerabilitiesFindings: false, + hasNonClosedAlerts: false, + contextID: 'testContextID', + isPreviewMode: false, +}; + +const tab = EntityDetailsLeftPanelTab.RISK_INPUTS; +const subTab = CspInsightLeftPanelSubTab.MISCONFIGURATIONS; + +const mockOpenLeftPanel = jest.fn(); +const mockOpenFlyout = jest.fn(); + +describe('useNavigateToHostDetails', () => { + describe('when preview navigation is enabled', () => { + beforeEach(() => { + jest.clearAllMocks(); + (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(true); + (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ + openLeftPanel: mockOpenLeftPanel, + openFlyout: mockOpenFlyout, + }); + }); + + it('returns callback that opens details panel when not in preview mode', () => { + const { result } = renderHook(() => useNavigateToHostDetails(mockProps)); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenLeftPanel).toHaveBeenCalledWith({ + id: HostDetailsPanelKey, + params: { + name: mockProps.hostName, + scopeId: mockProps.scopeId, + isRiskScoreExist: mockProps.isRiskScoreExist, + path: { tab, subTab }, + hasMisconfigurationFindings: mockProps.hasMisconfigurationFindings, + hasVulnerabilitiesFindings: mockProps.hasVulnerabilitiesFindings, + hasNonClosedAlerts: mockProps.hasNonClosedAlerts, + }, + }); + expect(mockOpenFlyout).not.toHaveBeenCalled(); + }); + + it('returns callback that opens flyout when in preview mode', () => { + const { result } = renderHook(() => + useNavigateToHostDetails({ ...mockProps, isPreviewMode: true }) + ); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenFlyout).toHaveBeenCalledWith({ + right: { + id: HostPanelKey, + params: { + contextID: mockProps.contextID, + scopeId: mockProps.scopeId, + hostName: mockProps.hostName, + isDraggable: undefined, + }, + }, + left: { + id: HostDetailsPanelKey, + params: { + name: mockProps.hostName, + scopeId: mockProps.scopeId, + isRiskScoreExist: mockProps.isRiskScoreExist, + path: { tab, subTab }, + hasMisconfigurationFindings: mockProps.hasMisconfigurationFindings, + hasVulnerabilitiesFindings: mockProps.hasVulnerabilitiesFindings, + hasNonClosedAlerts: mockProps.hasNonClosedAlerts, + }, + }, + }); + expect(mockOpenLeftPanel).not.toHaveBeenCalled(); + }); + }); + + describe('when preview navigation is not enabled', () => { + beforeEach(() => { + jest.clearAllMocks(); + (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(false); + (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ + openLeftPanel: mockOpenLeftPanel, + openFlyout: mockOpenFlyout, + }); + }); + + it('returns callback that opens details panel when not in preview mode', () => { + const { result } = renderHook(() => useNavigateToHostDetails(mockProps)); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenLeftPanel).toHaveBeenCalledWith({ + id: HostDetailsPanelKey, + params: { + name: mockProps.hostName, + scopeId: mockProps.scopeId, + isRiskScoreExist: mockProps.isRiskScoreExist, + path: { tab, subTab }, + hasMisconfigurationFindings: mockProps.hasMisconfigurationFindings, + hasVulnerabilitiesFindings: mockProps.hasVulnerabilitiesFindings, + hasNonClosedAlerts: mockProps.hasNonClosedAlerts, + }, + }); + expect(mockOpenFlyout).not.toHaveBeenCalled(); + }); + + it('returns empty callback and isLinkEnabled is false when in preview mode', () => { + const { result } = renderHook(() => + useNavigateToHostDetails({ ...mockProps, isPreviewMode: true }) + ); + + expect(result.current.isLinkEnabled).toBe(false); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenLeftPanel).not.toHaveBeenCalled(); + expect(mockOpenFlyout).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/hooks/use_navigate_to_host_details.ts b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/hooks/use_navigate_to_host_details.ts new file mode 100644 index 0000000000000..2834446193e8b --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/hooks/use_navigate_to_host_details.ts @@ -0,0 +1,110 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useCallback, useMemo } from 'react'; +import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; +import { useKibana } from '../../../../common/lib/kibana'; +import { HostPanelKey } from '..'; +import { HostDetailsPanelKey } from '../../host_details_left'; +import type { EntityDetailsPath } from '../../shared/components/left_panel/left_panel_header'; +import { EntityEventTypes } from '../../../../common/lib/telemetry'; +import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; + +interface UseNavigateToHostDetailsParams { + hostName: string; + scopeId: string; + isRiskScoreExist: boolean; + hasMisconfigurationFindings: boolean; + hasVulnerabilitiesFindings: boolean; + hasNonClosedAlerts: boolean; + isPreviewMode?: boolean; + contextID: string; + isDraggable?: boolean; +} + +interface UseNavigateToHostDetailsResult { + openDetailsPanel: (path: EntityDetailsPath) => void; + isLinkEnabled: boolean; +} + +export const useNavigateToHostDetails = ({ + hostName, + scopeId, + isRiskScoreExist, + hasMisconfigurationFindings, + hasVulnerabilitiesFindings, + hasNonClosedAlerts, + isPreviewMode, + contextID, + isDraggable, +}: UseNavigateToHostDetailsParams): UseNavigateToHostDetailsResult => { + const { telemetry } = useKibana().services; + const { openLeftPanel, openFlyout } = useExpandableFlyoutApi(); + const isNewNavigationEnabled = useIsExperimentalFeatureEnabled( + 'newExpandableFlyoutNavigationEnabled' + ); + + telemetry.reportEvent(EntityEventTypes.RiskInputsExpandedFlyoutOpened, { + entity: 'host', + }); + + const isLinkEnabled = useMemo(() => { + return !isPreviewMode || (isNewNavigationEnabled && isPreviewMode); + }, [isNewNavigationEnabled, isPreviewMode]); + + const openDetailsPanel = useCallback( + (path?: EntityDetailsPath) => { + const left = { + id: HostDetailsPanelKey, + params: { + name: hostName, + scopeId, + isRiskScoreExist, + path, + hasMisconfigurationFindings, + hasVulnerabilitiesFindings, + hasNonClosedAlerts, + }, + }; + + const right = { + id: HostPanelKey, + params: { + contextID, + scopeId, + hostName, + isDraggable, + }, + }; + + // When new navigation is enabled, nevigation in preview is enabled and open a new flyout + if (isNewNavigationEnabled && isPreviewMode) { + openFlyout({ right, left }); + } + // When not in preview mode, open left panel as usual + else if (!isPreviewMode) { + openLeftPanel(left); + } + }, + [ + isNewNavigationEnabled, + isPreviewMode, + openFlyout, + openLeftPanel, + hostName, + scopeId, + isRiskScoreExist, + hasMisconfigurationFindings, + hasVulnerabilitiesFindings, + hasNonClosedAlerts, + contextID, + isDraggable, + ] + ); + + return { openDetailsPanel, isLinkEnabled }; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/index.tsx index abf7d5cf591dd..6df18796d45e5 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/index.tsx @@ -7,7 +7,6 @@ import React, { useCallback, useMemo } from 'react'; import type { FlyoutPanelProps } from '@kbn/expandable-flyout'; -import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; import { useHasMisconfigurations } from '@kbn/cloud-security-posture/src/hooks/use_has_misconfigurations'; import { useHasVulnerabilities } from '@kbn/cloud-security-posture/src/hooks/use_has_vulnerabilities'; @@ -18,7 +17,6 @@ import { useRefetchQueryById } from '../../../entity_analytics/api/hooks/use_ref import { RISK_INPUTS_TAB_QUERY_ID } from '../../../entity_analytics/components/entity_details_flyout/tabs/risk_inputs/risk_inputs_tab'; import type { Refetch } from '../../../common/types'; import { useCalculateEntityRiskScore } from '../../../entity_analytics/api/hooks/use_calculate_entity_risk_score'; -import { useKibana } from '../../../common/lib/kibana/kibana_react'; import { hostToCriteria } from '../../../common/components/ml/criteria/host_to_criteria'; import { useRiskScore } from '../../../entity_analytics/api/hooks/use_risk_score'; import { useQueryInspector } from '../../../common/components/page/manage_query'; @@ -33,10 +31,10 @@ import { HostPanelHeader } from './header'; import { AnomalyTableProvider } from '../../../common/components/ml/anomaly/anomaly_table_provider'; import type { ObservedEntityData } from '../shared/components/observed_entity/types'; import { useObservedHost } from './hooks/use_observed_host'; -import { HostDetailsPanelKey } from '../host_details_left'; import { EntityDetailsLeftPanelTab } from '../shared/components/left_panel/left_panel_header'; import { HostPreviewPanelFooter } from '../host_preview/footer'; -import { EntityEventTypes } from '../../../common/lib/telemetry'; +import { useNavigateToHostDetails } from './hooks/use_navigate_to_host_details'; + export interface HostPanelProps extends Record { contextID: string; scopeId: string; @@ -67,8 +65,6 @@ export const HostPanel = ({ isDraggable, isPreviewMode, }: HostPanelProps) => { - const { telemetry } = useKibana().services; - const { openLeftPanel } = useExpandableFlyoutApi(); const { to, from, isInitializing, setQuery, deleteQuery } = useGlobalTime(); const hostNameFilterQuery = useMemo( () => (hostName ? buildHostNamesFilter([hostName]) : undefined), @@ -119,45 +115,26 @@ export const HostPanel = ({ setQuery, }); - const openTabPanel = useCallback( - (tab?: EntityDetailsLeftPanelTab) => { - telemetry.reportEvent(EntityEventTypes.RiskInputsExpandedFlyoutOpened, { - entity: 'host', - }); - - openLeftPanel({ - id: HostDetailsPanelKey, - params: { - name: hostName, - scopeId, - isRiskScoreExist, - path: tab ? { tab } : undefined, - hasMisconfigurationFindings, - hasVulnerabilitiesFindings, - hasNonClosedAlerts, - }, - }); - }, - [ - telemetry, - openLeftPanel, - hostName, - scopeId, - isRiskScoreExist, - hasMisconfigurationFindings, - hasVulnerabilitiesFindings, - hasNonClosedAlerts, - ] - ); + const { openDetailsPanel, isLinkEnabled } = useNavigateToHostDetails({ + hostName, + scopeId, + isRiskScoreExist, + hasMisconfigurationFindings, + hasVulnerabilitiesFindings, + hasNonClosedAlerts, + isPreviewMode, + contextID, + isDraggable, + }); const openDefaultPanel = useCallback( () => - openTabPanel( - isRiskScoreExist + openDetailsPanel({ + tab: isRiskScoreExist ? EntityDetailsLeftPanelTab.RISK_INPUTS - : EntityDetailsLeftPanelTab.CSP_INSIGHTS - ), - [isRiskScoreExist, openTabPanel] + : EntityDetailsLeftPanelTab.CSP_INSIGHTS, + }), + [isRiskScoreExist, openDetailsPanel] ); const observedHost = useObservedHost(hostName, scopeId); @@ -204,7 +181,8 @@ export const HostPanel = ({ contextID={contextID} scopeId={scopeId} isDraggable={!!isDraggable} - openDetailsPanel={!isPreviewMode ? openTabPanel : undefined} + openDetailsPanel={openDetailsPanel} + isLinkEnabled={isLinkEnabled} recalculatingScore={recalculatingScore} onAssetCriticalityChange={calculateEntityRiskScore} isPreviewMode={isPreviewMode} diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/shared/components/left_panel/left_panel_header.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/shared/components/left_panel/left_panel_header.tsx index 254985b865840..2d7fc23115eb7 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/shared/components/left_panel/left_panel_header.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/shared/components/left_panel/left_panel_header.tsx @@ -31,6 +31,11 @@ export enum CspInsightLeftPanelSubTab { ALERTS = 'alertsTabId', } +export interface EntityDetailsPath { + tab: EntityDetailsLeftPanelTab; + subTab?: CspInsightLeftPanelSubTab; +} + export interface PanelHeaderProps { /** * Id of the tab selected in the parent component to display its content diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.test.tsx index 632f32dca57b0..b02f81b0f445e 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.test.tsx @@ -20,6 +20,7 @@ describe('ManagedUser', () => { scopeId: '', isDraggable: false, openDetailsPanel: () => {}, + isLinkEnabled: true, }; it('renders', () => { diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.tsx index a67de667612c8..48cb42e2a4335 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user.tsx @@ -18,7 +18,7 @@ import { import React, { useMemo } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import { css } from '@emotion/css'; -import type { EntityDetailsLeftPanelTab } from '../../shared/components/left_panel/left_panel_header'; +import type { EntityDetailsPath } from '../../shared/components/left_panel/left_panel_header'; import { UserAssetTableType } from '../../../../explore/users/store/model'; import type { ManagedUserFields } from '../../../../../common/search_strategy/security_solution/users/managed_details'; import { ManagedUserDatasetKey } from '../../../../../common/search_strategy/security_solution/users/managed_details'; @@ -44,11 +44,15 @@ export const ManagedUser = ({ contextID, isDraggable, openDetailsPanel, + isPreviewMode, + isLinkEnabled, }: { managedUser: ManagedUserData; contextID: string; isDraggable: boolean; - openDetailsPanel?: (tab: EntityDetailsLeftPanelTab) => void; + openDetailsPanel: (path: EntityDetailsPath) => void; + isPreviewMode?: boolean; + isLinkEnabled: boolean; }) => { const entraManagedUser = managedUser.data?.[ManagedUserDatasetKey.ENTRA]; const oktaManagedUser = managedUser.data?.[ManagedUserDatasetKey.OKTA]; @@ -127,6 +131,8 @@ export const ManagedUser = ({ managedUser={entraManagedUser.fields} tableType={UserAssetTableType.assetEntra} openDetailsPanel={openDetailsPanel} + isLinkEnabled={isLinkEnabled} + isPreviewMode={isPreviewMode} > { managedUser={mockEntraUserFields} tableType={UserAssetTableType.assetEntra} openDetailsPanel={() => {}} + isLinkEnabled >
@@ -28,5 +29,45 @@ describe('ManagedUserAccordion', () => { ); expect(getByTestId('test-children')).toBeInTheDocument(); + expect(getByTestId('managed-user-accordion-userAssetEntraTitleLink')).toBeInTheDocument(); + expect(getByTestId('managed-user-accordion-userAssetEntraTitleIcon')).toBeInTheDocument(); + }); + + it('renders link without icon when in preview mode', () => { + const { getByTestId, queryByTestId } = render( + + {}} + isLinkEnabled + isPreviewMode + > +
+ + + ); + + expect(getByTestId('managed-user-accordion-userAssetEntraTitleLink')).toBeInTheDocument(); + expect(queryByTestId('managed-user-accordion-userAssetEntraTitleIcon')).not.toBeInTheDocument(); + }); + + it('does not render link when link is not enabled', () => { + const { queryByTestId } = render( + + {}} + isLinkEnabled={false} + > +
+ + + ); + + expect(queryByTestId('managed-user-accordion-userAssetEntraTitleLink')).not.toBeInTheDocument(); }); }); diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user_accordion.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user_accordion.tsx index 8d9007713549e..4e4745b33fc06 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user_accordion.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/components/managed_user_accordion.tsx @@ -11,6 +11,7 @@ import React from 'react'; import { css } from '@emotion/react'; import { FormattedMessage } from '@kbn/i18n-react'; import { get } from 'lodash/fp'; +import type { EntityDetailsPath } from '../../shared/components/left_panel/left_panel_header'; import { EntityDetailsLeftPanelTab } from '../../shared/components/left_panel/left_panel_header'; import { ExpandablePanel } from '../../../shared/components/expandable_panel'; import type { ManagedUserFields } from '../../../../../common/search_strategy/security_solution/users/managed_details'; @@ -23,7 +24,9 @@ interface ManagedUserAccordionProps { title: string; managedUser: ManagedUserFields; tableType: UserAssetTableType; - openDetailsPanel?: (tab: EntityDetailsLeftPanelTab) => void; + openDetailsPanel: (path: EntityDetailsPath) => void; + isLinkEnabled: boolean; + isPreviewMode?: boolean; } export const ManagedUserAccordion: React.FC = ({ @@ -32,6 +35,8 @@ export const ManagedUserAccordion: React.FC = ({ managedUser, tableType, openDetailsPanel, + isLinkEnabled, + isPreviewMode, }) => { const xsFontSize = useEuiFontSize('xxs').fontSize; const timestamp = get('@timestamp[0]', managedUser) as unknown as string | undefined; @@ -41,7 +46,7 @@ export const ManagedUserAccordion: React.FC = ({ data-test-subj={`managed-user-accordion-${tableType}`} header={{ title, - iconType: 'arrowStart', + iconType: !isPreviewMode ? 'arrowStart' : undefined, headerContent: timestamp && ( = ({ ), link: { - callback: openDetailsPanel + callback: isLinkEnabled ? () => - openDetailsPanel( - tableType === UserAssetTableType.assetOkta - ? EntityDetailsLeftPanelTab.OKTA - : EntityDetailsLeftPanelTab.ENTRA - ) + openDetailsPanel({ + tab: + tableType === UserAssetTableType.assetOkta + ? EntityDetailsLeftPanelTab.OKTA + : EntityDetailsLeftPanelTab.ENTRA, + }) : undefined, tooltip: ( {}} recalculatingScore={false} + isLinkEnabled={true} /> )) .add('integration disabled', () => ( @@ -56,6 +57,7 @@ storiesOf('Components/UserPanelContent', module) userName={'test-user-name'} onAssetCriticalityChange={() => {}} recalculatingScore={false} + isLinkEnabled={true} /> )) .add('no managed data', () => ( @@ -74,6 +76,7 @@ storiesOf('Components/UserPanelContent', module) userName={'test-user-name'} onAssetCriticalityChange={() => {}} recalculatingScore={false} + isLinkEnabled={true} /> )) .add('no observed data', () => ( @@ -112,6 +115,7 @@ storiesOf('Components/UserPanelContent', module) userName={'test-user-name'} onAssetCriticalityChange={() => {}} recalculatingScore={false} + isLinkEnabled={true} /> )) .add('loading', () => ( @@ -154,5 +158,6 @@ storiesOf('Components/UserPanelContent', module) userName={'test-user-name'} onAssetCriticalityChange={() => {}} recalculatingScore={false} + isLinkEnabled={true} /> )); diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/content.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/content.tsx index 08295038a1bd8..975e780582ac6 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/content.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/content.tsx @@ -22,7 +22,7 @@ import { FlyoutBody } from '../../shared/components/flyout_body'; import { ObservedEntity } from '../shared/components/observed_entity'; import type { ObservedEntityData } from '../shared/components/observed_entity/types'; import { useObservedUserItems } from './hooks/use_observed_user_items'; -import type { EntityDetailsLeftPanelTab } from '../shared/components/left_panel/left_panel_header'; +import type { EntityDetailsPath } from '../shared/components/left_panel/left_panel_header'; import { EntityInsight } from '../../../cloud_security_posture/components/entity_insight'; interface UserPanelContentProps { @@ -35,8 +35,9 @@ interface UserPanelContentProps { scopeId: string; isDraggable: boolean; onAssetCriticalityChange: () => void; - openDetailsPanel?: (tab: EntityDetailsLeftPanelTab) => void; + openDetailsPanel: (path: EntityDetailsPath) => void; isPreviewMode?: boolean; + isLinkEnabled: boolean; } export const UserPanelContent = ({ @@ -51,6 +52,7 @@ export const UserPanelContent = ({ openDetailsPanel, onAssetCriticalityChange, isPreviewMode, + isLinkEnabled, }: UserPanelContentProps) => { const observedFields = useObservedUserItems(observedUser); const isManagedUserEnable = useIsExperimentalFeatureEnabled('newUserDetailsFlyoutManagedUser'); @@ -65,6 +67,7 @@ export const UserPanelContent = ({ queryId={USER_PANEL_RISK_SCORE_QUERY_ID} openDetailsPanel={openDetailsPanel} isPreviewMode={isPreviewMode} + isLinkEnabled={isLinkEnabled} /> @@ -73,7 +76,13 @@ export const UserPanelContent = ({ entity={{ name: userName, type: 'user' }} onChange={onAssetCriticalityChange} /> - + )} diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/hooks/use_navigate_to_user_details.test.ts b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/hooks/use_navigate_to_user_details.test.ts new file mode 100644 index 0000000000000..58f9860389d69 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/hooks/use_navigate_to_user_details.test.ts @@ -0,0 +1,172 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook } from '@testing-library/react-hooks'; +import { useNavigateToUserDetails } from './use_navigate_to_user_details'; +import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; +import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; +import { + CspInsightLeftPanelSubTab, + EntityDetailsLeftPanelTab, +} from '../../shared/components/left_panel/left_panel_header'; +import { UserDetailsPanelKey } from '../../user_details_left'; +import { UserPanelKey } from '..'; +import { createTelemetryServiceMock } from '../../../../common/lib/telemetry/telemetry_service.mock'; + +jest.mock('@kbn/expandable-flyout'); +jest.mock('../../../../common/hooks/use_experimental_features'); + +const mockedTelemetry = createTelemetryServiceMock(); +jest.mock('../../../../common/lib/kibana', () => { + const original = jest.requireActual('../../../../common/lib/kibana'); + return { + ...original, + useKibana: () => ({ + ...original.useKibana(), + services: { + ...original.useKibana().services, + telemetry: mockedTelemetry, + }, + }), + }; +}); + +const mockProps = { + userName: 'testUser', + scopeId: 'testScopeId', + isRiskScoreExist: false, + hasMisconfigurationFindings: false, + hasNonClosedAlerts: false, + contextID: 'testContextID', + isPreviewMode: false, + email: ['test@test.com'], +}; + +const tab = EntityDetailsLeftPanelTab.RISK_INPUTS; +const subTab = CspInsightLeftPanelSubTab.MISCONFIGURATIONS; + +const mockOpenLeftPanel = jest.fn(); +const mockOpenFlyout = jest.fn(); + +describe('useNavigateToUserDetails', () => { + describe('when preview navigation is enabled', () => { + beforeEach(() => { + jest.clearAllMocks(); + (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(true); + (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ + openLeftPanel: mockOpenLeftPanel, + openFlyout: mockOpenFlyout, + }); + }); + + it('returns callback that opens details panel when not in preview mode', () => { + const { result } = renderHook(() => useNavigateToUserDetails(mockProps)); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenLeftPanel).toHaveBeenCalledWith({ + id: UserDetailsPanelKey, + params: { + user: { + name: mockProps.userName, + email: mockProps.email, + }, + scopeId: mockProps.scopeId, + isRiskScoreExist: mockProps.isRiskScoreExist, + path: { tab, subTab }, + hasMisconfigurationFindings: mockProps.hasMisconfigurationFindings, + hasNonClosedAlerts: mockProps.hasNonClosedAlerts, + }, + }); + }); + + it('returns callback that opens flyout when in preview mode', () => { + const { result } = renderHook(() => + useNavigateToUserDetails({ ...mockProps, isPreviewMode: true }) + ); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenFlyout).toHaveBeenCalledWith({ + right: { + id: UserPanelKey, + params: { + contextID: mockProps.contextID, + scopeId: mockProps.scopeId, + userName: mockProps.userName, + }, + }, + left: { + id: UserDetailsPanelKey, + params: { + user: { + name: mockProps.userName, + email: mockProps.email, + }, + scopeId: mockProps.scopeId, + isRiskScoreExist: mockProps.isRiskScoreExist, + path: { tab, subTab }, + hasMisconfigurationFindings: mockProps.hasMisconfigurationFindings, + hasNonClosedAlerts: mockProps.hasNonClosedAlerts, + }, + }, + }); + expect(mockOpenLeftPanel).not.toHaveBeenCalled(); + }); + }); + + describe('when preview navigation is disabled', () => { + beforeEach(() => { + jest.clearAllMocks(); + (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(false); + (useExpandableFlyoutApi as jest.Mock).mockReturnValue({ + openLeftPanel: mockOpenLeftPanel, + openFlyout: mockOpenFlyout, + }); + }); + + it('returns callback that opens details panel when not in preview mode', () => { + const { result } = renderHook(() => useNavigateToUserDetails(mockProps)); + + expect(result.current.isLinkEnabled).toBe(true); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenLeftPanel).toHaveBeenCalledWith({ + id: UserDetailsPanelKey, + params: { + user: { + name: mockProps.userName, + email: mockProps.email, + }, + scopeId: mockProps.scopeId, + isRiskScoreExist: mockProps.isRiskScoreExist, + path: { tab, subTab }, + hasMisconfigurationFindings: mockProps.hasMisconfigurationFindings, + hasNonClosedAlerts: mockProps.hasNonClosedAlerts, + }, + }); + expect(mockOpenFlyout).not.toHaveBeenCalled(); + }); + + it('returns empty callback and isLinkEnabled is false when in preview mode', () => { + const { result } = renderHook(() => + useNavigateToUserDetails({ ...mockProps, isPreviewMode: true }) + ); + + expect(result.current.isLinkEnabled).toBe(false); + result.current.openDetailsPanel({ tab, subTab }); + + expect(mockOpenLeftPanel).not.toHaveBeenCalled(); + expect(mockOpenFlyout).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/hooks/use_navigate_to_user_details.ts b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/hooks/use_navigate_to_user_details.ts new file mode 100644 index 0000000000000..1eed953f703b6 --- /dev/null +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/hooks/use_navigate_to_user_details.ts @@ -0,0 +1,114 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; +import { useCallback } from 'react'; +import type { EntityDetailsPath } from '../../shared/components/left_panel/left_panel_header'; +import { UserPanelKey } from '..'; +import { useKibana } from '../../../../common/lib/kibana'; +import { EntityEventTypes } from '../../../../common/lib/telemetry'; +import { UserDetailsPanelKey } from '../../user_details_left'; +import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; + +interface UseNavigateToUserDetailsParams { + userName: string; + email?: string[]; + scopeId: string; + contextID: string; + isDraggable?: boolean; + isRiskScoreExist: boolean; + hasMisconfigurationFindings: boolean; + hasNonClosedAlerts: boolean; + isPreviewMode?: boolean; +} + +interface UseNavigateToUserDetailsResult { + /** + * Opens the user details panel + */ + openDetailsPanel: (path: EntityDetailsPath) => void; + /** + * Whether the link is enabled + */ + isLinkEnabled: boolean; +} + +export const useNavigateToUserDetails = ({ + userName, + email, + scopeId, + contextID, + isDraggable, + isRiskScoreExist, + hasMisconfigurationFindings, + hasNonClosedAlerts, + isPreviewMode, +}: UseNavigateToUserDetailsParams): UseNavigateToUserDetailsResult => { + const { telemetry } = useKibana().services; + const { openLeftPanel, openFlyout } = useExpandableFlyoutApi(); + const isNewNavigationEnabled = useIsExperimentalFeatureEnabled( + 'newExpandableFlyoutNavigationEnabled' + ); + + const isLinkEnabled = !isPreviewMode || (isNewNavigationEnabled && isPreviewMode); + + const openDetailsPanel = useCallback( + (path: EntityDetailsPath) => { + telemetry.reportEvent(EntityEventTypes.RiskInputsExpandedFlyoutOpened, { entity: 'user' }); + + const left = { + id: UserDetailsPanelKey, + params: { + isRiskScoreExist, + scopeId, + user: { + name: userName, + email, + }, + path, + hasMisconfigurationFindings, + hasNonClosedAlerts, + }, + }; + + const right = { + id: UserPanelKey, + params: { + contextID, + userName, + scopeId, + isDraggable, + }, + }; + + // When new navigation is enabled, nevigation in preview is enabled and open a new flyout + if (isNewNavigationEnabled && isPreviewMode) { + openFlyout({ right, left }); + } + // When not in preview mode, open left panel as usual + else if (!isPreviewMode) { + openLeftPanel(left); + } + }, + [ + telemetry, + openLeftPanel, + isRiskScoreExist, + scopeId, + userName, + email, + hasMisconfigurationFindings, + hasNonClosedAlerts, + isNewNavigationEnabled, + isPreviewMode, + openFlyout, + contextID, + isDraggable, + ] + ); + + return { openDetailsPanel, isLinkEnabled }; +}; diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/index.tsx index 182740a5afa57..7d11cb80369c4 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/index.tsx @@ -7,7 +7,6 @@ import React, { useCallback, useMemo } from 'react'; import type { FlyoutPanelProps } from '@kbn/expandable-flyout'; -import { useExpandableFlyoutApi } from '@kbn/expandable-flyout'; import { useHasMisconfigurations } from '@kbn/cloud-security-posture/src/hooks/use_has_misconfigurations'; import { TableId } from '@kbn/securitysolution-data-table'; import { useNonClosedAlerts } from '../../../cloud_security_posture/hooks/use_non_closed_alerts'; @@ -15,7 +14,6 @@ import { useRefetchQueryById } from '../../../entity_analytics/api/hooks/use_ref import type { Refetch } from '../../../common/types'; import { RISK_INPUTS_TAB_QUERY_ID } from '../../../entity_analytics/components/entity_details_flyout/tabs/risk_inputs/risk_inputs_tab'; import { useCalculateEntityRiskScore } from '../../../entity_analytics/api/hooks/use_calculate_entity_risk_score'; -import { useKibana } from '../../../common/lib/kibana/kibana_react'; import { useRiskScore } from '../../../entity_analytics/api/hooks/use_risk_score'; import { ManagedUserDatasetKey } from '../../../../common/search_strategy/security_solution/users/managed_details'; import { useManagedUser } from '../shared/hooks/use_managed_user'; @@ -30,12 +28,11 @@ import { FlyoutLoading } from '../../shared/components/flyout_loading'; import { FlyoutNavigation } from '../../shared/components/flyout_navigation'; import { UserPanelContent } from './content'; import { UserPanelHeader } from './header'; -import { UserDetailsPanelKey } from '../user_details_left'; import { useObservedUser } from './hooks/use_observed_user'; import { EntityDetailsLeftPanelTab } from '../shared/components/left_panel/left_panel_header'; import { UserPreviewPanelFooter } from '../user_preview/footer'; import { DETECTION_RESPONSE_ALERTS_BY_STATUS_ID } from '../../../overview/components/detection_response/alerts_by_status/types'; -import { EntityEventTypes } from '../../../common/lib/telemetry'; +import { useNavigateToUserDetails } from './hooks/use_navigate_to_user_details'; export interface UserPanelProps extends Record { contextID: string; @@ -65,7 +62,6 @@ export const UserPanel = ({ isDraggable, isPreviewMode, }: UserPanelProps) => { - const { telemetry } = useKibana().services; const userNameFilterQuery = useMemo( () => (userName ? buildUserNamesFilter([userName]) : undefined), [userName] @@ -120,47 +116,26 @@ export const UserPanel = ({ setQuery, }); - const { openLeftPanel } = useExpandableFlyoutApi(); - const openPanelTab = useCallback( - (tab?: EntityDetailsLeftPanelTab) => { - telemetry.reportEvent(EntityEventTypes.RiskInputsExpandedFlyoutOpened, { - entity: 'user', - }); - - openLeftPanel({ - id: UserDetailsPanelKey, - params: { - isRiskScoreExist: !!userRiskData?.user?.risk, - scopeId, - user: { - name: userName, - email, - }, - path: tab ? { tab } : undefined, - hasMisconfigurationFindings, - hasNonClosedAlerts, - }, - }); - }, - [ - telemetry, - openLeftPanel, - userRiskData?.user?.risk, - scopeId, - userName, - email, - hasMisconfigurationFindings, - hasNonClosedAlerts, - ] - ); + const { openDetailsPanel, isLinkEnabled } = useNavigateToUserDetails({ + userName, + email, + scopeId, + contextID, + isDraggable, + isRiskScoreExist: !!userRiskData?.user?.risk, + hasMisconfigurationFindings, + hasNonClosedAlerts, + isPreviewMode, + }); + const openPanelFirstTab = useCallback( () => - openPanelTab( - isRiskScoreExist + openDetailsPanel({ + tab: isRiskScoreExist ? EntityDetailsLeftPanelTab.RISK_INPUTS - : EntityDetailsLeftPanelTab.CSP_INSIGHTS - ), - [isRiskScoreExist, openPanelTab] + : EntityDetailsLeftPanelTab.CSP_INSIGHTS, + }), + [isRiskScoreExist, openDetailsPanel] ); const hasUserDetailsData = @@ -213,8 +188,9 @@ export const UserPanel = ({ contextID={contextID} scopeId={scopeId} isDraggable={!!isDraggable} - openDetailsPanel={!isPreviewMode ? openPanelTab : undefined} + openDetailsPanel={openDetailsPanel} isPreviewMode={isPreviewMode} + isLinkEnabled={isLinkEnabled} /> {isPreviewMode && ( ({ dsl: [request], response: [response], - }, + }), + [request, response] + ); + + useQueryInspector({ + deleteQuery, + inspect, refetch, setQuery, queryId, diff --git a/x-pack/solutions/security/plugins/security_solution/public/plugin.tsx b/x-pack/solutions/security/plugins/security_solution/public/plugin.tsx index 497b92637dad5..64146d5b587e4 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/plugin.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/plugin.tsx @@ -288,6 +288,7 @@ export class Plugin implements IPlugin(({ translationStats }) => { - const { colorMode } = useEuiTheme(); + const baseTheme = useElasticChartsTheme(); const translationResultColors = useResultVisColors(); const data = [ { @@ -154,11 +154,7 @@ const TranslationResultsChart = React.memo<{ return ( - + ; alerts: Awaited>; + assetInventory: Awaited>; attackDiscovery: ReturnType; cloudDefend: ReturnType; cloudSecurityPosture: ReturnType; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/install_prebuilt_rules_package.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/install_prebuilt_rules_package.ts index 23bcc654eb780..768a0deeeaa2b 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/install_prebuilt_rules_package.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/install_prebuilt_rules_package.ts @@ -22,7 +22,12 @@ export async function installPrebuiltRulesPackage( config: ConfigType, context: SecuritySolutionApiRequestHandlerContext ) { - const pkgVersion = await findLatestPackageVersion(config, context, PREBUILT_RULES_PACKAGE_NAME); + let pkgVersion = config.prebuiltRulesPackageVersion; + + if (!pkgVersion) { + // Find latest package if the version isn't specified in the config + pkgVersion = await findLatestPackageVersion(context, PREBUILT_RULES_PACKAGE_NAME); + } return context .getInternalFleetServices() @@ -33,7 +38,7 @@ export async function installEndpointPackage( config: ConfigType, context: SecuritySolutionApiRequestHandlerContext ) { - const pkgVersion = await findLatestPackageVersion(config, context, ENDPOINT_PACKAGE_NAME); + const pkgVersion = await findLatestPackageVersion(context, ENDPOINT_PACKAGE_NAME); return context.getInternalFleetServices().packages.ensureInstalledPackage({ pkgName: ENDPOINT_PACKAGE_NAME, @@ -42,25 +47,21 @@ export async function installEndpointPackage( } async function findLatestPackageVersion( - config: ConfigType, context: SecuritySolutionApiRequestHandlerContext, packageName: string ) { - let pkgVersion = config.prebuiltRulesPackageVersion; + const securityAppClient = context.getAppClient(); + const packageClient = context.getInternalFleetServices().packages; - // Find latest package if the version isn't specified in the config - if (!pkgVersion) { - const securityAppClient = context.getAppClient(); - // Use prerelease versions in dev environment - const isPrerelease = - securityAppClient.getBuildFlavor() === 'traditional' && - (securityAppClient.getKibanaVersion().includes('-SNAPSHOT') || - securityAppClient.getKibanaBranch() === 'main'); + // Use prerelease versions in dev environment + const isPrerelease = + securityAppClient.getBuildFlavor() === 'traditional' && + (securityAppClient.getKibanaVersion().includes('-SNAPSHOT') || + securityAppClient.getKibanaBranch() === 'main'); - const result = await context - .getInternalFleetServices() - .packages.fetchFindLatestPackage(packageName, { prerelease: isPrerelease }); - pkgVersion = result.version; - } - return pkgVersion; + const result = await packageClient.fetchFindLatestPackage(packageName, { + prerelease: isPrerelease, + }); + + return result.version; } diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/algorithms/multi_line_string_diff_algorithm.test.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/algorithms/multi_line_string_diff_algorithm.test.ts index 8f0b3586066fa..4ecb828a77d4c 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/algorithms/multi_line_string_diff_algorithm.test.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/algorithms/multi_line_string_diff_algorithm.test.ts @@ -174,11 +174,11 @@ describe('multiLineStringDiffAlgorithm', () => { const result = multiLineStringDiffAlgorithm(mockVersions); const endTime = performance.now(); - // If the regex merge in this function takes over 1 sec, this test fails + // If the regex merge in this function takes over 2 sec, this test fails // Performance measurements: https://github.com/elastic/kibana/pull/199388 // NOTE: despite the fact that this test runs in ~50ms locally, on CI it - // runs slower and can be flaky even with a 500ms threshold. - expect(endTime - startTime).toBeLessThan(1000); + // runs ~10x slower and can be flaky even with a 1000ms threshold. + expect(endTime - startTime).toBeLessThan(2000); expect(result).toEqual( expect.objectContaining({ diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client.ts index 76625966a1eae..7bbaaee342492 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client.ts @@ -5,8 +5,10 @@ * 2.0. */ -import type { AggregationsMultiBucketAggregateBase } from '@elastic/elasticsearch/lib/api/types'; -import type { AggregationsTopHitsAggregate } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { + AggregationsMultiBucketAggregateBase, + AggregationsTopHitsAggregate, +} from '@elastic/elasticsearch/lib/api/types'; import type { SavedObjectsClientContract } from '@kbn/core/server'; import { invariant } from '../../../../../../common/utils/invariant'; import { withSecuritySpan } from '../../../../../utils/with_security_span'; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/health_stats_for_rule.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/health_stats_for_rule.ts index 72d93f0d67777..28e1d4ee838d7 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/health_stats_for_rule.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/health_stats_for_rule.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { AggregateEventsBySavedObjectResult } from '@kbn/event-log-plugin/server'; import type { diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/rule_execution_stats.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/rule_execution_stats.ts index 5b667770ffa5d..141831b98263a 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/rule_execution_stats.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/aggregations/rule_execution_stats.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import { mapValues } from 'lodash'; import type { diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/event_log_health_client.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/event_log_health_client.ts index a5138885b69f5..851f16f21d911 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/event_log_health_client.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/event_log/event_log_health_client.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { Logger } from '@kbn/core/server'; import { SavedObjectsUtils } from '@kbn/core/server'; import type { KueryNode } from '@kbn/es-query'; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_cluster.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_cluster.ts index f8596ddb7711c..3ceecf16da15b 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_cluster.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_cluster.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { ClusterHealthState } from '../../../../../../../../common/api/detection_engine/rule_monitoring'; import { getRuleStatsAggregation, normalizeRuleStatsAggregation } from './rule_stats'; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_space.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_space.ts index 1654459e2ea85..8548baef05f31 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_space.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/health_stats_for_space.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { SpaceHealthState } from '../../../../../../../../common/api/detection_engine/rule_monitoring'; import { getRuleStatsAggregation, normalizeRuleStatsAggregation } from './rule_stats'; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/rule_stats.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/rule_stats.ts index 1dc2230909bc3..8d616d8fc677c 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/rule_stats.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_objects/aggregations/rule_stats.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { HealthOverviewState, TotalEnabledDisabled, diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_spaces/aggregations/spaces.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_spaces/aggregations/spaces.ts index bae44b17c2f92..c95ce108afe38 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_spaces/aggregations/spaces.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/rule_spaces/aggregations/spaces.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { RawData } from '../../../utils/normalization'; // The number of Kibana spaces is limited by the `maxSpaces` config setting of the spaces plugin. diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/index.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/index.ts index a744732ddc32d..6d35b25110d6a 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/index.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { AggregateEventsBySavedObjectResult } from '@kbn/event-log-plugin/server'; import { BadRequestError } from '@kbn/securitysolution-es-utils'; import { MAX_EXECUTION_EVENTS_DISPLAYED } from '@kbn/securitysolution-rules'; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/types.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/types.ts index c09a8c4edc57b..70ab3e746e961 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/types.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/aggregations/execution_results/types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { RuleRunType } from '../../../../../../../../../common/api/detection_engine/rule_monitoring'; type AlertCounts = estypes.AggregationsMultiBucketAggregateBase & { diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/event_log_reader.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/event_log_reader.ts index 768e32d277b94..c61e696e30673 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/event_log_reader.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/event_log_reader.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { IEventLogClient, IValidatedEvent } from '@kbn/event-log-plugin/server'; import { MAX_EXECUTION_EVENTS_DISPLAYED } from '@kbn/securitysolution-rules'; import type { diff --git a/x-pack/solutions/security/plugins/security_solution/server/plugin.ts b/x-pack/solutions/security/plugins/security_solution/server/plugin.ts index d8fa5c61ee7f3..946caee4600c1 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/plugin.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/plugin.ts @@ -573,6 +573,7 @@ export class Plugin implements ISecuritySolutionPlugin { plugins.elasticAssistant.registerTools(APP_UI_ID, assistantTools); const features = { assistantModelEvaluation: config.experimentalFeatures.assistantModelEvaluation, + attackDiscoveryAlertFiltering: config.experimentalFeatures.attackDiscoveryAlertFiltering, }; plugins.elasticAssistant.registerFeatures(APP_UI_ID, features); plugins.elasticAssistant.registerFeatures('management', features); diff --git a/x-pack/solutions/security/plugins/security_solution/tsconfig.json b/x-pack/solutions/security/plugins/security_solution/tsconfig.json index 7729f14bca7e9..655fe3a489694 100644 --- a/x-pack/solutions/security/plugins/security_solution/tsconfig.json +++ b/x-pack/solutions/security/plugins/security_solution/tsconfig.json @@ -215,6 +215,7 @@ "@kbn/cbor", "@kbn/zod", "@kbn/cloud-security-posture", + "@kbn/asset-inventory-plugin", "@kbn/security-solution-distribution-bar", "@kbn/cloud-security-posture-common", "@kbn/cloud-security-posture-graph", @@ -235,6 +236,7 @@ "@kbn/index-adapter", "@kbn/core-http-server-utils", "@kbn/llm-tasks-plugin", - "@kbn/ai-assistant-icon" + "@kbn/ai-assistant-icon", + "@kbn/charts-theme" ] } diff --git a/x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/enablement_modal_callout.tsx b/x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/additional_charges_message.tsx similarity index 84% rename from x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/enablement_modal_callout.tsx rename to x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/additional_charges_message.tsx index 0048a0547ecf5..5e1fe86ef90d0 100644 --- a/x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/enablement_modal_callout.tsx +++ b/x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/additional_charges_message.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { EuiText } from '@elastic/eui'; import { ADDITIONAL_CHARGES_MESSAGE } from '../../upselling/translations'; -export const EnablementModalCallout: React.FC = () => { +export const AdditionalChargesMessage: React.FC = () => { return (
{ADDITIONAL_CHARGES_MESSAGE} @@ -18,4 +18,4 @@ export const EnablementModalCallout: React.FC = () => { }; // eslint-disable-next-line import/no-default-export -export default EnablementModalCallout; +export default AdditionalChargesMessage; diff --git a/x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/index.tsx b/x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/index.tsx similarity index 68% rename from x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/index.tsx rename to x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/index.tsx index 0bc65a33d6530..c35e4ed653ffa 100644 --- a/x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/index.tsx @@ -7,13 +7,13 @@ import React from 'react'; import type { Services } from '../../common/services'; import { ServicesProvider } from '../../common/services'; -import { EnablementModalCallout } from './lazy'; +import { AdditionalChargesMessage } from './lazy'; -export const getEnablementModalCallout = (services: Services): React.ComponentType => - function EnablementModalCalloutComponent() { +export const getAdditionalChargesMessage = (services: Services): React.ComponentType => + function AdditionalChargesMessageComponent() { return ( - + ); }; diff --git a/x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/lazy.tsx b/x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/lazy.tsx similarity index 70% rename from x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/lazy.tsx rename to x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/lazy.tsx index 547a15fc535e9..e2708b7351019 100644 --- a/x-pack/solutions/security/plugins/security_solution_serverless/public/components/enablement_modal_callout/lazy.tsx +++ b/x-pack/solutions/security/plugins/security_solution_serverless/public/components/additional_charges_message/lazy.tsx @@ -8,10 +8,10 @@ import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; -const EnablementModalCalloutLazy = lazy(() => import('./enablement_modal_callout')); +const AdditionalChargesMessageLazy = lazy(() => import('./additional_charges_message')); -export const EnablementModalCallout = () => ( +export const AdditionalChargesMessage = () => ( }> - + ); diff --git a/x-pack/solutions/security/plugins/security_solution_serverless/public/plugin.ts b/x-pack/solutions/security/plugins/security_solution_serverless/public/plugin.ts index 30e0f86ccdacf..09eb56ec0edcb 100644 --- a/x-pack/solutions/security/plugins/security_solution_serverless/public/plugin.ts +++ b/x-pack/solutions/security/plugins/security_solution_serverless/public/plugin.ts @@ -23,7 +23,7 @@ import { type ExperimentalFeatures, } from '../common/experimental_features'; import { setOnboardingSettings } from './onboarding'; -import { getEnablementModalCallout } from './components/enablement_modal_callout'; +import { getAdditionalChargesMessage } from './components/additional_charges_message'; export class SecuritySolutionServerlessPlugin implements @@ -70,7 +70,7 @@ export class SecuritySolutionServerlessPlugin securitySolution.setComponents({ DashboardsLandingCallout: getDashboardsLandingCallout(services), - EnablementModalCallout: getEnablementModalCallout(services), + AdditionalChargesMessage: getAdditionalChargesMessage(services), }); setOnboardingSettings(services); diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts index ddd2ed954efe7..4d5204b067643 100644 --- a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts +++ b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/execute.ts @@ -573,6 +573,84 @@ export default function ({ getService }: FtrProviderContext) { throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); } }); + + it('should log api key information from execute request', async () => { + const { body: createdApiKey } = await supertest + .post(`/internal/security/api_key`) + .set('kbn-xsrf', 'foo') + .send({ name: 'test user managed key' }) + .expect(200); + const apiKey = createdApiKey.encoded; + + const connectorTypeId = 'test.index-record'; + const { body: createdConnector } = await supertest + .post(`${getUrlPrefix(space.id)}/api/actions/connector`) + .set('kbn-xsrf', 'foo') + .send({ + name: 'My Connector', + connector_type_id: connectorTypeId, + config: { + unencrypted: `This value shouldn't get encrypted`, + }, + secrets: { + encrypted: 'This value should be encrypted', + }, + }) + .expect(200); + objectRemover.add(space.id, createdConnector.id, 'connector', 'actions'); + + const reference = `actions-execute-1:${user.username}`; + const response = await supertestWithoutAuth + .post(`${getUrlPrefix(space.id)}/api/actions/connector/${createdConnector.id}/_execute`) + .set('kbn-xsrf', 'foo') + .set('Authorization', `ApiKey ${apiKey}`) + .send({ + params: { + reference, + index: ES_TEST_INDEX_NAME, + message: 'Testing 123', + }, + }); + + switch (scenario.id) { + case 'no_kibana_privileges at space1': + case 'space_1_all_alerts_none_actions at space1': + case 'space_1_all at space2': + case 'global_read at space1': + case 'superuser at space1': + case 'space_1_all at space1': + case 'space_1_all_with_restricted_fixture at space1': + case 'system_actions at space1': + expect(response.statusCode).to.eql(200); + expect(response.body).to.be.an('object'); + const searchResult = await esTestIndexTool.search( + 'action:test.index-record', + reference + ); + // @ts-expect-error doesnt handle total: number + expect(searchResult.body.hits.total.value > 0).to.be(true); + + const events: IValidatedEvent[] = await retry.try(async () => { + return await getEventLog({ + getService, + spaceId: space.id, + type: 'action', + id: createdConnector.id, + provider: 'actions', + actions: new Map([ + ['execute-start', { equal: 1 }], + ['execute', { equal: 1 }], + ]), + }); + }); + const executeEvent = events[1]; + expect(executeEvent?.kibana?.user_api_key?.id).to.eql(createdApiKey.id); + expect(executeEvent?.kibana?.user_api_key?.name).to.eql(createdApiKey.name); + break; + default: + throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); + } + }); }); } }); diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/group3/tests/maintenance_window/find_maintenance_windows.ts b/x-pack/test/alerting_api_integration/security_and_spaces/group3/tests/maintenance_window/find_maintenance_windows.ts index a91a323ac1250..7c0067b159c8e 100644 --- a/x-pack/test/alerting_api_integration/security_and_spaces/group3/tests/maintenance_window/find_maintenance_windows.ts +++ b/x-pack/test/alerting_api_integration/security_and_spaces/group3/tests/maintenance_window/find_maintenance_windows.ts @@ -26,6 +26,7 @@ export default function findMaintenanceWindowTests({ getService }: FtrProviderCo freq: 2, // weekly }, }; + afterEach(() => objectRemover.removeAll()); for (const scenario of UserAtSpaceScenarios) { @@ -146,8 +147,8 @@ export default function findMaintenanceWindowTests({ getService }: FtrProviderCo case 'space_1_all at space1': expect(response.body.total).to.eql(2); expect(response.statusCode).to.eql(200); - expect(response.body.data[0].id).to.eql(createdMaintenanceWindow1.id); - expect(response.body.data[0].title).to.eql('test-maintenance-window'); + expect(response.body.data[0].id).to.eql(createdMaintenanceWindow2.id); + expect(response.body.data[0].title).to.eql('test-maintenance-window2'); break; default: throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); @@ -205,6 +206,340 @@ export default function findMaintenanceWindowTests({ getService }: FtrProviderCo throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); } }); + + it('should filter maintenance windows based on search text', async () => { + const { body: createdMaintenanceWindow1 } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send(createParams); + + const { body: createdMaintenanceWindow2 } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ ...createParams, title: 'search-name' }); + + objectRemover.add( + space.id, + createdMaintenanceWindow1.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + createdMaintenanceWindow2.id, + 'rules/maintenance_window', + 'alerting', + true + ); + + const response = await supertestWithoutAuth + .get( + `${getUrlPrefix( + space.id + )}/internal/alerting/rules/maintenance_window/_find?page=1&per_page=1&search=search-name` + ) + .set('kbn-xsrf', 'foo') + .auth(user.username, user.password) + .send({}); + + switch (scenario.id) { + case 'no_kibana_privileges at space1': + case 'space_1_all at space2': + case 'space_1_all_with_restricted_fixture at space1': + case 'space_1_all_alerts_none_actions at space1': + expect(response.statusCode).to.eql(403); + expect(response.body).to.eql({ + error: 'Forbidden', + message: + 'API [GET /internal/alerting/rules/maintenance_window/_find?page=1&per_page=1&search=search-name] is unauthorized for user, this action is granted by the Kibana privileges [read-maintenance-window]', + statusCode: 403, + }); + break; + case 'global_read at space1': + case 'superuser at space1': + case 'space_1_all at space1': + expect(response.body.total).to.eql(1); + expect(response.statusCode).to.eql(200); + expect(response.body.data[0].id).to.eql(createdMaintenanceWindow2.id); + expect(response.body.data[0].title).to.eql('search-name'); + break; + default: + throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); + } + }); + + it('should filter maintenance windows based on running status', async () => { + const { body: runningMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ ...createParams, title: 'test-running-maintenance-window' }); + + const { body: upcomingMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ + title: 'test-upcoming-maintenance-window', + duration: 60 * 60 * 1000, // 1 hr + r_rule: { + dtstart: new Date(new Date().getTime() - 60 * 60 * 1000).toISOString(), + tzid: 'UTC', + freq: 2, // weekly + }, + }); + const { body: finishedMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ + title: 'test-finished-maintenance-window', + duration: 60 * 60 * 1000, // 1 hr + r_rule: { + dtstart: new Date('05-01-2023').toISOString(), + tzid: 'UTC', + freq: 1, + count: 1, + }, + }); + + objectRemover.add( + space.id, + runningMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + upcomingMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + finishedMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + + const response = await supertestWithoutAuth + .get( + `${getUrlPrefix( + space.id + )}/internal/alerting/rules/maintenance_window/_find?page=1&per_page=10&status=running` + ) + .set('kbn-xsrf', 'foo') + .auth(user.username, user.password) + .send({}); + + switch (scenario.id) { + case 'no_kibana_privileges at space1': + case 'space_1_all at space2': + case 'space_1_all_with_restricted_fixture at space1': + case 'space_1_all_alerts_none_actions at space1': + expect(response.statusCode).to.eql(403); + expect(response.body).to.eql({ + error: 'Forbidden', + message: + 'API [GET /internal/alerting/rules/maintenance_window/_find?page=1&per_page=10&status=running] is unauthorized for user, this action is granted by the Kibana privileges [read-maintenance-window]', + statusCode: 403, + }); + break; + case 'global_read at space1': + case 'superuser at space1': + case 'space_1_all at space1': + expect(response.body.total).to.eql(1); + expect(response.statusCode).to.eql(200); + expect(response.body.data[0].title).to.eql('test-running-maintenance-window'); + expect(response.body.data[0].status).to.eql('running'); + break; + default: + throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); + } + }); + + it('should filter maintenance windows based on upcomimg status', async () => { + const { body: runningMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ ...createParams, title: 'test-running-maintenance-window' }); + + const { body: upcomingMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ + title: 'test-upcoming-maintenance-window', + duration: 60 * 60 * 1000, // 1 hr + r_rule: { + dtstart: new Date(new Date().getTime() - 60 * 60 * 1000).toISOString(), + tzid: 'UTC', + freq: 2, // weekly + }, + }); + const { body: finishedMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ + title: 'test-finished-maintenance-window', + duration: 60 * 60 * 1000, // 1 hr + r_rule: { + dtstart: new Date('05-01-2023').toISOString(), + tzid: 'UTC', + freq: 1, + count: 1, + }, + }); + + objectRemover.add( + space.id, + runningMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + upcomingMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + finishedMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + + const response = await supertestWithoutAuth + .get( + `${getUrlPrefix( + space.id + )}/internal/alerting/rules/maintenance_window/_find?page=1&per_page=10&status=upcoming` + ) + .set('kbn-xsrf', 'foo') + .auth(user.username, user.password) + .send({}); + + switch (scenario.id) { + case 'no_kibana_privileges at space1': + case 'space_1_all at space2': + case 'space_1_all_with_restricted_fixture at space1': + case 'space_1_all_alerts_none_actions at space1': + expect(response.statusCode).to.eql(403); + expect(response.body).to.eql({ + error: 'Forbidden', + message: + 'API [GET /internal/alerting/rules/maintenance_window/_find?page=1&per_page=10&status=upcoming] is unauthorized for user, this action is granted by the Kibana privileges [read-maintenance-window]', + statusCode: 403, + }); + break; + case 'global_read at space1': + case 'superuser at space1': + case 'space_1_all at space1': + expect(response.body.total).to.eql(1); + expect(response.statusCode).to.eql(200); + expect(response.body.data[0].title).to.eql('test-upcoming-maintenance-window'); + expect(response.body.data[0].status).to.eql('upcoming'); + break; + default: + throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); + } + }); + + it('should filter maintenance windows based on finished and running status', async () => { + const { body: runningMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ ...createParams, title: 'test-running-maintenance-window' }); + + const { body: upcomingMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ + title: 'test-upcoming-maintenance-window', + duration: 60 * 60 * 1000, // 1 hr + r_rule: { + dtstart: new Date(new Date().getTime() - 60 * 60 * 1000).toISOString(), + tzid: 'UTC', + freq: 2, // weekly + }, + }); + const { body: finishedMaintenanceWindow } = await supertest + .post(`${getUrlPrefix(space.id)}/internal/alerting/rules/maintenance_window`) + .set('kbn-xsrf', 'foo') + .send({ + title: 'test-finished-maintenance-window', + duration: 60 * 60 * 1000, // 1 hr + r_rule: { + dtstart: new Date('05-01-2023').toISOString(), + tzid: 'UTC', + freq: 1, + count: 1, + }, + }); + + objectRemover.add( + space.id, + runningMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + upcomingMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + objectRemover.add( + space.id, + finishedMaintenanceWindow.id, + 'rules/maintenance_window', + 'alerting', + true + ); + + const response = await supertestWithoutAuth + .get( + `${getUrlPrefix( + space.id + )}/internal/alerting/rules/maintenance_window/_find?page=1&per_page=10&status=running&status=finished` + ) + .set('kbn-xsrf', 'foo') + .auth(user.username, user.password) + .send({}); + + switch (scenario.id) { + case 'no_kibana_privileges at space1': + case 'space_1_all at space2': + case 'space_1_all_with_restricted_fixture at space1': + case 'space_1_all_alerts_none_actions at space1': + expect(response.statusCode).to.eql(403); + expect(response.body).to.eql({ + error: 'Forbidden', + message: + 'API [GET /internal/alerting/rules/maintenance_window/_find?page=1&per_page=10&status=running&status=finished] is unauthorized for user, this action is granted by the Kibana privileges [read-maintenance-window]', + statusCode: 403, + }); + break; + case 'global_read at space1': + case 'superuser at space1': + case 'space_1_all at space1': + expect(response.body.total).to.eql(2); + expect(response.statusCode).to.eql(200); + expect(response.body.data[0].title).to.eql('test-finished-maintenance-window'); + expect(response.body.data[0].status).to.eql('finished'); + expect(response.body.data[1].title).to.eql('test-running-maintenance-window'); + expect(response.body.data[1].status).to.eql('running'); + break; + default: + throw new Error(`Scenario untested: ${JSON.stringify(scenario)}`); + } + }); }); } }); diff --git a/x-pack/test/api_integration/apis/entity_manager/builtin_definitions.ts b/x-pack/test/api_integration/apis/entity_manager/builtin_definitions.ts deleted file mode 100644 index 66ca29c10cc9d..0000000000000 --- a/x-pack/test/api_integration/apis/entity_manager/builtin_definitions.ts +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import semver from 'semver'; -import expect from '@kbn/expect'; -import { builtInDefinitions } from '@kbn/entityManager-plugin/server/lib/entities/built_in'; -import { ERROR_API_KEY_NOT_FOUND } from '@kbn/entityManager-plugin/public'; -import { builtInEntityDefinition as mockBuiltInEntityDefinition } from '@kbn/entityManager-plugin/server/lib/entities/helpers/fixtures'; -import { EntityDefinition } from '@kbn/entities-schema'; -import { EntityDefinitionWithState } from '@kbn/entityManager-plugin/server/lib/entities/types'; -import { FtrProviderContext } from '../../ftr_provider_context'; -import { createAdmin, createRuntimeUser } from './helpers/user'; -import { Auth, getInstalledDefinitions, upgradeBuiltinDefinitions } from './helpers/request'; - -export default function ({ getService }: FtrProviderContext) { - const esClient = getService('es'); - const supertest = getService('supertest'); - const supertestWithoutAuth = getService('supertestWithoutAuth'); - - const enablementRequest = - (method: 'get' | 'put' | 'delete') => - async (auth: Auth, expectedCode: number, query: { [key: string]: any } = {}) => { - const response = await supertestWithoutAuth[method]('/internal/entities/managed/enablement') - .auth(auth.username, auth.password) - .query(query) - .set('kbn-xsrf', 'xxx') - .send() - .expect(expectedCode); - return response.body; - }; - - const entityDiscoveryState = enablementRequest('get'); - const enableEntityDiscovery = enablementRequest('put'); - const disableEntityDiscovery = enablementRequest('delete'); - - const expectNoInstalledDefinitions = async () => { - const definitionsResponse = await getInstalledDefinitions(supertest); - expect(definitionsResponse.definitions).to.eql([]); - }; - - const isInstalledAndRunning = ( - definition: EntityDefinition, - installedDefinitions: EntityDefinitionWithState[] - ) => { - return installedDefinitions.find((installedDefinition) => { - return ( - installedDefinition.id === definition.id && - installedDefinition.version === definition.version && - installedDefinition.state.installed && - installedDefinition.state.running - ); - }); - }; - - describe('Entity discovery builtin definitions', () => { - let authorizedUser: { username: string; password: string }; - let unauthorizedUser: { username: string; password: string }; - - before(async () => { - [authorizedUser, unauthorizedUser] = await Promise.all([ - createAdmin({ esClient }), - createRuntimeUser({ esClient }), - ]); - }); - - describe('enablement/disablement', () => { - describe('with authorized user', () => { - it('should enable and disable entity discovery', async () => { - const enableResponse = await enableEntityDiscovery(authorizedUser, 200); - expect(enableResponse.success).to.eql(true, "authorized user can't enable EEM"); - - const definitionsResponse = await getInstalledDefinitions(supertestWithoutAuth, { - auth: authorizedUser, - }); - expect(definitionsResponse.definitions.length).to.eql(builtInDefinitions.length); - expect( - builtInDefinitions.every((builtin) => - isInstalledAndRunning(builtin, definitionsResponse.definitions) - ) - ).to.eql(true, 'all builtin definitions are not installed/running'); - - let stateResponse = await entityDiscoveryState(authorizedUser, 200); - expect(stateResponse.enabled).to.eql( - true, - `EEM is not enabled; response: ${JSON.stringify(stateResponse)}` - ); - - const disableResponse = await disableEntityDiscovery(authorizedUser, 200, { - deleteData: true, - }); - expect(disableResponse.success).to.eql( - true, - `authorized user failed to disable EEM; response: ${JSON.stringify(disableResponse)}` - ); - - stateResponse = await entityDiscoveryState(authorizedUser, 200); - expect(stateResponse.enabled).to.eql(false, 'EEM is not disabled'); - - await expectNoInstalledDefinitions(); - }); - }); - - describe('with unauthorized user', () => { - it('should fail to enable entity discovery', async () => { - await enableEntityDiscovery(unauthorizedUser, 403); - - const stateResponse = await entityDiscoveryState(unauthorizedUser, 200); - expect(stateResponse.enabled).to.eql(false, 'EEM is enabled'); - - await expectNoInstalledDefinitions(); - }); - - it('should fail to disable entity discovery', async () => { - const enableResponse = await enableEntityDiscovery(authorizedUser, 200); - expect(enableResponse.success).to.eql(true, "authorized user can't enable EEM"); - - await disableEntityDiscovery(unauthorizedUser, 403); - - const disableResponse = await disableEntityDiscovery(authorizedUser, 200, { - deleteData: true, - }); - expect(disableResponse.success).to.eql(true, "authorized user can't disable EEM"); - }); - }); - }); - - describe('upgrade', () => { - it('should noop when no api key stored', async () => { - const result = await upgradeBuiltinDefinitions(supertest, []); - expect(result).to.eql({ success: false, reason: ERROR_API_KEY_NOT_FOUND }); - }); - - it('should upgrade existing definitions', async () => { - await expectNoInstalledDefinitions(); - - const enableResponse = await enableEntityDiscovery(authorizedUser, 200); - expect(enableResponse.success).to.eql(true, "authorized user can't enable EEM"); - - let definitionsResponse = await getInstalledDefinitions(supertest); - expect(definitionsResponse.definitions.length).to.eql(builtInDefinitions.length); - - // increment the version of builtin definitions - const updatedBuiltinDefinitions = definitionsResponse.definitions.map((definition) => { - return { - ...definition, - version: semver.inc(definition.version, 'minor')!, - }; - }); - - const upgradeResponse = await upgradeBuiltinDefinitions( - supertest, - updatedBuiltinDefinitions - ); - expect(upgradeResponse.success).to.eql(true); - - // check builtin definitions are running the latest version - definitionsResponse = await getInstalledDefinitions(supertest); - expect(definitionsResponse.definitions.length).to.eql(builtInDefinitions.length); - expect( - updatedBuiltinDefinitions.every((builtin) => - isInstalledAndRunning(builtin, definitionsResponse.definitions) - ) - ).to.eql(true, 'all builtin definitions are not installed/running'); - - await disableEntityDiscovery(authorizedUser, 200, { deleteData: true }); - }); - }); - - it('should install new builtin definitions', async () => { - await expectNoInstalledDefinitions(); - - const enableResponse = await enableEntityDiscovery(authorizedUser, 200); - expect(enableResponse.success).to.eql(true, "authorized user can't enable EEM"); - - // inject definition to simulate release of new builtin definition - const latestBuiltInDefinitions = [...builtInDefinitions, mockBuiltInEntityDefinition]; - const upgradeResponse = await upgradeBuiltinDefinitions(supertest, latestBuiltInDefinitions); - expect(upgradeResponse.success).to.eql(true, 'upgrade was not successful'); - - const definitionsResponse = await getInstalledDefinitions(supertest); - expect(definitionsResponse.definitions.length).to.eql(latestBuiltInDefinitions.length); - expect( - isInstalledAndRunning(mockBuiltInEntityDefinition, definitionsResponse.definitions) - ).to.ok(); - - await disableEntityDiscovery(authorizedUser, 200, { deleteData: true }); - }); - }); -} diff --git a/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/server/plugin.ts b/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/server/plugin.ts index cbab8b78f3fed..1d7d9deac15a7 100644 --- a/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/server/plugin.ts +++ b/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/server/plugin.ts @@ -5,21 +5,9 @@ * 2.0. */ -import { z } from '@kbn/zod'; -import { - Plugin, - CoreSetup, - RequestHandlerContext, - KibanaRequest, - KibanaResponseFactory, - Logger, - PluginInitializerContext, -} from '@kbn/core/server'; -import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; -import { upgradeBuiltInEntityDefinitions } from '@kbn/entityManager-plugin/server/lib/entities/upgrade_entity_definition'; +import { Plugin, PluginInitializerContext } from '@kbn/core/server'; import { SecurityPluginStart } from '@kbn/security-plugin-types-server'; import { EncryptedSavedObjectsPluginStart } from '@kbn/encrypted-saved-objects-plugin/server'; -import { entityDefinitionSchema } from '@kbn/entities-schema'; interface FixtureStartDeps { encryptedSavedObjects: EncryptedSavedObjectsPluginStart; @@ -27,48 +15,9 @@ interface FixtureStartDeps { } export class FixturePlugin implements Plugin { - private logger: Logger; - - constructor(context: PluginInitializerContext<{}>) { - this.logger = context.logger.get(); - } - - public setup(core: CoreSetup) { - core.http.createRouter().post( - { - path: '/api/entities/upgrade_builtin_definitions', - validate: { - body: buildRouteValidationWithZod( - z.object({ - definitions: z.array(entityDefinitionSchema), - }) - ), - }, - }, - async ( - context: RequestHandlerContext, - req: KibanaRequest, - res: KibanaResponseFactory - ) => { - const [coreStart, { encryptedSavedObjects, security }] = await core.getStartServices(); - - const result = await upgradeBuiltInEntityDefinitions({ - definitions: req.body.definitions, - server: { - encryptedSavedObjects, - security, - core: coreStart, - logger: this.logger, - config: {}, - isServerless: false, - }, - }); - - return res.ok({ body: result }); - } - ); - } + constructor(context: PluginInitializerContext<{}>) {} + public setup() {} public start() {} public stop() {} } diff --git a/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.json b/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.json index 9585fdab7e4ee..b4a7a55c3eb04 100644 --- a/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.json +++ b/x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.json @@ -11,11 +11,7 @@ "@kbn/core", "@kbn/encrypted-saved-objects-plugin", "@kbn/core-plugins-server", - "@kbn/zod-helpers", - "@kbn/entityManager-plugin", "@kbn/security-plugin-types-server", - "@kbn/entities-schema", - "@kbn/zod", ], "exclude": [ "target/**/*", diff --git a/x-pack/test/api_integration/apis/entity_manager/index.ts b/x-pack/test/api_integration/apis/entity_manager/index.ts index 960eedb25df5f..26bf23b913db7 100644 --- a/x-pack/test/api_integration/apis/entity_manager/index.ts +++ b/x-pack/test/api_integration/apis/entity_manager/index.ts @@ -11,7 +11,6 @@ export default function ({ loadTestFile }: FtrProviderContext) { describe('Entity Manager', function () { this.tags(['entityManager']); - loadTestFile(require.resolve('./builtin_definitions')); loadTestFile(require.resolve('./definitions')); loadTestFile(require.resolve('./count')); loadTestFile(require.resolve('./search')); diff --git a/x-pack/test/api_integration/apis/management/index_management/data_streams.ts b/x-pack/test/api_integration/apis/management/index_management/data_streams.ts index 2976d4eac03b4..6ea9c601f6cc3 100644 --- a/x-pack/test/api_integration/apis/management/index_management/data_streams.ts +++ b/x-pack/test/api_integration/apis/management/index_management/data_streams.ts @@ -182,17 +182,38 @@ export default function ({ getService }: FtrProviderContext) { }); describe('Update', () => { - const testDataStreamName = 'test-data-stream'; + const testDataStreamName1 = 'test-data-stream1'; + const testDataStreamName2 = 'test-data-stream2'; - before(async () => await createDataStream(testDataStreamName)); - after(async () => await deleteDataStream(testDataStreamName)); + before(async () => { + await createDataStream(testDataStreamName1); + await createDataStream(testDataStreamName2); + }); + after(async () => { + await deleteDataStream(testDataStreamName1); + await deleteDataStream(testDataStreamName2); + }); it('updates the data retention of a DS', async () => { const { body } = await supertest - .put(`${API_BASE_PATH}/data_streams/${testDataStreamName}/data_retention`) + .put(`${API_BASE_PATH}/data_streams/data_retention`) .set('kbn-xsrf', 'xxx') .send({ dataRetention: '7d', + dataStreams: [testDataStreamName1], + }) + .expect(200); + + expect(body).to.eql({ success: true }); + }); + + it('updates the data retention of multiple DS', async () => { + const { body } = await supertest + .put(`${API_BASE_PATH}/data_streams/data_retention`) + .set('kbn-xsrf', 'xxx') + .send({ + dataRetention: '7d', + dataStreams: [testDataStreamName1, testDataStreamName2], }) .expect(200); @@ -201,9 +222,11 @@ export default function ({ getService }: FtrProviderContext) { it('sets data retention to infinite', async () => { const { body } = await supertest - .put(`${API_BASE_PATH}/data_streams/${testDataStreamName}/data_retention`) + .put(`${API_BASE_PATH}/data_streams/data_retention`) .set('kbn-xsrf', 'xxx') - .send({}) + .send({ + dataStreams: [testDataStreamName1], + }) .expect(200); expect(body).to.eql({ success: true }); @@ -211,14 +234,14 @@ export default function ({ getService }: FtrProviderContext) { it('can disable lifecycle for a given policy', async () => { const { body } = await supertest - .put(`${API_BASE_PATH}/data_streams/${testDataStreamName}/data_retention`) + .put(`${API_BASE_PATH}/data_streams/data_retention`) .set('kbn-xsrf', 'xxx') - .send({ enabled: false }) + .send({ enabled: false, dataStreams: [testDataStreamName1] }) .expect(200); expect(body).to.eql({ success: true }); - const datastream = await getDatastream(testDataStreamName); + const datastream = await getDatastream(testDataStreamName1); expect(datastream.lifecycle).to.be(undefined); }); }); diff --git a/x-pack/test/api_integration/apis/maps/bsearch.ts b/x-pack/test/api_integration/apis/maps/bsearch.ts deleted file mode 100644 index c3161bdfdfa39..0000000000000 --- a/x-pack/test/api_integration/apis/maps/bsearch.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import request from 'superagent'; -import { inflateResponse } from '@kbn/bfetch-plugin/public/streaming'; -import expect from '@kbn/expect'; -import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common'; -import { BFETCH_ROUTE_VERSION_LATEST } from '@kbn/bfetch-plugin/common'; -import type { FtrProviderContext } from '../../ftr_provider_context'; - -function parseBfetchResponse(resp: request.Response, compressed: boolean = false) { - return resp.text - .trim() - .split('\n') - .map((item) => { - return JSON.parse(compressed ? inflateResponse(item) : item); - }); -} - -export default function ({ getService }: FtrProviderContext) { - const supertest = getService('supertest'); - - // Failing: See https://github.com/elastic/kibana/issues/194716 - describe.skip('bsearch', () => { - describe('ES|QL', () => { - it(`should return getColumns response in expected shape`, async () => { - const resp = await supertest - .post(`/internal/bsearch`) - .set('kbn-xsrf', 'kibana') - .set(ELASTIC_HTTP_VERSION_HEADER, BFETCH_ROUTE_VERSION_LATEST) - .send({ - batch: [ - { - request: { - params: { - query: 'from logstash-* | keep geo.coordinates | limit 0', - }, - }, - options: { - strategy: 'esql', - }, - }, - ], - }); - - const jsonBody = parseBfetchResponse(resp); - expect(resp.status).to.be(200); - expect(jsonBody[0].result.rawResponse).to.eql({ - columns: [ - { - name: 'geo.coordinates', - type: 'geo_point', - }, - ], - values: [], - }); - }); - - it(`should return getValues response in expected shape`, async () => { - const resp = await supertest - .post(`/internal/bsearch`) - .set('kbn-xsrf', 'kibana') - .set(ELASTIC_HTTP_VERSION_HEADER, BFETCH_ROUTE_VERSION_LATEST) - .send({ - batch: [ - { - request: { - params: { - dropNullColumns: true, - query: - 'from logstash-* | keep geo.coordinates, @timestamp | sort @timestamp | limit 1', - }, - }, - options: { - strategy: 'esql', - }, - }, - ], - }); - - const jsonBody = parseBfetchResponse(resp); - expect(resp.status).to.be(200); - expect(jsonBody[0].result.rawResponse).to.eql({ - all_columns: [ - { - name: 'geo.coordinates', - type: 'geo_point', - }, - { - name: '@timestamp', - type: 'date', - }, - ], - columns: [ - { - name: 'geo.coordinates', - type: 'geo_point', - }, - { - name: '@timestamp', - type: 'date', - }, - ], - values: [['POINT (-120.9871642 38.68407028)', '2015-09-20T00:00:00.000Z']], - }); - }); - }); - }); -} diff --git a/x-pack/test/api_integration/apis/maps/fonts_api.js b/x-pack/test/api_integration/apis/maps/fonts_api.js index ae4891c4d7b95..e271ffb0a5bea 100644 --- a/x-pack/test/api_integration/apis/maps/fonts_api.js +++ b/x-pack/test/api_integration/apis/maps/fonts_api.js @@ -23,7 +23,7 @@ export default function ({ getService }) { // x-pack tests can be run from root directory or from within x-pack so need to cater for both possibilities. const fontPath = path.join( process.cwd().replace(/x-pack.*$/, ''), - 'x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf' + 'x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf' ); const destinationPath = path.join(path.dirname(fontPath), '..', path.basename(fontPath)); diff --git a/x-pack/test/api_integration/apis/maps/index.js b/x-pack/test/api_integration/apis/maps/index.js index 88c4f842a07bf..2ca2e5052ab57 100644 --- a/x-pack/test/api_integration/apis/maps/index.js +++ b/x-pack/test/api_integration/apis/maps/index.js @@ -38,7 +38,7 @@ export default function ({ loadTestFile, getService }) { loadTestFile(require.resolve('./migrations')); loadTestFile(require.resolve('./get_tile')); loadTestFile(require.resolve('./get_grid_tile')); - loadTestFile(require.resolve('./bsearch')); + loadTestFile(require.resolve('./search')); }); }); } diff --git a/x-pack/test/api_integration/apis/maps/search.ts b/x-pack/test/api_integration/apis/maps/search.ts new file mode 100644 index 0000000000000..757f8cc0b6f8c --- /dev/null +++ b/x-pack/test/api_integration/apis/maps/search.ts @@ -0,0 +1,84 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; +import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common'; +import { SEARCH_API_BASE_URL } from '@kbn/data-plugin/server/search/routes'; +import { ESQL_SEARCH_STRATEGY } from '@kbn/data-plugin/common'; +import type { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + describe('search', () => { + describe('ES|QL', () => { + it(`should return getColumns response in expected shape`, async () => { + const resp = await supertest + .post(`${SEARCH_API_BASE_URL}/${ESQL_SEARCH_STRATEGY}`) + .set('kbn-xsrf', 'kibana') + .set(ELASTIC_HTTP_VERSION_HEADER, '1') + .send({ + params: { + query: 'from logstash-* | keep geo.coordinates | limit 0', + }, + }) + .expect(200); + + const { took, ...response } = resp.body.rawResponse; + expect(response).to.eql({ + columns: [ + { + name: 'geo.coordinates', + type: 'geo_point', + }, + ], + values: [], + }); + }); + + it(`should return getValues response in expected shape`, async () => { + const resp = await supertest + .post(`${SEARCH_API_BASE_URL}/${ESQL_SEARCH_STRATEGY}`) + .set('kbn-xsrf', 'kibana') + .set(ELASTIC_HTTP_VERSION_HEADER, '1') + .send({ + params: { + dropNullColumns: true, + query: + 'from logstash-* | keep geo.coordinates, @timestamp | sort @timestamp | limit 1', + }, + }) + .expect(200); + + const { took, ...response } = resp.body.rawResponse; + expect(response).to.eql({ + all_columns: [ + { + name: 'geo.coordinates', + type: 'geo_point', + }, + { + name: '@timestamp', + type: 'date', + }, + ], + columns: [ + { + name: 'geo.coordinates', + type: 'geo_point', + }, + { + name: '@timestamp', + type: 'date', + }, + ], + values: [['POINT (-120.9871642 38.68407028)', '2015-09-20T00:00:00.000Z']], + }); + }); + }); + }); +} diff --git a/x-pack/test/api_integration/apis/streams/classic.ts b/x-pack/test/api_integration/apis/streams/classic.ts index 25a7238a757ca..67d72bcb0a0ac 100644 --- a/x-pack/test/api_integration/apis/streams/classic.ts +++ b/x-pack/test/api_integration/apis/streams/classic.ts @@ -42,54 +42,60 @@ export default function ({ getService }: FtrProviderContext) { const response = await indexDocument(esClient, 'logs-test-default', doc); expect(response.result).to.eql('created'); const streams = await listStreams(supertest); - const classicStream = streams.definitions.find( - (stream: JsonObject) => stream.id === 'logs-test-default' + const classicStream = streams.streams.find( + (stream: JsonObject) => stream.name === 'logs-test-default' ); expect(classicStream).to.eql({ - id: 'logs-test-default', - managed: false, - children: [], - fields: [], - processing: [], + name: 'logs-test-default', + stream: { + ingest: { + processing: [], + routing: [], + }, + }, }); }); it('Allows setting processing on classic streams', async () => { const response = await putStream(supertest, 'logs-test-default', { - managed: false, - children: [], - fields: [], - processing: [ - { - config: { - type: 'grok', - field: 'message', - patterns: [ - '%{TIMESTAMP_ISO8601:inner_timestamp} %{LOGLEVEL:log.level} %{GREEDYDATA:message2}', - ], + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: [ + '%{TIMESTAMP_ISO8601:inner_timestamp} %{LOGLEVEL:log.level} %{GREEDYDATA:message2}', + ], + }, + }, }, - }, - ], + ], + routing: [], + }, }); expect(response).to.have.property('acknowledged', true); const streamBody = await getStream(supertest, 'logs-test-default'); expect(streamBody).to.eql({ - id: 'logs-test-default', - managed: false, - children: [], - inheritedFields: [], - fields: [], - processing: [ - { - config: { - type: 'grok', - field: 'message', - patterns: [ - '%{TIMESTAMP_ISO8601:inner_timestamp} %{LOGLEVEL:log.level} %{GREEDYDATA:message2}', - ], - }, + name: 'logs-test-default', + inherited_fields: {}, + stream: { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: [ + '%{TIMESTAMP_ISO8601:inner_timestamp} %{LOGLEVEL:log.level} %{GREEDYDATA:message2}', + ], + }, + }, + }, + ], + routing: [], }, - ], + }, }); }); @@ -121,10 +127,10 @@ export default function ({ getService }: FtrProviderContext) { it('Allows removing processing on classic streams', async () => { const response = await putStream(supertest, 'logs-test-default', { - managed: false, - children: [], - fields: [], - processing: [], + ingest: { + processing: [], + routing: [], + }, }); expect(response).to.have.property('acknowledged', true); }); @@ -154,8 +160,8 @@ export default function ({ getService }: FtrProviderContext) { it('Allows deleting classic streams', async () => { await deleteStream(supertest, 'logs-test-default'); const streams = await listStreams(supertest); - const classicStream = streams.definitions.find( - (stream: JsonObject) => stream.id === 'logs-test-default' + const classicStream = streams.streams.find( + (stream: JsonObject) => stream.name === 'logs-test-default' ); expect(classicStream).to.eql(undefined); }); diff --git a/x-pack/test/api_integration/apis/streams/enrichment.ts b/x-pack/test/api_integration/apis/streams/enrichment.ts index 22293b09fbbbb..e9fb604438ee6 100644 --- a/x-pack/test/api_integration/apis/streams/enrichment.ts +++ b/x-pack/test/api_integration/apis/streams/enrichment.ts @@ -6,8 +6,8 @@ */ import expect from '@kbn/expect'; -import { JsonObject } from '@kbn/utility-types'; import { SearchTotalHits } from '@elastic/elasticsearch/lib/api/types'; +import { WiredStreamConfigDefinition } from '@kbn/streams-schema'; import { enableStreams, fetchDocument, indexDocument, putStream } from './helpers/requests'; import { FtrProviderContext } from '../../ftr_provider_context'; import { waitForDocumentInIndex } from '../../../alerting_api_integration/observability/helpers/alerting_wait_for_helpers'; @@ -29,53 +29,54 @@ export default function ({ getService }: FtrProviderContext) { }); it('Place processing steps', async () => { - const body = { - fields: [ - { - name: '@timestamp', - type: 'date', - }, - { - name: 'message', - type: 'match_only_text', - }, - { - name: 'message2', - type: 'match_only_text', - }, - { - name: 'host.name', - type: 'keyword', - }, - { - name: 'log.level', - type: 'keyword', - }, - ], - processing: [ - { - config: { - type: 'grok', - field: 'message', - patterns: [ - '%{TIMESTAMP_ISO8601:inner_timestamp} %{LOGLEVEL:log.level} %{GREEDYDATA:message2}', - ], + const body: WiredStreamConfigDefinition = { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: [ + '%{TIMESTAMP_ISO8601:inner_timestamp} %{LOGLEVEL:log.level} %{GREEDYDATA:message2}', + ], + }, + }, }, - } as JsonObject, - { - config: { - type: 'dissect', - field: 'message2', - pattern: '%{log.logger} %{message3}', + { + config: { + dissect: { + field: 'message2', + pattern: '%{log.logger} %{message3}', + }, + }, + condition: { + field: 'log.level', + operator: 'eq', + value: 'info', + }, }, - condition: { - field: 'log.level', - operator: 'eq', - value: 'info', + ], + routing: [], + wired: { + fields: { + '@timestamp': { + type: 'date', + }, + message: { + type: 'match_only_text', + }, + message2: { + type: 'match_only_text', + }, + 'host.name': { + type: 'keyword', + }, + 'log.level': { + type: 'keyword', + }, }, - } as JsonObject, - ], - children: [], + }, + }, }; const response = await putStream(supertest, 'logs', body); expect(response).to.have.property('acknowledged', true); diff --git a/x-pack/test/api_integration/apis/streams/flush_config.ts b/x-pack/test/api_integration/apis/streams/flush_config.ts index f3fa79e92d457..b04b5ff7959a9 100644 --- a/x-pack/test/api_integration/apis/streams/flush_config.ts +++ b/x-pack/test/api_integration/apis/streams/flush_config.ts @@ -7,84 +7,99 @@ import expect from '@kbn/expect'; import { SearchTotalHits } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { StreamDefinition } from '@kbn/streams-schema'; import { deleteStream, enableStreams, indexDocument } from './helpers/requests'; import { FtrProviderContext } from '../../ftr_provider_context'; import { waitForDocumentInIndex } from '../../../alerting_api_integration/observability/helpers/alerting_wait_for_helpers'; import { cleanUpRootStream } from './helpers/cleanup'; -const streams = [ +const streams: StreamDefinition[] = [ { - processing: [], - fields: [ - { - name: '@timestamp', - type: 'date', - }, - { - name: 'message', - type: 'match_only_text', - }, - { - name: 'host.name', - type: 'keyword', - }, - { - name: 'log.level', - type: 'keyword', - }, - ], - children: [ - { - id: 'logs.test', - condition: { - and: [ - { - field: 'numberfield', - operator: 'gt', - value: 15, + name: 'logs', + stream: { + ingest: { + processing: [], + wired: { + fields: { + '@timestamp': { + type: 'date', }, - ], - }, - }, - { - id: 'logs.test2', - condition: { - and: [ - { - field: 'field2', - operator: 'eq', - value: 'abc', + message: { + type: 'match_only_text', + }, + 'host.name': { + type: 'keyword', + }, + 'log.level': { + type: 'keyword', }, - ], + }, }, + routing: [ + { + name: 'logs.test', + condition: { + and: [ + { + field: 'numberfield', + operator: 'gt', + value: 15, + }, + ], + }, + }, + { + name: 'logs.test2', + condition: { + and: [ + { + field: 'field2', + operator: 'eq', + value: 'abc', + }, + ], + }, + }, + ], }, - ], - id: 'logs', + }, }, { - id: 'logs.test', - processing: [], - fields: [], - children: [], + name: 'logs.test', + stream: { + ingest: { + processing: [], + wired: { + fields: {}, + }, + routing: [], + }, + }, }, { - id: 'logs.test2', - processing: [ - { - config: { - type: 'grok', - field: 'message', - patterns: ['%{NUMBER:numberfield}'], + name: 'logs.test2', + stream: { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: ['%{NUMBER:numberfield}'], + }, + }, + }, + ], + wired: { + fields: { + numberfield: { + type: 'long', + }, + }, }, + routing: [], }, - ], - fields: [ - { - name: 'numberfield', - type: 'long', - }, - ], - children: [], + }, }, ]; @@ -107,9 +122,9 @@ export default function ({ getService }: FtrProviderContext) { }); it('PUTs all streams one by one without errors', async () => { - for (const { id: streamId, ...stream } of streams) { + for (const { name, stream } of streams) { const response = await supertest - .put(`/api/streams/${streamId}`) + .put(`/api/streams/${name}`) .set('kbn-xsrf', 'xxx') .send(stream) .expect(200); diff --git a/x-pack/test/api_integration/apis/streams/full_flow.ts b/x-pack/test/api_integration/apis/streams/full_flow.ts index aad931ab11816..fd46df8002d74 100644 --- a/x-pack/test/api_integration/apis/streams/full_flow.ts +++ b/x-pack/test/api_integration/apis/streams/full_flow.ts @@ -60,9 +60,7 @@ export default function ({ getService }: FtrProviderContext) { it('Fork logs to logs.nginx', async () => { const body = { stream: { - id: 'logs.nginx', - fields: [], - processing: [], + name: 'logs.nginx', }, condition: { field: 'log.logger', @@ -99,9 +97,7 @@ export default function ({ getService }: FtrProviderContext) { it('Fork logs to logs.nginx.access', async () => { const body = { stream: { - id: 'logs.nginx.access', - fields: [], - processing: [], + name: 'logs.nginx.access', }, condition: { field: 'log.level', operator: 'eq', value: 'info' }, }; @@ -139,9 +135,7 @@ export default function ({ getService }: FtrProviderContext) { it('Fork logs to logs.nginx.error with invalid condition', async () => { const body = { stream: { - id: 'logs.nginx.error', - fields: [], - processing: [], + name: 'logs.nginx.error', }, condition: { field: 'log', operator: 'eq', value: 'error' }, }; @@ -181,9 +175,7 @@ export default function ({ getService }: FtrProviderContext) { it('Fork logs to logs.number-test', async () => { const body = { stream: { - id: 'logs.number-test', - fields: [], - processing: [], + name: 'logs.number-test', }, condition: { field: 'code', operator: 'gte', value: '500' }, }; @@ -224,9 +216,7 @@ export default function ({ getService }: FtrProviderContext) { it('Fork logs to logs.string-test', async () => { const body = { stream: { - id: 'logs.string-test', - fields: [], - processing: [], + name: 'logs.string-test', }, condition: { or: [ diff --git a/x-pack/test/api_integration/apis/streams/helpers/requests.ts b/x-pack/test/api_integration/apis/streams/helpers/requests.ts index 43e7f02b7a750..ae3a325b5f9b4 100644 --- a/x-pack/test/api_integration/apis/streams/helpers/requests.ts +++ b/x-pack/test/api_integration/apis/streams/helpers/requests.ts @@ -9,6 +9,7 @@ import { JsonObject } from '@kbn/utility-types'; import { Agent } from 'supertest'; import expect from '@kbn/expect'; import { SearchTotalHits } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { StreamConfigDefinition } from '@kbn/streams-schema'; export async function enableStreams(supertest: Agent) { const req = supertest.post('/api/streams/_enable').set('kbn-xsrf', 'xxx'); @@ -36,7 +37,7 @@ export async function forkStream(supertest: Agent, root: string, body: JsonObjec return response.body; } -export async function putStream(supertest: Agent, name: string, body: JsonObject) { +export async function putStream(supertest: Agent, name: string, body: StreamConfigDefinition) { const req = supertest.put(`/api/streams/${name}`).set('kbn-xsrf', 'xxx'); const response = await req.send(body).expect(200); return response.body; diff --git a/x-pack/test/cases_api_integration/common/lib/api/configuration.ts b/x-pack/test/cases_api_integration/common/lib/api/configuration.ts index 09f828c44dd73..e898082134b43 100644 --- a/x-pack/test/cases_api_integration/common/lib/api/configuration.ts +++ b/x-pack/test/cases_api_integration/common/lib/api/configuration.ts @@ -56,6 +56,7 @@ export const getConfigurationOutput = (update = false, overwrite = {}): Partial< created_by: { email: null, full_name: null, username: 'elastic' }, updated_by: update ? { email: null, full_name: null, username: 'elastic' } : null, customFields: [], + observableTypes: [], ...overwrite, }; }; diff --git a/x-pack/test/cases_api_integration/common/lib/api/index.ts b/x-pack/test/cases_api_integration/common/lib/api/index.ts index 59d91a388f6ea..5b174cc406f60 100644 --- a/x-pack/test/cases_api_integration/common/lib/api/index.ts +++ b/x-pack/test/cases_api_integration/common/lib/api/index.ts @@ -25,6 +25,7 @@ import { CASE_USER_ACTION_SAVED_OBJECT, INTERNAL_CASE_METRICS_URL, INTERNAL_GET_CASE_CATEGORIES_URL, + INTERNAL_CASE_SIMILAR_CASES_URL, } from '@kbn/cases-plugin/common/constants'; import { CaseMetricsFeature } from '@kbn/cases-plugin/common'; import type { SingleCaseMetricsResponse, CasesMetricsResponse } from '@kbn/cases-plugin/common'; @@ -40,6 +41,8 @@ import { CaseCustomField, } from '@kbn/cases-plugin/common/types/domain'; import { + AddObservableRequest, + UpdateObservableRequest, AlertResponse, CaseResolveResponse, CasesBulkGetResponse, @@ -48,7 +51,14 @@ import { CasesStatusResponse, CustomFieldPutRequest, GetRelatedCasesByAlertResponse, + SimilarCasesSearchRequest, + CasesSimilarResponse, } from '@kbn/cases-plugin/common/types/api'; +import { + getCaseCreateObservableUrl, + getCaseUpdateObservableUrl, + getCaseDeleteObservableUrl, +} from '@kbn/cases-plugin/common/api'; import { User } from '../authentication/types'; import { superUser } from '../authentication/users'; import { getSpaceUrlPrefix, setupAuth } from './helpers'; @@ -846,3 +856,122 @@ export const replaceCustomField = async ({ return theCustomField; }; + +export const addObservable = async ({ + supertest, + params, + expectedHttpCode = 200, + auth = { user: superUser, space: null }, + headers = {}, + caseId, +}: { + supertest: SuperTest.Agent; + params: AddObservableRequest; + expectedHttpCode?: number; + auth?: { user: User; space: string | null } | null; + headers?: Record; + caseId: string; +}): Promise => { + const apiCall = supertest.post( + `${getSpaceUrlPrefix(auth?.space)}${getCaseCreateObservableUrl(caseId)}` + ); + + void setupAuth({ apiCall, headers, auth }); + + const { body: updatedCase } = await apiCall + .set('kbn-xsrf', 'true') + .set('x-elastic-internal-origin', 'foo') + .set(headers) + .send(params) + .expect(expectedHttpCode); + + return updatedCase; +}; + +export const updateObservable = async ({ + supertest, + params, + expectedHttpCode = 200, + auth = { user: superUser, space: null }, + headers = {}, + caseId, + observableId, +}: { + supertest: SuperTest.Agent; + params: UpdateObservableRequest; + expectedHttpCode?: number; + auth?: { user: User; space: string | null } | null; + headers?: Record; + caseId: string; + observableId: string; +}): Promise => { + const apiCall = supertest.patch( + `${getSpaceUrlPrefix(auth?.space)}${getCaseUpdateObservableUrl(caseId, observableId)}` + ); + void setupAuth({ apiCall, headers, auth }); + + const { body: updatedCase } = await apiCall + .set('kbn-xsrf', 'true') + .set('x-elastic-internal-origin', 'foo') + .set(headers) + .send(params) + .expect(expectedHttpCode); + + return updatedCase; +}; + +export const deleteObservable = async ({ + supertest, + expectedHttpCode = 200, + auth = { user: superUser, space: null }, + headers = {}, + caseId, + observableId, +}: { + supertest: SuperTest.Agent; + expectedHttpCode?: number; + auth?: { user: User; space: string | null } | null; + headers?: Record; + caseId: string; + observableId: string; +}): Promise => { + const apiCall = supertest.delete( + `${getSpaceUrlPrefix(auth?.space)}${getCaseDeleteObservableUrl(caseId, observableId)}` + ); + void setupAuth({ apiCall, headers, auth }); + + await apiCall + .set('kbn-xsrf', 'true') + .set('x-elastic-internal-origin', 'foo') + .set(headers) + .send() + .expect(expectedHttpCode); +}; + +export const similarCases = async ({ + supertest, + body, + expectedHttpCode = 200, + auth = { user: superUser, space: null }, + caseId, +}: { + supertest: SuperTest.Agent; + body: SimilarCasesSearchRequest; + expectedHttpCode?: number; + auth?: { user: User; space: string | null }; + caseId: string; +}): Promise => { + const { body: res } = await supertest + .post( + `${getSpaceUrlPrefix(auth.space)}${INTERNAL_CASE_SIMILAR_CASES_URL.replace( + '{case_id}', + caseId + )}` + ) + .auth(auth.user.username, auth.user.password) + .set('kbn-xsrf', 'true') + .send({ ...body }) + .expect(expectedHttpCode); + + return res; +}; diff --git a/x-pack/test/cases_api_integration/common/lib/mock.ts b/x-pack/test/cases_api_integration/common/lib/mock.ts index 2461cded5aeaa..b027cab5298be 100644 --- a/x-pack/test/cases_api_integration/common/lib/mock.ts +++ b/x-pack/test/cases_api_integration/common/lib/mock.ts @@ -183,6 +183,7 @@ export const postCaseResp = ( updated_by: null, category: null, customFields: [], + observables: [], }); interface CommentRequestWithID { diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/migrations.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/migrations.ts index 0a3bd5ab1519d..b0979759e7072 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/migrations.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/migrations.ts @@ -128,6 +128,7 @@ export default function createGetTests({ getService }: FtrProviderContext) { totalComment: 1, updated_at: null, updated_by: null, + observables: [], }); }); }); diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts index 1e3d69d28d7fe..fb627b41c9d5a 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts @@ -98,6 +98,50 @@ export default ({ getService }: FtrProviderContext): void => { expect(data).to.eql({ ...getConfigurationOutput(true), customFields }); }); + it('should patch a configuration with observableTypes', async () => { + const observableTypes = [ + { + key: '50d4d08c-12b4-4055-a343-b303e0ab3724', + label: 'type 1', + }, + ] as ConfigurationPatchRequest['observableTypes']; + const configuration = await createConfiguration(supertest); + expect(configuration.observableTypes.length).to.be(0); + + const updatedConfiguration = await updateConfiguration(supertest, configuration.id, { + version: configuration.version, + observableTypes, + }); + + expect(updatedConfiguration.observableTypes.length).to.be.greaterThan(0); + expect(updatedConfiguration.observableTypes[0].key).to.equal(observableTypes?.[0].key); + expect(updatedConfiguration.observableTypes[0].label).to.equal(observableTypes?.[0].label); + }); + + it('should not patch a configuration with duplicated observableTypes', async () => { + const observableTypes = [ + { + key: '50d4d08c-12b4-4055-a343-b303e0ab3724', + label: 'duplicate', + }, + { + key: 'fc3ff698-589a-44fd-bbc4-ffaa0b7211f7', + label: 'duplicate', + }, + ] as ConfigurationPatchRequest['observableTypes']; + const configuration = await createConfiguration(supertest); + + await updateConfiguration( + supertest, + configuration.id, + { + version: configuration.version, + observableTypes, + }, + 400 + ); + }); + it('should update mapping when changing connector', async () => { const configuration = await createConfiguration(supertest); await updateConfiguration(supertest, configuration.id, { diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/connectors/cases/cases_connector.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/connectors/cases/cases_connector.ts index 6d4a095a5da02..ddf58f33bd40c 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/connectors/cases/cases_connector.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/connectors/cases/cases_connector.ts @@ -342,6 +342,7 @@ export default ({ getService }: FtrProviderContext): void => { full_name: null, username: 'elastic', }, + observables: [], }); }); @@ -454,6 +455,7 @@ export default ({ getService }: FtrProviderContext): void => { full_name: null, username: 'elastic', }, + observables: [], }); }); @@ -831,6 +833,7 @@ export default ({ getService }: FtrProviderContext): void => { full_name: null, username: 'elastic', }, + observables: [], }); expect(secondCase).to.eql({ @@ -878,6 +881,7 @@ export default ({ getService }: FtrProviderContext): void => { full_name: null, username: 'elastic', }, + observables: [], }); }); @@ -1415,6 +1419,7 @@ const createCaseWithId = async ({ external_service: null, total_alerts: 0, total_comments: 0, + observables: [], }, overwrite: false, }); diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/index.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/index.ts index 3112dfab7ec66..2b3c282ad6c2b 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/index.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/index.ts @@ -38,6 +38,8 @@ export default ({ loadTestFile, getService }: FtrProviderContext): void => { loadTestFile(require.resolve('./delete_sub_privilege')); loadTestFile(require.resolve('./create_comment_sub_privilege.ts')); loadTestFile(require.resolve('./user_profiles/get_current')); + // case observables are only available with a license above basic + loadTestFile(require.resolve('./internal/observables')); // Internal routes loadTestFile(require.resolve('./internal/get_user_action_stats')); diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/internal/observables.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/internal/observables.ts new file mode 100644 index 0000000000000..6945711b0d148 --- /dev/null +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/internal/observables.ts @@ -0,0 +1,223 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { OBSERVABLE_TYPE_IPV4 } from '@kbn/cases-plugin/common/constants'; +import { secOnly } from '../../../../common/lib/authentication/users'; +import { getPostCaseRequest } from '../../../../common/lib/mock'; +import { + createCase, + deleteAllCaseItems, + addObservable, + updateObservable, + deleteObservable, + getCase, +} from '../../../../common/lib/api'; + +import { FtrProviderContext } from '../../../../common/ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default ({ getService }: FtrProviderContext): void => { + const es = getService('es'); + const supertest = getService('supertest'); + + describe('observables', () => { + afterEach(async () => { + await deleteAllCaseItems(es); + }); + + describe('add observable to a case', () => { + it('can add an observable to a case', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + expect(postedCase.observables).to.eql([]); + + const newObservableData = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: '', + }; + + const updatedCase = await addObservable({ + supertest, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + }); + + expect(updatedCase.observables.length).to.be.greaterThan(0); + }); + + it('returns bad request when using unknown observable type', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + expect(postedCase.observables).to.eql([]); + + const newObservableData = { + value: 'test', + typeKey: 'unknown type', + description: '', + }; + + await addObservable({ + supertest, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + expectedHttpCode: 400, + }); + }); + }); + + describe('update observable', () => { + it('updates an observable on a case', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + + const newObservableData = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: '', + }; + + const { + observables: [observable], + } = await addObservable({ + supertest, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + }); + + const updatedObservable = await updateObservable({ + supertest, + params: { observable: { description: '', value: '192.168.68.1' } }, + caseId: postedCase.id, + observableId: observable.id as string, + }); + + expect(updatedObservable.observables[0].value).to.be('192.168.68.1'); + }); + }); + + describe('delete observable', () => { + it('deletes an observable on a case', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + + const newObservableData = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: '', + }; + + const { + observables: [observable], + } = await addObservable({ + supertest, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + }); + + await deleteObservable({ + supertest, + caseId: postedCase.id, + observableId: observable.id as string, + expectedHttpCode: 204, + }); + + const { observables } = await getCase({ supertest, caseId: postedCase.id }); + + expect(observables.length).to.be(0); + }); + }); + + describe('rbac', () => { + const supertestWithoutAuth = getService('supertestWithoutAuth'); + + it('should not allow creating observables without permissions', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + expect(postedCase.observables).to.eql([]); + + const newObservableData = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: '', + }; + + await addObservable({ + supertest: supertestWithoutAuth, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + auth: { user: secOnly, space: null }, + expectedHttpCode: 403, + }); + }); + + it('should not allow deleting an observable without permissions', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + + const newObservableData = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: '', + }; + + const { + observables: [observable], + } = await addObservable({ + supertest, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + }); + + await deleteObservable({ + supertest: supertestWithoutAuth, + caseId: postedCase.id, + observableId: observable.id as string, + auth: { user: secOnly, space: null }, + expectedHttpCode: 403, + }); + }); + + it('should not allow updating an observable without premissions', async () => { + const postedCase = await createCase(supertest, getPostCaseRequest()); + + const newObservableData = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: '', + }; + + const { + observables: [observable], + } = await addObservable({ + supertest, + caseId: postedCase.id, + params: { + observable: newObservableData, + }, + }); + + await updateObservable({ + supertest: supertestWithoutAuth, + params: { observable: { description: '', value: '192.168.68.1' } }, + caseId: postedCase.id, + observableId: observable.id as string, + auth: { user: secOnly, space: null }, + expectedHttpCode: 403, + }); + }); + }); + }); +}; diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/internal/similar_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/internal/similar_cases.ts new file mode 100644 index 0000000000000..2430e70dba6c6 --- /dev/null +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/internal/similar_cases.ts @@ -0,0 +1,152 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { OBSERVABLE_TYPES_BUILTIN } from '@kbn/cases-plugin/common/constants'; +import { getPostCaseRequest } from '../../../../common/lib/mock'; +import { + createCase, + deleteAllCaseItems, + addObservable, + similarCases, +} from '../../../../common/lib/api'; + +import { FtrProviderContext } from '../../../../common/ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default ({ getService }: FtrProviderContext): void => { + const es = getService('es'); + const supertest = getService('supertest'); + + describe('similar case', () => { + afterEach(async () => { + await deleteAllCaseItems(es); + }); + + describe('shows similar cases', () => { + it('returns cases similar to given case', async () => { + const [caseA, caseB] = await Promise.all([ + createCase(supertest, getPostCaseRequest()), + createCase(supertest, getPostCaseRequest()), + createCase(supertest, getPostCaseRequest()), + ]); + + const newObservableData = { + value: 'value', + typeKey: OBSERVABLE_TYPES_BUILTIN[0].key, + description: '', + }; + + const { cases } = await similarCases({ + supertest, + body: { perPage: 10, page: 1 }, + caseId: caseA.id, + }); + expect(cases.length).to.be(0); + + await addObservable({ + supertest, + caseId: caseA.id, + params: { + observable: newObservableData, + }, + }); + + await addObservable({ + supertest, + caseId: caseB.id, + params: { + observable: newObservableData, + }, + }); + + const { cases: casesSimilarToA } = await similarCases({ + supertest, + body: { perPage: 10, page: 1 }, + caseId: caseA.id, + }); + + expect(casesSimilarToA.length).to.be(1); + + const { cases: casesSimilarToB } = await similarCases({ + supertest, + body: { perPage: 10, page: 1 }, + caseId: caseB.id, + }); + + expect(casesSimilarToB.length).to.be(1); + }); + + it('does not return cases similar to given case if the owner does not match', async () => { + const [caseA, caseB] = await Promise.all([ + createCase(supertest, { ...getPostCaseRequest(), owner: 'observabilityFixture' }), + createCase(supertest, getPostCaseRequest()), + createCase(supertest, getPostCaseRequest()), + ]); + + const newObservableData = { + value: 'value', + typeKey: OBSERVABLE_TYPES_BUILTIN[0].key, + description: '', + }; + + const { cases } = await similarCases({ + supertest, + body: { perPage: 10, page: 1 }, + caseId: caseA.id, + }); + expect(cases.length).to.be(0); + + await addObservable({ + supertest, + caseId: caseA.id, + params: { + observable: newObservableData, + }, + }); + + await addObservable({ + supertest, + caseId: caseB.id, + params: { + observable: newObservableData, + }, + }); + + const { cases: casesSimilarToA } = await similarCases({ + supertest, + body: { perPage: 10, page: 1 }, + caseId: caseA.id, + }); + + expect(casesSimilarToA.length).to.be(0); + + const { cases: casesSimilarToB } = await similarCases({ + supertest, + body: { perPage: 10, page: 1 }, + caseId: caseB.id, + }); + + expect(casesSimilarToB.length).to.be(0); + }); + }); + + describe('rbac', () => { + const supertestWithoutAuth = getService('supertestWithoutAuth'); + + it('should not getting similar cases without permissions', async () => { + await similarCases({ + supertest: supertestWithoutAuth, + body: { perPage: 10, page: 1 }, + caseId: 'mock-case-id', + expectedHttpCode: 403, + }); + }); + }); + }); +}; diff --git a/x-pack/test/cloud_security_posture_api/routes/graph.ts b/x-pack/test/cloud_security_posture_api/routes/graph.ts index e2be81a7d40e5..18a61b85c5f40 100644 --- a/x-pack/test/cloud_security_posture_api/routes/graph.ts +++ b/x-pack/test/cloud_security_posture_api/routes/graph.ts @@ -75,7 +75,7 @@ export default function (providerContext: FtrProviderContext) { }); describe('Validation', () => { - it('should return 400 when missing `eventIds` field', async () => { + it('should return 400 when missing `originEventIds` field', async () => { await postGraph(supertest, { // @ts-expect-error ignore error for testing query: { @@ -171,6 +171,7 @@ export default function (providerContext: FtrProviderContext) { 'primary', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('dashed'); }); }); @@ -201,6 +202,7 @@ export default function (providerContext: FtrProviderContext) { 'danger', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('solid'); }); }); @@ -231,6 +233,7 @@ export default function (providerContext: FtrProviderContext) { 'primary', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('solid'); }); }); @@ -261,6 +264,7 @@ export default function (providerContext: FtrProviderContext) { 'danger', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('solid'); }); }); @@ -303,6 +307,7 @@ export default function (providerContext: FtrProviderContext) { 'warning', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('dashed'); }); }); @@ -351,10 +356,11 @@ export default function (providerContext: FtrProviderContext) { : 'primary', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('dashed'); }); }); - it('should support more than 1 eventIds', async () => { + it('should support more than 1 originEventIds', async () => { const response = await postGraph(supertest, { query: { originEventIds: [ @@ -384,6 +390,7 @@ export default function (providerContext: FtrProviderContext) { 'danger', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal('solid'); }); }); @@ -429,6 +436,7 @@ export default function (providerContext: FtrProviderContext) { idx <= 1 ? 'danger' : 'warning', `edge color mismatched [edge: ${edge.id}] [actual: ${edge.color}]` ); + expect(edge.type).equal(idx <= 1 ? 'solid' : 'dashed'); }); }); diff --git a/x-pack/test/cloud_security_posture_functional/page_objects/expanded_flyout.ts b/x-pack/test/cloud_security_posture_functional/page_objects/expanded_flyout.ts index 5829e9083a8cf..1bbd2c5091d64 100644 --- a/x-pack/test/cloud_security_posture_functional/page_objects/expanded_flyout.ts +++ b/x-pack/test/cloud_security_posture_functional/page_objects/expanded_flyout.ts @@ -17,6 +17,8 @@ const GRAPH_NODE_EXPAND_POPOVER_TEST_ID = `${GRAPH_INVESTIGATION_TEST_ID}GraphNo const GRAPH_NODE_POPOVER_EXPLORE_RELATED_TEST_ID = `${GRAPH_INVESTIGATION_TEST_ID}ExploreRelatedEntities`; const GRAPH_NODE_POPOVER_SHOW_ACTIONS_BY_TEST_ID = `${GRAPH_INVESTIGATION_TEST_ID}ShowActionsByEntity`; const GRAPH_NODE_POPOVER_SHOW_ACTIONS_ON_TEST_ID = `${GRAPH_INVESTIGATION_TEST_ID}ShowActionsOnEntity`; +const GRAPH_LABEL_EXPAND_POPOVER_TEST_ID = `${GRAPH_INVESTIGATION_TEST_ID}GraphLabelExpandPopover`; +const GRAPH_LABEL_EXPAND_POPOVER_SHOW_EVENTS_WITH_THIS_ACTION_ITEM_ID = `${GRAPH_INVESTIGATION_TEST_ID}ShowEventsWithThisAction`; type Filter = Parameters[0]; export class ExpandedFlyout extends FtrService { @@ -52,11 +54,14 @@ export class ExpandedFlyout extends FtrService { return nodes[0]; } - async clickOnNodeExpandButton(nodeId: string): Promise { + async clickOnNodeExpandButton( + nodeId: string, + popoverId: string = GRAPH_NODE_EXPAND_POPOVER_TEST_ID + ): Promise { const node = await this.selectNode(nodeId); const expandButton = await node.findByTestSubject(NODE_EXPAND_BUTTON_TEST_ID); await expandButton.click(); - await this.testSubjects.existOrFail(GRAPH_NODE_EXPAND_POPOVER_TEST_ID); + await this.testSubjects.existOrFail(popoverId); } async showActionsByEntity(nodeId: string): Promise { @@ -77,6 +82,12 @@ export class ExpandedFlyout extends FtrService { await this.pageObjects.header.waitUntilLoadingHasFinished(); } + async showEventsOfSameAction(nodeId: string): Promise { + await this.clickOnNodeExpandButton(nodeId, GRAPH_LABEL_EXPAND_POPOVER_TEST_ID); + await this.testSubjects.click(GRAPH_LABEL_EXPAND_POPOVER_SHOW_EVENTS_WITH_THIS_ACTION_ITEM_ID); + await this.pageObjects.header.waitUntilLoadingHasFinished(); + } + async expectFilterTextEquals(filterIdx: number, expected: string): Promise { const filters = await this.filterBar.getFiltersLabel(); expect(filters.length).to.be.greaterThan(filterIdx); diff --git a/x-pack/test/cloud_security_posture_functional/pages/alerts_flyout.ts b/x-pack/test/cloud_security_posture_functional/pages/alerts_flyout.ts index 35f9578929ada..60dd415379c39 100644 --- a/x-pack/test/cloud_security_posture_functional/pages/alerts_flyout.ts +++ b/x-pack/test/cloud_security_posture_functional/pages/alerts_flyout.ts @@ -90,6 +90,19 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'actor.entity.id: admin@example.com OR target.entity.id: admin@example.com OR related.entity: admin@example.com' ); + // Show events with the same action + await expandedFlyout.showEventsOfSameAction( + 'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)outcome(success)' + ); + await expandedFlyout.expectFilterTextEquals( + 0, + 'actor.entity.id: admin@example.com OR target.entity.id: admin@example.com OR related.entity: admin@example.com OR event.action: google.iam.admin.v1.CreateRole' + ); + await expandedFlyout.expectFilterPreviewEquals( + 0, + 'actor.entity.id: admin@example.com OR target.entity.id: admin@example.com OR related.entity: admin@example.com OR event.action: google.iam.admin.v1.CreateRole' + ); + // Clear filters await expandedFlyout.clearAllFilters(); diff --git a/x-pack/test/cloud_security_posture_functional/pages/events_flyout.ts b/x-pack/test/cloud_security_posture_functional/pages/events_flyout.ts index 0848307ca26d2..f3449dd8df40f 100644 --- a/x-pack/test/cloud_security_posture_functional/pages/events_flyout.ts +++ b/x-pack/test/cloud_security_posture_functional/pages/events_flyout.ts @@ -82,6 +82,19 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'actor.entity.id: admin@example.com OR target.entity.id: admin@example.com OR related.entity: admin@example.com' ); + // Show events with the same action + await expandedFlyout.showEventsOfSameAction( + 'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)outcome(success)' + ); + await expandedFlyout.expectFilterTextEquals( + 0, + 'actor.entity.id: admin@example.com OR target.entity.id: admin@example.com OR related.entity: admin@example.com OR event.action: google.iam.admin.v1.CreateRole' + ); + await expandedFlyout.expectFilterPreviewEquals( + 0, + 'actor.entity.id: admin@example.com OR target.entity.id: admin@example.com OR related.entity: admin@example.com OR event.action: google.iam.admin.v1.CreateRole' + ); + // Clear filters await expandedFlyout.clearAllFilters(); diff --git a/x-pack/test/functional/apps/index_management/data_streams_tab/data_streams_tab.ts b/x-pack/test/functional/apps/index_management/data_streams_tab/data_streams_tab.ts index 97ceeefbee9bd..0a6101b71ca5c 100644 --- a/x-pack/test/functional/apps/index_management/data_streams_tab/data_streams_tab.ts +++ b/x-pack/test/functional/apps/index_management/data_streams_tab/data_streams_tab.ts @@ -17,38 +17,42 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { const security = getService('security'); const testSubjects = getService('testSubjects'); - const TEST_DS_NAME = 'test-ds-1'; + const TEST_DS_NAME_1 = 'test-ds-1'; + const TEST_DS_NAME_2 = 'test-ds-2'; + const TEST_DATA_STREAM_NAMES = [TEST_DS_NAME_1, TEST_DS_NAME_2]; describe('Data streams tab', function () { before(async () => { await log.debug('Creating required data stream'); try { - await es.indices.putIndexTemplate({ - name: `${TEST_DS_NAME}_index_template`, - index_patterns: [TEST_DS_NAME], - data_stream: {}, - _meta: { - description: `Template for ${TEST_DS_NAME} testing index`, - }, - template: { - settings: { mode: undefined }, - mappings: { - properties: { - '@timestamp': { - type: 'date', + for (const dataStreamName of TEST_DATA_STREAM_NAMES) { + await es.indices.putIndexTemplate({ + name: `${dataStreamName}_index_template`, + index_patterns: [dataStreamName], + data_stream: {}, + _meta: { + description: `Template for ${dataStreamName} testing index`, + }, + template: { + settings: { mode: undefined }, + mappings: { + properties: { + '@timestamp': { + type: 'date', + }, }, }, + lifecycle: { + // @ts-expect-error @elastic/elasticsearch enabled prop is not typed yet + enabled: true, + }, }, - lifecycle: { - // @ts-expect-error @elastic/elasticsearch enabled prop is not typed yet - enabled: true, - }, - }, - }); + }); - await es.indices.createDataStream({ - name: TEST_DS_NAME, - }); + await es.indices.createDataStream({ + name: dataStreamName, + }); + } } catch (e) { log.debug('[Setup error] Error creating test data stream'); throw e; @@ -66,10 +70,12 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await log.debug('Cleaning up created data stream'); try { - await es.indices.deleteDataStream({ name: TEST_DS_NAME }); - await es.indices.deleteIndexTemplate({ - name: `${TEST_DS_NAME}_index_template`, - }); + for (const dataStreamName of TEST_DATA_STREAM_NAMES) { + await es.indices.deleteDataStream({ name: dataStreamName }); + await es.indices.deleteIndexTemplate({ + name: `${dataStreamName}_index_template`, + }); + } } catch (e) { log.debug('[Teardown error] Error deleting test data stream'); throw e; @@ -78,10 +84,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { it('shows the details flyout when clicking on a data stream', async () => { // Open details flyout - await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME); + await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME_1); // Verify url is stateful const url = await browser.getCurrentUrl(); - expect(url).to.contain(`/data_streams/${TEST_DS_NAME}`); + expect(url).to.contain(`/data_streams/${TEST_DS_NAME_1}`); // Assert that flyout is opened expect(await testSubjects.exists('dataStreamDetailPanel')).to.be(true); // Close flyout @@ -91,7 +97,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { describe('shows the correct index mode in the details flyout', function () { it('standard index mode', async () => { // Open details flyout of existing data stream - it has standard index mode - await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME); + await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME_1); // Check that index mode detail exists and its label is "Standard" expect(await testSubjects.exists('indexModeDetail')).to.be(true); expect(await testSubjects.getVisibleText('indexModeDetail')).to.be('Standard'); @@ -129,44 +135,94 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); }); - it('allows to update data retention', async () => { - // Open details flyout - await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME); - // Open the edit retention dialog - await testSubjects.click('manageDataStreamButton'); - await testSubjects.click('editDataRetentionButton'); - - // Disable infinite retention - await testSubjects.click('infiniteRetentionPeriod > input'); - // Set the retention to 7 hours - await testSubjects.setValue('dataRetentionValue', '7'); - await testSubjects.click('show-filters-button'); - await testSubjects.click('filter-option-h'); - - // Submit the form - await testSubjects.click('saveButton'); - - // Expect to see a success toast - const successToast = await toasts.getElementByIndex(1); - expect(await successToast.getVisibleText()).to.contain('Data retention updated'); - }); + describe('data retention modal', function () { + describe('from details panel', function () { + it('allows to update data retention', async () => { + // Open details flyout + await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME_1); + // Open the edit retention dialog + await testSubjects.click('manageDataStreamButton'); + await testSubjects.click('editDataRetentionButton'); + + // Disable infinite retention + await testSubjects.click('infiniteRetentionPeriod > input'); + // Set the retention to 7 hours + await testSubjects.setValue('dataRetentionValue', '7'); + await testSubjects.click('show-filters-button'); + await testSubjects.click('filter-option-h'); + + // Submit the form + await testSubjects.click('saveButton'); + + // Expect to see a success toast + const successToast = await toasts.getElementByIndex(1); + expect(await successToast.getVisibleText()).to.contain('Data retention updated'); + // Clear up toasts for next test + await toasts.dismissAll(); + }); - it('allows to disable data retention', async () => { - // Open details flyout - await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME); - // Open the edit retention dialog - await testSubjects.click('manageDataStreamButton'); - await testSubjects.click('editDataRetentionButton'); + it('allows to disable data retention', async () => { + // Open details flyout + await pageObjects.indexManagement.clickDataStreamNameLink(TEST_DS_NAME_1); + // Open the edit retention dialog + await testSubjects.click('manageDataStreamButton'); + await testSubjects.click('editDataRetentionButton'); - // Disable infinite retention - await testSubjects.click('dataRetentionEnabledField > input'); + // Disable infinite retention + await testSubjects.click('dataRetentionEnabledField > input'); - // Submit the form - await testSubjects.click('saveButton'); + // Submit the form + await testSubjects.click('saveButton'); - // Expect to see a success toast - const successToast = await toasts.getElementByIndex(1); - expect(await successToast.getVisibleText()).to.contain('Data retention disabled'); + // Expect to see a success toast + const successToast = await toasts.getElementByIndex(1); + expect(await successToast.getVisibleText()).to.contain('Data retention disabled'); + // Clear up toasts for next test + await toasts.dismissAll(); + }); + }); + + describe('bulk edit modal', function () { + it('allows to update data retention', async () => { + // Select and manage mutliple data streams + await pageObjects.indexManagement.clickBulkEditDataRetention(TEST_DATA_STREAM_NAMES); + + // Set the retention to 7 hours + await testSubjects.setValue('dataRetentionValue', '7'); + await testSubjects.click('show-filters-button'); + await testSubjects.click('filter-option-h'); + + // Submit the form + await testSubjects.click('saveButton'); + + // Expect to see a success toast + const successToast = await toasts.getElementByIndex(1); + expect(await successToast.getVisibleText()).to.contain( + 'Data retention has been updated for 2 data streams.' + ); + // Clear up toasts for next test + await toasts.dismissAll(); + }); + + it('allows to disable data retention', async () => { + // Select and manage mutliple data streams + await pageObjects.indexManagement.clickBulkEditDataRetention(TEST_DATA_STREAM_NAMES); + + // Disable infinite retention + await testSubjects.click('dataRetentionEnabledField > input'); + + // Submit the form + await testSubjects.click('saveButton'); + + // Expect to see a success toast + const successToast = await toasts.getElementByIndex(1); + expect(await successToast.getVisibleText()).to.contain( + 'Data retention has been updated for 2 data streams.' + ); + // Clear up toasts for next test + await toasts.dismissAll(); + }); + }); }); }); }; diff --git a/x-pack/test/functional/apps/management/feature_controls/management_security.ts b/x-pack/test/functional/apps/management/feature_controls/management_security.ts index 286963b77d53b..9f73f5500cb4d 100644 --- a/x-pack/test/functional/apps/management/feature_controls/management_security.ts +++ b/x-pack/test/functional/apps/management/feature_controls/management_security.ts @@ -82,8 +82,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { sectionLinks: [ 'dataViews', 'filesManagement', - 'aiAssistantManagementSelection', 'objects', + 'aiAssistantManagementSelection', 'tags', 'search_sessions', 'spaces', diff --git a/x-pack/test/functional/page_objects/index_management_page.ts b/x-pack/test/functional/page_objects/index_management_page.ts index e0e2a555540be..207bf2281c080 100644 --- a/x-pack/test/functional/page_objects/index_management_page.ts +++ b/x-pack/test/functional/page_objects/index_management_page.ts @@ -38,6 +38,17 @@ export function IndexManagementPageProvider({ getService }: FtrProviderContext) await policyDetailsLinks[indexOfRow].click(); }, + async clickBulkEditDataRetention(dataStreamNames: string[]): Promise { + for (const dsName of dataStreamNames) { + const checkbox = await testSubjects.find(`checkboxSelectRow-${dsName}`); + if (!(await checkbox.isSelected())) { + await checkbox.click(); + } + } + await testSubjects.click('dataStreamActionsPopoverButton'); + await testSubjects.click('bulkEditDataRetentionButton'); + }, + async clickDataStreamNameLink(name: string): Promise { await find.clickByLinkText(name); }, diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts index e887f6ee80e38..322e777f9c172 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts @@ -255,7 +255,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { * The flyout close automatically after submitting a case */ await cases.create.createCase({ owner }); - await cases.common.expectToasterToContain('has been updated'); + await cases.common.expectToasterToContain('updated'); await toasts.dismissAllWithChecks(); } @@ -352,7 +352,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { await cases.casesTable.getCaseById(currentCaseId); await testSubjects.click(`cases-table-row-select-${currentCaseId}`); - await cases.common.expectToasterToContain('has been updated'); + await cases.common.expectToasterToContain('updated'); await toasts.dismissAllWithChecks(); await ensureFirstCommentOwner(currentCaseId, owner); } @@ -412,7 +412,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { }); await testSubjects.click('create-case-submit'); - await cases.common.expectToasterToContain(`${caseTitle} has been updated`); + await cases.common.expectToasterToContain(`Case ${caseTitle} updated`); await testSubjects.click('toaster-content-case-view-link'); await toasts.dismissAllWithChecks(); @@ -438,7 +438,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { await testSubjects.click(`cases-table-row-select-${theCase.id}`); - await cases.common.expectToasterToContain(`${theCaseTitle} has been updated`); + await cases.common.expectToasterToContain(`Case ${theCaseTitle} updated`); await testSubjects.click('toaster-content-case-view-link'); await toasts.dismissAllWithChecks(); diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts b/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts index 5618a1a77cff6..4ebab9b03d307 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts +++ b/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts @@ -29,7 +29,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await objectRemover.removeAll(); }); - it('should should cancel a running maintenance window', async () => { + it('should cancel a running maintenance window', async () => { const name = generateUniqueKey(); const createdMaintenanceWindow = await createMaintenanceWindow({ name, @@ -60,7 +60,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { expect(list[0].status).to.not.eql('Running'); }); - it('should should archive finished maintenance window', async () => { + it('should archive finished maintenance window', async () => { const name = generateUniqueKey(); const createdMaintenanceWindow = await createMaintenanceWindow({ name, @@ -93,7 +93,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { expect(list[0].status).to.eql('Archived'); }); - it('should should cancel and archive a running maintenance window', async () => { + it('should cancel and archive a running maintenance window', async () => { const name = generateUniqueKey(); const createdMaintenanceWindow = await createMaintenanceWindow({ name, @@ -124,7 +124,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { expect(list[0].status).to.eql('Archived'); }); - it('should should unarchive a maintenance window', async () => { + it('should unarchive a maintenance window', async () => { const name = generateUniqueKey(); const createdMaintenanceWindow = await createMaintenanceWindow({ name, @@ -209,5 +209,85 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { expect(upcomingList[0].status).to.equal('Upcoming'); }); }); + + it('should filter maintenance windows by the archived status', async () => { + const finished = await createMaintenanceWindow({ + name: 'finished-maintenance-window', + startDate: new Date('05-01-2023'), + notRecurring: true, + getService, + }); + objectRemover.add(finished.id, 'rules/maintenance_window', 'alerting', true); + + const date = new Date(); + date.setDate(date.getDate() + 1); + const upcoming = await createMaintenanceWindow({ + name: 'upcoming-maintenance-window', + startDate: date, + getService, + }); + objectRemover.add(upcoming.id, 'rules/maintenance_window', 'alerting', true); + + const archived = await createMaintenanceWindow({ + name: 'archived-maintenance-window', + getService, + }); + objectRemover.add(archived.id, 'rules/maintenance_window', 'alerting', true); + await browser.refresh(); + + await pageObjects.maintenanceWindows.searchMaintenanceWindows('window'); + + const list = await pageObjects.maintenanceWindows.getMaintenanceWindowsList(); + expect(list.length).to.eql(3); + expect(list[0].status).to.eql('Running'); + + await testSubjects.click('table-actions-popover'); + await testSubjects.click('table-actions-cancel-and-archive'); + await testSubjects.click('confirmModalConfirmButton'); + + await retry.try(async () => { + const toastTitle = await toasts.getTitleAndDismiss(); + expect(toastTitle).to.eql( + `Cancelled and archived running maintenance window 'archived-maintenance-window'` + ); + }); + + await testSubjects.click('status-filter-button'); + await testSubjects.click('status-filter-archived'); // select Archived status filter + + await retry.try(async () => { + const archivedList = await pageObjects.maintenanceWindows.getMaintenanceWindowsList(); + expect(archivedList.length).to.equal(1); + expect(archivedList[0].status).to.equal('Archived'); + }); + }); + + it('paginates maintenance windows correctly', async () => { + new Array(12).fill(null).map(async (_, index) => { + const mw = await createMaintenanceWindow({ + name: index + '-pagination', + getService, + }); + objectRemover.add(mw.id, 'rules/maintenance_window', 'alerting', true); + }); + await browser.refresh(); + + await pageObjects.maintenanceWindows.searchMaintenanceWindows('pagination'); + await pageObjects.maintenanceWindows.getMaintenanceWindowsList(); + + await testSubjects.click('tablePaginationPopoverButton'); + await testSubjects.click('tablePagination-25-rows'); + await testSubjects.missingOrFail('pagination-button-1'); + await testSubjects.click('tablePaginationPopoverButton'); + await testSubjects.click('tablePagination-10-rows'); + const listedOnFirstPageMWs = await testSubjects.findAll('list-item'); + expect(listedOnFirstPageMWs.length).to.be(10); + + await testSubjects.isEnabled('pagination-button-1'); + await testSubjects.click('pagination-button-1'); + await testSubjects.isEnabled('pagination-button-0'); + const listedOnSecondPageMWs = await testSubjects.findAll('list-item'); + expect(listedOnSecondPageMWs.length).to.be(2); + }); }); }; diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/bundled_prebuilt_rules_package/trial_license_complete_tier/prerelease_packages.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/bundled_prebuilt_rules_package/trial_license_complete_tier/prerelease_packages.ts index edae7dd4eb014..9f7809b16b98d 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/bundled_prebuilt_rules_package/trial_license_complete_tier/prerelease_packages.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/bundled_prebuilt_rules_package/trial_license_complete_tier/prerelease_packages.ts @@ -22,7 +22,7 @@ export default ({ getService }: FtrProviderContext): void => { const es = getService('es'); const supertest = getService('supertest'); const log = getService('log'); - const retry = getService('retry'); + const retryService = getService('retry'); /* This test makes use of the mock packages created in the '/fleet_bundled_packages' folder, /* in order to assert that, in production environments, the latest stable version of the package @@ -35,7 +35,7 @@ export default ({ getService }: FtrProviderContext): void => { beforeEach(async () => { await deleteAllRules(supertest, log); await deleteAllPrebuiltRuleAssets(es, log); - await deletePrebuiltRulesFleetPackage(supertest); + await deletePrebuiltRulesFleetPackage({ supertest, es, log, retryService }); }); it('should install latest stable version and ignore prerelease packages', async () => { @@ -49,7 +49,7 @@ export default ({ getService }: FtrProviderContext): void => { const fleetPackageInstallationResponse = await installPrebuiltRulesPackageViaFleetAPI( es, supertest, - retry + retryService ); expect(fleetPackageInstallationResponse.items.length).toBe(1); diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/bootstrap_prebuilt_rules.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/bootstrap_prebuilt_rules.ts index a437561ef0a04..d98765a07a190 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/bootstrap_prebuilt_rules.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/bootstrap_prebuilt_rules.ts @@ -11,18 +11,24 @@ import { } from '@kbn/security-solution-plugin/common/detection_engine/constants'; import expect from 'expect'; import { FtrProviderContext } from '../../../../../../ftr_provider_context'; -import { deletePrebuiltRulesFleetPackage } from '../../../../utils'; -import { deleteEndpointFleetPackage } from '../../../../utils/rules/prebuilt_rules/delete_endpoint_fleet_package'; +import { + deleteAllPrebuiltRuleAssets, + deleteEndpointFleetPackage, + deletePrebuiltRulesFleetPackage, +} from '../../../../utils'; export default ({ getService }: FtrProviderContext): void => { + const es = getService('es'); + const log = getService('log'); const supertest = getService('supertest'); + const retryService = getService('retry'); const securitySolutionApi = getService('securitySolutionApi'); - // FLAKY: https://github.com/elastic/kibana/issues/203632 - describe.skip('@ess @serverless @skipInServerlessMKI Bootstrap Prebuilt Rules', () => { + describe('@ess @serverless @skipInServerlessMKI Bootstrap Prebuilt Rules', () => { beforeEach(async () => { - await deletePrebuiltRulesFleetPackage(supertest); - await deleteEndpointFleetPackage(supertest); + await deleteAllPrebuiltRuleAssets(es, log); + await deletePrebuiltRulesFleetPackage({ supertest, es, log, retryService }); + await deleteEndpointFleetPackage({ supertest, es, log, retryService }); }); it('should install fleet packages required for detection engine to function', async () => { diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/fleet_integration.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/fleet_integration.ts index cb317870d3773..291ed2d7ea51a 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/fleet_integration.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/management/trial_license_complete_tier/fleet_integration.ts @@ -13,18 +13,18 @@ import { import { deleteAllRules } from '../../../../../../../common/utils/security_solution'; import { deleteAllPrebuiltRuleAssets } from '../../../../utils/rules/prebuilt_rules/delete_all_prebuilt_rule_assets'; import { deleteAllTimelines } from '../../../../utils/rules/prebuilt_rules/delete_all_timelines'; -import { deletePrebuiltRulesFleetPackage } from '../../../../utils/rules/prebuilt_rules/delete_prebuilt_rules_fleet_package'; +import { deletePrebuiltRulesFleetPackage } from '../../../../utils/rules/prebuilt_rules/delete_fleet_packages'; import { installPrebuiltRulesFleetPackage } from '../../../../utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package'; export default ({ getService }: FtrProviderContext): void => { const es = getService('es'); const supertest = getService('supertest'); const log = getService('log'); - const retry = getService('retry'); + const retryService = getService('retry'); describe('@ess @serverless @skipInServerlessMKI install_prebuilt_rules_from_real_package', () => { beforeEach(async () => { - await deletePrebuiltRulesFleetPackage(supertest); + await deletePrebuiltRulesFleetPackage({ supertest, es, log, retryService }); await deleteAllRules(supertest, log); await deleteAllTimelines(es, log); await deleteAllPrebuiltRuleAssets(es, log); @@ -48,7 +48,7 @@ export default ({ getService }: FtrProviderContext): void => { es, supertest, overrideExistingPackage: true, - retryService: retry, + retryService, }); // Verify that status is updated after package installation diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_endpoint_fleet_package.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_endpoint_fleet_package.ts deleted file mode 100644 index cea8363d9085c..0000000000000 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_endpoint_fleet_package.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { epmRouteService } from '@kbn/fleet-plugin/common'; -import { ENDPOINT_PACKAGE_NAME } from '@kbn/security-solution-plugin/common/detection_engine/constants'; -import type SuperTest from 'supertest'; - -/** - * Delete the endpoint package using fleet API. - * - * @param supertest Supertest instance - */ -export async function deleteEndpointFleetPackage(supertest: SuperTest.Agent) { - const resp = await supertest - .get(epmRouteService.getInfoPath(ENDPOINT_PACKAGE_NAME)) - .set('kbn-xsrf', 'true') - .set('elastic-api-version', '2023-10-31') - .send(); - - if (resp.status === 200 && resp.body.item.status === 'installed') { - await supertest - .delete(epmRouteService.getRemovePath(ENDPOINT_PACKAGE_NAME, resp.body.item.version)) - .set('kbn-xsrf', 'true') - .send({ force: true }); - } -} diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_fleet_packages.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_fleet_packages.ts new file mode 100644 index 0000000000000..df6f25dd0b1a1 --- /dev/null +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_fleet_packages.ts @@ -0,0 +1,87 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Client } from '@elastic/elasticsearch'; +import { epmRouteService } from '@kbn/fleet-plugin/common'; +import { RetryService } from '@kbn/ftr-common-functional-services'; +import { + ENDPOINT_PACKAGE_NAME, + PREBUILT_RULES_PACKAGE_NAME, +} from '@kbn/security-solution-plugin/common/detection_engine/constants'; +import { ToolingLog } from '@kbn/tooling-log'; +import type SuperTest from 'supertest'; +import { refreshSavedObjectIndices } from '../../refresh_index'; + +interface DeleteFleetPackageDeps { + supertest: SuperTest.Agent; + retryService: RetryService; + log: ToolingLog; + es: Client; +} + +interface DeleteFleetPackageArgs { + packageName: string; + dependencies: DeleteFleetPackageDeps; +} + +/** + * Delete the security_detection_engine package using fleet API. + */ +export async function deletePrebuiltRulesFleetPackage(params: DeleteFleetPackageDeps) { + await deleteFleetPackage({ + packageName: PREBUILT_RULES_PACKAGE_NAME, + dependencies: params, + }); +} + +/** + * Delete the endpoint package using fleet API. + */ +export async function deleteEndpointFleetPackage(params: DeleteFleetPackageDeps) { + await deleteFleetPackage({ + packageName: ENDPOINT_PACKAGE_NAME, + dependencies: params, + }); +} + +async function deleteFleetPackage(params: DeleteFleetPackageArgs): Promise { + const { packageName, dependencies } = params; + const { supertest, retryService, log, es } = dependencies; + + await retryService.tryWithRetries( + 'deleteFleetPackage', + async () => { + log.debug(`Deleting ${packageName} package`); + + const response = await supertest + .delete(epmRouteService.getRemovePath(packageName)) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '2023-10-31') + .send({ force: true }); + + if (response.status === 200) { + log.debug(`Deleted ${packageName} package (was installed)`); + return; + } else if ( + response.status === 400 && + response.body.message === `${packageName} is not installed` + ) { + log.debug(`Deleted ${packageName} package (was not installed)`, response.body); + return; + } else { + log.warning(`Error deleting ${packageName} package`, response.body); + throw response.error; + } + }, + { + retryCount: 2, // overall max 3 attempts + timeout: 3 * 60000, // total timeout applied to all attempts altogether + } + ); + + await refreshSavedObjectIndices(es); +} diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_prebuilt_rules_fleet_package.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_prebuilt_rules_fleet_package.ts deleted file mode 100644 index 084d59c55df0d..0000000000000 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/delete_prebuilt_rules_fleet_package.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { epmRouteService } from '@kbn/fleet-plugin/common'; -import { PREBUILT_RULES_PACKAGE_NAME } from '@kbn/security-solution-plugin/common/detection_engine/constants'; -import type SuperTest from 'supertest'; - -/** - * Delete the security_detection_engine package using fleet API. - * - * @param supertest Supertest instance - */ -export async function deletePrebuiltRulesFleetPackage(supertest: SuperTest.Agent) { - const resp = await supertest - .get(epmRouteService.getInfoPath(PREBUILT_RULES_PACKAGE_NAME)) - .set('kbn-xsrf', 'true') - .set('elastic-api-version', '2023-10-31') - .send(); - - if (resp.status === 200 && resp.body.item.status === 'installed') { - await supertest - .delete(epmRouteService.getRemovePath(PREBUILT_RULES_PACKAGE_NAME, resp.body.item.version)) - .set('kbn-xsrf', 'true') - .send({ force: true }); - } -} diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/index.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/index.ts index fabd3df2f2d16..fc437bc14f349 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/index.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/index.ts @@ -7,7 +7,7 @@ export * from './create_prebuilt_rule_saved_objects'; export * from './delete_all_prebuilt_rule_assets'; export * from './delete_all_timelines'; -export * from './delete_prebuilt_rules_fleet_package'; +export * from './delete_fleet_packages'; export * from './get_installed_rules'; export * from './get_prebuilt_rules_and_timelines_status'; export * from './get_prebuilt_rules_status'; diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts index b88a848758a8f..c01968e17cd93 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts @@ -13,7 +13,7 @@ import expect from 'expect'; import { refreshSavedObjectIndices } from '../../refresh_index'; const MAX_RETRIES = 2; -const ATTEMPT_TIMEOUT = 120000; +const TOTAL_TIMEOUT = 6 * 60000; // 6 mins, applies to all attempts (1 + MAX_RETRIES) /** * Installs latest available non-prerelease prebuilt rules package `security_detection_engine`. @@ -46,7 +46,7 @@ export const installPrebuiltRulesPackageViaFleetAPI = async ( }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); @@ -87,7 +87,7 @@ export const installPrebuiltRulesPackageByVersion = async ( }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts index f7a7337d40241..dc5def47abaee 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts @@ -18,7 +18,7 @@ import expect from 'expect'; import { refreshSavedObjectIndices } from '../../refresh_index'; const MAX_RETRIES = 2; -const ATTEMPT_TIMEOUT = 120000; +const TOTAL_TIMEOUT = 6 * 60000; // 6 mins, applies to all attempts (1 + MAX_RETRIES) /** * Installs the `security_detection_engine` package via fleet API. This will @@ -60,7 +60,7 @@ export const installPrebuiltRulesFleetPackage = async ({ }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); @@ -94,7 +94,7 @@ export const installPrebuiltRulesFleetPackage = async ({ }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); diff --git a/x-pack/test/security_solution_cypress/cypress/objects/case.ts b/x-pack/test/security_solution_cypress/cypress/objects/case.ts index 59ec7dccefa99..a0192df069471 100644 --- a/x-pack/test/security_solution_cypress/cypress/objects/case.ts +++ b/x-pack/test/security_solution_cypress/cypress/objects/case.ts @@ -103,6 +103,7 @@ export const getCaseResponse = (): Case => ({ totalAlerts: 0, version: 'test-version', category: null, + observables: [], }); export const getServiceNowConnector = (): Connector => ({ diff --git a/x-pack/test/spaces_api_integration/common/suites/copy_to_space.ts b/x-pack/test/spaces_api_integration/common/suites/copy_to_space.ts index f297e4092ba6b..68e1ea401cbf3 100644 --- a/x-pack/test/spaces_api_integration/common/suites/copy_to_space.ts +++ b/x-pack/test/spaces_api_integration/common/suites/copy_to_space.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type * as estypes from '@elastic/elasticsearch/lib/api/types'; import type { SuperTest } from 'supertest'; import type { diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index ce202abc9738a..2dd261262a697 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -130,7 +130,6 @@ "@kbn/telemetry-tools", "@kbn/profiling-plugin", "@kbn/observability-onboarding-plugin", - "@kbn/bfetch-plugin", "@kbn/uptime-plugin", "@kbn/ml-category-validator", "@kbn/observability-ai-assistant-plugin", @@ -190,6 +189,7 @@ "@kbn/sse-utils-server", "@kbn/gen-ai-functional-testing", "@kbn/integration-assistant-plugin", - "@kbn/core-elasticsearch-server" + "@kbn/core-elasticsearch-server", + "@kbn/streams-schema" ] } diff --git a/x-pack/test_serverless/api_integration/services/svl_cases/api.ts b/x-pack/test_serverless/api_integration/services/svl_cases/api.ts index 6886c894c1110..2e3cdab5a48cc 100644 --- a/x-pack/test_serverless/api_integration/services/svl_cases/api.ts +++ b/x-pack/test_serverless/api_integration/services/svl_cases/api.ts @@ -113,6 +113,7 @@ export function SvlCasesApiServiceProvider({ getService }: FtrProviderContext) { updated_by: null, category: null, customFields: [], + observables: [], }; }, diff --git a/x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts b/x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts index 12151f1b169db..099e1b9b3c1a6 100644 --- a/x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts +++ b/x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts @@ -135,11 +135,12 @@ export default function ({ getService }: FtrProviderContext) { it('updates the data retention of a DS', async () => { const { body, status } = await supertestWithoutAuth - .put(`${API_BASE_PATH}/data_streams/${testDataStreamName}/data_retention`) + .put(`${API_BASE_PATH}/data_streams/data_retention`) .set(internalReqHeader) .set(roleAuthc.apiKeyHeader) .send({ dataRetention: '7d', + dataStreams: [testDataStreamName], }); svlCommonApi.assertResponseStatusCode(200, status, body); @@ -148,10 +149,12 @@ export default function ({ getService }: FtrProviderContext) { it('sets data retention to infinite', async () => { const { body, status } = await supertestWithoutAuth - .put(`${API_BASE_PATH}/data_streams/${testDataStreamName}/data_retention`) + .put(`${API_BASE_PATH}/data_streams/data_retention`) .set(internalReqHeader) .set(roleAuthc.apiKeyHeader) - .send({}); + .send({ + dataStreams: [testDataStreamName], + }); svlCommonApi.assertResponseStatusCode(200, status, body); // Providing an infinite retention might not be allowed for a given project, diff --git a/x-pack/test_serverless/functional/test_suites/observability/cases/attachment_framework.ts b/x-pack/test_serverless/functional/test_suites/observability/cases/attachment_framework.ts index 17caa3d6560f2..83a05fd9e05c2 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/cases/attachment_framework.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/cases/attachment_framework.ts @@ -82,7 +82,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { await testSubjects.missingOrFail('caseOwnerSelector'); await testSubjects.click('create-case-submit'); - await cases.common.expectToasterToContain(`${caseTitle} has been updated`); + await cases.common.expectToasterToContain(`Case ${caseTitle} updated`); await testSubjects.click('toaster-content-case-view-link'); await toasts.dismissAllWithChecks(); @@ -115,7 +115,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { await testSubjects.click(`cases-table-row-select-${theCase.id}`); - await cases.common.expectToasterToContain(`${theCaseTitle} has been updated`); + await cases.common.expectToasterToContain(`Case ${theCaseTitle} updated`); await testSubjects.click('toaster-content-case-view-link'); await toasts.dismissAllWithChecks(); diff --git a/x-pack/test_serverless/functional/test_suites/search/inference_management.ts b/x-pack/test_serverless/functional/test_suites/search/inference_management.ts index fce97e3bbf475..a931324b390b7 100644 --- a/x-pack/test_serverless/functional/test_suites/search/inference_management.ts +++ b/x-pack/test_serverless/functional/test_suites/search/inference_management.ts @@ -61,7 +61,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); }); - describe('delete action', () => { + // FLAKY: https://github.com/elastic/kibana/issues/204507 + describe.skip('delete action', () => { const usageIndex = 'elser_index'; beforeEach(async () => { await ml.api.createInferenceEndpoint(endpoint, taskType, modelConfig); diff --git a/yarn.lock b/yarn.lock index 64471fa3dd692..7b067523f9c3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2206,10 +2206,10 @@ dependencies: object-hash "^1.3.0" -"@elastic/charts@68.0.3": - version "68.0.3" - resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-68.0.3.tgz#dc4aaeb4cdc8751d5759b58dc9958efb3c2639da" - integrity sha512-U+NCTo2LCDDSVkV5kGinhzbiAvfEcVAZ4D2YM/0RZQFRvJfJBvelbG+jDkt6N2mEauJ4ECDDcb33995fbs71TA== +"@elastic/charts@68.0.4": + version "68.0.4" + resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-68.0.4.tgz#b35a4734e4e36ef894432a3ff882a0e4329ffe4c" + integrity sha512-kn9FEm2osJBitbbqCRcuZ3ygrLHelUm9i9bCAcY/t3vXfT7tDjhvgueAjm5gQas7/NcASN8LWEykLktGo3mrxQ== dependencies: "@popperjs/core" "^2.11.8" bezier-easing "^2.1.0" @@ -2305,25 +2305,25 @@ resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314" integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ== -"@elastic/eui-theme-borealis@0.0.4": - version "0.0.4" - resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-0.0.4.tgz#5a1e8d5cd02f25634928106c9845389f6b8568bb" - integrity sha512-6RV49J0saf2zjcf1uXYpoU9AgRlWs+ot+GszZz6iCBavPl7MdMlR13x5WdT7ewtx7cju9taEWhS1YDVfGVCFSA== +"@elastic/eui-theme-borealis@0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-0.0.7.tgz#a6c4600d61a29a96078afbc8003a14f792842d32" + integrity sha512-N1bo++X+aI4k4CiykdqKiV9ihfSifS3AScQXeeD5I9FunljsNVTk5f+502VIJKx/1knLidplsXmBv4n6iXf1tQ== -"@elastic/eui-theme-common@0.0.4": - version "0.0.4" - resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-0.0.4.tgz#83db50a46251c75e6a3c07df0dee3eedb5d49e17" - integrity sha512-IDQ15ytDwlB5OO2UlPKccUR37QnRp1xZE8zPy8LoCPQAX8hgDYjikk8gjA2eixCuTm9+t6Suz+Xuha69VcMMZg== +"@elastic/eui-theme-common@0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-0.0.7.tgz#0e57b5325d52fd5813832a77f47f294204f3dc72" + integrity sha512-U9ii4Bl+S5zdbIH3WP01vebJboalhZ/ULlyZxc7zHmyA9Z2pONGOauUZUKE7v3nSmN6f53toNoa2pvn4ZqB+Yw== dependencies: "@types/lodash" "^4.14.202" lodash "^4.17.21" -"@elastic/eui@98.1.0-borealis.0": - version "98.1.0-borealis.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-98.1.0-borealis.0.tgz#b0db1416d81863816939ae4dc067cc089a9f9789" - integrity sha512-DMu+H0j5WrByhJr3Xc3strmsIiwKHLYCOKsTWOqv9CS8tcRFaYa2zHhwhgVhRuBE7XdX++uCsV4vVGrd8qJMVw== +"@elastic/eui@98.2.1-borealis.2": + version "98.2.1-borealis.2" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-98.2.1-borealis.2.tgz#f45308483f343e2b19dfa4bcfa4090bae226395f" + integrity sha512-ogTsvGqi4f2eiwzm/z7vLAEAQlw8ZiBpLTLFusFt9sawha7nmaLLitleKvJHZqBA117x71nhlM3CrWYczNmG0A== dependencies: - "@elastic/eui-theme-common" "0.0.4" + "@elastic/eui-theme-common" "0.0.7" "@hello-pangea/dnd" "^16.6.0" "@types/lodash" "^4.14.202" "@types/numeral" "^2.0.5" @@ -4049,14 +4049,6 @@ version "0.0.0" uid "" -"@kbn/bfetch-error@link:packages/kbn-bfetch-error": - version "0.0.0" - uid "" - -"@kbn/bfetch-plugin@link:src/plugins/bfetch": - version "0.0.0" - uid "" - "@kbn/calculate-auto@link:packages/kbn-calculate-auto": version "0.0.0" uid "" @@ -4065,7 +4057,7 @@ version "0.0.0" uid "" -"@kbn/canvas-plugin@link:x-pack/plugins/canvas": +"@kbn/canvas-plugin@link:x-pack/platform/plugins/private/canvas": version "0.0.0" uid "" @@ -4105,6 +4097,10 @@ version "0.0.0" uid "" +"@kbn/charts-theme@link:packages/kbn-charts-theme": + version "0.0.0" + uid "" + "@kbn/check-mappings-update-cli@link:packages/kbn-check-mappings-update-cli": version "0.0.0" uid "" @@ -4277,11 +4273,11 @@ version "0.0.0" uid "" -"@kbn/controls-plugin@link:src/plugins/controls": +"@kbn/controls-plugin@link:src/platform/plugins/shared/controls": version "0.0.0" uid "" -"@kbn/core-analytics-browser-internal@link:packages/core/analytics/core-analytics-browser-internal": +"@kbn/core-analytics-browser-internal@link:src/core/packages/analytics/browser-internal": version "0.0.0" uid "" @@ -4289,11 +4285,11 @@ version "0.0.0" uid "" -"@kbn/core-analytics-browser@link:packages/core/analytics/core-analytics-browser": +"@kbn/core-analytics-browser@link:src/core/packages/analytics/browser": version "0.0.0" uid "" -"@kbn/core-analytics-server-internal@link:packages/core/analytics/core-analytics-server-internal": +"@kbn/core-analytics-server-internal@link:src/core/packages/analytics/server-internal": version "0.0.0" uid "" @@ -4301,7 +4297,7 @@ version "0.0.0" uid "" -"@kbn/core-analytics-server@link:packages/core/analytics/core-analytics-server": +"@kbn/core-analytics-server@link:src/core/packages/analytics/server": version "0.0.0" uid "" @@ -4309,7 +4305,7 @@ version "0.0.0" uid "" -"@kbn/core-application-browser-internal@link:packages/core/application/core-application-browser-internal": +"@kbn/core-application-browser-internal@link:src/core/packages/application/browser-internal": version "0.0.0" uid "" @@ -4317,15 +4313,15 @@ version "0.0.0" uid "" -"@kbn/core-application-browser@link:packages/core/application/core-application-browser": +"@kbn/core-application-browser@link:src/core/packages/application/browser": version "0.0.0" uid "" -"@kbn/core-application-common@link:packages/core/application/core-application-common": +"@kbn/core-application-common@link:src/core/packages/application/common": version "0.0.0" uid "" -"@kbn/core-apps-browser-internal@link:packages/core/apps/core-apps-browser-internal": +"@kbn/core-apps-browser-internal@link:src/core/packages/apps/browser-internal": version "0.0.0" uid "" @@ -4333,11 +4329,11 @@ version "0.0.0" uid "" -"@kbn/core-apps-server-internal@link:packages/core/apps/core-apps-server-internal": +"@kbn/core-apps-server-internal@link:src/core/packages/apps/server-internal": version "0.0.0" uid "" -"@kbn/core-base-browser-internal@link:packages/core/base/core-base-browser-internal": +"@kbn/core-base-browser-internal@link:src/core/packages/base/browser-internal": version "0.0.0" uid "" @@ -4349,7 +4345,7 @@ version "0.0.0" uid "" -"@kbn/core-base-common@link:packages/core/base/core-base-common": +"@kbn/core-base-common@link:src/core/packages/base/common": version "0.0.0" uid "" @@ -5193,7 +5189,7 @@ version "0.0.0" uid "" -"@kbn/custom-icons@link:packages/kbn-custom-icons": +"@kbn/custom-icons@link:src/platform/packages/shared/kbn-custom-icons": version "0.0.0" uid "" @@ -5201,7 +5197,7 @@ version "0.0.0" uid "" -"@kbn/custom-integrations@link:packages/kbn-custom-integrations": +"@kbn/custom-integrations@link:x-pack/solutions/observability/packages/kbn-custom-integrations": version "0.0.0" uid "" @@ -5209,11 +5205,11 @@ version "0.0.0" uid "" -"@kbn/dashboard-enhanced-plugin@link:x-pack/plugins/dashboard_enhanced": +"@kbn/dashboard-enhanced-plugin@link:x-pack/platform/plugins/shared/dashboard_enhanced": version "0.0.0" uid "" -"@kbn/dashboard-plugin@link:src/plugins/dashboard": +"@kbn/dashboard-plugin@link:src/platform/plugins/shared/dashboard": version "0.0.0" uid "" @@ -5225,7 +5221,7 @@ version "0.0.0" uid "" -"@kbn/data-quality-plugin@link:x-pack/plugins/data_quality": +"@kbn/data-quality-plugin@link:x-pack/platform/plugins/shared/data_quality": version "0.0.0" uid "" @@ -5273,7 +5269,7 @@ version "0.0.0" uid "" -"@kbn/dataset-quality-plugin@link:x-pack/plugins/observability_solution/dataset_quality": +"@kbn/dataset-quality-plugin@link:x-pack/platform/plugins/shared/dataset_quality": version "0.0.0" uid "" @@ -5365,7 +5361,7 @@ version "0.0.0" uid "" -"@kbn/discover-contextual-components@link:packages/kbn-discover-contextual-components": +"@kbn/discover-contextual-components@link:src/platform/packages/shared/kbn-discover-contextual-components": version "0.0.0" uid "" @@ -5413,7 +5409,7 @@ version "0.0.0" uid "" -"@kbn/elastic-agent-utils@link:packages/kbn-elastic-agent-utils": +"@kbn/elastic-agent-utils@link:src/platform/packages/shared/kbn-elastic-agent-utils": version "0.0.0" uid "" @@ -5437,7 +5433,7 @@ version "0.0.0" uid "" -"@kbn/embeddable-enhanced-plugin@link:x-pack/plugins/embeddable_enhanced": +"@kbn/embeddable-enhanced-plugin@link:x-pack/platform/plugins/shared/embeddable_enhanced": version "0.0.0" uid "" @@ -5445,7 +5441,7 @@ version "0.0.0" uid "" -"@kbn/embeddable-plugin@link:src/plugins/embeddable": +"@kbn/embeddable-plugin@link:src/platform/plugins/shared/embeddable": version "0.0.0" uid "" @@ -5621,7 +5617,7 @@ version "0.0.0" uid "" -"@kbn/expression-error-plugin@link:src/plugins/expression_error": +"@kbn/expression-error-plugin@link:src/platform/plugins/shared/expression_error": version "0.0.0" uid "" @@ -5633,7 +5629,7 @@ version "0.0.0" uid "" -"@kbn/expression-image-plugin@link:src/plugins/expression_image": +"@kbn/expression-image-plugin@link:src/platform/plugins/shared/expression_image": version "0.0.0" uid "" @@ -5641,7 +5637,7 @@ version "0.0.0" uid "" -"@kbn/expression-metric-plugin@link:src/plugins/expression_metric": +"@kbn/expression-metric-plugin@link:src/platform/plugins/shared/expression_metric": version "0.0.0" uid "" @@ -5653,15 +5649,15 @@ version "0.0.0" uid "" -"@kbn/expression-repeat-image-plugin@link:src/plugins/expression_repeat_image": +"@kbn/expression-repeat-image-plugin@link:src/platform/plugins/shared/expression_repeat_image": version "0.0.0" uid "" -"@kbn/expression-reveal-image-plugin@link:src/plugins/expression_reveal_image": +"@kbn/expression-reveal-image-plugin@link:src/platform/plugins/shared/expression_reveal_image": version "0.0.0" uid "" -"@kbn/expression-shape-plugin@link:src/plugins/expression_shape": +"@kbn/expression-shape-plugin@link:src/platform/plugins/shared/expression_shape": version "0.0.0" uid "" @@ -5725,11 +5721,11 @@ version "0.0.0" uid "" -"@kbn/fields-metadata-plugin@link:x-pack/plugins/fields_metadata": +"@kbn/fields-metadata-plugin@link:x-pack/platform/plugins/shared/fields_metadata": version "0.0.0" uid "" -"@kbn/file-upload-plugin@link:x-pack/plugins/file_upload": +"@kbn/file-upload-plugin@link:x-pack/platform/plugins/private/file_upload": version "0.0.0" uid "" @@ -5753,7 +5749,7 @@ version "0.0.0" uid "" -"@kbn/flot-charts@link:packages/kbn-flot-charts": +"@kbn/flot-charts@link:src/platform/packages/shared/kbn-flot-charts": version "0.0.0" uid "" @@ -5929,7 +5925,7 @@ version "0.0.0" uid "" -"@kbn/index-management-plugin@link:x-pack/plugins/index_management": +"@kbn/index-management-plugin@link:x-pack/platform/plugins/shared/index_management": version "0.0.0" uid "" @@ -5957,7 +5953,7 @@ version "0.0.0" uid "" -"@kbn/infra-plugin@link:x-pack/plugins/observability_solution/infra": +"@kbn/infra-plugin@link:x-pack/solutions/observability/plugins/infra": version "0.0.0" uid "" @@ -5965,11 +5961,11 @@ version "0.0.0" uid "" -"@kbn/input-control-vis-plugin@link:src/plugins/input_control_vis": +"@kbn/input-control-vis-plugin@link:src/platform/plugins/private/input_control_vis": version "0.0.0" uid "" -"@kbn/inspector-plugin@link:src/plugins/inspector": +"@kbn/inspector-plugin@link:src/platform/plugins/shared/inspector": version "0.0.0" uid "" @@ -6125,7 +6121,7 @@ version "0.0.0" uid "" -"@kbn/links-plugin@link:src/plugins/links": +"@kbn/links-plugin@link:src/platform/plugins/private/links": version "0.0.0" uid "" @@ -6161,19 +6157,19 @@ version "0.0.0" uid "" -"@kbn/logs-data-access-plugin@link:x-pack/plugins/observability_solution/logs_data_access": +"@kbn/logs-data-access-plugin@link:x-pack/platform/plugins/shared/logs_data_access": version "0.0.0" uid "" -"@kbn/logs-explorer-plugin@link:x-pack/plugins/observability_solution/logs_explorer": +"@kbn/logs-explorer-plugin@link:x-pack/solutions/observability/plugins/logs_explorer": version "0.0.0" uid "" -"@kbn/logs-shared-plugin@link:x-pack/plugins/observability_solution/logs_shared": +"@kbn/logs-shared-plugin@link:x-pack/platform/plugins/shared/logs_shared": version "0.0.0" uid "" -"@kbn/logstash-plugin@link:x-pack/plugins/logstash": +"@kbn/logstash-plugin@link:x-pack/platform/plugins/private/logstash": version "0.0.0" uid "" @@ -6249,7 +6245,7 @@ version "0.0.0" uid "" -"@kbn/mapbox-gl@link:packages/kbn-mapbox-gl": +"@kbn/mapbox-gl@link:src/platform/packages/private/kbn-mapbox-gl": version "0.0.0" uid "" @@ -6257,15 +6253,15 @@ version "0.0.0" uid "" -"@kbn/maps-ems-plugin@link:src/plugins/maps_ems": +"@kbn/maps-ems-plugin@link:src/platform/plugins/private/maps_ems": version "0.0.0" uid "" -"@kbn/maps-plugin@link:x-pack/plugins/maps": +"@kbn/maps-plugin@link:x-pack/platform/plugins/shared/maps": version "0.0.0" uid "" -"@kbn/maps-vector-tile-utils@link:x-pack/packages/maps/vector_tile_utils": +"@kbn/maps-vector-tile-utils@link:x-pack/platform/packages/private/maps/vector_tile_utils": version "0.0.0" uid "" @@ -6417,11 +6413,11 @@ version "0.0.0" uid "" -"@kbn/monitoring-collection-plugin@link:x-pack/plugins/monitoring_collection": +"@kbn/monitoring-collection-plugin@link:x-pack/platform/plugins/private/monitoring_collection": version "0.0.0" uid "" -"@kbn/monitoring-plugin@link:x-pack/plugins/monitoring": +"@kbn/monitoring-plugin@link:x-pack/platform/plugins/private/monitoring": version "0.0.0" uid "" @@ -6493,19 +6489,19 @@ version "0.0.0" uid "" -"@kbn/observability-logs-explorer-plugin@link:x-pack/plugins/observability_solution/observability_logs_explorer": +"@kbn/observability-logs-explorer-plugin@link:x-pack/solutions/observability/plugins/observability_logs_explorer": version "0.0.0" uid "" -"@kbn/observability-logs-overview@link:x-pack/packages/observability/logs_overview": +"@kbn/observability-logs-overview@link:x-pack/platform/packages/shared/observability/logs_overview": version "0.0.0" uid "" -"@kbn/observability-onboarding-e2e@link:x-pack/plugins/observability_solution/observability_onboarding/e2e": +"@kbn/observability-onboarding-e2e@link:x-pack/solutions/observability/plugins/observability_onboarding/e2e": version "0.0.0" uid "" -"@kbn/observability-onboarding-plugin@link:x-pack/plugins/observability_solution/observability_onboarding": +"@kbn/observability-onboarding-plugin@link:x-pack/solutions/observability/plugins/observability_onboarding": version "0.0.0" uid "" @@ -6581,7 +6577,7 @@ version "0.0.0" uid "" -"@kbn/panel-loader@link:packages/kbn-panel-loader": +"@kbn/panel-loader@link:src/platform/packages/private/kbn-panel-loader": version "0.0.0" uid "" @@ -6621,19 +6617,19 @@ version "0.0.0" uid "" -"@kbn/presentation-containers@link:packages/presentation/presentation_containers": +"@kbn/presentation-containers@link:src/platform/packages/shared/presentation/presentation_containers": version "0.0.0" uid "" -"@kbn/presentation-panel-plugin@link:src/plugins/presentation_panel": +"@kbn/presentation-panel-plugin@link:src/platform/plugins/private/presentation_panel": version "0.0.0" uid "" -"@kbn/presentation-publishing@link:packages/presentation/presentation_publishing": +"@kbn/presentation-publishing@link:src/platform/packages/shared/presentation/presentation_publishing": version "0.0.0" uid "" -"@kbn/presentation-util-plugin@link:src/plugins/presentation_util": +"@kbn/presentation-util-plugin@link:src/platform/plugins/shared/presentation_util": version "0.0.0" uid "" @@ -6669,7 +6665,7 @@ version "0.0.0" uid "" -"@kbn/react-hooks@link:packages/kbn-react-hooks": +"@kbn/react-hooks@link:src/platform/packages/shared/kbn-react-hooks": version "0.0.0" uid "" @@ -6837,7 +6833,7 @@ version "0.0.0" uid "" -"@kbn/router-utils@link:packages/kbn-router-utils": +"@kbn/router-utils@link:src/platform/packages/shared/kbn-router-utils": version "0.0.0" uid "" @@ -7577,6 +7573,10 @@ version "0.0.0" uid "" +"@kbn/streams-schema@link:x-pack/packages/kbn-streams-schema": + version "0.0.0" + uid "" + "@kbn/synthetics-e2e@link:x-pack/solutions/observability/plugins/synthetics/e2e": version "0.0.0" uid "" @@ -7685,7 +7685,7 @@ version "0.0.0" uid "" -"@kbn/timerange@link:packages/kbn-timerange": +"@kbn/timerange@link:src/platform/packages/shared/kbn-timerange": version "0.0.0" uid "" @@ -7893,7 +7893,7 @@ version "0.0.0" uid "" -"@kbn/vis-type-markdown-plugin@link:src/plugins/vis_type_markdown": +"@kbn/vis-type-markdown-plugin@link:src/platform/plugins/private/vis_type_markdown": version "0.0.0" uid "" @@ -7957,7 +7957,7 @@ version "0.0.0" uid "" -"@kbn/xstate-utils@link:packages/kbn-xstate-utils": +"@kbn/xstate-utils@link:src/platform/packages/shared/kbn-xstate-utils": version "0.0.0" uid ""